OpenCV 4.12.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
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

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).