Thursday, January 27, 2011

Playing Around With Matlab

For the first class, the professor walked us through some basic image manipulation using matlab. I won't post the specifics, in terms of what I did for each manipulation, but I will post the end result.




First here's the original image. Basically I just took a jpg I took with a digital camera. In this case it's an image of the Nationals Scoreboard in Washington, DC.
Original Image
Next I converted the image to a .gif. In matlab I loaded the image as the image and the color map. Next I opened up the image without the color map. The following is just an image with the different color extremes.
Image with color map extracted
With the color map extracted I generated a new gray scale color map and applied it to the image. The following is the result of the image with a gray scale color map applied.
Image with gray color map
Next I created a red scale color map and applied it to the image
Image with red color map
Now we take a green color map and apply it
Image with green color map
Now the image has a blue color map applied to it
Image with blue color map

Next time: Adding two images together

No comments:

Post a Comment