| 20 | #include "IPLUnsharpMasking.h" |
| 21 | |
| 22 | void 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 | |
| 41 | void IPLUnsharpMasking::destroy() |
| 42 | { |
nothing calls this directly
no test coverage detected