|
ANIMA
4.0
|
#include <animaBlockMatchInitializer.h>
Inheritance diagram for anima::BlockMatchingInitializer< PixelType, NDimensions >:
Collaboration diagram for anima::BlockMatchingInitializer< PixelType, NDimensions >:Classes | |
| struct | BlockGeneratorThreadStruct |
| struct | pair_comparator |
Public Types | |
| typedef itk::SmartPointer< const Self > | ConstPointer |
| typedef ScalarImageType::RegionType | ImageRegionType |
| typedef ScalarImageType::IndexType | IndexType |
| typedef MaskImageType::Pointer | MaskImagePointer |
| typedef itk::Image< unsigned char, NDimensions > | MaskImageType |
| typedef itk::SmartPointer< Self > | Pointer |
| typedef ScalarImageType::PointType | PointType |
| typedef ScalarImageType::Pointer | ScalarImagePointer |
| typedef itk::Image< PixelType, NDimensions > | ScalarImageType |
| typedef BlockMatchingInitializer< PixelType, NDimensions > | Self |
| typedef itk::Object | Superclass |
| typedef VectorImageType::Pointer | VectorImagePointer |
| typedef itk::VectorImage< PixelType, NDimensions > | VectorImageType |
| typedef WeightImageType::Pointer | WeightImagePointer |
| typedef itk::Image< double, NDimensions > | WeightImageType |
Public Member Functions | |
| void | AddGenerationMask (MaskImageType *mask) |
| virtual void | AddReferenceImage (itk::ImageBase< NDimensions > *refImage) |
| void | clearGenerationMasks () |
| virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
| virtual unsigned int | GetBlockSize () |
| virtual unsigned int | GetBlockSpacing () |
| itk::ImageBase< NDimensions > * | GetFirstReferenceImage () |
| std::vector< unsigned int > & | GetMaskStartingIndexes () |
| virtual const char * | GetNameOfClass () const |
| virtual unsigned int | GetNumberOfThreads () |
| virtual double | GetOrientedModelVarianceThreshold () |
| std::vector< ImageRegionType > & | GetOutput () |
| std::vector< PointType > & | GetOutputPositions () |
| virtual double | GetPercentageKept () |
| ScalarImageType * | GetReferenceScalarImage (unsigned int i) |
| VectorImageType * | GetReferenceVectorImage (unsigned int i) |
| virtual ImageRegionType | GetRequestedRegion () |
| virtual double | GetScalarVarianceThreshold () |
| void | RegionBlockGenerator (BlockGeneratorThreadStruct *workStr, unsigned int threadId) |
| void | SetBlockSize (unsigned int val) |
| void | SetBlockSpacing (unsigned int val) |
| virtual void | SetNumberOfThreads (unsigned int _arg) |
| void | SetOrientedModelVarianceThreshold (double val) |
| void | SetPercentageKept (double val) |
| void | SetRequestedRegion (const ImageRegionType &val) |
| void | SetScalarVarianceThreshold (double val) |
| void | Update () |
Static Public Member Functions | |
| static Pointer | New () |
| static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreadBlockGenerator (void *arg) |
Protected Member Functions | |
| BlockMatchingInitializer () | |
| bool | CheckBlockConditions (ImageRegionType ®ion, double &blockVariance, BlockGeneratorThreadStruct *workStr, unsigned int threadId) |
| virtual bool | CheckOrientedModelVariance (unsigned int imageIndex, ImageRegionType ®ion, double &blockVariance, BlockGeneratorThreadStruct *workStr, unsigned int threadId) |
| bool | CheckScalarVariance (ScalarImageType *refImage, ImageRegionType ®ion, double &blockVariance) |
| void | ComputeBlocksOnGenerationMask (unsigned int maskIndex) |
| virtual void | InitializeThreading (unsigned int maskIndex, BlockGeneratorThreadStruct *&workStr) |
| bool | ProgressCounter (std::vector< unsigned int > &counter, std::vector< unsigned int > &bounds) |
| virtual | ~BlockMatchingInitializer () |
Definition at line 14 of file animaBlockMatchInitializer.h.
| typedef itk::SmartPointer<const Self> anima::BlockMatchingInitializer< PixelType, NDimensions >::ConstPointer |
Definition at line 21 of file animaBlockMatchInitializer.h.
| typedef ScalarImageType::RegionType anima::BlockMatchingInitializer< PixelType, NDimensions >::ImageRegionType |
Definition at line 37 of file animaBlockMatchInitializer.h.
| typedef ScalarImageType::IndexType anima::BlockMatchingInitializer< PixelType, NDimensions >::IndexType |
Definition at line 26 of file animaBlockMatchInitializer.h.
| typedef MaskImageType::Pointer anima::BlockMatchingInitializer< PixelType, NDimensions >::MaskImagePointer |
Definition at line 41 of file animaBlockMatchInitializer.h.
| typedef itk::Image<unsigned char, NDimensions> anima::BlockMatchingInitializer< PixelType, NDimensions >::MaskImageType |
Definition at line 29 of file animaBlockMatchInitializer.h.
| typedef itk::SmartPointer<Self> anima::BlockMatchingInitializer< PixelType, NDimensions >::Pointer |
Definition at line 20 of file animaBlockMatchInitializer.h.
| typedef ScalarImageType::PointType anima::BlockMatchingInitializer< PixelType, NDimensions >::PointType |
Definition at line 27 of file animaBlockMatchInitializer.h.
| typedef ScalarImageType::Pointer anima::BlockMatchingInitializer< PixelType, NDimensions >::ScalarImagePointer |
Definition at line 39 of file animaBlockMatchInitializer.h.
| typedef itk::Image<PixelType, NDimensions> anima::BlockMatchingInitializer< PixelType, NDimensions >::ScalarImageType |
Definition at line 23 of file animaBlockMatchInitializer.h.
| typedef BlockMatchingInitializer<PixelType,NDimensions> anima::BlockMatchingInitializer< PixelType, NDimensions >::Self |
Definition at line 19 of file animaBlockMatchInitializer.h.
| typedef itk::Object anima::BlockMatchingInitializer< PixelType, NDimensions >::Superclass |
Definition at line 18 of file animaBlockMatchInitializer.h.
| typedef VectorImageType::Pointer anima::BlockMatchingInitializer< PixelType, NDimensions >::VectorImagePointer |
Definition at line 40 of file animaBlockMatchInitializer.h.
| typedef itk::VectorImage<PixelType, NDimensions> anima::BlockMatchingInitializer< PixelType, NDimensions >::VectorImageType |
Definition at line 28 of file animaBlockMatchInitializer.h.
| typedef WeightImageType::Pointer anima::BlockMatchingInitializer< PixelType, NDimensions >::WeightImagePointer |
Definition at line 25 of file animaBlockMatchInitializer.h.
| typedef itk::Image<double, NDimensions> anima::BlockMatchingInitializer< PixelType, NDimensions >::WeightImageType |
Definition at line 24 of file animaBlockMatchInitializer.h.
|
inlineprotected |
Definition at line 101 of file animaBlockMatchInitializer.h.
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::pair_comparator::operator()().
|
inlineprotectedvirtual |
Definition at line 116 of file animaBlockMatchInitializer.h.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::CheckBlockConditions(), anima::BlockMatchingInitializer< PixelType, NDimensions >::CheckOrientedModelVariance(), anima::BlockMatchingInitializer< PixelType, NDimensions >::CheckScalarVariance(), anima::BlockMatchingInitializer< PixelType, NDimensions >::ComputeBlocksOnGenerationMask(), anima::BlockMatchingInitializer< PixelType, NDimensions >::InitializeThreading(), anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::maskIndex, and anima::BlockMatchingInitializer< PixelType, NDimensions >::ProgressCounter().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::AddGenerationMask | ( | MaskImageType * | mask | ) |
Definition at line 68 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::GetFirstReferenceImage().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::AddReferenceImage(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::clearGenerationMasks().
|
virtual |
Reimplemented in anima::MCMBlockMatchingInitializer< PixelType, NDimensions >.
Definition at line 49 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::AddGenerationMask().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::clearGenerationMasks(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::GetMaskStartingIndexes().
|
protected |
Definition at line 458 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::CheckOrientedModelVariance().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::ProgressCounter(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::~BlockMatchingInitializer().
|
protectedvirtual |
Reimplemented in anima::MCMBlockMatchingInitializer< PixelType, NDimensions >.
Definition at line 499 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::CheckScalarVariance().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::CheckBlockConditions(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::~BlockMatchingInitializer().
|
protected |
|
inline |
Definition at line 64 of file animaBlockMatchInitializer.h.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::AddGenerationMask(), anima::BlockMatchingInitializer< PixelType, NDimensions >::AddReferenceImage(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::GetFirstReferenceImage().
|
protected |
Definition at line 189 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blocks_positions, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blocks_variances, anima::BlockMatchingInitializer< PixelType, NDimensions >::InitializeThreading(), anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::tmpOutput, and anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::totalNumberOfBlocks.
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::Update(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::~BlockMatchingInitializer().
| virtual::itk::LightObject::Pointer anima::BlockMatchingInitializer< PixelType, NDimensions >::CreateAnother | ( | void | ) | const |
|
virtual |
|
virtual |
| itk::ImageBase< NDimensions > * anima::BlockMatchingInitializer< PixelType, NDimensions >::GetFirstReferenceImage | ( | ) |
Definition at line 77 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::SetPercentageKept().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::AddGenerationMask(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::clearGenerationMasks().
| std::vector< unsigned int > & anima::BlockMatchingInitializer< PixelType, NDimensions >::GetMaskStartingIndexes | ( | ) |
Definition at line 38 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::AddReferenceImage().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::GetReferenceVectorImage().
|
virtual |
Run-time type information (and related methods)
Reimplemented in anima::MCMBlockMatchingInitializer< PixelType, NDimensions >.
|
virtual |
|
virtual |
| std::vector< typename BlockMatchingInitializer< PixelType, NDimensions >::ImageRegionType > & anima::BlockMatchingInitializer< PixelType, NDimensions >::GetOutput | ( | ) |
Definition at line 19 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::GetOutputPositions().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::GetReferenceVectorImage().
| std::vector< typename BlockMatchingInitializer< PixelType, NDimensions >::PointType > & anima::BlockMatchingInitializer< PixelType, NDimensions >::GetOutputPositions | ( | ) |
Definition at line 29 of file animaBlockMatchInitializer.hxx.
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::GetOutput(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::GetReferenceVectorImage().
|
virtual |
|
inline |
Definition at line 70 of file animaBlockMatchInitializer.h.
|
inline |
Definition at line 71 of file animaBlockMatchInitializer.h.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::GetMaskStartingIndexes(), anima::BlockMatchingInitializer< PixelType, NDimensions >::GetOutput(), anima::BlockMatchingInitializer< PixelType, NDimensions >::GetOutputPositions(), anima::BlockMatchingInitializer< PixelType, NDimensions >::ThreadBlockGenerator(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::Update().
|
virtual |
|
virtual |
|
protectedvirtual |
Reimplemented in anima::MCMBlockMatchingInitializer< PixelType, NDimensions >.
Definition at line 248 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blocks_positions, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blocks_variances, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blockStartOffsets, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::Filter, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::maskIndex, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::nb_blocks, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::startBlocks, anima::BlockMatchingInitializer< PixelType, NDimensions >::ThreadBlockGenerator(), anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::tmpOutput, and anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::totalNumberOfBlocks.
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::ComputeBlocksOnGenerationMask(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::~BlockMatchingInitializer().
|
static |
Method for creation through the object factory.
|
protected |
Definition at line 431 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::CheckBlockConditions().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::RegionBlockGenerator(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::~BlockMatchingInitializer().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::RegionBlockGenerator | ( | BlockGeneratorThreadStruct * | workStr, |
| unsigned int | threadId | ||
| ) |
Definition at line 367 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blocks_positions, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blocks_variances, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::blockStartOffsets, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::maskIndex, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::nb_blocks, anima::BlockMatchingInitializer< PixelType, NDimensions >::ProgressCounter(), anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::startBlocks, anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::tmpOutput, and anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::totalNumberOfBlocks.
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::ThreadBlockGenerator(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::~BlockGeneratorThreadStruct().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::SetBlockSize | ( | unsigned int | val | ) |
Definition at line 145 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::Update().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::SetBlockSpacing().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::SetBlockSpacing | ( | unsigned int | val | ) |
Definition at line 134 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::SetBlockSize().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::SetRequestedRegion().
|
virtual |
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::SetOrientedModelVarianceThreshold | ( | double | val | ) |
Definition at line 112 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::SetRequestedRegion().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::SetScalarVarianceThreshold().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::SetPercentageKept | ( | double | val | ) |
Definition at line 90 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::SetScalarVarianceThreshold().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::GetFirstReferenceImage().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::SetRequestedRegion | ( | const ImageRegionType & | val | ) |
Definition at line 123 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::SetBlockSpacing().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::SetOrientedModelVarianceThreshold().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::SetScalarVarianceThreshold | ( | double | val | ) |
Definition at line 101 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::SetOrientedModelVarianceThreshold().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::SetPercentageKept().
|
static |
Definition at line 352 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::BlockGeneratorThreadStruct::Filter, and anima::BlockMatchingInitializer< PixelType, NDimensions >::RegionBlockGenerator().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::GetReferenceVectorImage(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::InitializeThreading().
| void anima::BlockMatchingInitializer< PixelType, NDimensions >::Update | ( | ) |
Definition at line 156 of file animaBlockMatchInitializer.hxx.
References anima::BlockMatchingInitializer< PixelType, NDimensions >::ComputeBlocksOnGenerationMask().
Referenced by anima::BlockMatchingInitializer< PixelType, NDimensions >::GetReferenceVectorImage(), and anima::BlockMatchingInitializer< PixelType, NDimensions >::SetBlockSize().
1.8.13