cv.adaptiveThreshold - MATLAB File Help
cv.adaptiveThreshold

Applies an adaptive threshold to an array

dst = cv.adaptiveThreshold(src)
dst = cv.adaptiveThreshold(src, 'OptionName',optionValue, ...)

Input

Output

Options

The function transforms a grayscale image to a binary image according to the formulae:

where T(x,y) is a threshold calculated individually for each pixel (see Method parameter).

Note: Internally the options 'BorderType','Replicate', 'Isolated',true are used to process boundaries (see cv.copyMakeBorder).

See also