How to save set of images as logical images (0 and 1)
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Eberechi ICHI
el 18 de Oct. de 2022
Respondida: KSSV
el 19 de Oct. de 2022
Image_Blocks is a 1x663 structure array with 32x32 image blocks and in logical format (0 and 1).
I want to save the output as logical image but the code output keeps giving me the images in 0-255 (8bits).
Kindly assist.
Thanks
for Block_Index = 1: length(Image_Blocks)
imwrite(Image_Blocks(Block_Index).Blocks,fullfile(path1, File_Prefix + "_" + num2str(Block_Index) + ".jpg"));
end
0 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox 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!