ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkZeroCrossingImageFilter.h>
This filter finds the closest pixel to the zero-crossings (sign changes) in a signed itk::Image.
Pixels closest to zero-crossings are labeled with a foreground value. All other pixels are marked with a background value. The algorithm works by detecting differences in sign among neighbors using city-block style connectivity (4-neighbors in 2d, 6-neighbors in 3d, etc.).
Definition at line 63 of file itkZeroCrossingImageFilter.h.
typedef SmartPointer< const Self > itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 77 of file itkZeroCrossingImageFilter.h.
typedef TInputImage::PixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Define pixel types
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 80 of file itkZeroCrossingImageFilter.h.
typedef TInputImage itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::InputImageType |
Image typedef support
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkZeroCrossingImageFilter.h.
typedef TOutputImage::PixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 81 of file itkZeroCrossingImageFilter.h.
typedef TOutputImage::RegionType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Typedef to describe the output image region type.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 84 of file itkZeroCrossingImageFilter.h.
typedef TOutputImage itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 73 of file itkZeroCrossingImageFilter.h.
typedef SmartPointer< Self > itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::Pointer |
SmartPointer typedef support
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 76 of file itkZeroCrossingImageFilter.h.
typedef ZeroCrossingImageFilter itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::Self |
Standard "Self" & Superclass typedef.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 68 of file itkZeroCrossingImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 69 of file itkZeroCrossingImageFilter.h.
itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ZeroCrossingImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 134 of file itkZeroCrossingImageFilter.h.
itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::~ZeroCrossingImageFilter | ( | ) | [inline, protected] |
Definition at line 140 of file itkZeroCrossingImageFilter.h.
itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ZeroCrossingImageFilter | ( | const Self & | ) | [private] |
ZeroCrossingImageFilter 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"
virtual::itk::LightObject::Pointer itk::ZeroCrossingImageFilter< 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::Object.
virtual void itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::GenerateInputRequestedRegion | ( | ) | throw ( InvalidRequestedRegionError ) [virtual] |
ZeroCrossingImageFilter needs a larger input requested region than the output requested region (larger by the kernel size to do comparisons between the central pixel and ite neighbors). Thus ZeroCrossingImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
virtual OutputImagePixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::GetBackgroundValue | ( | ) | const [virtual] |
Set/Get the label value for non-zero-crossing pixels.
virtual OutputImagePixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::GetForegroundValue | ( | ) | const [virtual] |
Set/Get the label value for zero-crossing pixels.
virtual const char* itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
static Pointer itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::Object.
void itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::operator= | ( | const Self & | ) | [private] |
ZeroCrossingImageFilter 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::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
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< TInputImage, TOutputImage >.
virtual void itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::SetBackgroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
Set/Get the label value for non-zero-crossing pixels.
virtual void itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::SetForegroundValue | ( | OutputImagePixelType | _arg | ) | [virtual] |
Set/Get the label value for zero-crossing pixels.
void itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ThreadedGenerateData | ( | const OutputImageRegionType & | outputRegionForThread, |
ThreadIdType | threadId | ||
) | [protected, virtual] |
ZeroCrossingImageFilter 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< TOutputImage >.
itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::EqualityComparable< OutputImagePixelType > | ) |
Begin concept checking This class requires OutputEqualityComparableCheck in the form of ( Concept::EqualityComparable< OutputImagePixelType > )
itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::SameDimension< ImageDimension, OutputImageDimension > | ) |
This class requires SameDimensionCheck in the form of ( Concept::SameDimension< ImageDimension, OutputImageDimension > )
itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::Comparable< InputImagePixelType > | ) |
This class requires InputComparableCheck in the form of ( Concept::Comparable< InputImagePixelType > )
itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::OStreamWritable< OutputImagePixelType > | ) |
This class requires OutputOStreamWritableCheck in the form of ( Concept::OStreamWritable< OutputImagePixelType > )
const unsigned int itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension [static] |
ImageDimension enumeration
Definition at line 94 of file itkZeroCrossingImageFilter.h.
OutputImagePixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::m_BackgroundValue [protected] |
Definition at line 143 of file itkZeroCrossingImageFilter.h.
OutputImagePixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::m_ForegroundValue [protected] |
Definition at line 144 of file itkZeroCrossingImageFilter.h.
const unsigned int itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension [static] |
ImageDimension enumeration
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 96 of file itkZeroCrossingImageFilter.h.