![]() |
Visual Servoing Platform
version 3.2.0
|
Functions | |
VISP_EXPORT unsigned char | vp::autoThreshold (vpImage< unsigned char > &I, const vp::vpAutoThresholdMethod &method, const unsigned char backgroundValue=0, const unsigned char foregroundValue=255) |
Automatic thresholding using various well-known methods.
unsigned char vp::autoThreshold | ( | vpImage< unsigned char > & | I, |
const vp::vpAutoThresholdMethod & | method, | ||
const unsigned char | backgroundValue = 0 , |
||
const unsigned char | foregroundValue = 255 |
||
) |
Automatic thresholding.
I | : Input grayscale image. |
method | : Automatic thresholding method. |
backgroundValue | : Value to set to the background. |
foregroundValue | : Value to set to the foreground. |
Definition at line 373 of file vpThreshold.cpp.