📄 laplician_a.asv
字号:
11%% Program to implement the Laplacian Enhancement technique
close all;
clear all;
clc;
a = input('Enter the image name --- ', 's')
b = input('Enter the size of filter --- ')
filter = zeros(b, b);
for i=1:b
for j=1:b
x = input('Enter the elements of the matrix ---')
filter (i,j) = x;
end
end
image1=imread('Fig0343(a)(skeleton_orig).tif');
results=imfilter(image1, i);
imtool(results)
h=fspecial('average',3)
w=fspecial('laplacian',0)
g1=imfilter(image1,w,'replicate');
imshow(g1,[])
image2=im2double(image1);
g2=imfilter(image2,w,'replicate');
imshow(g2,[])
g=image2-g2;
imshow(g)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -