Read dng image using the Tiff class and the display image is black
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Joel Trussell
el 22 de Oct. de 2020
I have same problem but my DNG file comes directly from a Leica M10
Respuestas (1)
David Macias
el 3 de Nov. de 2016
I have the same problem. Did Someone find a solution?
thanks in advance
2 comentarios
Ver también
Categorías
Más información sobre LaTeX en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!