MatlabImageProcessingIntro_JA - Introduction to image...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to image processing in Matlab A digital image is composed of pixels which can be thought of as small dots on the screen. Image formats that we mostly work with in Matlab: 1. Intensity image (gray scale image) It represents an image as a matrix where every element has a value corresponding to how bright/dark the pixel at the corresponding position should be colored. We can use 0 to represent dark and 255 to represent white, and values between 0 and 255 to represent other gray levels. 2. RGB image This is a format for color images. It represents an image with three matrices of sizes matching the image format. Each matrix corresponds to one of the colors red, green or blue and gives an instruction of how much of each of these colors a certain pixel should use. Read in an image We can use the Matlab function imread to read a image, and then use imshow to display it in a figure window. We can do simple operation on the image such as rotation, or subtracting each pixel from the one on its right, as shown in Figure.1.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 05/03/2009 for the course ECSE 2410 taught by Professor Wozny during the Spring '07 term at Rensselaer Polytechnic Institute.

Page1 / 3

MatlabImageProcessingIntro_JA - Introduction to image...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online