Save TIFF with Look Up Table
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sébastien MAILFERT
el 23 de Jul. de 2015
Comentada: Sébastien MAILFERT
el 30 de Jul. de 2015
Hello,
I'm trying to save my images as 16-bits tiff files using the imwrite function. I can create this file but I didn't find the option to save it with a desired LUT.
begin of my code
imwrite(channel1, fullname_tif_output,output_format,'WriteMode','overwrite','Compression','none');
imwrite(channel4,fullname_tif_output,output_format,'WriteMode','append', 'Compression','none');
imwrite(channel3, fullname_tif_output,output_format,'WriteMode','append', 'Compression','none');
imwrite(channel4, fullname_tif_output,output_format,'WriteMode','append', 'Compression','none');
end of my code
0 comentarios
Respuesta aceptada
Matt Cohen
el 29 de Jul. de 2015
Hi Sébastien,
I assume that by lookup tables you mean Red-Green-Blue (RGB) color maps associated with the TIFF image. The function "imwrite" allows you to save the images as TIFF files; unfortunately, this function does not support writing the associated lookup tables with the files. You may want to explore MATLAB's Tiff class, which provides access to many of the capabilities of the LibTIFF library.
I hope this helps.
Matt
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Data 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!