IteratorHelper Module Reference

Helper for iterative image processing algorithms.

This provides current values/initial values for further processing.If an inital flow is provided via the optional initFlow input slot, it is copied to the flow output in the first iteration. If left unconnected, an initial zero flow is generated matching the input sequence x/y/z dimensions and using the flowFrames (as t) and flowDimensions (as v). Auto detection of flowFrames means one frame less than the input sequence.

input slots

InputSlot< CImgList< T > > in
  original sequence input
InputSlot< CImgList< T > > initFlow
  initial flow guess

output slots

OutputSlot< unsigned int > count
  iteration counter (resetted on iteration start, e.g. inner loop)
OutputSlot< unsigned int > countAll
  iteration counter (not resetted, increasing only)
OutputSlot< CImgList< T > > flow
  current flow solution
OutputSlot< CImgList< T > > residual
  current residual energy
OutputSlot< IteratorHelper< T > * > self
  self-pointer
OutputSlot< CImgList< T > > sequence
  original sequence output

parameters

Parameter< unsigned int > flowDimensions
  number of flow components for initialization
Parameter< int > flowFrames
  number of frames for initial flow ( use -1 for auto detection )

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