www.gusucode.com > vision 源码程序 matlab案例代码 > vision/ConstructAndRotateAHaarlikeWaveletFilterExample.m

    %% Construct and Rotate a Haar-like Wavelet Filter
% Create a horizontal filter.

% Copyright 2015 The MathWorks, Inc.

H = integralKernel([1 1 4 3; 1 4 4 3], [-1, 1]);
%%
% Rotate the filter 45 degrees.
rotH = rot45(H);