|
ITK
6.0.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
Iterates over a flood-filled spatial function with read-only access to pixels.
FloodFilledSpatialFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
typename TImage::RegionType RegionType
typename TImage::PixelType PixelType
typename TImage::InternalPixelType InternalPixelType
typename TImage::SizeType SizeType
FloodFilledSpatialFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)
ImageType::ConstWeakPointer m_Image
std::queue< IndexType > m_IndexStack
~FloodFilledSpatialFunctionConditionalIterator() override=default
typename TFunction::InputType FunctionInputType
typename std::vector< IndexType > SeedsContainerType
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 TImage::IndexType IndexType
typename TImage::PixelType PixelType