I have the image shown below from this I have plotted the intensity profile as well as the histogram plot the two graphs are attached above. But I was told that histogram plot is not correct and it should give me the highest value at the highest value of the peak means 2.5* 10^4 as shown in the intensity profile plot. I used imhist() command to plot the histogram. Can anyone tell me how can I get the correct histogram?

 채택된 답변

Prabhan Purwar
Prabhan Purwar 2021년 3월 19일

0 개 추천

Hi,
Histograms are a way of visualizing the predominant intensities of an image, not the highest intensity region. As a definition, image histograms are a count of the number of pixels that are at a certain intensity. When represented as a plot, the x-axis is the intensity value, and the y-axis is the number of pixels with that intensity value. Intensity histogram is sometimes referred to as a bar graph of intensity in general terminology and seems fit as per the description.
Thanks

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Histograms에 대해 자세히 알아보기

태그

질문:

2021년 3월 13일

답변:

2021년 3월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by