NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
A metric to compute the similarity between an image and a pectoral shape model. More...
Public Types | |
typedef MammogramPectoralisFitMetric | Self |
typedef SingleValuedCostFunction | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef InputImageType::Pointer | InputImagePointer |
typedef InputImageType::ConstPointer | InputImageConstPointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::SpacingType | InputImageSpacingType |
typedef InputImageType::PointType | InputImagePointType |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef itk::ImageRegionIterator < TInputImage > | IteratorType |
typedef itk::ImageRegionIteratorWithIndex < TInputImage > | IteratorWithIndexType |
typedef itk::ImageRegionConstIterator < TInputImage > | IteratorConstType |
typedef itk::ImageRegionConstIteratorWithIndex < TInputImage > | IteratorWithIndexConstType |
typedef float | TemplatePixelType |
typedef itk::Image < TemplatePixelType, ImageDimension > | TemplateImageType |
typedef TemplateImageType::Pointer | TemplateImagePointer |
typedef TemplateImageType::ConstPointer | TemplateImageConstPointer |
typedef TemplateImageType::RegionType | TemplateImageRegionType |
typedef TemplateImageType::PixelType | TemplateImagePixelType |
typedef TemplateImageType::SpacingType | TemplateImageSpacingType |
typedef TemplateImageType::PointType | TemplateImagePointType |
typedef TemplateImageType::IndexType | TemplateImageIndexType |
typedef TemplateImageType::SizeType | TemplateImageSizeType |
typedef itk::ImageRegionIterator < TemplateImageType > | TemplateIteratorType |
typedef itk::ImageRegionIteratorWithIndex < TemplateImageType > | TemplateIteratorWithIndexType |
typedef unsigned char | MaskPixelType |
typedef itk::Image < MaskPixelType, ImageDimension > | MaskImageType |
typedef MaskImageType::ConstPointer | MaskImageConstPointer |
typedef MaskImageType::Pointer | MaskImagePointer |
typedef MaskImageType::RegionType | MaskImageRegionType |
typedef MaskImageType::SizeType | MaskImageSizeType |
typedef MaskImageType::IndexType | MaskImageIndexType |
typedef MaskImageType::SpacingType | MaskImageSpacingType |
typedef itk::ImageRegionConstIterator < MaskImageType > | MaskIteratorType |
typedef itk::ImageLinearConstIteratorWithIndex < MaskImageType > | MaskLineIteratorType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::MeasureType | MeasureType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension) | |
void | SetInputImage (const InputImageType *imInput) |
void | SetMask (const MaskImageType *imMask) |
Set the optional mask image. More... | |
void | SetSSD (bool flag) |
Optimise SSD rather than normalised cross-correlation. More... | |
void | SetMinimumPectoralArea (double minPecArea) |
Set the minuimum pectoral area in mm^2. More... | |
virtual TemplateImageType * | GetImTemplate () |
itkStaticConstMacro (ParametricSpaceDimension, unsigned int, 8) | |
unsigned int | GetNumberOfParameters (void) const override |
void | GetParameters (const InputImagePointType &pecInterceptInMM, ParametersType ¶meters) |
void | GetDerivative (const ParametersType ¶meters, DerivativeType &Derivative) const override |
MeasureType | GetValueAtPecIntercept (const InputImagePointType &pecInterceptInMM) |
MeasureType | GetValue (const ParametersType ¶meters) const override |
MeasureType | GetValueNCC (const ParametersType ¶meters) const |
MeasureType | GetValueSSD (const ParametersType ¶meters) const |
void | GetValueAndDerivative (const ParametersType ¶meters, MeasureType &Value, DerivativeType &Derivative) const override |
TemplateImagePointer | GetTemplate (void) |
void | ClearTemplate (void) |
void | GenerateTemplate (const ParametersType ¶meters, double &tMean, double &tStdDev, double &nInside, double &nPixels, TemplateImageRegionType &templateRegion) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MammogramPectoralisFitMetric () | |
virtual | ~MammogramPectoralisFitMetric () |
MammogramPectoralisFitMetric (const Self &) | |
void | operator= (const Self &) |
void | PrintSelf (std::ostream &os, Indent indent) const override |
double | GradientAtMidpoint (const ParametersType ¶meters) const |
A metric to compute the similarity between an image and a pectoral shape model.
typedef SmartPointer< const Self > itk::MammogramPectoralisFitMetric< TInputImage >::ConstPointer |
typedef Superclass::DerivativeType itk::MammogramPectoralisFitMetric< TInputImage >::DerivativeType |
typedef InputImageType::ConstPointer itk::MammogramPectoralisFitMetric< TInputImage >::InputImageConstPointer |
typedef InputImageType::IndexType itk::MammogramPectoralisFitMetric< TInputImage >::InputImageIndexType |
typedef InputImageType::PixelType itk::MammogramPectoralisFitMetric< TInputImage >::InputImagePixelType |
typedef InputImageType::Pointer itk::MammogramPectoralisFitMetric< TInputImage >::InputImagePointer |
typedef InputImageType::PointType itk::MammogramPectoralisFitMetric< TInputImage >::InputImagePointType |
typedef InputImageType::RegionType itk::MammogramPectoralisFitMetric< TInputImage >::InputImageRegionType |
typedef InputImageType::SizeType itk::MammogramPectoralisFitMetric< TInputImage >::InputImageSizeType |
typedef InputImageType::SpacingType itk::MammogramPectoralisFitMetric< TInputImage >::InputImageSpacingType |
typedef TInputImage itk::MammogramPectoralisFitMetric< TInputImage >::InputImageType |
Type of the input image
typedef itk::ImageRegionConstIterator< TInputImage > itk::MammogramPectoralisFitMetric< TInputImage >::IteratorConstType |
typedef itk::ImageRegionIterator< TInputImage > itk::MammogramPectoralisFitMetric< TInputImage >::IteratorType |
typedef itk::ImageRegionConstIteratorWithIndex< TInputImage > itk::MammogramPectoralisFitMetric< TInputImage >::IteratorWithIndexConstType |
typedef itk::ImageRegionIteratorWithIndex< TInputImage > itk::MammogramPectoralisFitMetric< TInputImage >::IteratorWithIndexType |
typedef MaskImageType::ConstPointer itk::MammogramPectoralisFitMetric< TInputImage >::MaskImageConstPointer |
typedef MaskImageType::IndexType itk::MammogramPectoralisFitMetric< TInputImage >::MaskImageIndexType |
typedef MaskImageType::Pointer itk::MammogramPectoralisFitMetric< TInputImage >::MaskImagePointer |
typedef MaskImageType::RegionType itk::MammogramPectoralisFitMetric< TInputImage >::MaskImageRegionType |
typedef MaskImageType::SizeType itk::MammogramPectoralisFitMetric< TInputImage >::MaskImageSizeType |
typedef MaskImageType::SpacingType itk::MammogramPectoralisFitMetric< TInputImage >::MaskImageSpacingType |
typedef itk::Image<MaskPixelType, ImageDimension> itk::MammogramPectoralisFitMetric< TInputImage >::MaskImageType |
typedef itk::ImageRegionConstIterator< MaskImageType > itk::MammogramPectoralisFitMetric< TInputImage >::MaskIteratorType |
typedef itk::ImageLinearConstIteratorWithIndex< MaskImageType > itk::MammogramPectoralisFitMetric< TInputImage >::MaskLineIteratorType |
typedef unsigned char itk::MammogramPectoralisFitMetric< TInputImage >::MaskPixelType |
Optional mask image
typedef Superclass::MeasureType itk::MammogramPectoralisFitMetric< TInputImage >::MeasureType |
typedef Superclass::ParametersType itk::MammogramPectoralisFitMetric< TInputImage >::ParametersType |
typedef SmartPointer< Self > itk::MammogramPectoralisFitMetric< TInputImage >::Pointer |
typedef MammogramPectoralisFitMetric itk::MammogramPectoralisFitMetric< TInputImage >::Self |
typedef SingleValuedCostFunction itk::MammogramPectoralisFitMetric< TInputImage >::Superclass |
typedef TemplateImageType::ConstPointer itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImageConstPointer |
typedef TemplateImageType::IndexType itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImageIndexType |
typedef TemplateImageType::PixelType itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImagePixelType |
typedef TemplateImageType::Pointer itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImagePointer |
typedef TemplateImageType::PointType itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImagePointType |
typedef TemplateImageType::RegionType itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImageRegionType |
typedef TemplateImageType::SizeType itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImageSizeType |
typedef TemplateImageType::SpacingType itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImageSpacingType |
typedef itk::Image<TemplatePixelType, ImageDimension> itk::MammogramPectoralisFitMetric< TInputImage >::TemplateImageType |
typedef itk::ImageRegionIterator< TemplateImageType > itk::MammogramPectoralisFitMetric< TInputImage >::TemplateIteratorType |
typedef itk::ImageRegionIteratorWithIndex< TemplateImageType > itk::MammogramPectoralisFitMetric< TInputImage >::TemplateIteratorWithIndexType |
typedef float itk::MammogramPectoralisFitMetric< TInputImage >::TemplatePixelType |
Type of the template image
|
protected |
|
protectedvirtual |
|
inlineprotected |
void itk::MammogramPectoralisFitMetric< TInputImage >::ClearTemplate | ( | void | ) |
void itk::MammogramPectoralisFitMetric< TInputImage >::GenerateTemplate | ( | const ParametersType & | parameters, |
double & | tMean, | ||
double & | tStdDev, | ||
double & | nInside, | ||
double & | nPixels, | ||
TemplateImageRegionType & | templateRegion | ||
) |
|
virtual |
Run-time type information (and related methods).
|
inlineoverride |
|
virtual |
Get the template image.
|
inlineoverride |
void itk::MammogramPectoralisFitMetric< TInputImage >::GetParameters | ( | const InputImagePointType & | pecInterceptInMM, |
ParametersType & | parameters | ||
) |
|
inline |
|
override |
|
inlineoverride |
MeasureType itk::MammogramPectoralisFitMetric< TInputImage >::GetValueAtPecIntercept | ( | const InputImagePointType & | pecInterceptInMM | ) |
MeasureType itk::MammogramPectoralisFitMetric< TInputImage >::GetValueNCC | ( | const ParametersType & | parameters | ) | const |
MeasureType itk::MammogramPectoralisFitMetric< TInputImage >::GetValueSSD | ( | const ParametersType & | parameters | ) | const |
|
protected |
itk::MammogramPectoralisFitMetric< TInputImage >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
TInputImage::ImageDimension | |||
) |
Image dimension.
itk::MammogramPectoralisFitMetric< TInputImage >::itkStaticConstMacro | ( | ParametricSpaceDimension | , |
unsigned | int, | ||
8 | |||
) |
|
static |
Method for creation through the object factory.
|
inlineprotected |
|
overrideprotected |
void itk::MammogramPectoralisFitMetric< TInputImage >::SetInputImage | ( | const InputImageType * | imInput | ) |
Connect the input image.
void itk::MammogramPectoralisFitMetric< TInputImage >::SetMask | ( | const MaskImageType * | imMask | ) |
Set the optional mask image.
|
inline |
Set the minuimum pectoral area in mm^2.
|
inline |
Optimise SSD rather than normalised cross-correlation.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |