Read dng image using the Tiff class and the display image is black
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
David Macias
2016년 11월 3일
I have the same problem. Did Someone find a solution?
thanks in advance
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 LaTeX에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!