ANIMA  4.0
Public Types | Public Member Functions | Protected Member Functions | List of all members
anima::DistortionCorrectionBlockMatcher< TInputImageType > Class Template Reference

#include <animaDistortionCorrectionBlockMatcher.h>

+ Inheritance diagram for anima::DistortionCorrectionBlockMatcher< TInputImageType >:
+ Collaboration diagram for anima::DistortionCorrectionBlockMatcher< TInputImageType >:

Public Types

typedef Superclass::AgregatorType AgregatorType
 
typedef Superclass::BaseInputTransformPointer BaseInputTransformPointer
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::MetricPointer MetricPointer
 
typedef Superclass::OptimizerPointer OptimizerPointer
 
typedef Superclass::PointType PointType
 
enum  SimilarityDefinition {
  MeanSquares = 0,
  Correlation,
  SquaredCorrelation
}
 
typedef BaseBlockMatcher< TInputImageType > Superclass
 
enum  TransformDefinition {
  Direction = 0,
  DirectionScale,
  DirectionScaleSkew
}
 
- Public Types inherited from anima::BaseBlockMatcher< TInputImageType >
typedef anima::BaseTransformAgregator< TInputImageType::ImageDimension > AgregatorType
 
typedef BaseInputTransformType::Pointer BaseInputTransformPointer
 
typedef AgregatorType::BaseInputTransformType BaseInputTransformType
 
typedef InputImageType::RegionType ImageRegionType
 
typedef InputImageType::Pointer InputImagePointer
 
typedef TInputImageType InputImageType
 
typedef AgregatorType::InternalScalarType InternalScalarType
 
typedef MaskImageType::Pointer MaskImagePointer
 
typedef itk::Image< unsigned char, TInputImageType::ImageDimension > MaskImageType
 
typedef MetricType::Pointer MetricPointer
 
typedef itk::SingleValuedCostFunction MetricType
 
enum  OptimizerDefinition {
  Exhaustive = 0,
  Bobyqa
}
 
typedef OptimizerType::Pointer OptimizerPointer
 
typedef itk::SingleValuedNonLinearOptimizer OptimizerType
 
typedef InputImageType::PointType PointType
 
typedef BaseBlockMatcher Self
 

Public Member Functions

 DistortionCorrectionBlockMatcher ()
 
AgregatorType::TRANSFORM_TYPE GetAgregatorInputTransformType ()
 
TransformDefinitionGetBlockTransformType ()
 
bool GetMaximizedMetric ()
 
void SetBlockTransformType (TransformDefinition val)
 
void SetScaleMax (double val)
 
void SetSearchScaleRadius (double val)
 
void SetSearchSkewRadius (double val)
 
void SetSimilarityType (SimilarityDefinition val)
 
void SetSkewMax (double val)
 
void SetTransformDirection (unsigned int val)
 
void SetTranslateMax (double val)
 
virtual ~DistortionCorrectionBlockMatcher ()
 
- Public Member Functions inherited from anima::BaseBlockMatcher< TInputImageType >
 BaseBlockMatcher ()
 
MaskImagePointerGetBlockGenerationMask ()
 
double GetBlockPercentageKept ()
 
std::vector< PointType > & GetBlockPositions ()
 
ImageRegionTypeGetBlockRegion (unsigned int i)
 
std::vector< ImageRegionType > & GetBlockRegions ()
 
unsigned int GetBlockSize ()
 
unsigned int GetBlockSpacing ()
 
BaseInputTransformPointerGetBlockTransformPointer (unsigned int i)
 
std::vector< BaseInputTransformPointer > & GetBlockTransformPointers ()
 
double GetBlockVarianceThreshold ()
 
const std::vector< double > & GetBlockWeights ()
 
InputImagePointerGetMovingImage ()
 
unsigned int GetNumberOfWorkUnits ()
 
OptimizerDefinition GetOptimizerType ()
 
InputImagePointerGetReferenceImage ()
 
double GetSearchRadius ()
 
bool GetVerbose ()
 
void SetBlockGenerationMask (MaskImageType *image)
 
void SetBlockPercentageKept (double val)
 
void SetBlockSize (unsigned int val)
 
void SetBlockSpacing (unsigned int val)
 
void SetBlockVarianceThreshold (double val)
 
void SetFinalRadius (double val)
 
void SetForceComputeBlocks (bool val)
 
void SetMovingImage (InputImageType *image)
 
void SetNumberOfWorkUnits (unsigned int val)
 
void SetOptimizerMaximumIterations (unsigned int val)
 
void SetOptimizerType (OptimizerDefinition val)
 
void SetReferenceImage (InputImageType *image)
 
void SetSearchRadius (double val)
 
void SetStepSize (double val)
 
void SetVerbose (bool value)
 
void Update ()
 
virtual ~BaseBlockMatcher ()
 

Protected Member Functions

virtual void BlockMatchingSetup (MetricPointer &metric, unsigned int block)
 
virtual double ComputeBlockWeight (double val, unsigned int block)
 
virtual BaseInputTransformPointer GetNewBlockTransform (PointType &blockCenter)
 
virtual MetricPointer SetupMetric ()
 
virtual void TransformDependantOptimizerSetup (OptimizerPointer &optimizer)
 
- Protected Member Functions inherited from anima::BaseBlockMatcher< TInputImageType >
void BlockMatch (unsigned int startIndex, unsigned int endIndex)
 
virtual void InitializeBlocks ()
 
void ProcessBlockMatch ()
 
void SetBlockPositions (std::vector< PointType > &val)
 
void SetBlockRegions (std::vector< ImageRegionType > &val)
 
void SetBlockWeights (std::vector< double > &val)
 
virtual OptimizerPointer SetupOptimizer ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from anima::BaseBlockMatcher< TInputImageType >
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreadedMatching (void *arg)
 

Detailed Description

template<typename TInputImageType>
class anima::DistortionCorrectionBlockMatcher< TInputImageType >

Definition at line 8 of file animaDistortionCorrectionBlockMatcher.h.

Member Typedef Documentation

◆ AgregatorType

template<typename TInputImageType>
typedef Superclass::AgregatorType anima::DistortionCorrectionBlockMatcher< TInputImageType >::AgregatorType

Definition at line 31 of file animaDistortionCorrectionBlockMatcher.h.

◆ BaseInputTransformPointer

Definition at line 33 of file animaDistortionCorrectionBlockMatcher.h.

◆ InputImageType

template<typename TInputImageType>
typedef Superclass::InputImageType anima::DistortionCorrectionBlockMatcher< TInputImageType >::InputImageType

Definition at line 29 of file animaDistortionCorrectionBlockMatcher.h.

◆ MetricPointer

template<typename TInputImageType>
typedef Superclass::MetricPointer anima::DistortionCorrectionBlockMatcher< TInputImageType >::MetricPointer

Definition at line 32 of file animaDistortionCorrectionBlockMatcher.h.

◆ OptimizerPointer

template<typename TInputImageType>
typedef Superclass::OptimizerPointer anima::DistortionCorrectionBlockMatcher< TInputImageType >::OptimizerPointer

Definition at line 34 of file animaDistortionCorrectionBlockMatcher.h.

◆ PointType

template<typename TInputImageType>
typedef Superclass::PointType anima::DistortionCorrectionBlockMatcher< TInputImageType >::PointType

Definition at line 30 of file animaDistortionCorrectionBlockMatcher.h.

◆ Superclass

template<typename TInputImageType>
typedef BaseBlockMatcher<TInputImageType> anima::DistortionCorrectionBlockMatcher< TInputImageType >::Superclass

Definition at line 28 of file animaDistortionCorrectionBlockMatcher.h.

Member Enumeration Documentation

◆ SimilarityDefinition

template<typename TInputImageType>
enum anima::DistortionCorrectionBlockMatcher::SimilarityDefinition
Enumerator
MeanSquares 
Correlation 
SquaredCorrelation 

Definition at line 14 of file animaDistortionCorrectionBlockMatcher.h.

◆ TransformDefinition

template<typename TInputImageType>
enum anima::DistortionCorrectionBlockMatcher::TransformDefinition
Enumerator
Direction 
DirectionScale 
DirectionScaleSkew 

Definition at line 21 of file animaDistortionCorrectionBlockMatcher.h.

Constructor & Destructor Documentation

◆ DistortionCorrectionBlockMatcher()

template<typename TInputImageType >
anima::DistortionCorrectionBlockMatcher< TInputImageType >::DistortionCorrectionBlockMatcher ( )

◆ ~DistortionCorrectionBlockMatcher()

template<typename TInputImageType>
virtual anima::DistortionCorrectionBlockMatcher< TInputImageType >::~DistortionCorrectionBlockMatcher ( )
inlinevirtual

Definition at line 12 of file animaDistortionCorrectionBlockMatcher.h.

Member Function Documentation

◆ BlockMatchingSetup()

template<typename TInputImageType >
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::BlockMatchingSetup ( MetricPointer metric,
unsigned int  block 
)
protectedvirtual

◆ ComputeBlockWeight()

template<typename TInputImageType >
double anima::DistortionCorrectionBlockMatcher< TInputImageType >::ComputeBlockWeight ( double  val,
unsigned int  block 
)
protectedvirtual

◆ GetAgregatorInputTransformType()

template<typename TInputImageType >
DistortionCorrectionBlockMatcher< TInputImageType >::AgregatorType::TRANSFORM_TYPE anima::DistortionCorrectionBlockMatcher< TInputImageType >::GetAgregatorInputTransformType ( )
virtual

◆ GetBlockTransformType()

template<typename TInputImageType>
TransformDefinition& anima::DistortionCorrectionBlockMatcher< TInputImageType >::GetBlockTransformType ( )
inline

Definition at line 38 of file animaDistortionCorrectionBlockMatcher.h.

◆ GetMaximizedMetric()

template<typename TInputImageType >
bool anima::DistortionCorrectionBlockMatcher< TInputImageType >::GetMaximizedMetric ( )
virtual

◆ GetNewBlockTransform()

template<typename TInputImageType >
DistortionCorrectionBlockMatcher< TInputImageType >::BaseInputTransformPointer anima::DistortionCorrectionBlockMatcher< TInputImageType >::GetNewBlockTransform ( PointType blockCenter)
protectedvirtual

◆ SetBlockTransformType()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetBlockTransformType ( TransformDefinition  val)
inline

Definition at line 37 of file animaDistortionCorrectionBlockMatcher.h.

◆ SetScaleMax()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetScaleMax ( double  val)
inline

Definition at line 45 of file animaDistortionCorrectionBlockMatcher.h.

◆ SetSearchScaleRadius()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetSearchScaleRadius ( double  val)
inline

Definition at line 41 of file animaDistortionCorrectionBlockMatcher.h.

◆ SetSearchSkewRadius()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetSearchSkewRadius ( double  val)
inline

Definition at line 40 of file animaDistortionCorrectionBlockMatcher.h.

◆ SetSimilarityType()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetSimilarityType ( SimilarityDefinition  val)
inline

◆ SetSkewMax()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetSkewMax ( double  val)
inline

Definition at line 44 of file animaDistortionCorrectionBlockMatcher.h.

◆ SetTransformDirection()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetTransformDirection ( unsigned int  val)
inline

◆ SetTranslateMax()

template<typename TInputImageType>
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetTranslateMax ( double  val)
inline

Definition at line 43 of file animaDistortionCorrectionBlockMatcher.h.

◆ SetupMetric()

template<typename TInputImageType >
DistortionCorrectionBlockMatcher< TInputImageType >::MetricPointer anima::DistortionCorrectionBlockMatcher< TInputImageType >::SetupMetric ( )
protectedvirtual

◆ TransformDependantOptimizerSetup()

template<typename TInputImageType >
void anima::DistortionCorrectionBlockMatcher< TInputImageType >::TransformDependantOptimizerSetup ( OptimizerPointer optimizer)
protectedvirtual

The documentation for this class was generated from the following files: