📄 perform_adaptive_filtering.cpp
字号:
/*=================================================================
% perform_adaptive_filtering - perform adaptive filtering
%
% B = perform_adaptive_filtering(A,H,I);
%
% A is an n1 x n2 input image.
% H is a p1 x p2 x m matrix, each H(:,:,k) being a filter.
% Note that p1 and p2 should be odd integers.
% Note that during filter, H(:,:,k) is automatically normalized
% to sum to 1.
% I is a p1 x p2 matrix of integer in {1,...,m}. I(i,j) is the filter to
% use in pixel (i,j)
% B is an n x p output image.
%
% B(i,j) = sum_x A(i+x1,j+x1) H(x1,x2,I(i,j))
%
% Copyright (c) 2006 Gabriel Peyr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -