#include "HxImageRep.h"
Go to the source code of this file.
Functions | |
| HxImageRep L_HXIMAGEREP | HxTanh (HxImageRep im) |
| Hyperbolic tangent. More... | |
|
|
Hyperbolic tangent. The function computes the hyperbolic tangent (see Pixels) of all pixels in the input image via a unary pixel operation (see Images). Implementation specifics : The pixel functor : HxUpoTanh. The image functor instantiator : HxInstantiatorTanh.
00013 {
00014 HxString fname("HxTanh");
00015
00016 if (im.isNull())
00017 {
00018 HxGlobalError::instance()->reportError(fname, im.name(), "null image", HxGlobalError::HX_GE_INVALID);
00019 return HxImageRep();
00020 }
00021
00022 return im.unaryPixOp("tanh");
00023 }
|
1.2.12 written by Dimitri van Heesch,
© 1997-2001