This is the SpatialPW stencil.
This stencil implements the spacial pairwise term of the lerning optical flow paper by Sun et. al.
input slots | |
| InputSlot< CImgList< T > > | flowGuess |
| initial guess of flow | |
| InputSlot< Function * > | pu |
| fitted probabilities for u | |
| InputSlot< Function * > | pv |
| fitted probabilities for v | |
output slots | |
parameters | |
| Parameter< bool > | calcDiff |
| drop initial guess terms from RHS | |
| Parameter< bool > | useDiff2Lin |
| use linearization of second derivative | |
This Module subclasses Stencil::Mask< 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.