ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryThresholdImageFilter.h>
Binarize an input image by thresholding.
This filter produces an output image whose pixels are either one of two values ( OutsideValue or InsideValue ), depending on whether the corresponding input image pixels lie between the two thresholds ( LowerThreshold and UpperThreshold ). Values equal to either threshold is considered to be between the thresholds.
More precisely
This filter is templated over the input image type and the output image type.
The filter expect both images to have the same number of dimensions.
The default values for LowerThreshold and UpperThreshold are: LowerThreshold = NumericTraits<TInput>::NonpositiveMin(); UpperThreshold = NumericTraits<TInput>::max(); Therefore, generally only one of these needs to be set, depending on whether the user wants to threshold above or below the desired threshold.
Definition at line 123 of file itkBinaryThresholdImageFilter.h.
typedef SmartPointer< const Self > itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 139 of file itkBinaryThresholdImageFilter.h.
typedef SimpleDataObjectDecorator< InputPixelType > itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::InputPixelObjectType |
Type of DataObjects to use for scalar inputs
Definition at line 152 of file itkBinaryThresholdImageFilter.h.
typedef TInputImage::PixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::InputPixelType |
Pixel types.
Definition at line 145 of file itkBinaryThresholdImageFilter.h.
typedef TOutputImage::PixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Definition at line 149 of file itkBinaryThresholdImageFilter.h.
typedef SmartPointer< Self > itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::Pointer |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 138 of file itkBinaryThresholdImageFilter.h.
typedef BinaryThresholdImageFilter itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 132 of file itkBinaryThresholdImageFilter.h.
typedef UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< typename TInputImage::PixelType, typename TOutputImage::PixelType > > itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
Definition at line 137 of file itkBinaryThresholdImageFilter.h.
itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::BinaryThresholdImageFilter | ( | ) | [protected] |
End concept checking
virtual itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::~BinaryThresholdImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 208 of file itkBinaryThresholdImageFilter.h.
itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::BinaryThresholdImageFilter | ( | const Self & | ) | [private] |
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData | ( | ) | [protected, virtual] |
This method is used to set the state of the filter before multi-threading.
Reimplemented from itk::ImageSource< TOutputImage >.
virtual::itk::LightObject::Pointer itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const [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::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
virtual const OutputPixelType& itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetInsideValue | ( | ) | [virtual] |
Get the "inside" pixel value.
virtual InputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetLowerThreshold | ( | ) | const [virtual] |
virtual InputPixelObjectType* itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetLowerThresholdInput | ( | ) | [virtual] |
virtual const InputPixelObjectType* itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetLowerThresholdInput | ( | ) | const [virtual] |
virtual const char* itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
virtual const OutputPixelType& itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetOutsideValue | ( | ) | [virtual] |
Get the "outside" pixel value.
virtual InputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetUpperThreshold | ( | ) | const [virtual] |
Get the threshold values.
virtual InputPixelObjectType* itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetUpperThresholdInput | ( | ) | [virtual] |
virtual const InputPixelObjectType* itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::GetUpperThresholdInput | ( | ) | const [virtual] |
static Pointer itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [private] |
PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
End concept checking
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetInsideValue | ( | OutputPixelType | _arg | ) | [virtual] |
Set the "inside" pixel value. The default value NumericTraits<OutputPixelType>::max()
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetLowerThreshold | ( | const InputPixelType | threshold | ) | [virtual] |
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetLowerThresholdInput | ( | const InputPixelObjectType * | ) | [virtual] |
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetOutsideValue | ( | OutputPixelType | _arg | ) | [virtual] |
Set the "outside" pixel value. The default value NumericTraits<OutputPixelType>::Zero.
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetUpperThreshold | ( | const InputPixelType | threshold | ) | [virtual] |
Set the thresholds. The default lower threshold is NumericTraits<InputPixelType>::NonpositiveMin(). The default upper threshold is NumericTraits<InputPixelType>::max. An execption is thrown if the lower threshold is greater than the upper threshold.
virtual void itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::SetUpperThresholdInput | ( | const InputPixelObjectType * | ) | [virtual] |
itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< OutputPixelType > | ) |
Begin concept checking This class requires OutputEqualityComparableCheck in the form of ( Concept::EqualityComparable< OutputPixelType > )
itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Comparable< InputPixelType > | ) |
This class requires InputPixelTypeComparable in the form of ( Concept::Comparable< InputPixelType > )
itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< InputPixelType > | ) |
This class requires InputOStreamWritableCheck in the form of ( Concept::OStreamWritable< InputPixelType > )
itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< OutputPixelType > | ) |
This class requires OutputOStreamWritableCheck in the form of ( Concept::OStreamWritable< OutputPixelType > )
OutputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::m_InsideValue [private] |
Definition at line 220 of file itkBinaryThresholdImageFilter.h.
OutputPixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::m_OutsideValue [private] |
Definition at line 221 of file itkBinaryThresholdImageFilter.h.