What exactly algorithm does MATLAB use in the function imadjust?
이전 댓글 표시
First of all, I have an image I, whose intensity is ranging from 0 to 39 over 255 (in the picture the range is 0 to 39).

Then I have I2 = imadjust(I); , whose intensity is ranging from 0 to 255.

I did some research and found out that it actually use Gamma-Correction algorithm, and in my case, it is linear Gamma-Correction, as the gamma factor is 1.
However, the problem is I don't know what exactly MATLAB do. I found out that the intensity value in every pixel in image I is linearly weighted by the factor of 8.24 to become image I2. So the pixels in image I which have the intensity value from 31 are already weighted to the maximum value 255 in the image I2.
So how does MATLAB decide the weight factor? Is there any more algorithms behind this?
Thank you very much in advance.
답변 (1개)
You can have a look at the source code of imadjust to see what Matlab is doing.
type imadjust
or
edit imadjust
(make sure not to edit it, though, or not to save your edits.)
카테고리
도움말 센터 및 File Exchange에서 Contrast Adjustment에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!