ITK
4.9.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.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Attributes | |
OutputImagePixelType | m_BackgroundValue |
OutputImagePixelType | m_ForegroundValue |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
ZeroCrossingImageFilter (const Self &) ITK_DELETE_FUNCTION | |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
typedef SmartPointer< const Self > itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 77 of file itkZeroCrossingImageFilter.h.
typedef TInputImage::PixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::InputImagePixelType |
Define pixel types
Definition at line 80 of file itkZeroCrossingImageFilter.h.
typedef TInputImage itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::InputImageType |
Image typedef support
Definition at line 72 of file itkZeroCrossingImageFilter.h.
typedef TOutputImage::PixelType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::OutputImagePixelType |
Definition at line 81 of file itkZeroCrossingImageFilter.h.
typedef TOutputImage::RegionType itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Typedef to describe the output image region type.
Definition at line 84 of file itkZeroCrossingImageFilter.h.
typedef TOutputImage itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 73 of file itkZeroCrossingImageFilter.h.
typedef SmartPointer< Self > itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::Pointer |
SmartPointer typedef support
Definition at line 76 of file itkZeroCrossingImageFilter.h.
typedef ZeroCrossingImageFilter itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::Self |
Standard "Self" & Superclass typedef.
Definition at line 68 of file itkZeroCrossingImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 69 of file itkZeroCrossingImageFilter.h.
|
inlineprotected |
Definition at line 133 of file itkZeroCrossingImageFilter.h.
References itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::m_BackgroundValue, itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::m_ForegroundValue, itk::NumericTraits< T >::OneValue(), and itk::NumericTraits< T >::ZeroValue().
|
inlineprotected |
Definition at line 139 of file itkZeroCrossingImageFilter.h.
|
private |
|
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.
|
overridevirtual |
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 |
Set/Get the label value for non-zero-crossing pixels.
|
virtual |
Set/Get the label value for zero-crossing pixels.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
|
private |
|
overrideprotectedvirtual |
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 |
Set/Get the label value for non-zero-crossing pixels.
|
virtual |
Set/Get the label value for zero-crossing pixels.
|
overrideprotectedvirtual |
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 > | ) |
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 > )
|
static |
ImageDimension enumeration
Definition at line 94 of file itkZeroCrossingImageFilter.h.
|
protected |
Definition at line 142 of file itkZeroCrossingImageFilter.h.
Referenced by itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ZeroCrossingImageFilter().
|
protected |
Definition at line 143 of file itkZeroCrossingImageFilter.h.
Referenced by itk::ZeroCrossingImageFilter< TInputImage, TOutputImage >::ZeroCrossingImageFilter().
|
static |
ImageDimension enumeration
Definition at line 96 of file itkZeroCrossingImageFilter.h.