close all,
clear all,
clc,
ProjectPath = pwd;
ROW = 128; COL=128;
ImagePath = strcat(ProjectPath,'\Leena.jpg');
Orig = imread(ImagePath);
Gray = rgb2gray(Orig);
subplot(2,3,1); imshow(Gray); title('Original Image');
Mask = [-1,-1,-1;-1,0,-1;-1,-1,-1];
Mask_1_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,2); imshow(Mask_1_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
Mask = [0,-1,0;-1,5,-1;0,-1,0];
Mask_2_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,3); imshow(Mask_2_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
figure,
A=0;
Mask = [0,-1,0;-1,A-4,-1;0,-1,0];
Mask_2_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,3); imshow(Mask_2_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
Mask = [-1,-1,-1;-1,A-4,-1;-1,-1,-1];
Mask_2_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,3); imshow(Mask_2_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
figure,
A=1;
Mask = [0,-1,0;-1,A-4,-1;0,-1,0];
Mask_2_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,3); imshow(Mask_2_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
Mask = [-1,-1,-1;-1,A-4,-1;-1,-1,-1];
Mask_2_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,3); imshow(Mask_2_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
figure,
A=2;
Mask = [0,-1,0;-1,A-4,-1;0,-1,0];
Mask_2_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,3); imshow(Mask_2_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
Mask = [-1,-1,-1;-1,A-4,-1;-1,-1,-1];
Mask_2_Filter_Image = imfilter(Gray,Mask);
subplot(2,3,3); imshow(Mask_2_Filter_Image); str = strcat('Filter
Image Mask',num2str(Mask)); title(str);
3.9 Assuming continuous values, show by example that it is possible to have a case in which the transformation f...
have to implement a matalb code using the figure0121(a) & have to show the results of modified one for each simulation & even write analysis for each simulation. B. Computer Assignment: 1. Write a MatLab program to perform spatial filtering of an image (see Section 3.6 (3.5) regarding implementation). You can fix the size of the spatial mask at 3 x3, but the coefficients need to be variables that can be input into your program. This program should be generic....
I have this case study to solve. i want to ask which type of case study in this like problem, evaluation or decision? if its decision then what are the criterias and all? Stardust Petroleum Sendirian Berhad: how to inculcate the pro-active safety culture? Farzana Quoquab, Nomahaza Mahadi, Taram Satiraksa Wan Abdullah and Jihad Mohammad Coming together is a beginning; keeping together is progress; working together is success. - Henry Ford The beginning Stardust was established in 2013 as a...