How can i change the image size on disk ... not the image size

5 vues (au cours des 30 derniers jours)
Dnon Dnon
Dnon Dnon le 22 Fév 2018
Commenté : Jan le 22 Fév 2018
I resize me images to one size 64x64. but when i need to use them i found that the size on disk is not same for all images. my network doesn't work with this issue. how can i do resizing my images for both the normal size and the size on the disk. Thanks
  2 commentaires
Dnon Dnon
Dnon Dnon le 22 Fév 2018
some images 64x64 size on disk 8.00 KB (8,192 bytes) and others are 12.0 KB (12,288 bytes)
Jan
Jan le 22 Fév 2018
The question is not clear. Which network has which problem? In which format are the images saved? If you store a 64*64 matrix as UINT16 in binary format, the resulting file has 8192 bytes. If you store an image with 64*64 pixels as RGB with UINT8 data, it has 12288 bytes. But your observation can have other reasons also. So it is your turn to explain, how you create the different files and which problems you actually have.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by