#include <itkTwoOutputExampleImageFilter.h>
Inheritance diagram for itk::TwoOutputExampleImageFilter:
Public Types | |
typedef TwoOutputExampleImageFilter | Self |
typedef ImageToImageFilter< TImage, TImage > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TImage::PixelType | PixelType |
typedef Superclass::InputImageConstPointer | InputImageConstPointer |
typedef TImage | OutputImageType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::PixelType | OutputImagePixelType |
Public Methods | |
virtual const char * | GetClassName () const |
virtual void | SetOutsideValue (PixelType _arg) |
virtual PixelType | GetOutsideValue () |
void | ThresholdAbove (PixelType &thresh) |
void | ThresholdBelow (PixelType &thresh) |
void | ThresholdOutside (PixelType &lower, PixelType &upper) |
OutputImagePointer | GetInverseOutput () |
void | SetInverseOutput (OutputImageType *output) |
Static Public Methods | |
Pointer | New () |
Protected Methods | |
TwoOutputExampleImageFilter () | |
~TwoOutputExampleImageFilter () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, int threadId) |
TwoOutputExampleImageFilter 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 filter can produce two outputs, one the inverse of the other. (GetOutput() returns an image whose pixels satisfy the threshold values and are passed to the output unchanged (and those that don't are marked with the outside user-value); GetInverseOutput() returns an image in which pixels satisfying the threshold are marked "outside", and the other pixel values are passed through.)
The pixels must support the operators >= and <=.
Definition at line 43 of file itkTwoOutputExampleImageFilter.h.
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 50 of file itkTwoOutputExampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 77 of file itkTwoOutputExampleImageFilter.h. |
|
Reimplemented from itk::ImageSource< TImage >. Definition at line 83 of file itkTwoOutputExampleImageFilter.h. |
|
Reimplemented from itk::ImageSource< TImage >. Definition at line 81 of file itkTwoOutputExampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 82 of file itkTwoOutputExampleImageFilter.h. |
|
Some typedefs to handle the second output. Reimplemented from itk::ImageSource< TImage >. Definition at line 80 of file itkTwoOutputExampleImageFilter.h. |
|
Typedef to describe the type of pixel. Definition at line 56 of file itkTwoOutputExampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 49 of file itkTwoOutputExampleImageFilter.h. |
|
Standard class typedefs. Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 47 of file itkTwoOutputExampleImageFilter.h. |
|
Reimplemented from itk::ImageToImageFilter< TImage, TImage >. Definition at line 48 of file itkTwoOutputExampleImageFilter.h. |
|
|
|
Definition at line 94 of file itkTwoOutputExampleImageFilter.h. |
|
Run-time type information (and related methods). Reimplemented from itk::ImageToImageFilter< TImage, TImage >. |
|
Get the image output of this process object. |
|
Get the "outside" pixel value. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
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 image output of this process object. Definition at line 89 of file itkTwoOutputExampleImageFilter.h. References HardConnectedComponentImageFilter::OutputImageType. |
|
Set the "outside" pixel value. The default value NumericTraits<PixelType>::Zero. |
|
TwoOutputExampleImageFilter 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. |