Clear Filters
Clear Filters

lab recombination for channel processing

3 views (last 30 days)
hello world!
I'm processing some images in the Lab space color, independently for each channel. After that I want to recombine them. I know there's a command to recombine RGB channels. Is this code suitable for Lab?
I'm asking because the way each color space is constructed is different.
recombinedLab=cat(3, channel_L, Channel_a, Channel_b);

Accepted Answer

Image Analyst
Image Analyst on 4 Feb 2018
That will work fine.

More Answers (0)

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!