?? compute_best_direction.m
字號:
function [MW,theta,L] = compute_best_direction(M,T,s)
% compute_best_direction - optimize the lagrangian over a single square
%
% [MW,theta] = compute_best_direction(M,T,s);
%
% M is a 2D image, s is a super-resolution factor
% (the # of tested direction is 2*n*s)
% T is the threshold (the higher, the most you want to compress)
% theta is the optimal direction, ie. the one that gives minimizes the
% Lagrangian
% L(theta) = | M - F_theta(M) |^2 + m * T^2
% where :
% F_theta(M) = perform_warped_haar(M,theta,1)
% m = #{ coefficients of |F_theta(M)| above T }
%
% Copyright (c) 2005 Gabriel Peyr
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -