ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkGradientMagnitudeImageFilter.h>
Computes the gradient magnitude of an image region at each pixel.
Definition at line 41 of file itkGradientMagnitudeImageFilter.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 = 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 |
Private Member Functions | |
GradientMagnitudeImageFilter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
bool | m_UseImageSpacing |
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) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 49 of file itkGradientMagnitudeImageFilter.h.
typedef InputImageType::Pointer itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::InputImagePointer |
Definition at line 71 of file itkGradientMagnitudeImageFilter.h.
typedef TInputImage itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::InputImageType |
Image typedef support
Definition at line 69 of file itkGradientMagnitudeImageFilter.h.
typedef TInputImage::PixelType itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::InputPixelType |
Definition at line 60 of file itkGradientMagnitudeImageFilter.h.
typedef OutputImageType::Pointer itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::OutputImagePointer |
Definition at line 72 of file itkGradientMagnitudeImageFilter.h.
typedef Superclass::OutputImageRegionType itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Definition at line 75 of file itkGradientMagnitudeImageFilter.h.
typedef TOutputImage itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 70 of file itkGradientMagnitudeImageFilter.h.
typedef TOutputImage::PixelType itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::OutputPixelType |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 55 of file itkGradientMagnitudeImageFilter.h.
typedef SmartPointer< Self > itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 48 of file itkGradientMagnitudeImageFilter.h.
typedef NumericTraits< InputPixelType >::RealType itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::RealType |
Definition at line 61 of file itkGradientMagnitudeImageFilter.h.
typedef GradientMagnitudeImageFilter itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 46 of file itkGradientMagnitudeImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 47 of file itkGradientMagnitudeImageFilter.h.
|
inlineprotected |
Definition at line 111 of file itkGradientMagnitudeImageFilter.h.
References itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::m_UseImageSpacing.
|
inlineprotectedvirtual |
Definition at line 116 of file itkGradientMagnitudeImageFilter.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 |
GradientMagnitudeImageFilter needs a larger input requested region than the output requested region (larger by the kernel size to calculate derivatives). As such, GradientMagnitudeImageFilter needs to provide an implementation for GenerateInputRequestedRegion() in order to inform the pipeline execution model.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Run-time type information (and related methods)
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get whether or not the filter will use the spacing of the input image in its calculations
|
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 whether or not the filter will use the spacing of the input image in its calculations
Referenced by itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::SetUseImageSpacingOff(), and itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::SetUseImageSpacingOn().
|
inline |
Ignore the image spacing. Use this option if you want derivatives in isotropic pixel space. Default is UseImageSpacingOn.
Definition at line 94 of file itkGradientMagnitudeImageFilter.h.
References itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::SetUseImageSpacing().
|
inline |
Use the image spacing information in calculations. Use this option if you want derivatives in physical space. Default is UseImageSpacingOn.
Definition at line 89 of file itkGradientMagnitudeImageFilter.h.
References itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::SetUseImageSpacing().
|
overrideprotectedvirtual |
GradientMagnitudeImageFilter 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::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::typedef | ( | Concept::HasNumericTraits< InputPixelType > | ) |
This class requires InputHasNumericTraitsCheck in the form of ( Concept::HasNumericTraits< InputPixelType > )
|
static |
Extract some information from the image types. Dimensionality of the two images is assumed to be the same.
Definition at line 66 of file itkGradientMagnitudeImageFilter.h.
|
private |
Definition at line 138 of file itkGradientMagnitudeImageFilter.h.
Referenced by itk::GradientMagnitudeImageFilter< TInputImage, TOutputImage >::GradientMagnitudeImageFilter().