|
ITK
5.2.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 Superclass::RegionType RegionType
typename TImage::IndexType IndexType
Iterates over a flood-filled image function with read-only access to pixels.
typename Superclass::SeedsContainerType SeedsContainerType
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr)
typename TImage::InternalPixelType InternalPixelType
typename Superclass::FunctionType FunctionType
~FloodFilledImageFunctionConditionalIterator() override=default
Iterates over a flood-filled image function with write access to pixels.
typename Superclass::InternalPixelType InternalPixelType
static constexpr unsigned int NDimensions
static constexpr unsigned int NDimensions
ImageType::ConstWeakPointer m_Image
std::queue< IndexType > m_IndexStack
typename Superclass::ImageType ImageType
typename TImage::RegionType RegionType
typename TFunction::InputType FunctionInputType
typename std::vector< IndexType > SeedsContainerType
typename TImage::SizeType SizeType
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....
typename Superclass::FunctionInputType FunctionInputType
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, std::vector< IndexType > &startIndex)
typename Superclass::IndexType IndexType
typename Superclass::SizeType SizeType
typename Superclass::PixelType PixelType
const PixelType Get() const override
void Set(const PixelType &value)
typename Superclass::PixelType PixelType
typename TImage::PixelType PixelType
FloodFilledImageFunctionConditionalIterator(ImageType *imagePtr, FunctionType *fnPtr, IndexType startIndex)