You are on page 1of 32

Image Processing

Introduction to MATLAB

Working with Images


Use imread to open an image
Im1=imread(sample.bmp);

Images are stored as matrices. Try:


size(Im1)

Display images using imshow


imshow(Im1)

Example Demo
Reading an image Changing the values of some pixels Display original and modified images Draw histogram

You might also like