#include <itkShanbhagThresholdImageFilter.h>
Threshold an image using the Shanbhag Threshold.
This filter creates a binary thresholded image that separates an image into foreground and background components. The filter computes the threshold using the ShanbhagThresholdCalculator and applies that threshold to the input image using the BinaryThresholdImageFilter.
This implementation was taken from the Insight Journal paper: https://doi.org/10.54294/efycla
Definition at line 52 of file itkShanbhagThresholdImageFilter.h.
Inheritance diagram for itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >:
Collaboration diagram for itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >:Static Public Member Functions | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::HistogramThresholdImageFilter< TInputImage, TOutputImage, TOutputImage > | |
| static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| static double | GetGlobalDefaultCoordinateTolerance () |
| static double | GetGlobalDefaultDirectionTolerance () |
| static void | SetGlobalDefaultCoordinateTolerance (double) |
| static void | SetGlobalDefaultDirectionTolerance (double) |
Static Public Member Functions inherited from itk::Object | |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static Pointer | New () |
| static void | SetGlobalWarningDisplay (bool val) |
Static Public Member Functions inherited from itk::LightObject | |
| static void | BreakOnError () |
| static Pointer | New () |
Static Public Attributes | |
| static constexpr unsigned int | InputImageDimension = InputImageType::ImageDimension |
| static constexpr unsigned int | OutputImageDimension = OutputImageType::ImageDimension |
Static Public Attributes inherited from itk::HistogramThresholdImageFilter< TInputImage, TOutputImage, TOutputImage > | |
| static constexpr unsigned int | InputImageDimension |
| static constexpr unsigned int | MaskImageDimension |
| static constexpr unsigned int | OutputImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| static constexpr unsigned int | InputImageDimension = TInputImage::ImageDimension |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
| static constexpr unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
| using | InputToOutputRegionCopierType |
| using | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
| static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
| static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
Static Protected Member Functions inherited from itk::ProcessObject | |
| template<typename TSourceObject> | |
| static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
| static constexpr float | progressFixedToFloat (uint32_t fixed) |
| static uint32_t | progressFloatToFixed (float f) |
Protected Attributes inherited from itk::ImageSource< TOutputImage > | |
| bool | m_DynamicMultiThreading { true } |
Protected Attributes inherited from itk::ProcessObject | |
| TimeStamp | m_OutputInformationMTime {} |
| bool | m_Updating {} |
Protected Attributes inherited from itk::LightObject | |
| std::atomic< int > | m_ReferenceCount {} |
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::CalculatorType = ShanbhagThresholdCalculator<HistogramType, InputPixelType> |
Definition at line 94 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 62 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::InputImagePointer = typename InputImageType::Pointer |
Image related type alias.
Definition at line 80 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::InputImageRegionType = typename InputImageType::RegionType |
Definition at line 85 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::InputImageType = TInputImage |
Definition at line 70 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::InputIndexType = typename InputImageType::IndexType |
Definition at line 84 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::InputPixelType = typename InputImageType::PixelType |
Image pixel value type alias.
Definition at line 75 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::InputSizeType = typename InputImageType::SizeType |
Definition at line 83 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskImageRegionType = typename MaskImageType::RegionType |
Definition at line 91 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskImageType = TMaskImage |
Definition at line 72 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskIndexType = typename MaskImageType::IndexType |
Definition at line 90 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskPixelType = typename MaskImageType::PixelType |
Definition at line 77 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::MaskSizeType = typename MaskImageType::SizeType |
Definition at line 89 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputImagePointer = typename OutputImageType::Pointer |
Definition at line 81 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 88 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputImageType = TOutputImage |
Definition at line 71 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputIndexType = typename OutputImageType::IndexType |
Definition at line 87 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputPixelType = typename OutputImageType::PixelType |
Definition at line 76 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::OutputSizeType = typename OutputImageType::SizeType |
Definition at line 86 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::Pointer = SmartPointer<Self> |
Definition at line 61 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::Self = ShanbhagThresholdImageFilter |
Standard Self type alias
Definition at line 59 of file itkShanbhagThresholdImageFilter.h.
| using itk::ShanbhagThresholdImageFilter< TInputImage, TOutputImage, TMaskImage >::Superclass = HistogramThresholdImageFilter<TInputImage, TOutputImage, TMaskImage> |
Definition at line 60 of file itkShanbhagThresholdImageFilter.h.
|
inlineprotected |
Definition at line 101 of file itkShanbhagThresholdImageFilter.h.
References itk::ShanbhagThresholdCalculator< HistogramType, InputPixelType >::New(), and itk::HistogramThresholdImageFilter< TInputImage, TOutputImage, TOutputImage >::SetCalculator().
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::HistogramThresholdImageFilter< TInputImage, TOutputImage, TOutputImage >.
|
virtual |
Reimplemented from itk::HistogramThresholdImageFilter< TInputImage, TOutputImage, TOutputImage >.
References ShanbhagThresholdImageFilter().
|
static |
Method for creation through the object factory.
|
staticconstexpr |
Image related type alias.
Definition at line 97 of file itkShanbhagThresholdImageFilter.h.
|
staticconstexpr |
Definition at line 98 of file itkShanbhagThresholdImageFilter.h.