EnergyStencil for so called classic regularization.
This energy stencil implements so-called classic regularization, proposed by Horn and Schunck in their 1981 paper "Determining Optical Flow".Its energy equals
.
input slots | |
| InputSlot< CImgList< T > > | matchMask |
| Input slot for mask of matches. | |
| InputSlot< CImgList< T > > | motionUV |
| Input slot for current motion components. | |
| InputSlot< PenaltyFunction< T > * > | penaltyFunction |
| Input slot for penalty function. | |
| InputSlot< CImgList< T > > | regionMask |
| Input slot for regularization mask. | |
| InputSlot< Roi< int > * > | roi |
| Input slot for region of interest. | |
output slots | |
parameters | |
| Parameter< bool > | diagonalRegularization |
| if set, also diagonal cliques are considered for regularization | |
| ParameterList< std::string > | pUnknowns |
| ParameterList containing all unknowns of the Stencil. | |
This Module subclasses Stencil::EnergyHessian< T >.
For documentation of parameters and slots inherited by this base class,
please have a look at the corresponding Module reference.
This module is templated. There are instances with T=int,float,double.
An additional parameter called templatetype
may be used to select which instantiation you want.
The detailed doxygen documentation beyond the parameters/slots may be found here.