www.gusucode.com > vision 源码程序 matlab案例代码 > vision/CreateAHaarWaveletToDetect45DegreeEdgesExample.m
%% Create a Haar-like Wavelet to Detect 45-Degree Edges % Create the filter. % Copyright 2015 The MathWorks, Inc. K = integralKernel([3,1,3,3;6 4 3 3], [1 -1], 'rotated'); %% % Visualize the filter and mark the center. imshow(K.Coefficients, [], 'InitialMagnification', 'fit'); hold on; plot(K.Center(2),K.Center(1), 'r*'); impixelregion;