18 #ifndef itkIsolatedConnectedImageFilter_h
19 #define itkIsolatedConnectedImageFilter_h
71 template <
typename TInputImage,
typename TOutputImage>
107 PrintSelf(std::ostream & os,
Indent indent)
const override;
164 #if !defined(ITK_LEGACY_REMOVE)
172 this->SetUpper(upperValue);
178 return this->GetUpper();
184 itkSetMacro(IsolatedValueTolerance, InputImagePixelType);
185 itkGetConstReferenceMacro(IsolatedValueTolerance, InputImagePixelType);
191 itkSetMacro(ReplaceValue, OutputImagePixelType);
192 itkGetConstReferenceMacro(ReplaceValue, OutputImagePixelType);
196 itkGetConstReferenceMacro(IsolatedValue, InputImagePixelType);
200 itkSetMacro(FindUpperThreshold,
bool);
201 itkBooleanMacro(FindUpperThreshold);
202 itkGetConstReferenceMacro(FindUpperThreshold,
bool);
207 itkGetConstReferenceMacro(ThresholdingFailed,
bool);
209 #ifdef ITK_USE_CONCEPT_CHECKING
211 itkConceptMacro(InputHasNumericTraitsCheck, (Concept::HasNumericTraits<InputImagePixelType>));
216 IsolatedConnectedImageFilter();
217 ~IsolatedConnectedImageFilter()
override =
default;
229 bool m_FindUpperThreshold{};
230 bool m_ThresholdingFailed{};
234 GenerateInputRequestedRegion()
override;
238 EnlargeOutputRequestedRegion(
DataObject * output)
override;
241 GenerateData()
override;
245 #ifndef ITK_MANUAL_INSTANTIATION
246 # include "itkIsolatedConnectedImageFilter.hxx"