|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkFloodFilledImageFunctionConditionalIterator_h
19 #define itkFloodFilledImageFunctionConditionalIterator_h
37 template <
typename TImage,
typename TFunction>
92 std::vector<IndexType> & startIndex)
107 return const_cast<ImageType *>(this->
m_Image.GetPointer())->GetPixel(this->
m_IndexStack.front());
114 const_cast<ImageType *>(this->
m_Image.GetPointer())->GetPixel(this->
m_IndexStack.front()) = value;
typename TImage::IndexType IndexType
Iterates over a flood-filled image function with read-only access to pixels.
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
typename TImage::RegionType RegionType
~FloodFilledImageFunctionConditionalIterator() override=default
typename TImage::PixelType PixelType
Iterates over a flood-filled image function with write access to pixels.
typename TImage::InternalPixelType InternalPixelType
typename TImage::SizeType SizeType
static constexpr unsigned int NDimensions
static constexpr unsigned int NDimensions
ImageType::ConstWeakPointer m_Image
std::queue< IndexType > m_IndexStack
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....
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
typename TImage::IndexType IndexType
const PixelType Get() const override
void Set(const PixelType &value)
typename TImage::PixelType PixelType
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)