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?

 Respuesta aceptada

Prabhan Purwar
Prabhan Purwar el 19 de Mzo. de 2021

0 votos

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

Más respuestas (0)

Etiquetas

Preguntada:

el 13 de Mzo. de 2021

Respondida:

el 19 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by