0% found this document useful (0 votes)
20 views16 pages

Thresholding

Uploaded by

harinee j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views16 pages

Thresholding

Uploaded by

harinee j
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16

Thresholding

By
Dr. Saranyaraj D
• Thresholding is a way to make a grayscale image into a black-and-white image.
• It's like deciding which parts of a photo should be colored black or white based on how dark
or light they are.
Types of Thresholding:
1.Global Thresholding
1. Simple Thresholding: Think of it like setting a rule: if a part of the image is lighter than a certain shade,
make it white; if it's darker, make it black. For example, if the threshold is set to 127 (on a scale of 0 to
255), anything above 127 becomes white, and anything below becomes black.
2.Adaptive Thresholding
1. Mean Adaptive Thresholding: Instead of using the same rule for the whole image, this method looks at
small parts of the image and sets the threshold based on the average lightness of each part. So, different
parts of the image might have different rules.
2. Gaussian Adaptive Thresholding: Similar to the mean method but uses a weighted average, giving
more importance to some parts of the small area being looked at.
3.Otsu's Thresholding
1. This method finds the best threshold automatically. Imagine it trying different thresholds and picking the
one that makes the most sense for separating light and dark parts of the image.
4.Multi-level Thresholding
1. Instead of just black and white, this method can separate the image into multiple shades or classes. It’s
like having more than two bins to sort shades into.
When to USE?

Segmentation: To
highlight objects in an
Binarization: To prepare
image and separate them Feature Extraction: To
text images for
from the background. For make images simpler and
recognition by software,
example, in medical easier to analyze further,
like reading a scanned
imaging, it helps in like in face detection.
document.
identifying areas of
interest like tumors.

You might also like