Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed bug in gradient constancy optical flow
added Huber data term and operator
- Loading branch information
1 parent
e5f24fd
commit 8a77281
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
%term for \alpha |u-f|_{H_epsi} | ||
classdef huberDataTerm < huberDataTermOperator & HuberDataProxDual | ||
methods | ||
function obj = huberDataTerm(alpha,f,epsi,varargin) | ||
obj = obj@huberDataTermOperator(alpha,identityOperator(numel(f)),f,epsi); | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters