Reason for Histogram Equalisation for having "stacked" effects?

조회 수: 6 (최근 30일)
Charles
Charles 2013년 2월 10일
I read in an image, run histeq on the it and store it as Img2. Then I run histeq again on Img2 and store it as Img3.
It turns out that when I compare the histograms of Img2 and Img3, the histogram of Img3 looks more equalised and uniform. Both Img2 and Img3, however, look almost identical with naked eyes.
This is a screenshot of their histograms. The one on the left is the histogram for Img2, while the right one is for Img3:
So it looks like the histogram equalisation can be "stacked" and by running many times can make the image even more uniform? Is there a reason for this?

채택된 답변

Image Analyst
Image Analyst 2013년 2월 11일
What was your second input argument to histeq()?
  댓글 수: 4
Charles
Charles 2013년 2월 12일
oh wait a minute, I just realise that I put 255 as my second argument. Would this matter?
Image Analyst
Image Analyst 2013년 2월 12일
Let's take a step back and figure out why you want to do histogram equalization anyway. Almost always it's unnecessary to the subsequent processing and analysis, and produces a lousy, unnatural looking image.

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

추가 답변 (0개)

카테고리

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