$darkmode
OpenCV 4.12.0
Open Source Computer Vision
Namespaces | Functions
thresh_dsp.hpp File Reference
#include <opencv2/core.hpp>
Include dependency graph for thresh_dsp.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 cv
 
 cv::fastcv
 
 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). More...