compute_subwindows_energy.m
来自「image denoising toolbox in matlab」· M 代码 · 共 12 行
M
12 行
function D = compute_subwindows_energy(M,k)
% compute_subwindows_matrix - compute the energy of each patch around each pixel.
%
% D = compute_subwindows_energy(M,k);
%
% D(i,j) = \sum{ x \in P_{ij} }{ M(i,j)^2 }
%
% where P_{ij} is the patch of size (2k+1)x(2k+1) around
% pixel (i,j).
%
% Copyright (c) 2004 Gabriel Peyr
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?