how to set generalised threshold values in histogram eqivalent to get a clear image
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Image Analyst
2018-1-18
Histogram equalization does not help with determining a threshold. Plus it gives crummy looking images. Don't waste your time.
2 个评论
Image Analyst
2018-1-18
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!