Read dng image using the Tiff class and the display image is black

3 ビュー (過去 30 日間)
Reem
Reem 2014 年 9 月 16 日
コメント済み: Joel Trussell 2020 年 10 月 22 日
Hello,
I am trying to read a raw image into Matlab. I have used the following code:
warning off MATLAB:tifflib:TIFFReadDirectory:libraryWarning
t = Tiff('test.dng','r');
offsets = getTag(t,'SubIFD');
setSubDirectory(t,offsets(1));
cfa = read(t);
close(t);
imtool(cfa)
When I ran the code, I got multiple warnings such as bellow:
Warning: TIFF library warning - 'TIFFReadDirectory: Unknown field with tag
33421 (0x828d) encountered.'
Warning: TIFF library warning - 'TIFFReadDirectory: Unknown field with tag
33422 (0x828e) encountered.'
I checked my Adobe DNG converter settings and I have used the following settings:
Any clue?!
  1 件のコメント
Joel Trussell
Joel Trussell 2020 年 10 月 22 日
I have same problem but my DNG file comes directly from a Leica M10

サインインしてコメントする。

回答 (1 件)

David Macias
David Macias 2016 年 11 月 3 日
I have the same problem. Did Someone find a solution?
thanks in advance
  2 件のコメント
Noor Abbas
Noor Abbas 2018 年 11 月 30 日
I have same problem?
Ricardo Motta
Ricardo Motta 2020 年 4 月 20 日
Can we please get support for DNG?

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLaTeX についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by