1#ifndef sitkelastiximagefilterimpl_h
2#define sitkelastiximagefilterimpl_h
10#include "itkElastixRegistrationMethod.h"
11#include "elxParameterObject.h"
162 const unsigned int numberOfResolutions = 4u,
163 const double finalGridSpacingInPhysicalUnits = 10.0);
165 SetParameterMap(
const std::vector<std::map<std::string, std::vector<std::string>>> parameterMapVector);
170 std::vector<std::map<std::string, std::vector<std::string>>>
172 std::map<std::string, std::vector<std::string>>
174 const unsigned int numberOfResolutions = 4,
175 const double finalGridSpacingInPhysicalUnits = 10.0);
182 SetParameter(
const std::string key,
const std::vector<std::string> value);
184 SetParameter(
const unsigned int index,
const std::string key,
const std::string value);
186 SetParameter(
const unsigned int index,
const std::string key,
const std::vector<std::string> value);
190 AddParameter(
const unsigned int index,
const std::string key,
const std::string value);
192 AddParameter(
const std::string key,
const std::vector<std::string> value);
194 AddParameter(
const unsigned int index,
const std::string key,
const std::vector<std::string> value);
195 std::vector<std::string>
197 std::vector<std::string>
211 std::map<std::string, std::vector<std::string>>
214 WriteParameterFile(
const std::map<std::string, std::vector<std::string>> parameterMap,
const std::string filename);
218 std::vector<std::map<std::string, std::vector<std::string>>>
220 std::map<std::string, std::vector<std::string>>
237 template <
class TFixedImage,
class TMovingImage>
std::string GetFixedPointSetFileName(void)
void SetParameter(const unsigned int index, const std::string key, const std::string value)
void SetLogFileName(const std::string logFileName)
void RemoveLogFileName(void)
void SetFixedImage(const VectorOfImage &fixedImages)
Image & GetMovingImage(const unsigned long index)
void RemoveMovingImage(const unsigned long index)
void SetFixedMask(const VectorOfImage &fixedMasks)
void SetMovingMask(const Image &movingMask)
Image & GetMovingMask(const unsigned long index)
std::vector< std::string > GetParameter(const unsigned int index, const std::string key)
Image GetResultImage(void)
void RemoveFixedMask(const unsigned long index)
ElastixImageFilter::ParameterValueVectorType ParameterValueVectorType
bool GetLogToConsole(void)
void RemoveMovingMask(void)
void SetParameter(const unsigned int index, const std::string key, const std::vector< std::string > value)
VectorOfImage & GetMovingMask(void)
Image(Self::* MemberFunctionType)(void)
std::vector< std::map< std::string, std::vector< std::string > > > GetTransformParameterMap(void)
std::string m_OutputDirectory
std::map< std::string, std::vector< std::string > > GetDefaultParameterMap(const std::string transformName, const unsigned int numberOfResolutions=4, const double finalGridSpacingInPhysicalUnits=10.0)
void RemoveFixedPointSetFileName(void)
std::map< std::string, std::vector< std::string > > GetTransformParameterMap(const unsigned int index)
bool IsEmpty(const Image &image)
void SetFixedImage(const Image &fixedImage)
void AddParameter(const unsigned int index, const std::string key, const std::vector< std::string > value)
std::string GetLogFileName(void)
void SetMovingPointSetFileName(const std::string movingPointSetFileName)
ElastixImageFilterImpl Self
std::string GetInitialTransformParameterFileName(void)
unsigned int GetNumberOfMovingMasks()
std::vector< std::map< std::string, std::vector< std::string > > > GetParameterMap(void)
void SetFixedPointSetFileName(const std::string movingPointSetFileName)
void SetMovingImage(const Image &movingImages)
Image & GetFixedMask(const unsigned long index)
void SetMovingImage(const VectorOfImage &movingImage)
void RemoveOutputDirectory(void)
std::vector< std::string > GetParameter(const std::string key)
VectorOfImage m_FixedImages
ElastixImageFilter::ParameterMapConstIterator ParameterMapConstIterator
std::string GetMovingPointSetFileName(void)
void PrintParameterMap(const ParameterMapType parameterMapVector)
VectorOfImage & GetFixedImage(void)
ElastixImageFilter::ParameterValueType ParameterValueType
std::unique_ptr< detail::DualMemberFunctionFactory< MemberFunctionType > > m_DualMemberFactory
void SetLogToFile(const bool logToFile)
unsigned int GetNumberOfFixedImages()
ParameterMapVectorType m_ParameterMapVector
void SetMovingMask(const VectorOfImage &movingMasks)
std::string m_FixedPointSetFileName
void AddParameterMap(const std::map< std::string, std::vector< std::string > > parameterMap)
unsigned int GetNumberOfParameterMaps(void)
void AddMovingMask(const Image &movingMask)
std::string GetName(void) const
Image DualExecuteInternal(void)
void PrintParameterMap(void)
void RemoveParameter(const std::string key)
void RemoveParameter(const unsigned int index, const std::string key)
void AddFixedImage(const Image &fixedImage)
void AddParameter(const std::string key, const std::vector< std::string > value)
void SetNumberOfThreads(int n)
void RemoveFixedImage(const unsigned long index)
unsigned int GetNumberOfMovingImages()
void SetParameterMap(const std::vector< std::map< std::string, std::vector< std::string > > > parameterMapVector)
void RemoveFixedImage(void)
ParameterMapVectorType m_TransformParameterMapVector
void WriteParameterFile(const std::map< std::string, std::vector< std::string > > parameterMap, const std::string filename)
void RemoveMovingPointSetFileName(void)
std::string m_MovingPointSetFileName
void SetLogToConsole(bool)
Image & GetFixedImage(const unsigned long index)
int GetNumberOfThreads(void)
void AddParameter(const std::string key, const std::string value)
ElastixImageFilter::ParameterMapType ParameterMapType
ElastixImageFilter::VectorOfImage VectorOfImage
void RemoveMovingMask(const unsigned long index)
void AddMovingImage(const Image &movingImage)
elastix::ParameterObject ParameterObjectType
VectorOfImage & GetFixedMask(void)
ElastixImageFilter::ParameterMapVectorType ParameterMapVectorType
elastix::ParameterObject::Pointer ParameterObjectPointer
void SetParameter(const std::string key, const std::string value)
void RemoveMovingImage(void)
VectorOfImage m_FixedMasks
ElastixImageFilter::ParameterValueVectorIterator ParameterValueVectorIterator
void AddParameter(const unsigned int index, const std::string key, const std::string value)
ElastixImageFilterImpl(void)
void SetParameterMap(const std::map< std::string, std::vector< std::string > > parameterMap)
ElastixImageFilter::ParameterMapIterator ParameterMapIterator
unsigned int GetNumberOfFixedMasks()
void RemoveInitialTransformParameterFileName(void)
~ElastixImageFilterImpl(void)
void PrintParameterMap(const ParameterMapVectorType parameterMapVector)
void SetParameterMap(const std::string transformName, const unsigned int numberOfResolutions=4u, const double finalGridSpacingInPhysicalUnits=10.0)
VectorOfImage & GetMovingImage(void)
ElastixImageFilter::ParameterKeyType ParameterKeyType
std::string m_InitialTransformParameterMapFileName
void SetInitialTransformParameterFileName(const std::string initialTransformParmaterFileName)
void RemoveFixedMask(void)
VectorOfImage m_MovingMasks
VectorOfImage m_MovingImages
void SetOutputDirectory(const std::string outputDirectory)
void AddFixedMask(const Image &fixedMask)
std::string GetOutputDirectory(void)
std::string m_LogFileName
void SetFixedMask(const Image &fixedMask)
void SetParameter(const std::string key, const std::vector< std::string > value)
std::map< std::string, std::vector< std::string > > ReadParameterFile(const std::string filename)
ParameterMapType::const_iterator ParameterMapConstIterator
std::string ParameterKeyType
std::vector< ParameterMapType > ParameterMapVectorType
std::string ParameterValueType
std::map< ParameterKeyType, ParameterValueVectorType > ParameterMapType
ParameterValueVectorType::iterator ParameterValueVectorIterator
std::vector< ParameterValueType > ParameterValueVectorType
std::vector< Image > VectorOfImage
ElastixImageFilter()
Default-constructor.
ParameterMapType::iterator ParameterMapIterator
The Image class for SimpleITK.