#include <arotsuthresholding.h>
Public Member Functions | |
| void | ProcessImage (ARImage *image, int offset=0, bool useLuminance=true) |
| Performs Otsu Thresholding against the passed image. | |
The Otsu algorithm performs black and white image segmentation using a dynamic threshold value.
The threshold value is obtained by analysising the histogram of the grey values of the image pixels. The threshold value is calculated as being the dip inbetween to the two highest peaks.
|
||||||||||||||||
|
Performs Otsu Thresholding against the passed image. The alpha channel will be converted to 'pure' black and white based on the dynamic threshold value.
|
1.3.9.1