Downsizing of an image

How to downsize an image by deleting alternate rows and columns without using imresize() function ?

Respuestas (1)

Wayne King
Wayne King el 3 de Mzo. de 2013

1 voto

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);

Preguntada:

el 3 de Mzo. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by