opencv2/fastcv/thresh_dsp.hpp#
#include <opencv2/core.hpp>
Include dependency graph for thresh_dsp.hpp:
This graph shows which files directly or indirectly include thresh_dsp.hpp:
Namespaces#
namespace cv
namespace cv::fastcv
namespace cv::fastcv::dsp
Functions#
void cv::fastcv::dsp::thresholdOtsu (InputArray _src, OutputArray _dst, bool type)
Binarizes a grayscale image using Otsu’s method. Sets the pixel to max(255) if it’s value is greater than the threshold; else, set the pixel to min(0). The threshold is searched that minimizes the intra-class variance (the variance within the class).