QCamFindShift_hotSpot Class Reference

Find the shift between two frame by looking at the brighter hot spot of the frame. More...

#include <QCamFindShift_hotSpot.hpp>

Inheritance diagram for QCamFindShift_hotSpot:

Inheritance graph
[legend]
Collaboration diagram for QCamFindShift_hotSpot:

Collaboration graph
[legend]
List of all members.

Public Slots

void setSeuil (int value)
 only pixel above this value (tresh) are taken in account
void setAutoSeuil (bool value)
 activate the auto mode for the tresh calculation
void setSearchBoxSize (int value)
 size of the moving box used to search the hot spot.
void setBinning (int value)
 binning applyed in the search box when searching the hotspot.

Public Member Functions

QWidget * buildGUI (QWidget *)
 build the GUI related tgo the camera client.

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 looking at the brighter hot spot of the frame.


Member Function Documentation

QWidget * QCamFindShift_hotSpot::buildGUI ( QWidget *   )  [virtual]

build the GUI related tgo the camera client.

buildGUI of base class should also be called

Reimplemented from QCamFindShift.

void QCamFindShift_hotSpot::setSearchBoxSize ( int  value  )  [slot]

size of the moving box used to search the hot spot.

size must be smaller than the distance between two possible hot spot.

void QCamFindShift_hotSpot::setBinning ( int  value  )  [slot]

binning applyed in the search box when searching the hotspot.

Will speed up search when box is big, butt will be less accurate

bool QCamFindShift_hotSpot::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_hotSpot::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:09 2007 for QastroCam by  doxygen 1.5.1