18 #ifndef itkIsoContourDistanceImageFilter_h
19 #define itkIsoContourDistanceImageFilter_h
57 template<
typename TInputImage,
typename TOutputImage >
82 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
83 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
87 using PixelType =
typename OutputImageType::PixelType;
123 itkSetMacro(NarrowBanding,
bool);
124 itkGetConstMacro(NarrowBanding,
bool);
125 itkBooleanMacro(NarrowBanding);
132 {
return m_NarrowBand; }
134 #ifdef ITK_USE_CONCEPT_CHECKING
158 void PrintSelf(std::ostream & os,
Indent indent)
const override;
160 void ThreadedGenerateData(
const OutputImageRegionType & outputRegionForThread,
165 itkExceptionMacro(
"This class requires threadId so it must use classic multi-threading model");
168 void GenerateData()
override;
172 void ThreadedGenerateDataFull(
const OutputImageRegionType & outputRegionForThread,
175 void ThreadedGenerateDataBand(
const OutputImageRegionType & outputRegionForThread,
178 void BeforeThreadedGenerateData()
override;
180 void GenerateInputRequestedRegion()
override;
182 void EnlargeOutputRequestedRegion(
DataObject *)
override;
190 const std::vector< OffsetValueType >& stride );
206 #ifndef ITK_MANUAL_INSTANTIATION
207 #include "itkIsoContourDistanceImageFilter.hxx"
typename NarrowBandType::ConstIterator ConstBandIterator
typename NumericTraits< InputPixelType >::RealType PixelRealType
typename NarrowBandType::RegionType RegionType
Define numeric traits for std::vector.
typename OutputImageType::IndexType IndexType
Compute an approximate distance from an interpolated isocontour to the close grid points...
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
itk::ITK_THREAD_RETURN_TYPE ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION
Base class for all process objects that output image data.
typename InputImageType::PixelType InputPixelType
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
typename NodeContainerType::const_iterator ConstIterator
TInputImage InputImageType
NarrowBandPointer m_NarrowBand
typename NarrowBandType::Iterator BandIterator
InputSpacingType m_Spacing
std::vector< RegionType > m_NarrowBandRegion
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
TOutputImage OutputImageType
typename OutputImageType::SizeType SizeType
PixelRealType m_LevelSetValue
unsigned int ThreadIdType
typename InputImageType::SizeType InputSizeType
typename InputImageType::IndexType InputIndexType
typename OutputImageType::PixelType PixelType
typename InputImageType::SpacingType InputSpacingType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
NarrowBandPointer GetNarrowBand() const
void DynamicThreadedGenerateData(const OutputImageRegionType &) override
Base class for all data objects in ITK.
Defines iteration of a local N-dimensional neighborhood of pixels across an itk::Image.
typename NodeContainerType::iterator Iterator
typename NarrowBandType::Pointer NarrowBandPointer