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

Method init

IPL/src/processes/IPLGaussianLowPass.cpp:22–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#include "IPLGaussianLowPass.h"
21
22void IPLGaussianLowPass::init()
23{
24 // init
25 _result = NULL;
26 _kernel = NULL;
27
28 // basic settings
29 setClassName("IPLGaussianLowPass");
30 setTitle("Gaussian Low Pass");
31 setCategory(IPLProcess::CATEGORY_LOCALOPERATIONS);
32 setOpenCVSupport(IPLProcess::OPENCV_OPTIONAL);
33 setKeywords("blur");
34 setDescription("Local Gaussian low-pass operator.");
35
36 // inputs and outputs
37 addInput("Image", IPL_IMAGE_COLOR);
38 addOutput("Image", IPL_IMAGE_COLOR);
39 addOutput("Kernel", IPL_MATRIX);
40
41 // properties
42 addProcessPropertyDouble("sigma", "Sigma", "Standard deviation σ", 2.0, IPL_WIDGET_SLIDER, 0.5, 25.0);
43}
44
45void IPLGaussianLowPass::destroy()
46{

Callers

nothing calls this directly

Calls 6

setClassNameFunction · 0.85
setTitleFunction · 0.85
setCategoryFunction · 0.85
setOpenCVSupportFunction · 0.85
setKeywordsFunction · 0.85
setDescriptionFunction · 0.85

Tested by

no test coverage detected