#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
| HxImageRep L_HXIMAGEREP | HxParabolicDilation (HxImageRep img, double rho, double accuracy=3.0) |
| Parabolic dilation. More... | |
|
||||||||||||||||
|
Parabolic dilation. Equivalent to : img.genConvSeparated( parabola, "add", "maxAssign", 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", "maxAssign", HxImageRep::ARITH_PREC);
00022 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001