Loading...
Searching...
No Matches
itkElastixRegistrationMethod.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright NumFOCUS
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkElastixRegistrationMethod_h
#define itkElastixRegistrationMethod_h
#include "itkImageSource.h"
#include "itkAdvancedCombinationTransform.h"
#include "itkElastixLogLevel.h"
#include "elxElastixMain.h"
#include "elxElastixTemplate.h"
#include "elxElastixBase.h"
#include "elxTransformBase.h"
#include "elxParameterObject.h"
namespace itk
{
template <typename TFixedImage, typename TMovingImage>
class ITK_TEMPLATE_EXPORT ElastixRegistrationMethod : public itk::ImageSource<TFixedImage>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(ElastixRegistrationMethod);
using Self = ElastixRegistrationMethod;
using Superclass = ImageSource<TFixedImage>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(ElastixRegistrationMethod, ImageSource);
using ElastixMainType = elx::ElastixMain;
using ElastixMainPointer = ElastixMainType::Pointer;
using ElastixMainVectorType = std::vector<ElastixMainPointer>;
using ElastixMainObjectPointer = ElastixMainType::ObjectPointer;
using ArgumentMapType = ElastixMainType::ArgumentMapType;
using ArgumentMapEntryType = ArgumentMapType::value_type;
using FlatDirectionCosinesType = ElastixMainType::FlatDirectionCosinesType;
using DataObjectContainerType = ElastixMainType::DataObjectContainerType;
using DataObjectContainerPointer = ElastixMainType::DataObjectContainerPointer;
using DataObjectContainerIterator = DataObjectContainerType::Iterator;
using DataObjectIdentifierType = ProcessObject::DataObjectIdentifierType;
using DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType;
using NameArrayType = ProcessObject::NameArray;
using ParameterObjectType = elx::ParameterObject;
using ParameterMapType = ParameterObjectType::ParameterMapType;
using ParameterMapVectorType = ParameterObjectType::ParameterMapVectorType;
using ParameterValueVectorType = ParameterObjectType::ParameterValueVectorType;
using ParameterObjectPointer = ParameterObjectType::Pointer;
using ParameterObjectConstPointer = ParameterObjectType::ConstPointer;
static constexpr unsigned int FixedImageDimension = TFixedImage::ImageDimension;
static constexpr unsigned int MovingImageDimension = TMovingImage::ImageDimension;
using FixedMaskType = Image<unsigned char, FixedImageDimension>;
using MovingMaskType = Image<unsigned char, MovingImageDimension>;
using TransformType = Transform<double, FixedImageDimension, MovingImageDimension>;
using FixedImageType = TFixedImage;
using MovingImageType = TMovingImage;
using ResultImageType = FixedImageType;
virtual void
SetFixedImage(TFixedImage * fixedImage);
virtual void
AddFixedImage(TFixedImage * fixedImage);
const FixedImageType *
GetFixedImage() const;
const FixedImageType *
GetFixedImage(const unsigned int index) const;
unsigned int
GetNumberOfFixedImages() const;
virtual void
SetMovingImage(TMovingImage * movingImages);
virtual void
AddMovingImage(TMovingImage * movingImage);
const MovingImageType *
GetMovingImage() const;
const MovingImageType *
GetMovingImage(const unsigned int index) const;
unsigned int
GetNumberOfMovingImages() const;
virtual void
AddFixedMask(FixedMaskType * fixedMask);
virtual void
SetFixedMask(FixedMaskType * fixedMask);
const FixedMaskType *
GetFixedMask() const;
const FixedMaskType *
GetFixedMask(const unsigned int index) const;
void
RemoveFixedMask();
unsigned int
GetNumberOfFixedMasks() const;
virtual void
SetMovingMask(MovingMaskType * movingMask);
virtual void
AddMovingMask(MovingMaskType * movingMask);
const MovingMaskType *
GetMovingMask() const;
const MovingMaskType *
GetMovingMask(const unsigned int index) const;
virtual void
RemoveMovingMask();
unsigned int
GetNumberOfMovingMasks() const;
virtual void
SetParameterObject(ParameterObjectType * parameterObject);
ParameterObjectType *
GetParameterObject();
const ParameterObjectType *
GetParameterObject() const;
ParameterObjectType *
GetTransformParameterObject();
const ParameterObjectType *
GetTransformParameterObject() const;
using Superclass::GetOutput;
DataObject *
GetOutput(unsigned int idx);
const DataObject *
GetOutput(unsigned int idx) const;
ResultImageType *
GetOutput();
/* \note When "WriteResultImage" is false, the output image will be empty. */
const ResultImageType *
GetOutput() const;
/* Standard filter indexed input / output methods */
void
SetInput(FixedImageType * fixedImage);
const FixedImageType *
GetInput() const;
void
SetInput(DataObjectPointerArraySizeType index, DataObject * input);
const DataObject *
GetInput(DataObjectPointerArraySizeType index) const;
void SetInitialTransformParameterFileName(std::string);
itkGetConstMacro(InitialTransformParameterFileName, std::string);
virtual void
RemoveInitialTransformParameterFileName()
{
this->SetInitialTransformParameterFileName("");
}
void
SetInitialTransformParameterObject(const elx::ParameterObject *);
const TransformType *
GetInitialTransform() const
{
return m_InitialTransform;
}
void
SetInitialTransform(const TransformType *);
TransformType *
GetExternalInitialTransform() const
{
return m_ExternalInitialTransform;
}
void
SetExternalInitialTransform(TransformType *);
itkSetMacro(FixedPointSetFileName, std::string);
itkGetConstMacro(FixedPointSetFileName, std::string);
void
RemoveFixedPointSetFileName()
{
this->SetFixedPointSetFileName("");
}
itkSetMacro(MovingPointSetFileName, std::string);
itkGetConstMacro(MovingPointSetFileName, std::string);
void
RemoveMovingPointSetFileName()
{
this->SetMovingPointSetFileName("");
}
itkSetMacro(OutputDirectory, std::string);
itkGetConstMacro(OutputDirectory, std::string);
void
RemoveOutputDirectory()
{
this->SetOutputDirectory("");
}
void
SetLogFileName(const std::string logFileName);
itkGetConstMacro(LogFileName, std::string);
void
RemoveLogFileName();
itkSetMacro(LogToConsole, bool);
itkGetConstReferenceMacro(LogToConsole, bool);
itkBooleanMacro(LogToConsole);
itkSetMacro(LogToFile, bool);
itkGetConstReferenceMacro(LogToFile, bool);
itkBooleanMacro(LogToFile);
void
DisableOutput()
{
m_EnableOutput = false;
}
itkSetMacro(LogLevel, ElastixLogLevel);
itkGetConstMacro(LogLevel, ElastixLogLevel);
itkSetMacro(NumberOfThreads, int);
itkGetConstMacro(NumberOfThreads, int);
unsigned int
GetNumberOfTransforms() const;
TransformType *
GetNthTransform(const unsigned int n) const;
TransformType *
GetCombinationTransform() const;
static SmartPointer<TransformType>
ConvertToItkTransform(const TransformType &);
protected:
ElastixRegistrationMethod();
void
GenerateData() override;
using DataObjectPointer = ProcessObject::DataObjectPointer;
using Superclass::MakeOutput;
DataObjectPointer
MakeOutput(DataObjectPointerArraySizeType idx) override;
private:
std::string
MakeUniqueName(const DataObjectIdentifierType & key);
bool
IsInputOfType(const DataObjectIdentifierType & InputOfType, const DataObjectIdentifierType & inputName) const;
unsigned int
GetNumberOfInputsOfType(const DataObjectIdentifierType & intputType) const;
void
RemoveInputsOfType(const DataObjectIdentifierType & inputName);
template <typename TImage>
std::vector<TImage *>
GetInputImages(const char * const inputTypeString)
{
std::vector<TImage *> images;
for (const auto & inputName : this->GetInputNames())
{
if (this->IsInputOfType(inputTypeString, inputName))
{
images.push_back(itkDynamicCastInDebugMode<TImage *>(this->ProcessObject::GetInput(inputName)));
}
}
return images;
}
void
ResetInitialTransformWithoutModified()
{
m_InitialTransform = nullptr;
m_InitialTransformParameterFileName.clear();
m_InitialTransformParameterObject = nullptr;
m_ExternalInitialTransform = nullptr;
}
void
ResetInitialTransformAndModified()
{
if (m_InitialTransform || m_InitialTransformParameterObject || m_ExternalInitialTransform ||
!m_InitialTransformParameterFileName.empty())
{
ResetInitialTransformWithoutModified();
this->Modified();
}
}
using Superclass::SetInput;
using AdvancedCombinationTransformType =
AdvancedCombinationTransform<elx::ElastixBase::CoordRepType, FixedImageDimension>;
AdvancedCombinationTransformType *
GetAdvancedCombinationTransform() const;
SmartPointer<const elx::ElastixMain> m_ElastixMain{};
std::string m_InitialTransformParameterFileName{};
SmartPointer<const elx::ParameterObject> m_InitialTransformParameterObject{};
SmartPointer<const TransformType> m_InitialTransform{};
SmartPointer<TransformType> m_ExternalInitialTransform{};
std::string m_FixedPointSetFileName{};
std::string m_MovingPointSetFileName{};
std::string m_OutputDirectory{};
std::string m_LogFileName{};
bool m_EnableOutput{ true };
bool m_LogToConsole{ false };
bool m_LogToFile{ false };
ElastixLogLevel m_LogLevel{};
int m_NumberOfThreads{ 0 };
unsigned int m_InputUID{ 0 };
};
} // namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkElastixRegistrationMethod.hxx"
#endif
#endif // itkElastixRegistrationMethod_h
elastix::ElastixMain
A class with all functionality to configure elastix.
Definition elxElastixMain.h:69
elastix::ElastixMain::Pointer
itk::SmartPointer< Self > Pointer
Definition elxElastixMain.h:76
elastix::MainBase::FlatDirectionCosinesType
ElastixBase::FlatDirectionCosinesType FlatDirectionCosinesType
Definition elxMainBase.h:70
elastix::MainBase::DataObjectContainerType
ElastixBase::DataObjectContainerType DataObjectContainerType
Definition elxMainBase.h:67
elastix::MainBase::DataObjectContainerPointer
ElastixBase::DataObjectContainerPointer DataObjectContainerPointer
Definition elxMainBase.h:69
elastix::MainBase::ObjectPointer
itk::Object::Pointer ObjectPointer
Definition elxMainBase.h:61
elastix::MainBase::ArgumentMapType
Configuration::CommandLineArgumentMapType ArgumentMapType
Definition elxMainBase.h:65
elastix::ParameterObject
Definition elxParameterObject.h:33
elastix::ParameterObject::Pointer
itk::SmartPointer< Self > Pointer
Definition elxParameterObject.h:36
elastix::ParameterObject::ParameterMapType
std::map< ParameterKeyType, ParameterValueVectorType > ParameterMapType
Definition elxParameterObject.h:45
elastix::ParameterObject::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition elxParameterObject.h:37
elastix::ParameterObject::ParameterValueVectorType
std::vector< ParameterValueType > ParameterValueVectorType
Definition elxParameterObject.h:43
elastix::ParameterObject::ParameterMapVectorType
std::vector< ParameterMapType > ParameterMapVectorType
Definition elxParameterObject.h:48
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition itkAdvancedCombinationTransform.h:57
itk::ElastixRegistrationMethod::AddFixedImage
virtual void AddFixedImage(TFixedImage *fixedImage)
itk::ElastixRegistrationMethod::MovingImageDimension
static constexpr unsigned int MovingImageDimension
Definition itkElastixRegistrationMethod.h:100
itk::ElastixRegistrationMethod::SetExternalInitialTransform
void SetExternalInitialTransform(TransformType *)
itk::ElastixRegistrationMethod::GetNumberOfFixedImages
unsigned int GetNumberOfFixedImages() const
itk::ElastixRegistrationMethod::FixedMaskType
Image< unsigned char, FixedImageDimension > FixedMaskType
Definition itkElastixRegistrationMethod.h:102
itk::ElastixRegistrationMethod::ElastixMainType
elx::ElastixMain ElastixMainType
Definition itkElastixRegistrationMethod.h:77
itk::ElastixRegistrationMethod::m_LogToFile
bool m_LogToFile
Definition itkElastixRegistrationMethod.h:399
itk::ElastixRegistrationMethod::ParameterObjectType
elx::ParameterObject ParameterObjectType
Definition itkElastixRegistrationMethod.h:92
itk::ElastixRegistrationMethod::GetNumberOfMovingImages
unsigned int GetNumberOfMovingImages() const
itk::ElastixRegistrationMethod::TransformType
Transform< double, FixedImageDimension, MovingImageDimension > TransformType
Definition itkElastixRegistrationMethod.h:104
itk::ElastixRegistrationMethod::GetOutput
const ResultImageType * GetOutput() const
itk::ElastixRegistrationMethod::ElastixMainVectorType
std::vector< ElastixMainPointer > ElastixMainVectorType
Definition itkElastixRegistrationMethod.h:79
itk::ElastixRegistrationMethod::ResetInitialTransformAndModified
void ResetInitialTransformAndModified()
Definition itkElastixRegistrationMethod.h:365
itk::ElastixRegistrationMethod::GetFixedImage
const FixedImageType * GetFixedImage() const
itk::ElastixRegistrationMethod::GetNumberOfMovingMasks
unsigned int GetNumberOfMovingMasks() const
itk::ElastixRegistrationMethod::GetInputImages
std::vector< TImage * > GetInputImages(const char *const inputTypeString)
Definition itkElastixRegistrationMethod.h:342
itk::ElastixRegistrationMethod::ParameterMapType
ParameterObjectType::ParameterMapType ParameterMapType
Definition itkElastixRegistrationMethod.h:93
itk::ElastixRegistrationMethod::m_MovingPointSetFileName
std::string m_MovingPointSetFileName
Definition itkElastixRegistrationMethod.h:392
itk::ElastixRegistrationMethod::m_OutputDirectory
std::string m_OutputDirectory
Definition itkElastixRegistrationMethod.h:394
itk::ElastixRegistrationMethod::m_InitialTransformParameterFileName
std::string m_InitialTransformParameterFileName
Definition itkElastixRegistrationMethod.h:386
itk::ElastixRegistrationMethod::SetLogFileName
void SetLogFileName(const std::string logFileName)
itk::ElastixRegistrationMethod::SetInput
void SetInput(DataObjectPointerArraySizeType index, DataObject *input)
itk::ElastixRegistrationMethod::m_InitialTransformParameterObject
SmartPointer< const elx::ParameterObject > m_InitialTransformParameterObject
Definition itkElastixRegistrationMethod.h:387
itk::ElastixRegistrationMethod::GetExternalInitialTransform
TransformType * GetExternalInitialTransform() const
Definition itkElastixRegistrationMethod.h:226
itk::ElastixRegistrationMethod::RemoveOutputDirectory
void RemoveOutputDirectory()
Definition itkElastixRegistrationMethod.h:257
itk::ElastixRegistrationMethod::ParameterObjectConstPointer
ParameterObjectType::ConstPointer ParameterObjectConstPointer
Definition itkElastixRegistrationMethod.h:97
itk::ElastixRegistrationMethod::GetMovingMask
const MovingMaskType * GetMovingMask() const
itk::ElastixRegistrationMethod::RemoveFixedPointSetFileName
void RemoveFixedPointSetFileName()
Definition itkElastixRegistrationMethod.h:239
itk::ElastixRegistrationMethod::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkElastixRegistrationMethod.h:68
itk::ElastixRegistrationMethod::SetOutputDirectory
virtual void SetOutputDirectory(std::string _arg)
itk::ElastixRegistrationMethod::SetInitialTransformParameterObject
void SetInitialTransformParameterObject(const elx::ParameterObject *)
itk::ElastixRegistrationMethod::SetFixedMask
virtual void SetFixedMask(FixedMaskType *fixedMask)
itk::ElastixRegistrationMethod::MovingImageType
TMovingImage MovingImageType
Definition itkElastixRegistrationMethod.h:107
itk::ElastixRegistrationMethod::RemoveMovingPointSetFileName
void RemoveMovingPointSetFileName()
Definition itkElastixRegistrationMethod.h:248
itk::ElastixRegistrationMethod::RemoveInputsOfType
void RemoveInputsOfType(const DataObjectIdentifierType &inputName)
itk::ElastixRegistrationMethod::NameArrayType
ProcessObject::NameArray NameArrayType
Definition itkElastixRegistrationMethod.h:90
itk::ElastixRegistrationMethod::GetAdvancedCombinationTransform
AdvancedCombinationTransformType * GetAdvancedCombinationTransform() const
itk::ElastixRegistrationMethod::DataObjectContainerIterator
DataObjectContainerType::Iterator DataObjectContainerIterator
Definition itkElastixRegistrationMethod.h:87
itk::ElastixRegistrationMethod::MakeOutput
DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
itk::ElastixRegistrationMethod::ElastixMainPointer
ElastixMainType::Pointer ElastixMainPointer
Definition itkElastixRegistrationMethod.h:78
itk::ElastixRegistrationMethod::Pointer
SmartPointer< Self > Pointer
Definition itkElastixRegistrationMethod.h:67
itk::ElastixRegistrationMethod::ParameterObjectPointer
ParameterObjectType::Pointer ParameterObjectPointer
Definition itkElastixRegistrationMethod.h:96
itk::ElastixRegistrationMethod::DataObjectPointerArraySizeType
ProcessObject::DataObjectPointerArraySizeType DataObjectPointerArraySizeType
Definition itkElastixRegistrationMethod.h:89
itk::ElastixRegistrationMethod::GetNthTransform
TransformType * GetNthTransform(const unsigned int n) const
itk::ElastixRegistrationMethod::GenerateData
void GenerateData() override
itk::ElastixRegistrationMethod::RemoveInitialTransformParameterFileName
virtual void RemoveInitialTransformParameterFileName()
Definition itkElastixRegistrationMethod.h:202
itk::ElastixRegistrationMethod::ParameterMapVectorType
ParameterObjectType::ParameterMapVectorType ParameterMapVectorType
Definition itkElastixRegistrationMethod.h:94
itk::ElastixRegistrationMethod::m_LogLevel
ElastixLogLevel m_LogLevel
Definition itkElastixRegistrationMethod.h:401
itk::ElastixRegistrationMethod::ArgumentMapEntryType
ArgumentMapType::value_type ArgumentMapEntryType
Definition itkElastixRegistrationMethod.h:82
itk::ElastixRegistrationMethod::DisableOutput
void DisableOutput()
Definition itkElastixRegistrationMethod.h:282
itk::ElastixRegistrationMethod::FixedImageDimension
static constexpr unsigned int FixedImageDimension
Definition itkElastixRegistrationMethod.h:99
itk::ElastixRegistrationMethod::GetOutput
ResultImageType * GetOutput()
itk::ElastixRegistrationMethod::ParameterValueVectorType
ParameterObjectType::ParameterValueVectorType ParameterValueVectorType
Definition itkElastixRegistrationMethod.h:95
itk::ElastixRegistrationMethod::RemoveMovingMask
virtual void RemoveMovingMask()
itk::ElastixRegistrationMethod::GetFixedMask
const FixedMaskType * GetFixedMask() const
itk::ElastixRegistrationMethod::MovingMaskType
Image< unsigned char, MovingImageDimension > MovingMaskType
Definition itkElastixRegistrationMethod.h:103
itk::ElastixRegistrationMethod::DataObjectContainerType
ElastixMainType::DataObjectContainerType DataObjectContainerType
Definition itkElastixRegistrationMethod.h:85
itk::ElastixRegistrationMethod::GetNumberOfFixedMasks
unsigned int GetNumberOfFixedMasks() const
itk::ElastixRegistrationMethod::GetNumberOfTransforms
unsigned int GetNumberOfTransforms() const
itk::ElastixRegistrationMethod::AddMovingMask
virtual void AddMovingMask(MovingMaskType *movingMask)
itk::ElastixRegistrationMethod::m_LogFileName
std::string m_LogFileName
Definition itkElastixRegistrationMethod.h:395
itk::ElastixRegistrationMethod::m_NumberOfThreads
int m_NumberOfThreads
Definition itkElastixRegistrationMethod.h:403
itk::ElastixRegistrationMethod::DataObjectIdentifierType
ProcessObject::DataObjectIdentifierType DataObjectIdentifierType
Definition itkElastixRegistrationMethod.h:88
itk::ElastixRegistrationMethod::AdvancedCombinationTransformType
AdvancedCombinationTransform< elx::ElastixBase::CoordRepType, FixedImageDimension > AdvancedCombinationTransformType
Definition itkElastixRegistrationMethod.h:378
itk::ElastixRegistrationMethod::SetParameterObject
virtual void SetParameterObject(ParameterObjectType *parameterObject)
itk::ElastixRegistrationMethod::SetMovingMask
virtual void SetMovingMask(MovingMaskType *movingMask)
itk::ElastixRegistrationMethod::GetTransformParameterObject
const ParameterObjectType * GetTransformParameterObject() const
itk::ElastixRegistrationMethod::Self
ElastixRegistrationMethod Self
Definition itkElastixRegistrationMethod.h:65
itk::ElastixRegistrationMethod::RemoveLogFileName
void RemoveLogFileName()
itk::ElastixRegistrationMethod::m_ElastixMain
SmartPointer< const elx::ElastixMain > m_ElastixMain
Definition itkElastixRegistrationMethod.h:384
itk::ElastixRegistrationMethod::GetMovingImage
const MovingImageType * GetMovingImage() const
itk::ElastixRegistrationMethod::m_InitialTransform
SmartPointer< const TransformType > m_InitialTransform
Definition itkElastixRegistrationMethod.h:388
itk::ElastixRegistrationMethod::SetFixedImage
virtual void SetFixedImage(TFixedImage *fixedImage)
itk::ElastixRegistrationMethod::ConvertToItkTransform
static SmartPointer< TransformType > ConvertToItkTransform(const TransformType &)
itk::ElastixRegistrationMethod::m_InputUID
unsigned int m_InputUID
Definition itkElastixRegistrationMethod.h:405
itk::ElastixRegistrationMethod::AddFixedMask
virtual void AddFixedMask(FixedMaskType *fixedMask)
itk::ElastixRegistrationMethod::FixedImageType
TFixedImage FixedImageType
Definition itkElastixRegistrationMethod.h:106
itk::ElastixRegistrationMethod::ResetInitialTransformWithoutModified
void ResetInitialTransformWithoutModified()
Definition itkElastixRegistrationMethod.h:356
itk::ElastixRegistrationMethod::SetInitialTransform
void SetInitialTransform(const TransformType *)
itk::ElastixRegistrationMethod::m_ExternalInitialTransform
SmartPointer< TransformType > m_ExternalInitialTransform
Definition itkElastixRegistrationMethod.h:389
itk::ElastixRegistrationMethod::SetInput
void SetInput(FixedImageType *fixedImage)
itk::ElastixRegistrationMethod::MakeUniqueName
std::string MakeUniqueName(const DataObjectIdentifierType &key)
itk::ElastixRegistrationMethod::AddMovingImage
virtual void AddMovingImage(TMovingImage *movingImage)
itk::ElastixRegistrationMethod::GetInput
const DataObject * GetInput(DataObjectPointerArraySizeType index) const
itk::ElastixRegistrationMethod::m_LogToConsole
bool m_LogToConsole
Definition itkElastixRegistrationMethod.h:398
itk::ElastixRegistrationMethod::GetFixedImage
const FixedImageType * GetFixedImage(const unsigned int index) const
itk::ElastixRegistrationMethod::IsInputOfType
bool IsInputOfType(const DataObjectIdentifierType &InputOfType, const DataObjectIdentifierType &inputName) const
itk::ElastixRegistrationMethod::GetOutput
const DataObject * GetOutput(unsigned int idx) const
itk::ElastixRegistrationMethod::GetInitialTransform
const TransformType * GetInitialTransform() const
Definition itkElastixRegistrationMethod.h:213
itk::ElastixRegistrationMethod::GetCombinationTransform
TransformType * GetCombinationTransform() const
itk::ElastixRegistrationMethod::RemoveFixedMask
void RemoveFixedMask()
itk::ElastixRegistrationMethod::ElastixRegistrationMethod
ElastixRegistrationMethod()
itk::ElastixRegistrationMethod::SetMovingImage
virtual void SetMovingImage(TMovingImage *movingImages)
itk::ElastixRegistrationMethod::GetMovingMask
const MovingMaskType * GetMovingMask(const unsigned int index) const
itk::ElastixRegistrationMethod::m_EnableOutput
bool m_EnableOutput
Definition itkElastixRegistrationMethod.h:397
itk::ElastixRegistrationMethod::m_FixedPointSetFileName
std::string m_FixedPointSetFileName
Definition itkElastixRegistrationMethod.h:391
itk::ElastixRegistrationMethod::GetInput
const FixedImageType * GetInput() const
itk::ElastixRegistrationMethod::SetMovingPointSetFileName
virtual void SetMovingPointSetFileName(std::string _arg)
itk::ElastixRegistrationMethod::DataObjectPointer
ProcessObject::DataObjectPointer DataObjectPointer
Definition itkElastixRegistrationMethod.h:316
itk::ElastixRegistrationMethod::SetFixedPointSetFileName
virtual void SetFixedPointSetFileName(std::string _arg)
itk::ElastixRegistrationMethod::GetFixedMask
const FixedMaskType * GetFixedMask(const unsigned int index) const
itk::ElastixRegistrationMethod::GetTransformParameterObject
ParameterObjectType * GetTransformParameterObject()
itk::ElastixRegistrationMethod::Superclass
ImageSource< TFixedImage > Superclass
Definition itkElastixRegistrationMethod.h:66
itk::ElastixRegistrationMethod::GetParameterObject
const ParameterObjectType * GetParameterObject() const
itk::ElastixRegistrationMethod::ElastixMainObjectPointer
ElastixMainType::ObjectPointer ElastixMainObjectPointer
Definition itkElastixRegistrationMethod.h:80
itk::ElastixRegistrationMethod::FlatDirectionCosinesType
ElastixMainType::FlatDirectionCosinesType FlatDirectionCosinesType
Definition itkElastixRegistrationMethod.h:83
itk::ElastixRegistrationMethod::DataObjectContainerPointer
ElastixMainType::DataObjectContainerPointer DataObjectContainerPointer
Definition itkElastixRegistrationMethod.h:86
itk::ElastixRegistrationMethod::GetOutput
DataObject * GetOutput(unsigned int idx)
itk::ElastixRegistrationMethod::GetParameterObject
ParameterObjectType * GetParameterObject()
itk::ElastixRegistrationMethod::ResultImageType
FixedImageType ResultImageType
Definition itkElastixRegistrationMethod.h:108
itk::ElastixRegistrationMethod::ArgumentMapType
ElastixMainType::ArgumentMapType ArgumentMapType
Definition itkElastixRegistrationMethod.h:81
itk::ElastixRegistrationMethod::GetMovingImage
const MovingImageType * GetMovingImage(const unsigned int index) const
itk::ElastixRegistrationMethod::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(ElastixRegistrationMethod)
itk::ElastixRegistrationMethod::GetNumberOfInputsOfType
unsigned int GetNumberOfInputsOfType(const DataObjectIdentifierType &intputType) const
itk::ElastixRegistrationMethod::SetInitialTransformParameterFileName
void SetInitialTransformParameterFileName(std::string)
elxElastixBase.h
elxElastixMain.h
elxElastixTemplate.h
elxParameterObject.h
elxTransformBase.h
itkAdvancedCombinationTransform.h
itkElastixLogLevel.h
itk
Definition itkAdvancedImageToImageMetric.h:43
itk::ElastixLogLevel
ElastixLogLevel
Definition itkElastixLogLevel.h:44

Generated on 1768596610 for elastix by 1.15.0 |