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.

回答(1 个)

Image Analyst
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 个评论
rohith bharadwaj
rohith bharadwaj 2018-1-18
编辑:rohith bharadwaj 2018-1-18
Is there a better way to make the image clear in grayscale representation. So that I can easily distinguish tumour . It should be easy for me to do contour segmentation later.
Image Analyst
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 CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by