how to downsample a color image in matlab??

2 views (last 30 days)
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
Jurgen on 9 Feb 2013
You mean you want to reduce the bitdepth, not the resolution, right?

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 9 Feb 2013
How about imresize():
resizedImage = imresize(originalImage, [numRows, numCols]);

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!