Adaptive or Dynamic Thresholding is variable thresholding in which value of threshold depends on the spatial coordinates x, y of the point in that image.
Steps to perform dynamic thresholding
- Convolute the image using any apt filter such as mean filter / median filter.
- Subtract the original image from the convoluted image.
- Compare the output image with the given threshold value T.
- Invert the Threshold image so obtained.
Example : Adaptive Thresholding in digital image processing - YouTube