WarpSymmetric Module Reference

Symmetric warping of images pairs.

This module performs warping of two consecutive images (image pair), and works similarly as the module Warp. The difference is that warping is done in a symmetric way, i.e. the first image is warped towards the second one (using half the negative flow), the second one is warped towards the first one (using half the flow). This avoids artifacts resulting when compared the warped, second image with the original one, as done usually e.g. using the module Warp.Since the negative flow is not equal to the inverted flow, the inversion is approximated by warping the flow with itself. To get symmetric processing for both images, the flow is also warped half way (forward for the first image and backward for the second one).If the flow is correct, the two resulting images (-> image pair) of this warping step should look much more similar than before. The difference between the two output images is called residual.The flow is multiplied with the weight parameter before the warping is actually performed, this way warping into the opposite direction (weight = -1) or warping half-way (weight = 0.5) is possible.

input slots

InputSlot< CImgList< T > > flowInput
  Image flow.
InputSlot< Interpolator< T > * > interpolator
  Interpolator.
InputSlot< CImgList< T > > seqInput
  Image sequence.

output slots

OutputSlot< CImgList< T > > out
  Warped Image.

parameters

Parameter< float > weight
  Flow weight.

further information

This Module subclasses TemplatedParameteredObject< 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.


Get Charon at SourceForge.net. Fast, secure and Free Open Source software downloads