ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkFloodFilledSpatialFunctionConditionalConstIterator.h>
Iterates over a flood-filled spatial function with read-only access to pixels.
Definition at line 35 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
Protected Attributes | |
unsigned char | m_InclusionStrategy |
Protected Attributes inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction > | |
bool | m_FoundUncheckedNeighbor |
SmartPointer< FunctionType > | m_Function |
ImageType::PointType | m_ImageOrigin |
RegionType | m_ImageRegion |
ImageType::SpacingType | m_ImageSpacing |
std::queue< IndexType > | m_IndexStack |
bool | m_IsValidIndex |
FunctionInputType | m_LocationVector |
SeedsContainerType | m_Seeds |
TTempImage::Pointer | m_TemporaryPointer |
Protected Attributes inherited from itk::ConditionalConstIterator< TImage > | |
ImageType::ConstWeakPointer | m_Image |
bool | m_IsAtEnd |
RegionType | m_Region |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction > | |
static unsigned int | GetIteratorDimension () |
Static Public Member Functions inherited from itk::ConditionalConstIterator< TImage > | |
static unsigned int | GetIteratorDimension (void) |
Static Public Attributes inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction > | |
static const unsigned int | NDimensions = TImage::ImageDimension |
Static Public Attributes inherited from itk::ConditionalConstIterator< TImage > | |
static const unsigned int | NDimension = TImage::ImageDimension |
Protected Types inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction > | |
typedef Image< unsigned char, itkGetStaticConstMacro(NDimensions) > | TTempImage |
typedef Superclass::FunctionInputType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FunctionInputType |
Type of vector used to store location info in the spatial function
Definition at line 48 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::FunctionType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FunctionType |
Type of function
Definition at line 45 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::ImageType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::ImageType |
Image typedef support.
Definition at line 63 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::IndexType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::IndexType |
Index typedef support.
Definition at line 51 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::InternalPixelType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::InternalPixelType |
Internal Pixel Type
Definition at line 66 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::PixelType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::PixelType |
External Pixel Type
Definition at line 69 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::RegionType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::RegionType |
Region typedef support
Definition at line 60 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::SeedsContainerType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SeedsContainerType |
Index ContainerType.
Definition at line 54 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef FloodFilledSpatialFunctionConditionalConstIterator itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::Self |
Standard class typedefs.
Definition at line 41 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef Superclass::SizeType itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SizeType |
Size typedef support.
Definition at line 57 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
typedef FloodFilledFunctionConditionalConstIterator< TImage, TFunction > itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::Superclass |
Definition at line 42 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FloodFilledSpatialFunctionConditionalConstIterator | ( | const ImageType * | imagePtr, |
FunctionType * | fnPtr, | ||
IndexType | startIndex | ||
) |
Constructor establishes an iterator to walk a particular image and a particular region of that image. This version of the constructor uses an explicit seed pixel for the flood fill, the "startIndex"
itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::FloodFilledSpatialFunctionConditionalConstIterator | ( | const ImageType * | imagePtr, |
FunctionType * | fnPtr | ||
) |
Constructor establishes an iterator to walk a particular image and a particular region of that image. This version of the constructor should be used when the seed pixel is unknown.
|
inlinevirtual |
Default Destructor.
Definition at line 85 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
|
virtual |
Compute whether the index of interest should be included in the flood
Implements itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.
|
inline |
Set the inclusion strategy to center
Definition at line 94 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::m_InclusionStrategy.
|
inline |
Set the inclusion strategy to complete
Definition at line 97 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::m_InclusionStrategy.
|
inline |
Set the inclusion strategy to intersect
Definition at line 100 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::m_InclusionStrategy.
|
inline |
Set the inclusion strategy to origin
Definition at line 91 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::m_InclusionStrategy.
|
protected |
How the pixel (index) is examined in order to decide whether or not it's included. The strategies are: 0) Origin: if the origin of the pixel in physical space is inside the function, then the pixel is inside the function 1) Center: if the center of a pixel, in physical space, is inside the function, then the pixel is inside the function 2) Complete: if all of the corners of the pixel in physical space are inside the function, then the pixel is inside the function 3) Intersect: if any of the corners of the pixel in physical space are inside the function, then the pixel is inside the function
Definition at line 115 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
Referenced by itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCenterInclusionStrategy(), itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetCompleteInclusionStrategy(), itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetIntersectInclusionStrategy(), and itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::SetOriginInclusionStrategy().