Class CenteredTransformInitializerFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.CenteredTransformInitializerFilter
CenteredTransformInitializerFilter is a helper class intended to initialize the center of rotation and
the translation of Transforms having the center of rotation among
their parameters.
This class is connected to the fixed image, moving image and transform
involved in the registration. Two modes of operation are possible:
Geometrical,
Center of mass
 In the first mode, the geometrical center of the moving image is
passed as initial center of rotation to the transform and the vector
from the center of the fixed image to the center of the moving image
is passed as the initial translation. This mode basically assumes that
the anatomical objects to be registered are centered in their
respective images. Hence the best initial guess for the registration
is the one that superimposes those two centers.
In the second mode, the moments of gray level values are computed for
both images. The center of mass of the moving image is then used as
center of rotation. The vector between the two centers of mass is
passes as the initial translation to the transform. This second
approach assumes that the moments of the anatomical objects are
similar for both images and hence the best initial guess for
registration is to superimpose both mass centers. Note that this
assumption will probably not hold in multi-modality registration.
See:
 itk::CenteredTransformInitializer
C++ includes: sitkCenteredTransformInitializerFilter.h
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final class
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::CenteredTransformInitializerFilter::CenteredTransformInitializerFilter() Default Constructor that takes no arguments and initializes default parametersprotectedCenteredTransformInitializerFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete()itk::simple::CenteredTransformInitializerFilter::~CenteredTransformInitializerFilter() override DestructorTransform itk::simple::CenteredTransformInitializerFilter::Execute(const Image &fixedImage, const Image &movingImage, const Transform &transform) Execute the filter on the input imageprotected voidfinalize()voidSelf& itk::simple::CenteredTransformInitializerFilter::GeometryOn() Select between using the geometrical center of the images or using the center of mass given by the image intensities.protected static longgetName()std::string itk::simple::CenteredTransformInitializerFilter::GetName() const override Name of this classOperationModeType itk::simple::CenteredTransformInitializerFilter::GetOperationMode() constvoidSelf& itk::simple::CenteredTransformInitializerFilter::MomentsOn() Select between using the geometrical center of the images or using the center of mass given by the image intensities.voidSelf& itk::simple::CenteredTransformInitializerFilter::SetOperationMode(OperationModeType OperationMode)protected static longtoString()std::string itk::simple::CenteredTransformInitializerFilter::ToString() const override Print ourselves outMethods inherited from class org.itk.simple.ProcessObjectabort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
- 
Constructor Details- 
CenteredTransformInitializerFilterprotected CenteredTransformInitializerFilter(long cPtr, boolean cMemoryOwn) 
- 
CenteredTransformInitializerFilterpublic CenteredTransformInitializerFilter()itk::simple::CenteredTransformInitializerFilter::CenteredTransformInitializerFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ProcessObject
 
- 
deletepublic void delete()itk::simple::CenteredTransformInitializerFilter::~CenteredTransformInitializerFilter() override Destructor- Overrides:
- deletein class- ProcessObject
 
- 
setOperationModeSelf& itk::simple::CenteredTransformInitializerFilter::SetOperationMode(OperationModeType OperationMode)
- 
getOperationModeOperationModeType itk::simple::CenteredTransformInitializerFilter::GetOperationMode() const
- 
getNamestd::string itk::simple::CenteredTransformInitializerFilter::GetName() const override Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::CenteredTransformInitializerFilter::ToString() const override Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
- 
momentsOnpublic void momentsOn()Self& itk::simple::CenteredTransformInitializerFilter::MomentsOn() Select between using the geometrical center of the images or using the center of mass given by the image intensities.
- 
geometryOnpublic void geometryOn()Self& itk::simple::CenteredTransformInitializerFilter::GeometryOn() Select between using the geometrical center of the images or using the center of mass given by the image intensities.
 
-