MCPcopy Create free account
hub / github.com/cpvrlab/ImagePlay / init

Method init

IPL/src/processes/IPLUnsharpMasking.cpp:22–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "IPLUnsharpMasking.h"
21
22void IPLUnsharpMasking::init()
23{
24 // init
25 _result = NULL;
26
27 // basic settings
28 setClassName("IPLUnsharpMasking");
29 setTitle("Unsharp Masking");
30 setCategory(IPLProcess::CATEGORY_LOCALOPERATIONS);
31
32 // inputs and outputs
33 addInput("Image", IPL_IMAGE_COLOR);
34 addOutput("Image", IPL_IMAGE_COLOR);
35
36 // properties
37 addProcessPropertyInt("window", "Window", "", 3, IPL_WIDGET_SLIDER_ODD, 3, 9);
38 addProcessPropertyDouble("factor", "Factor", "", 0.3, IPL_WIDGET_SLIDER, 0.1, 0.9);
39}
40
41void IPLUnsharpMasking::destroy()
42{

Callers

nothing calls this directly

Calls 3

setClassNameFunction · 0.85
setTitleFunction · 0.85
setCategoryFunction · 0.85

Tested by

no test coverage detected