ITK  5.4.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage > Class Template Reference

#include <itkZeroCrossingBasedEdgeDetectionImageFilter.h>

Detailed Description

template<typename TInputImage, typename TOutputImage>
class itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >

This filter implements a zero-crossing based edge detector.

The zero-crossing based edge detector looks for pixels in the Laplacian of an image where the value of the Laplacian passes through zero — points where the Laplacian changes sign. Such points often occur at "edges" in images — i.e. points where the intensity of the image changes rapidly, but they also occur at places that are not as easy to associate with edges. It is best to think of the zero crossing detector as some sort of feature detector rather than as a specific edge detector.

Zero crossings always lie on closed contours and so the output from the zero crossing detector is usually a binary image with single pixel thickness lines showing the positions of the zero crossing points.
In this implementation, the input image is first smoothed with a Gaussian filter, then the LaplacianImageFilter is applied to smoothed image. Finally the zero-crossing of the Laplacian of the smoothed image is detected. The output is a binary image.
Inputs and Outputs
The input to the filter should be a scalar, itk::Image of arbitrary dimension. The output image is a binary, labeled image. See itkZeroCrossingImageFilter for more information on requirements of the data type of the output.
To use this filter, first set the parameters (variance and maximum error) needed by the embedded DiscreteGaussianImageFilter, i.e. See DiscreteGaussianImageFilter for information about these parameters. Optionally, you may also set foreground and background values for the zero-crossing filter. The default label values are Zero for the background and One for the foreground, as defined in NumericTraits for the data type of the output image.
See also
DiscreteGaussianImageFilter
LaplacianImageFilter
ZeroCrossingImageFilter
ITK Sphinx Examples:
Examples
Examples/Filtering/ZeroCrossingBasedEdgeDetectionImageFilter.cxx, and SphinxExamples/src/Filtering/ImageFeature/ZeroCrossingBasedEdgeDecor/Code.cxx.

Definition at line 75 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

+ Inheritance diagram for itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >:
+ Collaboration diagram for itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >:

Public Types

using ArrayType = FixedArray< double, Self::ImageDimension >
 
using ConstPointer = SmartPointer< const Self >
 
using InputImagePixelType = typename TInputImage::PixelType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename TOutputImage::PixelType
 
using OutputImageRegionType = typename TOutputImage::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ZeroCrossingBasedEdgeDetectionImageFilter
 
using Superclass = ImageToImageFilter< TInputImage, TOutputImage >
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TOutputImage >
 
- Public Types inherited from itk::ImageSource< TOutputImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TOutputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

 itkOverrideGetNameOfClassMacro (ZeroCrossingBasedEdgeDetectionImageFilter)
 
void SetMaximumError (const typename ArrayType::ValueType v)
 
void SetVariance (const typename ArrayType::ValueType v)
 
virtual void SetVariance (ArrayType _arg)
 
virtual const ArrayType GetVariance () const
 
virtual void SetMaximumError (ArrayType _arg)
 
virtual const ArrayType GetMaximumError () const
 
virtual OutputImagePixelType GetBackgroundValue () const
 
virtual void SetBackgroundValue (OutputImagePixelType _arg)
 
virtual OutputImagePixelType GetForegroundValue () const
 
virtual void SetForegroundValue (OutputImagePixelType _arg)
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
 itkOverrideGetNameOfClassMacro (ImageToImageFilter)
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TOutputImage >
OutputImageTypeGetOutput (unsigned int idx)
 
 itkOverrideGetNameOfClassMacro (ImageSource)
 
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreaderTypeGetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
 itkOverrideGetNameOfClassMacro (ProcessObject)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
 itkOverrideGetNameOfClassMacro (Object)
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkVirtualGetNameOfClassMacro (LightObject)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static double GetGlobalDefaultCoordinateTolerance ()
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static void SetGlobalDefaultDirectionTolerance (double)
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TOutputImage >
static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension
 

Protected Member Functions

void GenerateData () override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 ZeroCrossingBasedEdgeDetectionImageFilter ()
 
 ~ZeroCrossingBasedEdgeDetectionImageFilter () override=default
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
void GenerateInputRequestedRegion () override
 
 ImageToImageFilter ()
 
void VerifyInputInformation () ITKv5_CONST override
 
 ~ImageToImageFilter () override=default
 
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
- Protected Member Functions inherited from itk::ImageSource< TOutputImage >
virtual void AfterThreadedGenerateData ()
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
 ImageSource ()
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
 ~ImageSource () override=default
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateOutputInformation ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *object)
 
virtual void SetPrimaryOutput (DataObject *object)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyPreconditions () ITKv5_CONST
 
 ~ProcessObject () override
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Attributes

OutputImagePixelType m_BackgroundValue {}
 
OutputImagePixelType m_ForegroundValue {}
 
ArrayType m_MaximumError {}
 
ArrayType m_Variance {}
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Static Protected Member Functions inherited from itk::ImageSource< TOutputImage >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ImageSource< TOutputImage >
bool m_DynamicMultiThreading {}
 
- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime {}
 
bool m_Updating {}
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount {}
 

Member Typedef Documentation

◆ ArrayType

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::ArrayType = FixedArray<double, Self::ImageDimension>

Typedef of double containers

Definition at line 111 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ ConstPointer

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::ConstPointer = SmartPointer<const Self>

◆ InputImagePixelType

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputImagePixelType = typename TInputImage::PixelType

Define pixel type

Definition at line 94 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ InputImageType

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::InputImageType = TInputImage

Image type alias support

Definition at line 86 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ OutputImagePixelType

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::OutputImagePixelType = typename TOutputImage::PixelType

◆ OutputImageRegionType

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::OutputImageRegionType = typename TOutputImage::RegionType

Typedef to describe the output image region type.

Definition at line 101 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::OutputImageType = TOutputImage

◆ Pointer

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::Pointer = SmartPointer<Self>

SmartPointer type alias support

Definition at line 90 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ Self

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::Self = ZeroCrossingBasedEdgeDetectionImageFilter

Standard "Self" & Superclass type alias.

Definition at line 82 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ Superclass

template<typename TInputImage , typename TOutputImage >
using itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::Superclass = ImageToImageFilter<TInputImage, TOutputImage>

Constructor & Destructor Documentation

◆ ZeroCrossingBasedEdgeDetectionImageFilter()

template<typename TInputImage , typename TOutputImage >
itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::ZeroCrossingBasedEdgeDetectionImageFilter ( )
protected

◆ ~ZeroCrossingBasedEdgeDetectionImageFilter()

template<typename TInputImage , typename TOutputImage >
itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::~ZeroCrossingBasedEdgeDetectionImageFilter ( )
overrideprotecteddefault

Member Function Documentation

◆ GenerateData()

template<typename TInputImage , typename TOutputImage >
void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::GenerateData ( )
overrideprotectedvirtual

Standard pipeline method. While this class does not implement a ThreadedGenerateData(), its GenerateData() delegates all calculations to the pipeline of a DiscreteGaussianImageFilter, a LaplacianImageFilter and a ZeroCrossingImageFilter. Since these filters are multithreaded, this filter is multithreaded by default.

Reimplemented from itk::ImageSource< TOutputImage >.

◆ GetBackgroundValue()

template<typename TInputImage , typename TOutputImage >
virtual OutputImagePixelType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::GetBackgroundValue ( ) const
virtual

Get/Set the label values for the ZeroCrossingImageFilter

◆ GetForegroundValue()

template<typename TInputImage , typename TOutputImage >
virtual OutputImagePixelType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::GetForegroundValue ( ) const
virtual

Get/Set the label values for the ZeroCrossingImageFilter

◆ GetMaximumError()

template<typename TInputImage , typename TOutputImage >
virtual const ArrayType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::GetMaximumError ( ) const
virtual

Standard get/set macros for Gaussian filter parameters.

◆ GetVariance()

template<typename TInputImage , typename TOutputImage >
virtual const ArrayType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::GetVariance ( ) const
virtual

Standard get/set macros for Gaussian filter parameters.

◆ itkOverrideGetNameOfClassMacro()

template<typename TInputImage , typename TOutputImage >
itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::itkOverrideGetNameOfClassMacro ( ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >  )

Run-time type information (and related methods).

◆ New()

template<typename TInputImage , typename TOutputImage >
static Pointer itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TInputImage , typename TOutputImage >
void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
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 >.

◆ SetBackgroundValue()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::SetBackgroundValue ( OutputImagePixelType  _arg)
virtual

Get/Set the label values for the ZeroCrossingImageFilter

◆ SetForegroundValue()

template<typename TInputImage , typename TOutputImage >
virtual void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::SetForegroundValue ( OutputImagePixelType  _arg)
virtual

Get/Set the label values for the ZeroCrossingImageFilter

◆ SetMaximumError() [1/2]

template<typename TInputImage , typename TOutputImage >
virtual void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::SetMaximumError ( ArrayType  _arg)
virtual

Standard get/set macros for Gaussian filter parameters.

◆ SetMaximumError() [2/2]

template<typename TInputImage , typename TOutputImage >
void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::SetMaximumError ( const typename ArrayType::ValueType  v)
inline

Set the MaximumError parameter needed by the embedded gaussian filter This value is used to set the desired maximum error of the gaussian approximation. Maximum error is the difference between the area under the discrete Gaussian curve and the area under the continuous Gaussian. Maximum error affects the Gaussian operator size. The value must be between 0.0 and 1.0.

Definition at line 141 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ SetVariance() [1/2]

template<typename TInputImage , typename TOutputImage >
virtual void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::SetVariance ( ArrayType  _arg)
virtual

Standard get/set macros for Gaussian filter parameters.

◆ SetVariance() [2/2]

template<typename TInputImage , typename TOutputImage >
void itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::SetVariance ( const typename ArrayType::ValueType  v)
inline

Set the variance parameter needed by the embedded gaussian filter

Definition at line 129 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

Member Data Documentation

◆ ImageDimension

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::ImageDimension = TInputImage::ImageDimension
staticconstexpr

ImageDimension enumeration

Definition at line 107 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ m_BackgroundValue

template<typename TInputImage , typename TOutputImage >
OutputImagePixelType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::m_BackgroundValue {}
private

◆ m_ForegroundValue

template<typename TInputImage , typename TOutputImage >
OutputImagePixelType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::m_ForegroundValue {}
private

◆ m_MaximumError

template<typename TInputImage , typename TOutputImage >
ArrayType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::m_MaximumError {}
private

The maximum error of the gaussian blurring kernel in each dimensional direction.

Definition at line 178 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ m_Variance

template<typename TInputImage , typename TOutputImage >
ArrayType itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::m_Variance {}
private

The variance of the Gaussian Filter used in this filter

Definition at line 174 of file itkZeroCrossingBasedEdgeDetectionImageFilter.h.

◆ OutputImageDimension

template<typename TInputImage , typename TOutputImage >
constexpr unsigned int itk::ZeroCrossingBasedEdgeDetectionImageFilter< TInputImage, TOutputImage >::OutputImageDimension = TOutputImage::ImageDimension
staticconstexpr

The documentation for this class was generated from the following file: