| 20 | #include "IPLBinarizeKMeans.h" |
| 21 | |
| 22 | void IPLBinarizeKMeans::init() |
| 23 | { |
| 24 | // init |
| 25 | _result = NULL; |
| 26 | |
| 27 | // basic settings |
| 28 | setClassName("IPLBinarizeKMeans"); |
| 29 | setTitle("Binarize k-Means"); |
| 30 | setCategory(IPLProcess::CATEGORY_POINTOPERATIONS); |
| 31 | |
| 32 | // inputs and outputs |
| 33 | addInput("Image", IPL_IMAGE_COLOR); |
| 34 | addOutput("Gray Image", IPL_IMAGE_BW); |
| 35 | } |
| 36 | |
| 37 | void IPLBinarizeKMeans::destroy() |
| 38 | { |
nothing calls this directly
no test coverage detected