STIRA  0.1
Public Member Functions | Static Public Member Functions | List of all members
stira::imageanalysis::CannyEdgeDetector Class Reference

Canny edge detector inspired on http://en.wikipedia.org/wiki/Canny_edge_detector ftp://figment.csee.usf.edu/pub/Edge_Comparison/source_code http://www.pages.drexel.edu/~nk752/cannyTut2.html http://www.cvmt.dk/education/teaching/f09/VGIS8/AIP/canny_09gr820.pdf. More...

#include <CannyEdgeDetector.h>

Public Member Functions

 CannyEdgeDetector ()
 Constructor.
 
 ~CannyEdgeDetector ()
 Destructor.
 

Static Public Member Functions

static ArrayGrid< bool > * Run (ArrayGrid< double > *pGridIn, double sigmaSmooth, double lowerThreshold, double upperThreshold)
 input data More...
 

Detailed Description

Canny edge detector inspired on http://en.wikipedia.org/wiki/Canny_edge_detector ftp://figment.csee.usf.edu/pub/Edge_Comparison/source_code http://www.pages.drexel.edu/~nk752/cannyTut2.html http://www.cvmt.dk/education/teaching/f09/VGIS8/AIP/canny_09gr820.pdf.

Member Function Documentation

ArrayGrid< bool > * stira::imageanalysis::CannyEdgeDetector::Run ( ArrayGrid< double > *  pGridIn,
double  sigmaSmooth,
double  lowerThreshold,
double  upperThreshold 
)
static

input data

Parameters
pGridIninput data
sigmaSmoothsigma for the Gaussian smoothing applied as preprocessing for edge detection
lowerThresholdlow threshold for edge strength in hysteresis test
upperThresholdhigh threshold for edge strength in hysteresis test
Returns
grid with the edges

References stira::imagedata::ArrayGrid< T >::Clone(), stira::filter::NonSeparableFilter::DetermineLocalMagnitudeAndOrientation(), stira::fouriertools::FFT::GaussConvolve(), and stira::imagetools::ImageIO::WritePGM().


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