%读入原始图像 I = imread('coins.png'); imshow(I) %sobel边界探测器 BW1 = edge(I,'sobel'); %canny边界探测器 BW2 = edge(I,'canny'); figure im…
sobel 源代码
使用扩展Sobel算子计算一阶、二阶、三阶或混合图像差分
I1=imread('blood1.tif'); figure,imshow(I1) h1=fspecial('sobel'); I2=filter2(h1,I1); figure,imshow(I2) I3=conv2(I1,h1); figur…
% Question No:2 % Detect the edges in an image % a)Using a vertical Sobel mask with a threshold determined automatically. % b…
I1=imread('blood1.tif'); figure,imshow(I1) h1=fspecial('sobel'); I2=filter2(h1,I1); figure,imshow(I2) I3=conv2(I1,h1); figur…
%读入原始图像 I = imread('coins.png'); imshow(I) %sobel边界探测器 BW1 = edge(I,'sobel'); %canny边界探测器 BW2 = edge(I,'canny'); figure im…
%%% Sobel算子、Prewitt算子和高斯-拉普拉斯算子进行图像锐化的源程序。 %应用Sobel算子进行图像锐化 clear all; I1=imread('E:\MATLAB7\work\5-2\yuantu.bmp'); I1=double…
%%%%%%%%%%%%%%%%%%%% 盲卷积滤波复原 %图像模糊化 I = imread('cameraman.tif'); figure;imshow(I);title('Original Image'); PSF = fspecial('mot…
/******************************************************************************* Copyright(c) 2000 - 2002 Analog Devices. All Rig…
%读入原始图像 I = imread('coins.png'); imshow(I) %sobel边界探测器 BW1 = edge(I,'sobel'); %canny边界探测器 BW2 = edge(I,'canny'); figure im…
#include "bmp.h" ///////////////////////////////////////////////////////////////////////////// // // Menu // BMPMENU MENU D…