RotationRegistrationThread Class Reference

#include <R3D/RotationRegistration/RotationRegistrationThread.h>

Inherits R3DAbstractThread.

Inheritance diagram for RotationRegistrationThread:

Inheritance graph
[legend]
Collaboration diagram for RotationRegistrationThread:

Collaboration graph
[legend]
List of all members.

Detailed Description

Author:
Michael Jackson For Bluequartz Software

Date:
April 2009
Version:
1.0


Public Member Functions

 RotationRegistrationThread (R3DThreadGroup::Pointer threadGroup, int threadSlot, const std::string &threadName, RotationRegistration *master, RotationRegistrationData::Pointer registrationData, bool debug=false)
 Constructor for this object.
void run ()
 main entry point to register the 2 images

Protected Member Functions

void initializeImportFilter (ImportFilterType::Pointer importFilter, uint8 *imageData, R3DSliceInfo::Pointer sliceInfo)
 Initializes the ITK Import Filter objects.
int registerImages (ImportFilterType::Pointer fxImageImport, ImportFilterType::Pointer mvImageImport, bool rotationOnly)
 This will actually register 2 images.
int loadIntersectingMosaics (ImportFilterType::Pointer fxImportFilter, ImportFilterType::Pointer mvImportFilter)
 Loads intersecting regions of the 2 slices.


Constructor & Destructor Documentation

RotationRegistrationThread::RotationRegistrationThread ( R3DThreadGroup::Pointer  threadGroup,
int  threadSlot,
const std::string &  threadName,
RotationRegistration master,
RotationRegistrationData::Pointer  registrationData,
bool  debug = false 
)

Constructor for this object.

Parameters:
threadGroup The R3DThreadGroup object that is controlling this thread
threadSlot The slot number where this thread is stored in the lookup table.
threadName A String representing the name of the thread for human readable output
master The 'master' class that is invoking this object
registrationData Object to hold data related to the registration process and outcome
debug Should debug statements be generated.
Returns:


Member Function Documentation

void RotationRegistrationThread::run (  )  [virtual]

main entry point to register the 2 images

Returns:
Negative value on error.

Implements R3DAbstractThread.

void RotationRegistrationThread::initializeImportFilter ( ImportFilterType::Pointer  importFilter,
uint8 *  imageData,
R3DSliceInfo::Pointer  sliceInfo 
) [protected]

Initializes the ITK Import Filter objects.

Parameters:
importFilter The itkImportFilter to initialize
imageData The raw image data
sliceInfo The Zeiss Slice Info

int RotationRegistrationThread::registerImages ( ImportFilterType::Pointer  fxImageImport,
ImportFilterType::Pointer  mvImageImport,
bool  rotationOnly 
) [protected]

This will actually register 2 images.

Parameters:
fxImageImport The itkImportFilter representing the fixed image
mvImageImport The itkImportFilter representing the moving image
rotationOnly Only perform a rotation based registration.
Returns:

int RotationRegistrationThread::loadIntersectingMosaics ( ImportFilterType::Pointer  fxImportFilter,
ImportFilterType::Pointer  mvImportFilter 
) [protected]

Loads intersecting regions of the 2 slices.

Parameters:
fxImportFilter The itkImportFilter representing the fixed image
mvImportFilter The itkImportFilter representing the moving image
Returns:
negative on error


The documentation for this class was generated from the following files:
Generated on Fri Aug 28 14:04:33 2009 for R3DImageTools by  doxygen 1.5.2