Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxCannyThresholdAlt.h File Reference

More...

#include "HxImageRep.h"

Go to the source code of this file.

Functions

HxImageRep L_HXIMAGEREP HxCannyThresholdAlt (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 (alternative implementation). More...


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxCannyThresholdAlt 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 (alternative implementation).

00014 {
00015     HxImageRep edges = HxCannyEdgeMap(img, sigma);
00016     HxTagList tags;
00017     HxAddTag(tags, "level", HxValue(level));
00018     return edges.neighbourhoodOp("isMaxGradDir", tags);
00019 }


Generated on Tue Jan 8 13:59:19 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001