Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxCannyThresholdRec.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxCannyThresholdRec (HxImageRep img, double sigma, double level)
 Computes the Canny edge map of a scalar image, performs non-maxima suppression, and tresholds the norm of the resulting vector field at the given level (implementation uses recursive filters for edge computation). More...


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxCannyThresholdRec HxImageRep    img,
double    sigma,
double    level
 

Computes the Canny edge map of a scalar image, performs non-maxima suppression, and tresholds the norm of the resulting vector field at the given level (implementation uses recursive filters for edge computation).

00015 {
00016     HxImageRep Ix = HxRecGauss(img, sigma, sigma, 1, 0, 3);
00017     HxImageRep Iy = HxRecGauss(img, sigma, sigma, 0, 1, 3);
00018     HxImageRep edges = HxMakeFrom2Images(Ix, Iy);
00019 
00020     HxTagList tags;
00021     HxAddTag(tags, "level", HxValue(level));
00022     return edges.neighbourhoodOp("isMaxGradDir", tags);
00023 }


Generated on Tue Feb 3 14:18:46 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001