From: Philip Villaseran on
I'm new to image processing in MATLAB, so bear with me. =)

Is there a way to retain parts of an image, say of size 5
pixels by 1 pixel? I've tried a number of different
functions (mostly through trial and error) but can't seem to
find a way.

It's a colored image. Do I have to convert it to black and
white or grayscale?

Thanks.