Docsity

image processing using matlab, Exercises of Digital Image Processing

Partial preview of the text

Download image processing using matlab and more Exercises Digital Image Processing in PDF only on Docsity!

clc; clear all; close all; a=imread('C:\Users\adhit\Documents\projects\minor\183344683.jpg'); subplot(3,5,1); imshow(a); title('original image 1'); b=rgb2gray(a) subplot(3,5,2); imshow(b); title('rgb2gray') c=imresize(b,[250,250],'bilinear'); subplot(3,5,3); imshow(c); title('resized image 1'); subplot(3,5,4) imhist(a); title('histogram') e=histeq(c) subplot(3,5,5) imshow(e) title('hist eq') subplot(3,5,6) imhist(e) title('histeq histogram') f=imadjust(c) subplot(3,5,7) imshow(f) title('imadjust') subplot(3,5,8)