0

Hi there, i am currently trying to turn an image i have into a very low resolution pixelated version of the image. I have found on the mathworks website a bit of code, which from the example seems to do the exact job....

http://www.mathworks.com/help/toolbox/images/f7-12726.html#brcu20d-1

(the moon pictures)

I have replaced the 'moon.tif' with my own file name and get a pixelated version of it as desired.

My problem is that the image returned is in black and white (or gray scale) while the input image is in color and my desired output image needs to be in color also.

I am brand new to matlab so I can't see the probably simple edit which to make to turn the gray scale image into a colored one.

Any Matlab buffs out there who could help me? I'd be very appreciative

Thanks Terence

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by SasseMan
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.