How to reduce image size before saving into .mat file
5 ビュー (過去 30 日間)
古いコメントを表示
I am capturing images from cell phone camera and saving it to .mat file. Due to high resolution .mat file size become high and takes more time when processing on it. How to reduce image size before saving in .mat file so that image should not be more then few kbs without loosing image information. thanks
3 件のコメント
KALYAN ACHARJYA
2018 年 7 月 28 日
編集済み: KALYAN ACHARJYA
2018 年 7 月 28 日
Without loss of information, size reduction is not possible. It depends on a trade-off between desired size and information loss
Rik
2018 年 7 月 28 日
Not entirely: it is a trade-off between size, information and processing power. A strong compression will probably require much processing power, which is not what you want if you are on mobile.
回答 (1 件)
KALYAN ACHARJYA
2018 年 7 月 28 日
編集済み: KALYAN ACHARJYA
2018 年 7 月 28 日
imresize(phone_image,scale); %Decide scale as per your requirements.
%Scale-0 to 1, less values means more resize, automaticall size reduce
3 件のコメント
参考
カテゴリ
Help Center および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!