Histogram Intersection

조회 수: 2 (최근 30일)
sunil Kumar
sunil Kumar 2011년 4월 7일
답변: Leepakshi 2025년 6월 3일
What will be the value on histogram intersection of a same gray image ,i am getting it as 1 is it true of false,and when i increase the brightness of of the image then doing histogram intersection ia m getting 0.4045 like that a value below 1 is my method is right or wrong?
  댓글 수: 1
Sean de Wolski
Sean de Wolski 2011년 4월 7일
Can you please show us your code (a small snippet pertaining to this part). I don't understand what you're doing.

댓글을 달려면 로그인하십시오.

답변 (1개)

Leepakshi
Leepakshi 2025년 6월 3일
Hi Sunil,
Yes, your method is correct. When you compute the histogram intersection of a grayscale image with itself, the value should be 1 because the histograms are identical, indicating perfect overlap. When you increase the brightness of the image, the histogram shifts, reducing the overlap with the original histogram, which results in a value less than 1 (e.g., 0.4045). This behaviour is expected and confirms that your histogram intersection calculation is working as intended.
Please refer to the documentation page of histogram function: https://in.mathworks.com/help/images/ref/imhist.html
Hope this helps!

카테고리

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