#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
HxImageRep L_HXIMAGEREP | HxNonMaxSuppressionGradDir (HxImageRep img) |
Non maxima suppression in the direction of the gradient. More... |
|
Non maxima suppression in the direction of the gradient. Implementation specifics : The neighbourhood functor : HxNgbNonMaxSuppression2d. The image functor instantiator : HxInstNgbNonMaxSuppression2d_c.
00013 { 00014 HxString fname("HxNonMaxSuppressionGradDir"); 00015 00016 if (img.isNull()) 00017 { 00018 HxGlobalError::instance()->reportError(fname, img.name(), "null image", HxGlobalError::HX_GE_INVALID); 00019 return HxImageRep(); 00020 } 00021 00022 return img.neighbourhoodOp("nonMaxSuppression"); 00023 } |