Downsizing of an image

조회 수: 2 (최근 30일)
Hammad
Hammad 2013년 3월 3일
How to downsize an image by deleting alternate rows and columns without using imresize() function ?

답변 (1개)

Wayne King
Wayne King 2013년 3월 3일
If you just want to downsample the rows and columns.
Assume X is your image:
X = randn(512,512);
X = X(1:2:end,1:2:end);

Community Treasure Hunt

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

Start Hunting!

Translated by