1 #ifndef itkLevelTracingImageFilter_h 2 #define itkLevelTracingImageFilter_h 5 #include "itkImageToImageFilter.h" 6 #include "itkSimpleDataObjectDecorator.h" 7 #include "itkChainCodePath.h" 29 template <
class TInputImage,
class TOutputImage>
35 typedef ImageToImageFilter<TInputImage,TOutputImage>
Superclass;
48 TInputImage::ImageDimension);
55 typedef typename InputImageType::IndexType
IndexType;
56 typedef typename InputImageType::SizeType
SizeType;
66 typedef typename ChainCodePathType::OffsetType
OffsetType;
73 TInputImage::ImageDimension);
75 TOutputImage::ImageDimension);
77 void PrintSelf ( std::ostream& os, Indent indent )
const override;
105 using Superclass::MakeOutput;
110 template<
signed int VDimension>
119 void operator=(
const Self&) =
delete;
146 #ifndef ITK_MANUAL_INSTANTIATION 147 #include "itkLevelTracingImageFilter.txx" void GenerateData() override
itkGetMacro(Seed, IndexType)
To control overloaded versions of ComputeThreshold.
InputImageType::SizeType SizeType
TInputImage InputImageType
InputImageType::ConstPointer InputImageConstPointer
DataObjectPointer MakeOutput(unsigned int output)
LevelTracingImageFilter()
ChainCodePathType::Pointer ChainCodePathPointer
~LevelTracingImageFilter() override=default
SmartPointer< const Self > ConstPointer
void GenerateInputRequestedRegion() override
Override since the filter needs all the data for the algorithm.
ChainCodePath< ImageDimension > ChainCodePathType
Simplified inverse ITK transforms.
ChainCodePathType::OffsetType OffsetType
OutputImageType::PixelType OutputImagePixelType
LevelTracingImageFilter Self
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::Pointer InputImagePointer
Trace a level curve/surface given a seed point on the level curve/surface.
OutputImageType::RegionType OutputImageRegionType
OutputImageType::Pointer OutputImagePointer
void PrintSelf(std::ostream &os, Indent indent) const override
InputImageType::PixelType InputImagePixelType
TOutputImage OutputImageType
InputImageType::IndexType IndexType
virtual void Trace(const Dispatch< 2 > &)
DataObject::Pointer DataObjectPointer
SmartPointer< Self > Pointer
itkTypeMacro(LevelTracingImageFilter, ImageToImageFilter)
ChainCodePathType * GetPathOutput()
Get the output as a ChainCodePath. This output is only generated in the 2D case.
itkStaticConstMacro(ImageDimension, unsigned int, TInputImage::ImageDimension)
itkSetMacro(Seed, IndexType)
Set/Get the seed.
InputImagePixelType GetMinIntensity()
void EnlargeOutputRequestedRegion(DataObject *output) override
Override since the filter produces the entire dataset.
InputImagePixelType GetMaxIntensity()
InputImageType::RegionType InputImageRegionType