ITK
5.2.0
Insight Toolkit
|
#include <itkThresholdImageFilter.h>
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | PixelType = typename TImage::PixelType |
using | Pointer = SmartPointer< Self > |
using | Self = ThresholdImageFilter |
using | Superclass = InPlaceImageFilter< TImage, TImage > |
Public Types inherited from itk::InPlaceImageFilter< TImage, TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImagePointer = typename Superclass::OutputImagePointer |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = SmartPointer< Self > |
using | Self = InPlaceImageFilter |
using | Superclass = ImageToImageFilter< TImage, TImage > |
Public Types inherited from itk::ImageToImageFilter< TImage, TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | InputImageConstPointer = typename InputImageType::ConstPointer |
using | InputImagePixelType = typename InputImageType::PixelType |
using | InputImagePointer = typename InputImageType::Pointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImageType = TImage |
using | OutputImagePixelType = typename Superclass::OutputImagePixelType |
using | OutputImageRegionType = typename Superclass::OutputImageRegionType |
using | Pointer = SmartPointer< Self > |
using | Self = ImageToImageFilter |
using | Superclass = ImageSource< TImage > |
Public Types inherited from itk::ImageSource< TImage > | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = Superclass::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = TImage |
using | Pointer = SmartPointer< Self > |
using | Self = ImageSource |
using | Superclass = ProcessObject |
Public Types inherited from itk::ProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | DataObjectIdentifierType = DataObject::DataObjectIdentifierType |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArray = std::vector< DataObjectPointer > |
using | DataObjectPointerArraySizeType = DataObjectPointerArray::size_type |
using | MultiThreaderType = MultiThreaderBase |
using | NameArray = std::vector< DataObjectIdentifierType > |
using | Pointer = SmartPointer< Self > |
using | Self = ProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::ImageToImageFilter< TImage, TImage > | |
static void | SetGlobalDefaultDirectionTolerance (double) |
static double | GetGlobalDefaultDirectionTolerance () |
static void | SetGlobalDefaultCoordinateTolerance (double) |
static double | GetGlobalDefaultCoordinateTolerance () |
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 () |
using | InputImageType = TImage |
using | InputImagePointer = typename InputImageType::ConstPointer |
using | InputImageRegionType = typename InputImageType::RegionType |
using | InputImagePixelType = typename InputImageType::PixelType |
using | OutputImageType = TImage |
using | OutputImagePointer = typename OutputImageType::Pointer |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImagePixelType = typename OutputImageType::PixelType |
PixelType | m_OutsideValue |
PixelType | m_Lower |
PixelType | m_Upper |
virtual void | SetOutsideValue (PixelType _arg) |
virtual PixelType | GetOutsideValue () const |
void | ThresholdAbove (const PixelType &thresh) |
void | ThresholdBelow (const PixelType &thresh) |
void | ThresholdOutside (const PixelType &lower, const PixelType &upper) |
virtual void | SetLower (PixelType _arg) |
virtual PixelType | GetLower () const |
virtual void | SetUpper (PixelType _arg) |
virtual PixelType | GetUpper () const |
ThresholdImageFilter () | |
~ThresholdImageFilter () override=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread) override |
Set image values to a user-specified value if they are below, above, or between simple threshold values.
ThresholdImageFilter sets image values to a user-specified "outside" value (by default, "black") if the image values are below, above, or between simple threshold values.
The available methods are:
ThresholdAbove(): The values greater than the threshold value are set to OutsideValue
ThresholdBelow(): The values less than the threshold value are set to OutsideValue
ThresholdOutside(): The values outside the threshold range (less than lower or greater than upper) are set to OutsideValue
Note that these definitions indicate that pixels equal to the threshold value are not set to OutsideValue in any of these methods
The pixels must support the operators >= and <=.
Definition at line 71 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 80 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::InputImagePixelType = typename InputImageType::PixelType |
Additional type alias for the input image.
Definition at line 133 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::InputImagePointer = typename InputImageType::ConstPointer |
Additional type alias for the input image.
Definition at line 131 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::InputImageRegionType = typename InputImageType::RegionType |
Additional type alias for the input image.
Definition at line 132 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::InputImageType = TImage |
Additional type alias for the input image.
Definition at line 130 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::OutputImagePixelType = typename OutputImageType::PixelType |
Additional type alias for the input image.
Definition at line 139 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::OutputImagePointer = typename OutputImageType::Pointer |
Additional type alias for the input image.
Definition at line 137 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::OutputImageRegionType = typename OutputImageType::RegionType |
Additional type alias for the input image.
Definition at line 138 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::OutputImageType = TImage |
Additional type alias for the output image.
Definition at line 136 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::PixelType = typename TImage::PixelType |
Typedef to describe the type of pixel.
Definition at line 89 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::Pointer = SmartPointer<Self> |
Definition at line 79 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::Self = ThresholdImageFilter |
Standard class type aliases.
Definition at line 77 of file itkThresholdImageFilter.h.
using itk::ThresholdImageFilter< TImage >::Superclass = InPlaceImageFilter<TImage, TImage> |
Definition at line 78 of file itkThresholdImageFilter.h.
|
protected |
Additional type alias for the input image.
|
overrideprotecteddefault |
Additional type alias for the input image.
|
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::Object.
|
overrideprotectedvirtual |
ThresholdImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a DynamicThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling DynamicThreadedGenerateData(). DynamicThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread".
Reimplemented from itk::ImageSource< TImage >.
|
virtual |
Additional type alias for the input image.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::InPlaceImageFilter< TImage, TImage >.
|
virtual |
Get the "outside" pixel value.
|
virtual |
Additional type alias for the input image.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
Additional type alias for the input image.
Reimplemented from itk::ProcessObject.
|
virtual |
Set/Get methods to set the lower threshold.
|
virtual |
The pixel type must support comparison operators. Set the "outside" pixel value. The default value NumericTraits<PixelType>::ZeroValue().
|
virtual |
Set/Get methods to set the upper threshold.
void itk::ThresholdImageFilter< TImage >::ThresholdAbove | ( | const PixelType & | thresh | ) |
The values greater than or equal to the value are set to OutsideValue.
void itk::ThresholdImageFilter< TImage >::ThresholdBelow | ( | const PixelType & | thresh | ) |
The values less than or equal to the value are set to OutsideValue.
void itk::ThresholdImageFilter< TImage >::ThresholdOutside | ( | const PixelType & | lower, |
const PixelType & | upper | ||
) |
The values outside the range are set to OutsideValue.
|
private |
Additional type alias for the input image.
Definition at line 162 of file itkThresholdImageFilter.h.
|
private |
Additional type alias for the input image.
Definition at line 161 of file itkThresholdImageFilter.h.
|
private |
Additional type alias for the input image.
Definition at line 163 of file itkThresholdImageFilter.h.