#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
HxImageRep L_HXIMAGEREP | HxParabolicErosion (HxImageRep img, double rho, double accuracy=3.0) |
Parabolic erosion. More... |
|
Parabolic erosion. Equivalent to : img.genConvSeparated( parabola, "add", "minAssign", HxImageRep::ARITH_PREC) where parabola is the 1d double-precision parabolic kernel based on rho and accuracy. Notice that the kernel is applied to every dimension of the image separately and that the result image has a double-precision pixel type.
00017 { 00018 int minSize = HxImageMinSize(img); 00019 HxImageRep parabola = HxMakeParabola1d(-rho, accuracy, minSize); 00020 return img.genConvSeparated( 00021 parabola, "add", "minAssign", HxImageRep::ARITH_PREC); 00022 } |