Meaning of L-component display?

Hi, I don't understand what is the meaning of this coding?
imshow(lab(:,:,1),[0 100])
why there is [0 100]? what is the meaning of that code?

1 Comment

L*
Luminance or brightness of the image. Values are in the range [0, 100], where 0 specifies black and 100 specifies white. As L* increases, colors become brighter.
ok, i have found the asnwer why it is range [0 100]. It's noted at the document as well.

Sign in to comment.

Answers (1)

imshow(lab(:,:,1),[0 100])
sir, its means use lab(:,:,1) data,display in [0,100] range,if data more than 100,will be change as 100 to display

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!