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.
1 回表示 (過去 30 日間)
古いコメントを表示
or no changes are required.
0 件のコメント
回答 (1 件)
Image Analyst
2015 年 3 月 14 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Import, Export, and Conversion についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!