Convert RAW file (NEF) to CIELab

2 ビュー (過去 30 日間)
Marcin Piasecki
Marcin Piasecki 2022 年 9 月 18 日
回答済み: Steve Eddins 2022 年 9 月 19 日
How to convert NEF file to CIElab? Its possible to convert it in one step, or I need to convert NEF file to different format and then to CIElab somehow ?

回答 (1 件)

Steve Eddins
Steve Eddins 2022 年 9 月 19 日
You could use the Image Processing Toolbox function raw2rgb to convert your raw NEF to sRGB values, and then you could use the rgb2lab function to convert to CIELAB.
Note that function raw2rgb implements one particular way to convert from the raw color filter array (CFA) values to RGB. It's not the only way to do it. If you want to get the CFA values directly, then use rawread.

カテゴリ

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