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;
112 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE )
126 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE )
153 #if ! defined ( ITK_FUTURE_LEGACY_REMOVE )
160 this->SetUpper(upperValue);
165 return this->GetUpper();
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
221 void GenerateInputRequestedRegion() ITK_OVERRIDE;
224 void EnlargeOutputRequestedRegion(
DataObject *output) ITK_OVERRIDE;
226 void GenerateData() ITK_OVERRIDE;
233 #ifndef ITK_MANUAL_INSTANTIATION
234 #include "itkIsolatedConnectedImageFilter.hxx"
virtual void PrintSelf(std::ostream &os, Indent indent) const override
InputImagePixelType m_Lower
InputImagePixelType GetUpperValueLimit()
InputImageType::RegionType InputImageRegionType
InputImagePixelType m_IsolatedValue
SeedsContainerType m_Seeds2
bool m_FindUpperThreshold
SmartPointer< const Self > ConstPointer
InputImageType::PixelType InputImagePixelType
TOutputImage OutputImageType
Base class for all process objects that output image data.
OutputImageType::PixelType OutputImagePixelType
void SetUpperValueLimit(InputImagePixelType upperValue)
IsolatedConnectedImageFilter Self
InputImageType::Pointer InputImagePointer
SmartPointer< Self > Pointer
SmartPointer< Self > Pointer
TInputImage InputImageType
InputImageType::ConstPointer InputImageConstPointer
std::vector< IndexType > SeedsContainerType
SeedsContainerType m_Seeds1
SmartPointer< const Self > ConstPointer
OutputImageType::PixelType OutputImagePixelType
Base class for all data objects in ITK.
InputImageType::IndexType IndexType
InputImagePixelType m_IsolatedValueTolerance
InputImageType::PixelType InputImagePixelType
~IsolatedConnectedImageFilter()
Base class for filters that take an image as input and produce an image as output.
OutputImagePixelType m_ReplaceValue
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
OutputImageType::Pointer OutputImagePointer
ImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImagePixelType m_Upper