|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkFloodFilledSpatialFunctionConditionalIterator_h
19 #define itkFloodFilledSpatialFunctionConditionalIterator_h
34 template <
typename TImage,
typename TFunction>
89 return const_cast<ImageType *>(this->
m_Image.GetPointer())->GetPixel(this->
m_IndexStack.front());
96 return const_cast<ImageType *>(this->
m_Image.GetPointer())->GetPixel(this->
m_IndexStack.front());
103 const_cast<ImageType *>(this->
m_Image.GetPointer())->GetPixel(this->
m_IndexStack.front()) = value;
typename TImage::IndexType IndexType
void Set(const PixelType &value)
const PixelType Get() const override
typename Superclass::FunctionType FunctionType
Iterates over a flood-filled spatial function with read-only access to pixels.
FloodFilledSpatialFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
typename TImage::InternalPixelType InternalPixelType
typename Superclass::RegionType RegionType
FloodFilledSpatialFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
ImageType::ConstWeakPointer m_Image
std::queue< IndexType > m_IndexStack
~FloodFilledSpatialFunctionConditionalIterator() override=default
typename TImage::RegionType RegionType
typename Superclass::PixelType PixelType
typename Superclass::SizeType SizeType
typename TFunction::InputType FunctionInputType
typename Superclass::ImageType ImageType
typename std::vector< IndexType > SeedsContainerType
typename TImage::SizeType SizeType
typename Superclass::FunctionInputType FunctionInputType
A base class for other iterators where membership in the set of output pixels is conditional upon som...
Iterates over a flood-filled spatial function.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Iterates over a flood-filled spatial function with write access to pixels.
typename Superclass::InternalPixelType InternalPixelType
typename Superclass::PixelType PixelType
typename TImage::PixelType PixelType
typename Superclass::IndexType IndexType
typename Superclass::SeedsContainerType SeedsContainerType