ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkAnnulusOperator.h>
A NeighborhoodOperator for performing a matched filtering with an annulus (two concentric circles, spheres, hyperspheres, etc.)
AnnulusOperator defines a non-directional NeighborhoodOperator representing two concentric circles, spheres, hyperspheres, etc. The inner radius and the thickness of the annulus can be specified.
The values for the annulus can be specified in a variety of manners:
1) The values for the interior of the annulus (interior of inner circle), the values for annulus (the region between the inner and outer circle), and the values for the exterior of the annulus can be specified. This mode is useful in correlation based matched filter applications. For instance, defining a hollow (or even filled) circle.
2) The values can defined automatically for normalized correlation. The values in the kernel will be defined to have mean zero and norm 1. The area outside the annulus will have values of zero. In this mode, you can also specify whether you want the center of the annulus to be bright (intensity > 0) or dark (intensity < 0).
1) Set the annulus parameters: InnerRadius and Thickness 2) Set the intensities to use for interior, wall, and exterior kernel positions for correlation based operations or call NormalizeOn() to define kernel values automatically for use in normalized correlation. 3) If NormalizedOn(), indicate whether you want the center of the annulus to be bright or dark. 4) call CreateOperator()
Definition at line 70 of file itkAnnulusOperator.h.
typedef Superclass::CoefficientVector itk::AnnulusOperator< TPixel, TDimension, TAllocator >::CoefficientVector [protected] |
Typedef support for coefficient vector type. Necessary to work around compiler bug on VC++.
Reimplemented from itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
Definition at line 214 of file itkAnnulusOperator.h.
typedef Superclass::OffsetType itk::AnnulusOperator< TPixel, TDimension, TAllocator >::OffsetType |
Offset type used to reference neighbor locations
Reimplemented from itk::Neighborhood< TPixel, VDimension, TAllocator >.
Definition at line 81 of file itkAnnulusOperator.h.
typedef Superclass::PixelType itk::AnnulusOperator< TPixel, TDimension, TAllocator >::PixelType [protected] |
External support for pixel type
Reimplemented from itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
Definition at line 215 of file itkAnnulusOperator.h.
typedef AnnulusOperator itk::AnnulusOperator< TPixel, TDimension, TAllocator >::Self |
Standard typedefs
Reimplemented from itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
Definition at line 76 of file itkAnnulusOperator.h.
typedef Superclass::SizeType itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SizeType |
Additional typedefs
Reimplemented from itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
Definition at line 80 of file itkAnnulusOperator.h.
typedef Vector< double, TDimension > itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SpacingType |
Definition at line 82 of file itkAnnulusOperator.h.
typedef NeighborhoodOperator< TPixel, TDimension, TAllocator > itk::AnnulusOperator< TPixel, TDimension, TAllocator >::Superclass |
Reimplemented from itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
Definition at line 77 of file itkAnnulusOperator.h.
itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator | ( | ) | [inline] |
Definition at line 86 of file itkAnnulusOperator.h.
References itk::NeighborhoodOperator< TPixel, VDimension, TAllocator >::Fill().
itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator | ( | const Self & | other | ) | [inline] |
Definition at line 94 of file itkAnnulusOperator.h.
References itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_AnnulusValue, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_BrightCenter, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_ExteriorValue, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_InnerRadius, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_InteriorValue, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Normalize, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Spacing, and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Thickness.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::BrightCenterOff | ( | ) | [inline] |
If Normalize is on, you define the annulus to have a bright center or a dark center.
Definition at line 156 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::BrightCenterOn | ( | ) | [inline] |
If Normalize is on, you define the annulus to have a bright center or a dark center.
Definition at line 154 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::CreateOperator | ( | ) |
This function is called to create the operator. The radius of the operator is determine automatically.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::Fill | ( | const CoefficientVector & | c | ) | [protected, virtual] |
Arranges coefficients spatially in the memory buffer.
Implements itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
CoefficientVector itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GenerateCoefficients | ( | ) | [protected, virtual] |
Calculates operator coefficients.
Implements itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
TPixel itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetAnnulusValue | ( | ) | const [inline] |
If Normalize is off, the interior to annulus, the annulus (region between the two circles), and the region exterior to the annulus to be defined manually. Defauls are 0, 1, 0 respectively.
Definition at line 170 of file itkAnnulusOperator.h.
bool itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetBrightCenter | ( | ) | const [inline] |
If Normalize is on, you define the annulus to have a bright center or a dark center.
Definition at line 152 of file itkAnnulusOperator.h.
TPixel itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetExteriorValue | ( | ) | const [inline] |
If Normalize is off, the interior to annulus, the annulus (region between the two circles), and the region exterior to the annulus to be defined manually. Defauls are 0, 1, 0 respectively.
Definition at line 174 of file itkAnnulusOperator.h.
double itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetInnerRadius | ( | ) | const [inline] |
Set/Get the inner radius of the annulus. Radius is specified in physical units (mm).
Definition at line 115 of file itkAnnulusOperator.h.
TPixel itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetInteriorValue | ( | ) | const [inline] |
If Normalize is off, the interior to annulus, the annulus (region between the two circles), and the region exterior to the annulus to be defined manually. Defauls are 0, 1, 0 respectively.
Definition at line 166 of file itkAnnulusOperator.h.
virtual const char* itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetNameOfClass | ( | ) | const [virtual] |
bool itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetNormalize | ( | ) | const [inline] |
Set/Get whether kernel values are computed automatically or specified manually
Definition at line 140 of file itkAnnulusOperator.h.
const SpacingType& itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetSpacing | ( | ) | const [inline] |
Set/Get the pixel spacings. Setting these ensures the annulus is round in physical space. Defaults to 1.
Definition at line 132 of file itkAnnulusOperator.h.
double itk::AnnulusOperator< TPixel, TDimension, TAllocator >::GetThickness | ( | ) | const [inline] |
Set/Get the thickness of the annulus. The outer radius of the annulus is defined as r = InnerRadius + Thickness. Thickness is specified in physical units (mm).
Definition at line 124 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::NormalizeOff | ( | ) | [inline] |
Set/Get whether kernel values are computed automatically or specified manually
Definition at line 144 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::NormalizeOn | ( | ) | [inline] |
Set/Get whether kernel values are computed automatically or specified manually
Definition at line 142 of file itkAnnulusOperator.h.
Self& itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator= | ( | const Self & | other | ) | [inline] |
Assignment operator
Definition at line 179 of file itkAnnulusOperator.h.
References itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_AnnulusValue, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_BrightCenter, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_ExteriorValue, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_InnerRadius, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_InteriorValue, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Normalize, itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Spacing, and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Thickness.
virtual void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::PrintSelf | ( | std::ostream & | os, |
Indent | i | ||
) | const [inline, virtual] |
Prints some debugging information
Reimplemented from itk::NeighborhoodOperator< TPixel, TDimension, TAllocator >.
Definition at line 195 of file itkAnnulusOperator.h.
References itk::Indent::GetNextIndent().
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetAnnulusValue | ( | TPixel | v | ) | [inline] |
If Normalize is off, the interior to annulus, the annulus (region between the two circles), and the region exterior to the annulus to be defined manually. Defauls are 0, 1, 0 respectively.
Definition at line 168 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetBrightCenter | ( | bool | b | ) | [inline] |
If Normalize is on, you define the annulus to have a bright center or a dark center.
Definition at line 150 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetExteriorValue | ( | TPixel | v | ) | [inline] |
If Normalize is off, the interior to annulus, the annulus (region between the two circles), and the region exterior to the annulus to be defined manually. Defauls are 0, 1, 0 respectively.
Definition at line 172 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetInnerRadius | ( | double | r | ) | [inline] |
Set/Get the inner radius of the annulus. Radius is specified in physical units (mm).
Definition at line 113 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetInteriorValue | ( | TPixel | v | ) | [inline] |
If Normalize is off, the interior to annulus, the annulus (region between the two circles), and the region exterior to the annulus to be defined manually. Defauls are 0, 1, 0 respectively.
Definition at line 164 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetNormalize | ( | bool | b | ) | [inline] |
Set/Get whether kernel values are computed automatically or specified manually
Definition at line 138 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetSpacing | ( | SpacingType & | s | ) | [inline] |
Set/Get the pixel spacings. Setting these ensures the annulus is round in physical space. Defaults to 1.
Definition at line 130 of file itkAnnulusOperator.h.
void itk::AnnulusOperator< TPixel, TDimension, TAllocator >::SetThickness | ( | double | t | ) | [inline] |
Set/Get the thickness of the annulus. The outer radius of the annulus is defined as r = InnerRadius + Thickness. Thickness is specified in physical units (mm).
Definition at line 122 of file itkAnnulusOperator.h.
PixelType itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_AnnulusValue [private] |
Definition at line 230 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().
bool itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_BrightCenter [private] |
Definition at line 228 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().
PixelType itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_ExteriorValue [private] |
Definition at line 231 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().
double itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_InnerRadius [private] |
Definition at line 225 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().
PixelType itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_InteriorValue [private] |
Definition at line 229 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().
bool itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Normalize [private] |
Definition at line 227 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().
SpacingType itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Spacing [private] |
Definition at line 232 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().
double itk::AnnulusOperator< TPixel, TDimension, TAllocator >::m_Thickness [private] |
Definition at line 226 of file itkAnnulusOperator.h.
Referenced by itk::AnnulusOperator< TPixel, TDimension, TAllocator >::AnnulusOperator(), and itk::AnnulusOperator< TPixel, TDimension, TAllocator >::operator=().