소개글
Image Processing matlab목차
1. Balls.tif① Select median filter for restoring the image
② Convolution Mask Principal of Medain Filter
③ Adopting Medain filter to Matlab Source
③ Result of Running the Matlab Code
2. watermelon
① Select median filter Division for restoring the image
② Select mean filter & Division for restoring the image
③ Compare with Divided 4 image and Select pure part of image.
④ Matlab Source
⑤ Result of Running the Matlab Code
3. dog.tif
① peridoic noise(sinusodal)
② sin(x) <-----(fourier)----> impulse
③ use band reject filter
④ image fourier transform
⑤ (transformed image)*(transfer function)
⑥ inverse transfrom
⑦ get enhanced image
⑧ Matlab Source
⑨ Result of Running the Matlab Code
4. racers.tif
① Select High Pass filter for restoring the image
② High Frequency is high rate of pixel data
③ Sharpening is emphasis a detail part and a kind of High pass
④ Convolution Mask
⑥ Result of Running the Matlab Code
5.. house.tif
① To Use Histogram Equalization for Restoring the Image
② Making Histogram of image
③ Making cumulative Histogram of image
④ Making All Pixe datal`s appearance frequency same and expand
⑤ Matlab Source
⑥ Result of Running the Matlab Code
본문내용
1. Balls.tif① Select median filter for restoring the image
② Convolution Mask Principal of Medain Filter
③ Adopting Medain filter to Matlab Source
clear all
close all
img =imread(`balls.tif`);
[R,C] = size(img);
median_img = zeros(R,C);
for i=2 : R-1
for j=2 : C-1
x =[ img(i-1,j-1) img(i-1,j) img(i-1,j+1) img(i,j-1) img(i,j) img(i,j+1) img(i+1,j-1) img(i+1,j) img(i+1,j+1)] ;
new_pixel = median(x); % 중간값을 넣는다.
median_img(i,j) = new_pixel;
end
end
median_img=uint8(median_img);
figure(1);
subplot(1,2,1); imshow(img); title(`origin`);
subplot(1,2,2); imshow(median_img); title(`median filtering`);
2. watermelon
① Select median filter Division for restoring the image
② Select mean filter & Division for restoring the image
③ Compare with Divided 4 image and Select pure part of image.
④ Matlab Source
clear all
close all
img = imread(`watermelon.tif`);
[R,C]= size(img);
img_11=zeros(R/2,C/2);
img_12=zeros(R/2,C/2);
img_21=zeros(R/2,C/2);
img_22=zeros(R/2,C/2);
for i= 1:R/2
for j= 1: C/2