MATLAB Answers

Jubin Philip

how to downsample a color image in matlab??

Asked by Jubin Philip
on 9 Feb 2013

hi, I d like to know how to downsample an image. i used the normal downsample syntax for an image but i din get d result i want. I want every pixel in the image to be downsampled. I searched for codes but din understand syntax used in many codes. kindly help me wid dis.

  1 Comment

Jurgen
on 9 Feb 2013

You mean you want to reduce the bitdepth, not the resolution, right?

1 Answer

Answer by Image Analyst
on 9 Feb 2013

How about imresize():

resizedImage = imresize(originalImage, [numRows, numCols]);

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today