#include <itkFloodFilledSpatialFunctionConditionalConstIterator.h>
Iterates over a flood-filled spatial function with read-only access to pixels.
Definition at line 35 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
Inheritance diagram for itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >:
Collaboration diagram for itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >:Public Types | |
| using | FunctionInputType |
| using | FunctionType |
| using | ImageType |
| using | IndexType |
| using | InternalPixelType |
| using | PixelType |
| using | RegionType |
| using | SeedsContainerType |
| using | Self = FloodFilledSpatialFunctionConditionalConstIterator |
| using | SizeType |
| using | Superclass = FloodFilledFunctionConditionalConstIterator<TImage, TFunction> |
Public Types inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction > | |
| using | FunctionInputType = typename TFunction::InputType |
| using | FunctionType = TFunction |
| using | ImageType = TImage |
| using | IndexType = typename TImage::IndexType |
| using | InternalPixelType = typename TImage::InternalPixelType |
| using | PixelType = typename TImage::PixelType |
| using | RegionType = typename TImage::RegionType |
| using | SeedsContainerType = typename std::vector<IndexType> |
| using | Self = FloodFilledFunctionConditionalConstIterator |
| using | SizeType = typename TImage::SizeType |
Public Types inherited from itk::ConditionalConstIterator< TImage > | |
| using | ImageType = TImage |
| using | IndexType = typename TImage::IndexType |
| using | InternalPixelType = typename TImage::InternalPixelType |
| using | PixelType = typename TImage::PixelType |
| using | RegionType = typename TImage::RegionType |
| using | Self = ConditionalConstIterator |
| using | SizeType = typename TImage::SizeType |
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 { false } |
| 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 () |
Static Public Attributes inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction > | |
| static constexpr unsigned int | NDimensions = TImage::ImageDimension |
Static Public Attributes inherited from itk::ConditionalConstIterator< TImage > | |
| static constexpr unsigned int | NDimension = TImage::ImageDimension |
Protected Types inherited from itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction > | |
| using | TTempImage = Image<unsigned char, Self::NDimensions> |
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::FunctionInputType |
Type of vector used to store location info in the spatial function
Definition at line 49 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::FunctionType |
Type of function
Definition at line 46 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::ImageType |
Image type alias support.
Definition at line 64 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::IndexType |
Index type alias support.
Definition at line 52 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::InternalPixelType |
Internal Pixel Type
Definition at line 67 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::PixelType |
External Pixel Type
Definition at line 70 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::RegionType |
Region type alias support
Definition at line 61 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::SeedsContainerType |
Index ContainerType
Definition at line 55 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::Self = FloodFilledSpatialFunctionConditionalConstIterator |
Standard class type aliases.
Definition at line 40 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
| using itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::SizeType |
Size type alias support.
Definition at line 58 of file itkFloodFilledFunctionConditionalConstIterator.h.
| using itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >::Superclass = FloodFilledFunctionConditionalConstIterator<TImage, TFunction> |
Definition at line 41 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.
|
overridedefault |
Default Destructor.
|
overridevirtual |
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 97 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References m_InclusionStrategy.
|
inline |
Set the inclusion strategy to complete
Definition at line 104 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References m_InclusionStrategy.
|
inline |
Set the inclusion strategy to intersect
Definition at line 111 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References m_InclusionStrategy.
|
inline |
Set the inclusion strategy to origin
Definition at line 90 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
References 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 128 of file itkFloodFilledSpatialFunctionConditionalConstIterator.h.
Referenced by SetCenterInclusionStrategy(), SetCompleteInclusionStrategy(), SetIntersectInclusionStrategy(), and SetOriginInclusionStrategy().