#include <itkThresholdImageFilter.h>
Inheritance diagram for itk::ThresholdImageFilter:
Public Types | |
typedef ThresholdImageFilter | Self |
typedef ImageToImageFilter< TImage, TImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TImage::PixelType | PixelType |
typedef TImage | InputImageType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef TImage | OutputImageType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::PixelType | OutputImagePixelType |
enum | { PixelTypeComparable = 0 } |
Public Methods | |
virtual const char * | GetClassName () const |
virtual void | SetOutsideValue (PixelType _arg) |
virtual PixelType | GetOutsideValue () |
void | ThresholdAbove (const PixelType &thresh) |
void | ThresholdBelow (const PixelType &thresh) |
void | ThresholdOutside (const PixelType &lower, const PixelType &upper) |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
ThresholdImageFilter () | |
~ThresholdImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
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 pixels must support the operators >= and <=.
Definition at line 43 of file itkThresholdImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 50 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 84 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 82 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 83 of file itkThresholdImageFilter.h. |
|
Some additional typedefs. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 81 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageSource< TImage >. Definition at line 90 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageSource< TImage >. Definition at line 88 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 89 of file itkThresholdImageFilter.h. |
|
Some additional typedefs. Reimplemented from itk::ImageSource< TImage >. Definition at line 87 of file itkThresholdImageFilter.h. |
|
Typedef to describe the type of pixel. Definition at line 59 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 49 of file itkThresholdImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 47 of file itkThresholdImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 48 of file itkThresholdImageFilter.h. |
|
The pixel type must support comparison operators. Definition at line 62 of file itkThresholdImageFilter.h. |
|
|
|
Definition at line 94 of file itkThresholdImageFilter.h. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
Get the "outside" pixel value. |
|
Method for creation through the object factory. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
Set the "outside" pixel value. The default value NumericTraits<PixelType>::Zero. |
|
ThresholdImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
Reimplemented from itk::ImageSource< TImage >. |
|
The values greater than or equal to the value are set to OutsideValue. |
|
The values less than or equal to the value are set to OutsideValue. |
|
The values outside the range are set to OutsideValue. |