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 ITK_OVERRIDE;
110 template<
signed int VDimension>
119 void operator=(
const Self&);
146 #ifndef ITK_MANUAL_INSTANTIATION 147 #include "itkLevelTracingImageFilter.txx" 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
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
SmartPointer< const Self > ConstPointer
ChainCodePath< ImageDimension > ChainCodePathType
Simplified inverse ITK transforms.
ChainCodePathType::OffsetType OffsetType
OutputImageType::PixelType OutputImagePixelType
LevelTracingImageFilter Self
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImageType::Pointer InputImagePointer
void GenerateData() ITK_OVERRIDE
Trace a level curve/surface given a seed point on the level curve/surface.
OutputImageType::RegionType OutputImageRegionType
OutputImageType::Pointer OutputImagePointer
InputImageType::PixelType InputImagePixelType
TOutputImage OutputImageType
InputImageType::IndexType IndexType
virtual void Trace(const Dispatch< 2 > &)
void GenerateInputRequestedRegion() ITK_OVERRIDE
Override since the filter needs all the data for the algorithm.
~LevelTracingImageFilter()
DataObject::Pointer DataObjectPointer
void EnlargeOutputRequestedRegion(DataObject *output) ITK_OVERRIDE
Override since the filter produces the entire dataset.
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()
InputImagePixelType GetMaxIntensity()
InputImageType::RegionType InputImageRegionType