18 #ifndef itkIsolatedConnectedImageFilter_h 19 #define itkIsolatedConnectedImageFilter_h 70 template<
typename TInputImage,
typename TOutputImage >
92 typedef typename InputImageType::IndexType
IndexType;
93 typedef typename InputImageType::SizeType
SizeType;
110 void AddSeed1(
const IndexType & seed);
112 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE ) 117 void SetSeed1(
const IndexType & seed);
124 void AddSeed2(
const IndexType & seed);
126 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE ) 130 void SetSeed2(
const IndexType & seed);
137 virtual const SeedsContainerType &
GetSeeds1()
const;
138 virtual const SeedsContainerType &
GetSeeds2()
const;
143 itkSetMacro(Lower, InputImagePixelType);
144 itkGetConstReferenceMacro(Lower, InputImagePixelType);
149 itkSetMacro(Upper, InputImagePixelType);
150 itkGetConstReferenceMacro(Upper, InputImagePixelType);
153 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE ) 171 itkSetMacro(IsolatedValueTolerance, InputImagePixelType);
172 itkGetConstReferenceMacro(IsolatedValueTolerance, InputImagePixelType);
178 itkSetMacro(ReplaceValue, OutputImagePixelType);
179 itkGetConstReferenceMacro(ReplaceValue, OutputImagePixelType);
183 itkGetConstReferenceMacro(IsolatedValue, InputImagePixelType);
187 itkSetMacro(FindUpperThreshold,
bool);
188 itkBooleanMacro(FindUpperThreshold);
189 itkGetConstReferenceMacro(FindUpperThreshold,
bool);
194 itkGetConstReferenceMacro(ThresholdingFailed,
bool);
196 #ifdef ITK_USE_CONCEPT_CHECKING 230 void operator=(const Self &) ITK_DELETE_FUNCTION;
234 #ifndef ITK_MANUAL_INSTANTIATION 235 #include "itkIsolatedConnectedImageFilter.hxx" void AddSeed2(const IndexType &seed)
InputImagePixelType m_Lower
InputImagePixelType GetUpperValueLimit()
IsolatedConnectedImageFilter()
virtual const SeedsContainerType & GetSeeds2() const
InputImageType::RegionType InputImageRegionType
void SetSeed2(const IndexType &seed)
InputImagePixelType m_IsolatedValue
virtual const InputImagePixelType & GetUpper() const
virtual void SetUpper(InputImagePixelType _arg)
void EnlargeOutputRequestedRegion(DataObject *output) override
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
void AddSeed1(const IndexType &seed)
SeedsContainerType m_Seeds2
bool m_FindUpperThreshold
SmartPointer< const Self > ConstPointer
InputImageType::PixelType InputImagePixelType
TOutputImage OutputImageType
OutputImageType::PixelType OutputImagePixelType
void SetUpperValueLimit(InputImagePixelType upperValue)
IsolatedConnectedImageFilter Self
InputImageType::Pointer InputImagePointer
SmartPointer< Self > Pointer
TInputImage InputImageType
InputImageType::ConstPointer InputImageConstPointer
std::vector< IndexType > SeedsContainerType
void GenerateInputRequestedRegion() override
SeedsContainerType m_Seeds1
virtual const SeedsContainerType & GetSeeds1() const
InputImageType::IndexType IndexType
InputImagePixelType m_IsolatedValueTolerance
void GenerateData() override
void PrintSelf(std::ostream &os, Indent indent) const override
~IsolatedConnectedImageFilter()
Base class for filters that take an image as input and produce an image as output.
OutputImagePixelType m_ReplaceValue
void SetSeed1(const IndexType &seed)
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
Label pixels that are connected to one set of seeds but not another.
OutputImageType::RegionType OutputImageRegionType
InputImageType::SizeType SizeType
#define itkConceptMacro(name, concept)
NumericTraits< InputImagePixelType >::RealType InputRealType
bool m_ThresholdingFailed
Base class for all data objects in ITK.
OutputImageType::Pointer OutputImagePointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImagePixelType m_Upper