imfinfo error
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I was just trying to collect some information from a tif stack file to know how many frames there are in this specific tif file named test. However there is some error I never encountered before and I can't find an answer online. so I post it here hope someone can answer it for me. Or can help me find another way to get the frame number information. When I was trying to open the same file with image processing toolbox it also encountered the same error. My image processing toolbox can open other jpg files.
Here's my test code and error.
>> t=imfinfo('test.tif')
??? Unexpected Standard exception from MEX file. What() is:invalid string position
Error in ==> imtifinfo at 57 raw_tags = tifftagsread ( filename );
Error in ==> imfinfo at 178 info = feval(fmt_s.info, filename);
0 comentarios
Respuesta aceptada
John
el 7 de Sept. de 2011
Can you post your image somewhere for me to take a look at it?
2 comentarios
Más respuestas (1)
Walter Roberson
el 7 de Sept. de 2011
I suspect the Tags of the TIFF image are not formed correctly.
Ver también
Categorías
Más información sobre Convert Image Type 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!