#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... |
|
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 } |