#include <R3D/RotationRegistration/RotationRegistrationThread.h>
Inherits R3DAbstractThread.
Inheritance diagram for RotationRegistrationThread:


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. | |
| RotationRegistrationThread::RotationRegistrationThread | ( | R3DThreadGroup::Pointer | threadGroup, | |
| int | threadSlot, | |||
| const std::string & | threadName, | |||
| RotationRegistration * | master, | |||
| RotationRegistrationData::Pointer | registrationData, | |||
| bool | debug = false | |||
| ) |
Constructor for this object.
| 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. |
| void RotationRegistrationThread::run | ( | ) | [virtual] |
main entry point to register the 2 images
Implements R3DAbstractThread.
| void RotationRegistrationThread::initializeImportFilter | ( | ImportFilterType::Pointer | importFilter, | |
| uint8 * | imageData, | |||
| R3DSliceInfo::Pointer | sliceInfo | |||
| ) | [protected] |
Initializes the ITK Import Filter objects.
| 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.
| fxImageImport | The itkImportFilter representing the fixed image | |
| mvImageImport | The itkImportFilter representing the moving image | |
| rotationOnly | Only perform a rotation based registration. |
| int RotationRegistrationThread::loadIntersectingMosaics | ( | ImportFilterType::Pointer | fxImportFilter, | |
| ImportFilterType::Pointer | mvImportFilter | |||
| ) | [protected] |
Loads intersecting regions of the 2 slices.
| fxImportFilter | The itkImportFilter representing the fixed image | |
| mvImportFilter | The itkImportFilter representing the moving image |
1.5.2