enum cv::AdaptiveThresholdTypes

Overview

adaptive threshold algorithm see cv::adaptiveThreshold Moreā€¦

#include <imgproc.hpp>

enum AdaptiveThresholdTypes
{
    ADAPTIVE_THRESH_MEAN_C     = 0,
    ADAPTIVE_THRESH_GAUSSIAN_C = 1,
};

Detailed Documentation

adaptive threshold algorithm see cv::adaptiveThreshold

Enum Values

ADAPTIVE_THRESH_MEAN_C

the threshold value \(T(x,y)\) is a mean of the \(\texttt{blockSize} \times \texttt{blockSize}\) neighborhood of \((x, y)\) minus C

ADAPTIVE_THRESH_GAUSSIAN_C

the threshold value \(T(x, y)\) is a weighted sum (cross-correlation with a Gaussian window) of the \(\texttt{blockSize} \times \texttt{blockSize}\) neighborhood of \((x, y)\) minus C . The default sigma (standard deviation) is used for the specified blockSize . See cv::getGaussianKernel