ANIMA
4.0
|
#include <animaBaseBlockMatcher.h>
Classes | |
struct | ThreadedMatchData |
Public Types | |
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 |
Protected Member Functions | |
void | BlockMatch (unsigned int startIndex, unsigned int endIndex) |
virtual void | BlockMatchingSetup (MetricPointer &metric, unsigned int block)=0 |
virtual double | ComputeBlockWeight (double val, unsigned int block)=0 |
virtual BaseInputTransformPointer | GetNewBlockTransform (PointType &blockCenter)=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 () |
virtual void | TransformDependantOptimizerSetup (OptimizerPointer &optimizer)=0 |
Static Protected Member Functions | |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreadedMatching (void *arg) |
Definition at line 12 of file animaBaseBlockMatcher.h.
typedef anima::BaseTransformAgregator<TInputImageType::ImageDimension> anima::BaseBlockMatcher< TInputImageType >::AgregatorType |
Definition at line 30 of file animaBaseBlockMatcher.h.
typedef BaseInputTransformType::Pointer anima::BaseBlockMatcher< TInputImageType >::BaseInputTransformPointer |
Definition at line 33 of file animaBaseBlockMatcher.h.
typedef AgregatorType::BaseInputTransformType anima::BaseBlockMatcher< TInputImageType >::BaseInputTransformType |
Definition at line 32 of file animaBaseBlockMatcher.h.
typedef InputImageType::RegionType anima::BaseBlockMatcher< TInputImageType >::ImageRegionType |
Definition at line 27 of file animaBaseBlockMatcher.h.
typedef InputImageType::Pointer anima::BaseBlockMatcher< TInputImageType >::InputImagePointer |
Definition at line 26 of file animaBaseBlockMatcher.h.
typedef TInputImageType anima::BaseBlockMatcher< TInputImageType >::InputImageType |
Definition at line 25 of file animaBaseBlockMatcher.h.
typedef AgregatorType::InternalScalarType anima::BaseBlockMatcher< TInputImageType >::InternalScalarType |
Definition at line 31 of file animaBaseBlockMatcher.h.
typedef MaskImageType::Pointer anima::BaseBlockMatcher< TInputImageType >::MaskImagePointer |
Definition at line 36 of file animaBaseBlockMatcher.h.
typedef itk::Image<unsigned char, TInputImageType::ImageDimension> anima::BaseBlockMatcher< TInputImageType >::MaskImageType |
Definition at line 35 of file animaBaseBlockMatcher.h.
typedef MetricType::Pointer anima::BaseBlockMatcher< TInputImageType >::MetricPointer |
Definition at line 44 of file animaBaseBlockMatcher.h.
typedef itk::SingleValuedCostFunction anima::BaseBlockMatcher< TInputImageType >::MetricType |
Type of the metric.
Definition at line 43 of file animaBaseBlockMatcher.h.
typedef OptimizerType::Pointer anima::BaseBlockMatcher< TInputImageType >::OptimizerPointer |
Definition at line 40 of file animaBaseBlockMatcher.h.
typedef itk::SingleValuedNonLinearOptimizer anima::BaseBlockMatcher< TInputImageType >::OptimizerType |
Type of the optimizer.
Definition at line 39 of file animaBaseBlockMatcher.h.
typedef InputImageType::PointType anima::BaseBlockMatcher< TInputImageType >::PointType |
Definition at line 28 of file animaBaseBlockMatcher.h.
typedef BaseBlockMatcher anima::BaseBlockMatcher< TInputImageType >::Self |
Definition at line 15 of file animaBaseBlockMatcher.h.
enum anima::BaseBlockMatcher::OptimizerDefinition |
Enumerator | |
---|---|
Exhaustive | |
Bobyqa |
Definition at line 19 of file animaBaseBlockMatcher.h.
anima::BaseBlockMatcher< TInputImageType >::BaseBlockMatcher | ( | ) |
Definition at line 14 of file animaBaseBlockMatcher.hxx.
References Bobyqa.
|
inlinevirtual |
Definition at line 17 of file animaBaseBlockMatcher.h.
|
protected |
Definition at line 211 of file animaBaseBlockMatcher.hxx.
|
protectedpure virtual |
|
protectedpure virtual |
|
pure virtual |
|
inline |
Definition at line 91 of file animaBaseBlockMatcher.h.
References anima::BaseBlockMatcher< TInputImageType >::GetMaximizedMetric().
|
inline |
Definition at line 60 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 77 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 79 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 78 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 63 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 66 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 82 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 81 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 57 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 84 of file animaBaseBlockMatcher.h.
|
pure virtual |
Implemented in anima::DistortionCorrectionBlockMatcher< TInputImageType >, anima::MCMBlockMatcher< TInputImageType >, anima::TensorBlockMatcher< TInputImageType >, and anima::AnatomicalBlockMatcher< TInputImageType >.
Referenced by anima::BaseBlockMatcher< TInputImageType >::GetBlockGenerationMask().
|
inline |
Definition at line 90 of file animaBaseBlockMatcher.h.
|
protectedpure virtual |
|
inline |
Definition at line 54 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 87 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 89 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 69 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 96 of file animaBaseBlockMatcher.h.
|
protectedvirtual |
Reimplemented in anima::MCMBlockMatcher< TInputImageType >.
Definition at line 39 of file animaBaseBlockMatcher.hxx.
|
protected |
Definition at line 175 of file animaBaseBlockMatcher.hxx.
Referenced by anima::BaseBlockMatcher< TInputImageType >::ThreadedMatching().
|
inline |
Definition at line 48 of file animaBaseBlockMatcher.h.
References anima::BaseBlockMatcher< TInputImageType >::GetAgregatorInputTransformType().
|
inline |
Definition at line 59 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDistortionCorrectionBlockMatchingBridge< ImageDimension >::Update(), anima::PyramidalDenseSVFMatchingBridge< ImageDimension >::Update(), anima::PyramidalDenseTensorSVFMatchingBridge< ImageDimension >::Update(), anima::PyramidalBlockMatchingBridge< ImageDimension >::Update(), and anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inlineprotected |
Definition at line 125 of file animaBaseBlockMatcher.h.
|
inlineprotected |
Definition at line 124 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 62 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inline |
Definition at line 65 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inline |
Definition at line 56 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inlineprotected |
Definition at line 123 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 70 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inline |
Definition at line 52 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 47 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 53 of file animaBaseBlockMatcher.h.
Referenced by anima::BaseBlockMatcher< TInputImageType >::Update(), and anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inline |
Definition at line 73 of file animaBaseBlockMatcher.h.
References anima::BaseBlockMatcher< TInputImageType >::Update().
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inline |
Definition at line 86 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inline |
Definition at line 46 of file animaBaseBlockMatcher.h.
|
inline |
Definition at line 68 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
inline |
Definition at line 71 of file animaBaseBlockMatcher.h.
Referenced by anima::PyramidalDenseMCMSVFMatchingBridge< ImageDimension >::Update().
|
protectedpure virtual |
|
protectedvirtual |
Definition at line 76 of file animaBaseBlockMatcher.hxx.
References Bobyqa, and Exhaustive.
|
inline |
Definition at line 95 of file animaBaseBlockMatcher.h.
|
staticprotected |
Do the matching for a batch of regions (split according to the thread id + nb threads)
Definition at line 163 of file animaBaseBlockMatcher.hxx.
References anima::BaseBlockMatcher< TInputImageType >::ThreadedMatchData::BlockMatch, and anima::BaseBlockMatcher< TInputImageType >::ProcessBlockMatch().
|
protectedpure virtual |
void anima::BaseBlockMatcher< TInputImageType >::Update | ( | ) |
Definition at line 142 of file animaBaseBlockMatcher.hxx.
References anima::BaseBlockMatcher< TInputImageType >::ThreadedMatchData::BlockMatch, and anima::BaseBlockMatcher< TInputImageType >::SetNumberOfWorkUnits().
Referenced by anima::BaseBlockMatcher< TInputImageType >::SetOptimizerMaximumIterations().