|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkCannyEdgeDetectionImageFilter_h
19 #define itkCannyEdgeDetectionImageFilter_h
32 template <
typename TValue>
87 template <
typename TInputImage,
typename TOutputImage>
136 static constexpr
unsigned int ImageDimension = TInputImage::ImageDimension;
137 static constexpr
unsigned int OutputImageDimension = TOutputImage::ImageDimension;
144 itkGetConstMacro(Variance,
const ArrayType);
150 itkGetConstMacro(MaximumError,
const ArrayType);
157 for (
unsigned int i = 0; i < TInputImage::ImageDimension; i++)
174 for (
unsigned int i = 0; i < TInputImage::ImageDimension; i++)
178 m_MaximumError.Fill(v);
196 itkSetMacro(UpperThreshold, OutputImagePixelType);
197 itkGetConstMacro(UpperThreshold, OutputImagePixelType);
199 itkSetMacro(LowerThreshold, OutputImagePixelType);
200 itkGetConstMacro(LowerThreshold, OutputImagePixelType);
205 return this->m_MultiplyImageFilter->GetOutput();
208 #ifdef ITK_USE_CONCEPT_CHECKING
221 PrintSelf(std::ostream & os,
Indent indent)
const override;
224 GenerateData()
override;
234 AllocateUpdateBuffer();
238 HysteresisThresholding();
281 std::slice m_ComputeCannyEdgeSlice[ImageDimension];
293 #ifndef ITK_MANUAL_INSTANTIATION
294 # include "itkCannyEdgeDetectionImageFilter.hxx"
Blurs an image by separable convolution with discrete gaussian kernels. This filter performs Gaussian...
MultiplyImageFilterType::Pointer m_MultiplyImageFilter
OutputImageType * GetNonMaximumSuppressionImage()
OutputImagePixelType m_UpperThreshold
Control indentation during Print() invocation.
bool NotExactlyEquals(const TInput1 &x1, const TInput2 &x2)
OutputImageType::Pointer m_UpdateBuffer1
typename ImageType ::IndexType IndexType
A very simple linked list that is used to manage nodes in a layer of a sparse field level-set solver.
typename InputImageType::PixelType InputImagePixelType
ImageBaseType::IndexType IndexType
Base class for filters that take an image as input and produce an image as output.
Light weight base class for most itk classes.
A specialized memory management object for allocating and destroying contiguous blocks of objects.
ListPointerType m_NodeList
void SetMaximumError(const typename ArrayType::ValueType v)
ImageBaseType::RegionType RegionType
typename ImageType ::SizeValueType SizeValueType
typename ListType::Pointer ListPointerType
This filter is an implementation of a Canny edge detector for scalar-valued images.
ListNodeStorageType::Pointer m_NodeStore
typename OutputImageType::RegionType OutputImageRegionType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
DerivativeOperator< OutputImagePixelType, Self::ImageDimension > m_ComputeCannyEdge1stDerivativeOper
typename OutputImageType::PixelType OutputImagePixelType
GaussianImageFilterType::Pointer m_GaussianFilter
void SetVariance(const typename ArrayType::ValueType v)
A function object that determines a neighborhood of values at an image boundary according to a Neuman...
OutputImagePixelType m_LowerThreshold
Pixel-wise multiplication of two images.
typename InputImageType::RegionType InputImageRegionType
DerivativeOperator< OutputImagePixelType, Self::ImageDimension > m_ComputeCannyEdge2ndDerivativeOper
unsigned long SizeValueType
ImageType OutputImageType
OutputImageType * m_OutputImage