Clear Filters
Clear Filters

Meaning of L-component display?

7 views (last 30 days)
nurul atikah mohd sharif
nurul atikah mohd sharif on 7 Nov 2021
Edited: Walter Roberson on 8 Nov 2021
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
nurul atikah mohd sharif
nurul atikah mohd sharif on 7 Nov 2021
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)

yanqi liu
yanqi liu on 8 Nov 2021
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 Image Processing Toolbox 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!