How to shrink an image without using imresize function in matlab

I've found some methods to enlarge an image but there is no solution to shrink an image.I use Nearest Neighbor method. How could I do that without using imresize function in matlab?

2 件のコメント

Stephen23
Stephen23 2014 年 10 月 1 日
編集済み: Stephen23 2014 年 10 月 1 日
What is wrong with imresize ? According to the documentation it will also shrink images, and you can choose the interpolation method (which is relevant for any scaling that is not a whole-number scaling). Not only that it includes anti-aliasing controls and other handy features...
sm shafaei
sm shafaei 2014 年 10 月 1 日
I know this method is perfect but unfortunately I have to not to use it.

サインインしてコメントする。

タグ

質問済み:

2014 年 10 月 1 日

コメント済み:

2014 年 10 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by