Code 1:
clc
clear all
close all
warning off
x1=linspace(-5,5,1000);
x2=linspace(-5,5,1000);
[X,Y]=meshgrid(x1,x2);
z=exp(-(X.^2+Y.^2));
nexttile;
h=surf(z);
set(h,'LineStyle','none');
title('2d Gaussian Signal');
g=[0 1 0;1 -4 1;0 1 0];
output=imfilter(z,g);
nexttile;
ms=surf(output);
set(ms,'LineStyle','none');
title('Double Derivative Gaussian Signal');
nexttile;
h=pcolor(x1,x2,output);set(h, 'EdgeColor', 'none');
title('Contour View of Double Derivative Gaussian Signal');
final=nexttile;
mk=pcolor(x1,x2,output);
set(mk,'LineStyle','none');
colormap(final,gray);
title('Eye')
Code 2:
clc
clear all
close all
warning off
x=imread('cameraman.tif');
nexttile;
imshow(x);
title('Input Image');
nexttile;
h=fspecial('log',15,1);
filtered_image=imfilter(x,h);
imshow(filtered_image);
title('Output of LoG Filter');
Laplacian Of Gaussian | Digital Image Processing | Engineering
• Laplacian Of Gaussian ...
Laplacian of Gaussian Matlab Code
• Laplacian of Gaussian ...
Learn Complete Machine Learning & Data Science using MATLAB:
• Data Science & Machine...
Learn Digital Signal Processing using MATLAB:
• Digital Signal Process...
Learn Complete Image Processing & Computer Vision using MATLAB:
• Digital Image Processi...
🙏🙏🙏🙏🙏🙏🙏🙏
YOU JUST NEED TO DO
3 THINGS to support my channel
LIKE
SHARE
&
SUBSCRIBE
TO MY KZitem CHANNEL
#DigitalImageProcessing #MATLAB #ComputerVision
Негізгі бет LOG for Blob Detection
Пікірлер: 9