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

#include <animaBaseAffineBlockMatcher.h>

+ Inheritance diagram for anima::BaseAffineBlockMatcher< TInputImageType >:
+ Collaboration diagram for anima::BaseAffineBlockMatcher< 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
 
typedef BaseBlockMatcher< TInputImageType > Superclass
 
enum  TransformDefinition {
  Translation = 0,
  Rigid,
  Affine,
  Directional_Affine
}
 
- 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

 BaseAffineBlockMatcher ()
 
AgregatorType::TRANSFORM_TYPE GetAgregatorInputTransformType ()
 
TransformDefinitionGetBlockTransformType ()
 
void SetAffineDirection (unsigned int val)
 
void SetAngleMax (double val)
 
void SetBlockTransformType (TransformDefinition val)
 
void SetScaleMax (double val)
 
void SetSearchAngleRadius (double val)
 
void SetSearchScaleRadius (double val)
 
void SetTranslateMax (double val)
 
virtual ~BaseAffineBlockMatcher ()
 
- 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 ()
 
virtual bool GetMaximizedMetric ()=0
 
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 BaseInputTransformPointer GetNewBlockTransform (PointType &blockCenter)
 
virtual void TransformDependantOptimizerSetup (OptimizerPointer &optimizer)
 
- Protected Member Functions inherited from anima::BaseBlockMatcher< TInputImageType >
void BlockMatch (unsigned int startIndex, unsigned int endIndex)
 
virtual double ComputeBlockWeight (double val, unsigned int block)=0
 
virtual void InitializeBlocks ()
 
void ProcessBlockMatch ()
 
void SetBlockPositions (std::vector< PointType > &val)
 
void SetBlockRegions (std::vector< ImageRegionType > &val)
 
void SetBlockWeights (std::vector< double > &val)
 
virtual MetricPointer SetupMetric ()=0
 
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::BaseAffineBlockMatcher< TInputImageType >

Definition at line 8 of file animaBaseAffineBlockMatcher.h.

Member Typedef Documentation

◆ AgregatorType

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

Definition at line 25 of file animaBaseAffineBlockMatcher.h.

◆ BaseInputTransformPointer

template<typename TInputImageType>
typedef Superclass::BaseInputTransformPointer anima::BaseAffineBlockMatcher< TInputImageType >::BaseInputTransformPointer

Definition at line 27 of file animaBaseAffineBlockMatcher.h.

◆ InputImageType

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

Definition at line 23 of file animaBaseAffineBlockMatcher.h.

◆ MetricPointer

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

Definition at line 26 of file animaBaseAffineBlockMatcher.h.

◆ OptimizerPointer

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

Definition at line 28 of file animaBaseAffineBlockMatcher.h.

◆ PointType

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

Definition at line 24 of file animaBaseAffineBlockMatcher.h.

◆ Superclass

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

Definition at line 22 of file animaBaseAffineBlockMatcher.h.

Member Enumeration Documentation

◆ TransformDefinition

template<typename TInputImageType>
enum anima::BaseAffineBlockMatcher::TransformDefinition
Enumerator
Translation 
Rigid 
Affine 
Directional_Affine 

Definition at line 14 of file animaBaseAffineBlockMatcher.h.

Constructor & Destructor Documentation

◆ BaseAffineBlockMatcher()

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

◆ ~BaseAffineBlockMatcher()

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

Definition at line 12 of file animaBaseAffineBlockMatcher.h.

Member Function Documentation

◆ BlockMatchingSetup()

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

◆ GetAgregatorInputTransformType()

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

◆ GetBlockTransformType()

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

Definition at line 32 of file animaBaseAffineBlockMatcher.h.

◆ GetNewBlockTransform()

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

◆ SetAffineDirection()

template<typename TInputImageType>
void anima::BaseAffineBlockMatcher< TInputImageType >::SetAffineDirection ( unsigned int  val)
inline

◆ SetAngleMax()

template<typename TInputImageType>
void anima::BaseAffineBlockMatcher< TInputImageType >::SetAngleMax ( double  val)
inline

◆ SetBlockTransformType()

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

◆ SetScaleMax()

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

◆ SetSearchAngleRadius()

template<typename TInputImageType>
void anima::BaseAffineBlockMatcher< TInputImageType >::SetSearchAngleRadius ( double  val)
inline

◆ SetSearchScaleRadius()

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

◆ SetTranslateMax()

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

◆ TransformDependantOptimizerSetup()

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

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