Is there a way to find out the color space used by an image?
8 views (last 30 days)
Show older comments
Hello,
I´d like to write a function for calculating delta E as a color difference measure between images. I want to make it work with images in RGB space and LAB-Space. Therefore I need to check in which color represenation the input images are given. How can I do this?
Regards, Daniel
0 Comments
Accepted Answer
Image Analyst
on 24 Jun 2014
See the delta E demo in my File Exchange: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
For a 3D array of numbers, there's no way to tell if that represents any particular color space. You have to know in advance from knowing what file you read in and what it represents, and what you did to it afterwards (like if you converted it to a different color space).
0 Comments
More Answers (1)
See Also
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!