Save new image as tif
Afficher commentaires plus anciens
I have several images(uint16) that I want to save as pairs side by side but the sizes of the images when I save them are not consistent. The images when i read them are *jpg and each has size of 7.7MB.
When I plot them and try to save the first pair
images=[im1,im2]
figure(1),imshow(images)
print(gcf,'-dtiffn','example.tiff')
the image that comes out is 11 MB, when I expected about 16 MB. Additionally I have tried to save the outcome differently
imwrite(im2uint16(images),'outfile.tif')
but the outfile.tif is 961MB which is also unexpected comparing to the initial size of the images. I want to be able to save pairs of images side by side without compression but none of the ways I have tried seems right.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Import, Export, and Conversion dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!