6 #include <itkAffineTransform.h> 8 #include <rpiDisplacementFieldTransform.h> 33 template <
unsigned int ImageDimension = 3>
46 typedef itk::AffineTransform<typename BaseAgregatorType::InternalScalarType,ImageDimension>
AffineTransformType;
66 void SetBackwardImage(InputImageConstPointer backwardImage) {m_BackwardImage = backwardImage;}
67 void SetForwardImage(InputImageConstPointer forwardImage) {m_ForwardImage = forwardImage;}
169 void SetupPyramids();
171 DisplacementFieldTransformPointer m_InitialTransform;
172 DisplacementFieldTransformPointer m_OutputTransform;
173 InputImagePointer m_OutputImage;
175 InputImageConstPointer m_BackwardImage, m_ForwardImage;
176 PyramidPointer m_BackwardPyramid, m_ForwardPyramid;
178 std::string m_outputTransformFile;
179 std::string m_resultFile;
181 unsigned int m_TransformDirection;
182 unsigned int m_BlockSize;
183 unsigned int m_BlockSpacing;
184 double m_StDevThreshold;
185 unsigned int m_MaximumIterations;
186 unsigned int m_OptimizerMaximumIterations;
187 unsigned int m_HistogramSize;
188 double m_SearchRadius;
189 double m_SearchScaleRadius;
190 double m_SearchSkewRadius;
191 double m_FinalRadius;
192 double m_TranlateUpperBound;
193 double m_ScaleUpperBound;
194 double m_SkewUpperBound;
200 bool m_WeightedAgregation;
201 double m_ExtrapolationSigma;
202 double m_ElasticSigma;
203 double m_OutlierSigma;
204 double m_MEstimateConvergenceThreshold;
205 double m_NeighborhoodApproximation;
206 unsigned int m_ExponentiationOrder;
208 unsigned int m_NumberOfPyramidLevels;
209 unsigned int m_LastPyramidLevel;
210 double m_PercentageKept;
PyramidalDistortionCorrectionBlockMatchingBridge()
void SetSearchScaleRadius(double SearchScaleRadius)
anima::PyramidImageFilter< InputImageType, InputImageType > PyramidType
void SetMetric(Metric metric)
unsigned int GetMaximumIterations()
unsigned int GetBlockSpacing()
double GetExtrapolationSigma()
void SetSkewUpperBound(double SkewUpperBound)
InputImagePointer GetOutputImage()
Computes a pyramid of images using the provided resampler to perform resampling.
unsigned int GetOptimizerMaximumIterations()
unsigned int GetExponentiationOrder()
void SetNumberOfPyramidLevels(unsigned int NumberOfPyramidLevels)
~PyramidalDistortionCorrectionBlockMatchingBridge()
double GetSearchSkewRadius()
bool GetWeightedAgregation()
void SetTransformDirection(unsigned int TransformDirection)
anima::DenseSVFTransformAgregator< ImageDimension > MEstimateAgregatorType
void SetStDevThreshold(double StDevThreshold)
DisplacementFieldTransformPointer GetOutputTransform()
void SetBackwardImage(InputImageConstPointer backwardImage)
unsigned int GetLastPyramidLevel()
std::string GetOutputTransformFile()
void SetFinalRadius(double FinalRadius)
void SetBlockSize(int blockSize)
unsigned int GetTransformDirection()
void SetOutlierSigma(double outlierSigma)
itk::AffineTransform< typename BaseAgregatorType::InternalScalarType, ImageDimension > AffineTransformType
void SetOptimizerMaximumIterations(unsigned int OptimizerMaximumIterations)
void SetMEstimateConvergenceThreshold(double mEstimateConvergenceThreshold)
anima::BaseTransformAgregator< ImageDimension > BaseAgregatorType
double GetMEstimateConvergenceThreshold()
double GetSearchScaleRadius()
DisplacementFieldTransformType::Pointer DisplacementFieldTransformPointer
void SetTransformKind(TransformKind tr)
InputImageType::ConstPointer InputImageConstPointer
void SetAgregator(Agregator agregator)
InputImageType::Pointer InputImagePointer
void SetForwardImage(InputImageConstPointer forwardImage)
void SetSearchSkewRadius(double SearchSkewRadius)
std::string GetResultFile()
void SetResultFile(std::string resultFile)
double GetScaleUpperBound()
unsigned int GetNumberOfPyramidLevels()
double GetPercentageKept()
void SetWeightedAgregation(bool WeightedAgregation)
unsigned int GetBlockSize()
anima::BalooSVFTransformAgregator< ImageDimension > BalooAgregatorType
double GetStDevThreshold()
DisplacementFieldTransformType::VectorFieldType VectorFieldType
void SetNeighborhoodApproximation(double neighborhoodApproximation)
void SetBlockSpacing(unsigned int blockSpacing)
void SetMaximumIterations(unsigned int MaximumIterations)
void SetExtrapolationSigma(double extrapolationSigma)
void SetExponentiationOrder(unsigned int order)
void SetScaleUpperBound(double ScaleUpperBound)
InputImageType::IOPixelType InputPixelType
void SetOutputTransformFile(std::string outputTransformFile)
double GetTranlateUpperBound()
void SetLastPyramidLevel(unsigned int LastPyramidLevel)
TransformKind GetTransformKind()
void SetSearchRadius(double SearchRadius)
double GetNeighborhoodApproximation()
itk::SmartPointer< Self > Pointer
void SetInitialTransformField(VectorFieldType *field)
void SetElasticSigma(double elasticSigma)
AffineTransformType::Pointer AffineTransformPointer
PyramidType::Pointer PyramidPointer
void SetPercentageKept(double PercentageKept)
void SetTranlateUpperBound(double TranlateUpperBound)
itk::Image< double, ImageDimension > InputImageType
rpi::DisplacementFieldTransform< typename BaseAgregatorType::ScalarType, ImageDimension > DisplacementFieldTransformType
double GetSkewUpperBound()