QCamFindShift_barycentre Class Reference

Find the shift between two frame by computing the barycenter of the frame. More...

#include <QCamFindShift_barycentre.hpp>

Inheritance diagram for QCamFindShift_barycentre:

Inheritance graph
[legend]
Collaboration diagram for QCamFindShift_barycentre:

Collaboration graph
[legend]
List of all members.

Protected Member Functions

bool registerFirstFrame ()
 to register the firt frame which will be the reference.
bool findShift (ShiftInfo &shift)
 return the shift beetween the current frame and the one used as reference by registerFirstFrame().

Detailed Description

Find the shift between two frame by computing the barycenter of the frame.


Member Function Documentation

bool QCamFindShift_barycentre::registerFirstFrame (  )  [protected, virtual]

to register the firt frame which will be the reference.

return true if the registration is succesfull. Will be called until one call is successful.

Implements QCamFindShift.

bool QCamFindShift_barycentre::findShift ( ShiftInfo shift  )  [protected, virtual]

return the shift beetween the current frame and the one used as reference by registerFirstFrame().

if shift not found, return false.

Implements QCamFindShift.


The documentation for this class was generated from the following files:
Generated on Sat Oct 27 09:21:08 2007 for QastroCam by  doxygen 1.5.1