Is there a way to find out the color space used by an image?

11 ビュー (過去 30 日間)
Daniel
Daniel 2014 年 6 月 24 日
回答済み: Daniel 2014 年 6 月 25 日
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

採用された回答

Image Analyst
Image Analyst 2014 年 6 月 24 日
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).

その他の回答 (1 件)

Daniel
Daniel 2014 年 6 月 25 日
Hi,
thank you for your answer. I will have to think about a different solution for managing images in different colorspaces.

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by