sobel 源代码

使用扩展Sobel算子计算一阶、二阶、三阶或混合图像差分

收录资源 192 份 全站深度检索
源码文件

/* Sobel edge detector - no templates */ #define MAX #include "lib.h" #include void thresh (IMAGE z) { int histo[256]; int i,…

源码文件

function y=sobel(x,mode) %------------------------------------------------------------ % y=sobel(x,mode) is an edge detector u…

源码文件

#include "bmp.h" ///////////////////////////////////////////////////////////////////////////// // // Menu // BMPMENU MENU D…

源码文件

%读入原始图像 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…

源码文件

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); bw1=edge(I,'sobel'); bw2=edge(I,'canny'); figure; imshow(bw1) figure; imshow(bw2) BW3 …

源码文件

%ISOBEL Sobel edge detector % % is = ISOBEL(image) % % applies the Sobel edge detector, which is the norm of the vertical % and ho…

源码文件

%ISOBEL Sobel edge detector % % is = ISOBEL(image) % % applies the Sobel edge detector, which is the norm of the vertical % and ho…