if a image compression code is applied on the 3 bit per pixel image then what changes to made if i have to use the same code for 8bpp image.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
or no changes are required.
0 commentaires
Réponses (1)
Image Analyst
le 14 Mar 2015
Once you read the image into MATLAB from a disk file, the images are what they are, and in most cases this means they are uint8, which means 8 bits per pixel. You can get the compressed data in without decompressing if you use fread() instead of imread() but then you just have a bunch of data that is not suitable for display in an axes with a function like imshow(). So I'm not sure if, after you've read in your image data, if you used fread() and so it's still compressed, or if you used imread() or your own decompression routine and it's now been decompressed and is at the full 8 bits per pixel. Maybe you can clarify.
0 commentaires
Voir également
Catégories
En savoir plus sur Image Data 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!