18 #ifndef itkIsolatedConnectedImageFilter_h
19 #define itkIsolatedConnectedImageFilter_h
70 template<
typename TInputImage,
typename TOutputImage >
107 void PrintSelf(std::ostream & os,
Indent indent)
const override;
152 #if ! defined ( ITK_LEGACY_REMOVE )
159 this->SetUpper(upperValue);
162 InputImagePixelType GetUpperValueLimit()
164 return this->GetUpper();
170 itkSetMacro(IsolatedValueTolerance, InputImagePixelType);
171 itkGetConstReferenceMacro(IsolatedValueTolerance, InputImagePixelType);
177 itkSetMacro(ReplaceValue, OutputImagePixelType);
178 itkGetConstReferenceMacro(ReplaceValue, OutputImagePixelType);
182 itkGetConstReferenceMacro(IsolatedValue, InputImagePixelType);
186 itkSetMacro(FindUpperThreshold,
bool);
187 itkBooleanMacro(FindUpperThreshold);
188 itkGetConstReferenceMacro(FindUpperThreshold,
bool);
193 itkGetConstReferenceMacro(ThresholdingFailed,
bool);
195 #ifdef ITK_USE_CONCEPT_CHECKING
198 ( Concept::HasNumericTraits< InputImagePixelType > ) );
203 IsolatedConnectedImageFilter();
204 ~IsolatedConnectedImageFilter()
override =
default;
220 void GenerateInputRequestedRegion()
override;
223 void EnlargeOutputRequestedRegion(
DataObject *output)
override;
225 void GenerateData()
override;
229 #ifndef ITK_MANUAL_INSTANTIATION
230 #include "itkIsolatedConnectedImageFilter.hxx"
InputImagePixelType m_Lower
typename OutputImageType::Pointer OutputImagePointer
Define numeric traits for std::vector.
InputImagePixelType m_IsolatedValue
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
SeedsContainerType m_Seeds2
bool m_FindUpperThreshold
typename InputImageType::SizeType SizeType
Base class for all process objects that output image data.
TInputImage InputImageType
typename OutputImageType::PixelType OutputImagePixelType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::Pointer InputImagePointer
ImageBaseType::SizeType SizeType
typename OutputImageType::RegionType OutputImageRegionType
ImageBaseType::IndexType IndexType
SeedsContainerType m_Seeds1
typename InputImageType::IndexType IndexType
TOutputImage OutputImageType
typename NumericTraits< InputImagePixelType >::RealType InputRealType
InputImagePixelType m_IsolatedValueTolerance
typename InputImageType::RegionType InputImageRegionType
Base class for filters that take an image as input and produce an image as output.
OutputImagePixelType m_ReplaceValue
Control indentation during Print() invocation.
Label pixels that are connected to one set of seeds but not another.
ImageBaseType::RegionType RegionType
#define itkConceptMacro(name, concept)
typename InputImageType::ConstPointer InputImageConstPointer
bool m_ThresholdingFailed
Base class for all data objects in ITK.
std::vector< IndexType > SeedsContainerType
InputImagePixelType m_Upper