フィルターのクリア

Trying to reduce the size of an image

3 ビュー (過去 30 日間)
Nimit Jain
Nimit Jain 2016 年 7 月 19 日
回答済み: Thorsten 2016 年 7 月 19 日
Hello, I am trying to reduce the size of the pixel. Below are the steps that I did 1. Calculate the number of pixel. 2. Now I was thinking if I decrease the pixel then I the size of the image will also get decrease but I was wrong.
Please guide how to decrease of the size of the image without resizing it.

回答 (1 件)

Thorsten
Thorsten 2016 年 7 月 19 日
You can write the image to jpg and adjust the 'Quality' between 0 and 100 to reduce the size (lossy compression):
imwrite(I, 'myimage.jpg', 'Quality', 50)
or you could try one of the various image formats supported by imwrite and see if the size is smaller.

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by