How to convert Lab to RGB image and its matlab code?
Show older comments
In my program,first converted rgb image to lab but after processing the image , i want convert Lab to rgb image. so i request you, pls provide matlab code for converting lab to rgb image?
Accepted Answer
More Answers (2)
Image Analyst
on 28 Oct 2015
Try this
labImage = rgb2lab(rgbImage);
3 Comments
Image Analyst
on 28 Oct 2015
For the reverse direction, it's
rgbImage = lab2rgb(labImage);
There are also options that you can specify -- see the help.
somasekar jalari
on 30 Oct 2015
zee falcon
on 4 Jan 2017
I want to convert rgb images to lab. But above code is not working.It not shows any output after the conversion.Help me out
Stalin Samuel
on 28 Oct 2015
0 votes
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!