how to set generalised threshold values in histogram eqivalent to get a clear image
2 views (last 30 days)
Show older comments
I have a grayscale image. I've performed histeq() function on it. I have to write a generalised code by comparing pixels with its neighbouring pixels for different images to find threshold values to make the image much clearer. Ive attached grayscale image and its histeq image. I have to give threshold values for histeq function to get image much more clearer to detect tumour.
0 Comments
Answers (1)
Image Analyst
on 18 Jan 2018
Histogram equalization does not help with determining a threshold. Plus it gives crummy looking images. Don't waste your time.
2 Comments
Image Analyst
on 18 Jan 2018
Some kind of spatial filtering may help, but just a global readjusting of graylevels like a histogram equalization does is useless. All that does is make the threshold at a different value than it would otherwise be at but it doesn't give you any different binary image than if you hadn't done equalization.
See Also
Categories
Find more on Image Filtering and Enhancement in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!