laplician_a.asv

来自「Image enhancement in spatial domain, the」· ASV 代码 · 共 26 行

ASV
26
字号
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 + =
减小字号Ctrl + -
显示快捷键?