36,749 views 156 on YTPak
141 5

Published on 11 Mar 2015 | about 1 year ago

Image Processing in MATLAB Tutorial 1 - Acquisition and Display

This is a tutorial series on the image processing toolbox on MATLAB. It mainly aims at demonstrating the functions in an easy and understandable. To watch other videos in this playlist, visit: www.youtube.com/playlist

In this video, we cover the basics of image acquisition, display, basic operations and how we can store a processed image onto the hard drive.

Code:
a = imread(‘color.jpg’);
imshow(a);
imtool(a)
b = imcrop(a, [100 100 100 100]);
imshow(b)
c = imresize(a, 0.5);
imshow(c)
d = imrotate(a,75);
subplot(2,2,1), imshow(a), subplot(2,2,2), imshow(b), subplot(2,2,3), imshow(c), subplot(2,2,4), imshow(d)
imwrite(d,’rotate.png’,’png’);

gray = rgb2gray(a);
imshow(gray);
imhist(gray);
b = imadjust(gray);
imshow(b);
c = histeq(d);
imshow(c);
d = im2bw(c);
imshow(d);

By: Surya Penmetsa

Loading related videos...