Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxParabolicErosion.h File Reference

More...

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


Detailed Description


Function Documentation

HxImageRep L_HXIMAGEREP HxParabolicErosion HxImageRep    img,
double    rho,
double    accuracy = 3.0
 

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 }


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