how to reduce bits per pixel in an image?
1 回表示 (過去 30 日間)
古いコメントを表示
If my image in the format of png.. i need to compress this image..so image bit per pixel will be reduced? how this is possible
0 件のコメント
回答 (2 件)
Image Analyst
2014 年 2 月 26 日
Using imwrite to create a PNG image does the compression for you. Why do you think you need to do anything additional?
2 件のコメント
Image Analyst
2014 年 2 月 27 日
What GIF image? Images only have a format once they're saved onto disk. Once they're in MATLAB, they're simply an array of numbers. If you use imread() it uncompressed them. They're no longer compressed - it's the full, original array again. The only way to get the compressed data out is if you use fread() but if you did that it's not in a displayable form.
参考
カテゴリ
Help Center および File Exchange で Image Segmentation and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!