18 #ifndef __igstkMR3DImageToUS3DImageRegistration_h
19 #define __igstkMR3DImageToUS3DImageRegistration_h
22 #pragma warning ( disable : 4018 )
25 #pragma warning( disable : 4284 )
36 #include "itkVectorContainer.h"
137 virtual void PrintSelf( std::ostream& os, itk::Indent indent )
const;
146 void ResetProcessing();
149 void SetFixedUS3DProcessing();
152 void SetMovingMR3DProcessing();
155 void CalculateRegistrationProcessing();
158 void ReportRegistrationTransformProcessing();
162 typedef USImageObject::ITKImageModifiedEvent USITKImageModifiedEvent;
164 igstkObserverConstObjectMacro(ITKUSImage,
165 USITKImageModifiedEvent,USImageType)
167 igstkObserverConstObjectMacro(ITKMRImage,
170 igstkObserverMacro(USImageTransform,CoordinateSystemTransformToEvent,
172 igstkObserverMacro(MRImageTransform,CoordinateSystemTransformToEvent,
179 igstkDeclareStateMacro( Idle );
180 igstkDeclareStateMacro( MRImageSet );
181 igstkDeclareStateMacro( USImageSet );
182 igstkDeclareStateMacro( ImagesSet );
183 igstkDeclareStateMacro( RegistrationCalculated );
186 igstkDeclareInputMacro( ResetRegistration );
187 igstkDeclareInputMacro( ValidMovingMR3D );
188 igstkDeclareInputMacro( ValidFixedUS3D );
189 igstkDeclareInputMacro( MRImageTransform );
190 igstkDeclareInputMacro( USImageTransform );
191 igstkDeclareInputMacro( ValidRegistration );
192 igstkDeclareInputMacro( CalculateRegistration );
193 igstkDeclareInputMacro( RequestRegistrationTransform );
197 igstkLoadedEventTransductionMacro( CoordinateSystemTransformTo,
199 igstkLoadedEventTransductionMacro( CoordinateSystemTransformTo ,
206 bool m_ValidMR3DImageToUS3DImageRegistration;
221 #endif // _igstkUltrasoundCalibration_h
MR3DImageToUS3DImageRegistration()
Constructor.
Transform TransformType
Typedefs for the internal computation.
VersorType::MatrixType MatrixType
itk::VectorContainer< int, VectorType > InputVectorContainerType
Represents a MR scan placed correctly in physical coordinates.
#define igstkFriendClassMacro(type)
Create a Macro for friend class.
#define igstkGetMacro(name, type)
Get built-in type.
ImageType::SpacingType SpacingType
InputVectorContainerType::Pointer InputVectorContainerPointerType
virtual ~MR3DImageToUS3DImageRegistration()
Destructor.
Base class for all the IGSTK classes.
itk::Matrix< double, 4, 4 > Matrix4x4Type
itk::Image< double, 3 > ImageType
SuperclassType::ImageType ImageType
igstkStandardClassTraitsMacro(MR3DImageToUS3DImageRegistration, Object)
Macro with standard traits declarations.
TransformType::PointType PointType
This class registers a 3D MR image with a 3D Utrasound image.
void RequestCalculateRegistration()
Method invoked by the user to start the registration.
defines standard system-wide macros, constants, and other common parameters in the IGSTK Library...
InputPointContainerType::Pointer InputPointContainerPointerType
InputVersorContainerType::Pointer InputVersorContainerPointerType
itk::Index< 3 > IndexType
TransformType::VersorType VersorType
Declare the ImageReaderToImageSpatialObject class to be a friend in order to give it access to the pr...
InputIndexContainerType::Pointer InputIndexContainerPointerType
void RequestSetFixedUS3D(USImageObject *MRImage)
Set the fixed US 3D Image.
unsigned int GetNumberOfSamples() const
Method to get the number of samples used to calibrate.
itk::VectorContainer< int, IndexType > InputIndexContainerType
vnl_vector< double > VnlVectorType
Represents an Ultrasound Image Object in physical space.
void RequestReset()
Method invoked by the user to reset the calibration process.
#define igstkSetMacro(name, type)
Set built-in type.
vnl_matrix< double > VnlMatrixType
itk::VectorContainer< int, VersorType > InputVersorContainerType
itk::VectorContainer< int, PointType > InputPointContainerType
virtual void PrintSelf(std::ostream &os, itk::Indent indent) const
Print the object information in a stream.
vnl_svd< double > VnlSVDType
void RequestGetRegistrationTransform()
Request to get the final transformation.
TransformType::VectorType VectorType
void RequestSetMovingMR3D(MRImageSpatialObject *MRImage)
Set the moving MR 3D Image.