ITK  4.8.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | List of all members
itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction > Class Template Reference

#include <itkShapedFloodFilledImageFunctionConditionalIterator.h>

+ Inheritance diagram for itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >:
+ Collaboration diagram for itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >:

Detailed Description

template<typename TImage, typename TFunction>
class itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >

Iterates over a flood-filled image function with write access to pixels.

Contributed as a paper to the Insight Journal: http://hdl.handle.net/1926/1320

Definition at line 38 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

Public Types

typedef
Superclass::FunctionInputType 
FunctionInputType
 
typedef Superclass::FunctionType FunctionType
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InternalPixelType 
InternalPixelType
 
typedef Superclass::PixelType PixelType
 
typedef Superclass::RegionType RegionType
 
typedef
ShapedFloodFilledImageFunctionConditionalIterator 
Self
 
typedef Superclass::SizeType SizeType
 
typedef
ShapedFloodFilledImageFunctionConditionalConstIterator
< TImage, TFunction > 
Superclass
 
- Public Types inherited from itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >
typedef
Superclass::FunctionInputType 
FunctionInputType
 
typedef Superclass::FunctionType FunctionType
 
typedef Superclass::ImageType ImageType
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InternalPixelType 
InternalPixelType
 
typedef Superclass::PixelType PixelType
 
typedef Superclass::RegionType RegionType
 
typedef
ShapedFloodFilledImageFunctionConditionalConstIterator 
Self
 
typedef Superclass::SizeType SizeType
 
typedef
ShapedFloodFilledFunctionConditionalConstIterator
< TImage, TFunction > 
Superclass
 
- Public Types inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
typedef TFunction::InputType FunctionInputType
 
typedef TFunction FunctionType
 
typedef TImage ImageType
 
typedef TImage::IndexType IndexType
 
typedef TImage::InternalPixelType InternalPixelType
 
typedef
itk::ShapedNeighborhoodIterator
< ImageType
NeighborhoodIteratorType
 
typedef TImage::OffsetType OffsetType
 
typedef TImage::PixelType PixelType
 
typedef TImage::RegionType RegionType
 
typedef std::vector< IndexTypeSeedsContainerType
 
typedef
ShapedFloodFilledFunctionConditionalConstIterator 
Self
 
typedef TImage::SizeType SizeType
 
- Public Types inherited from itk::ConditionalConstIterator< TImage >
typedef TImage ImageType
 
typedef TImage::IndexType IndexType
 
typedef TImage::InternalPixelType InternalPixelType
 
typedef TImage::PixelType PixelType
 
typedef TImage::RegionType RegionType
 
typedef ConditionalConstIterator Self
 
typedef TImage::SizeType SizeType
 

Public Member Functions

const PixelType Get (void) const
 
void Set (const PixelType &value)
 
 ShapedFloodFilledImageFunctionConditionalIterator (ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 
 ShapedFloodFilledImageFunctionConditionalIterator (ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
 
 ShapedFloodFilledImageFunctionConditionalIterator (ImageType *imagePtr, FunctionType *fnPtr)
 
virtual ~ShapedFloodFilledImageFunctionConditionalIterator ()
 
- Public Member Functions inherited from itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >
bool IsPixelIncluded (const IndexType &index) const
 
 ShapedFloodFilledImageFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 
 ShapedFloodFilledImageFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
 
 ShapedFloodFilledImageFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr)
 
virtual ~ShapedFloodFilledImageFunctionConditionalConstIterator ()
 
- Public Member Functions inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
void AddSeed (const IndexType seed)
 
void ClearSeeds ()
 
void DoFloodStep ()
 
void FindSeedPixel ()
 
void FindSeedPixels ()
 
virtual void FullyConnectedOff ()
 
virtual void FullyConnectedOn ()
 
bool GetFullyConnected () const
 
virtual SmartPointer
< FunctionType
GetFunction () const
 
const IndexType GetIndex ()
 
virtual const SeedsContainerTypeGetSeeds () const
 
void GoToBegin ()
 
void InitializeIterator ()
 
bool IsAtEnd ()
 
void operator++ ()
 
Selfoperator= (const Self &it)
 
void SetFullyConnected (const bool _arg)
 
 ShapedFloodFilledFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
 
 ShapedFloodFilledFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndices)
 
 ShapedFloodFilledFunctionConditionalConstIterator (const ImageType *imagePtr, FunctionType *fnPtr)
 
virtual ~ShapedFloodFilledFunctionConditionalConstIterator ()
 
- Public Member Functions inherited from itk::ConditionalConstIterator< TImage >
 ConditionalConstIterator ()
 
Selfoperator= (const Self &it)
 
virtual ~ConditionalConstIterator ()
 

Static Public Attributes

static const unsigned int NDimensions = Superclass::NDimensions
 
- Static Public Attributes inherited from itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >
static const unsigned int NDimensions = Superclass::NDimensions
 
- Static Public Attributes inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
static const unsigned int NDimensions = TImage::ImageDimension
 
- Static Public Attributes inherited from itk::ConditionalConstIterator< TImage >
static const unsigned int NDimension = TImage::ImageDimension
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
static unsigned int GetIteratorDimension ()
 
- Static Public Member Functions inherited from itk::ConditionalConstIterator< TImage >
static unsigned int GetIteratorDimension (void)
 
- Protected Types inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
typedef Image< unsigned char,
itkGetStaticConstMacro(NDimensions) > 
TTempImage
 
- Protected Attributes inherited from itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >
bool m_FoundUncheckedNeighbor
 
SmartPointer< FunctionTypem_Function
 
ImageType::PointType m_ImageOrigin
 
RegionType m_ImageRegion
 
ImageType::SpacingType m_ImageSpacing
 
std::queue< IndexTypem_IndexStack
 
bool m_IsValidIndex
 
FunctionInputType m_LocationVector
 
NeighborhoodIteratorType m_NeighborhoodIterator
 
SeedsContainerType m_Seeds
 
TTempImage::Pointer m_TempPtr
 
bool m_FullyConnected
 
- Protected Attributes inherited from itk::ConditionalConstIterator< TImage >
ImageType::ConstWeakPointer m_Image
 
bool m_IsAtEnd
 
RegionType m_Region
 

Member Typedef Documentation

template<typename TImage , typename TFunction >
typedef Superclass::FunctionInputType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::FunctionInputType

Type of vector used to store location info in the spatial function

Definition at line 51 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::FunctionType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::FunctionType

Type of function

Definition at line 48 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::ImageType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::ImageType

Image typedef support.

Definition at line 63 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::IndexType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::IndexType

Index typedef support.

Definition at line 54 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::InternalPixelType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::InternalPixelType

Internal Pixel Type

Definition at line 66 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::PixelType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::PixelType

External Pixel Type

Definition at line 69 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::RegionType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::RegionType

Region typedef support

Definition at line 60 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef ShapedFloodFilledImageFunctionConditionalIterator itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::Self

Standard class typedefs.

Definition at line 44 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef Superclass::SizeType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::SizeType

Size typedef support.

Definition at line 57 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
typedef ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction > itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::Superclass

Constructor & Destructor Documentation

template<typename TImage , typename TFunction >
itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::ShapedFloodFilledImageFunctionConditionalIterator ( ImageType imagePtr,
FunctionType fnPtr,
IndexType  startIndex 
)
inline

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"

Definition at line 80 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::ShapedFloodFilledImageFunctionConditionalIterator ( ImageType imagePtr,
FunctionType fnPtr,
std::vector< IndexType > &  startIndex 
)
inline

Constructor establishes an iterator to walk a particular image and a particular region of that image. This version of the constructor uses an explicit list of seed pixels for the flood fill, the "startIndex"

Definition at line 87 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::ShapedFloodFilledImageFunctionConditionalIterator ( ImageType imagePtr,
FunctionType fnPtr 
)
inline

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.

Definition at line 95 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

template<typename TImage , typename TFunction >
virtual itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::~ShapedFloodFilledImageFunctionConditionalIterator ( )
inlinevirtual

Default Destructor.

Definition at line 107 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.

Member Function Documentation

template<typename TImage , typename TFunction >
const PixelType itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::Get ( void  ) const
inlinevirtual
template<typename TImage , typename TFunction >
void itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::Set ( const PixelType value)
inline

Member Data Documentation

template<typename TImage , typename TFunction >
const unsigned int itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >::NDimensions = Superclass::NDimensions
static

Dimension of the image the iterator walks. This constant is needed so functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks.

Definition at line 75 of file itkShapedFloodFilledImageFunctionConditionalIterator.h.


The documentation for this class was generated from the following file: