ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkBinaryThresholdImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Private Member Functions | |
BinaryThresholdImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
OutputPixelType | m_InsideValue |
OutputPixelType | m_OutsideValue |
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 > >.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
Definition at line 139 of file itkBinaryThresholdImageFilter.h.
typedef SimpleDataObjectDecorator< InputPixelType > itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::InputPixelObjectType |
Type of DataObjects to use for scalar inputs
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >.
Definition at line 152 of file itkBinaryThresholdImageFilter.h.
typedef TInputImage::PixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::InputPixelType |
Pixel types.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >.
Definition at line 145 of file itkBinaryThresholdImageFilter.h.
typedef TOutputImage::PixelType itk::BinaryThresholdImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >.
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 > >.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
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 > >.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
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 > >.
Reimplemented in itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
Definition at line 137 of file itkBinaryThresholdImageFilter.h.
|
protected |
End concept checking
|
inlineprotectedvirtual |
End concept checking
Definition at line 208 of file itkBinaryThresholdImageFilter.h.
|
private |
|
protectedvirtual |
This method is used to set the state of the filter before multi-threading.
Reimplemented from itk::ImageSource< TOutputImage >.
|
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 > >.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
|
virtual |
Get the "inside" pixel value.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
|
virtual |
Get the "outside" pixel value.
|
virtual |
Get the threshold values.
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
Reimplemented from itk::UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::BinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
|
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 > >.
Reimplemented in itk::GPUBinaryThresholdImageFilter< TInputImage, TOutputImage >, itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUUnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::GPUBinaryThreshold< TInputImage::PixelType, TOutputImage::PixelType >, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
|
protectedvirtual |
End concept checking
Reimplemented from itk::InPlaceImageFilter< TInputImage, TOutputImage >.
Reimplemented in itk::GPUImageToImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >, and itk::GPUInPlaceImageFilter< TInputImage, TOutputImage, BinaryThresholdImageFilter< TInputImage, TOutputImage > >.
|
virtual |
Set the "inside" pixel value. The default value NumericTraits<OutputPixelType>::max()
|
virtual |
|
virtual |
|
virtual |
Set the "outside" pixel value. The default value NumericTraits<OutputPixelType>::Zero.
|
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 |
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 > )
|
private |
Definition at line 220 of file itkBinaryThresholdImageFilter.h.
|
private |
Definition at line 221 of file itkBinaryThresholdImageFilter.h.