exp_imageexp_imageExpImageExpImageexp_image (Operator)

Name

exp_imageexp_imageExpImageExpImageexp_image — Calculate the exponentiation of an image.

Signature

exp_image(Image : ExpImage : Base : )

Herror exp_image(const Hobject Image, Hobject* ExpImage, const char* Base)

Herror T_exp_image(const Hobject Image, Hobject* ExpImage, const Htuple Base)

void ExpImage(const HObject& Image, HObject* ExpImage, const HTuple& Base)

HImage HImage::ExpImage(const HTuple& Base) const

HImage HImage::ExpImage(const HString& Base) const

HImage HImage::ExpImage(const char* Base) const

HImage HImage::ExpImage(const wchar_t* Base) const   ( Windows only)

static void HOperatorSet.ExpImage(HObject image, out HObject expImage, HTuple baseVal)

HImage HImage.ExpImage(HTuple baseVal)

HImage HImage.ExpImage(string baseVal)

def exp_image(image: HObject, base: Union[int, float, str]) -> HObject

Description

exp_imageexp_imageExpImageExpImageExpImageexp_image calculates the exponentiation to the base BaseBaseBaseBasebaseValbase of an input image ImageImageImageImageimageimage and stores the result in the image ExpImageExpImageExpImageExpImageexpImageexp_image. If ImageImageImageImageimageimage contains gray values that would overflow the range of ExpImageExpImageExpImageExpImageexpImageexp_image, e.g., > 88.722839 for BaseBaseBaseBasebaseValbase = 'e'"e""e""e""e""e", the corresponding gray values in ExpImageExpImageExpImageExpImageexpImageexp_image are set to the largest value representable in ExpImageExpImageExpImageExpImageexpImageexp_image (i.e., ).

Attention

exp_imageexp_imageExpImageExpImageExpImageexp_image can be executed on an OpenCL device for byte, int1, int2, uint2, int4, and real images. Note that the results of the OpenCL code may vary from the results produced by the CPU.

Execution Information

Parameters

ImageImageImageImageimageimage (input_object)  (multichannel-)image(-array) objectHImageHObjectHImageHobject (byte* / int1* / uint2* / int2* / int4* / int8 / real*) *allowed for compute devices

Input image.

ExpImageExpImageExpImageExpImageexpImageexp_image (output_object)  (multichannel-)image(-array) objectHImageHObjectHImageHobject * (real)

Output image.

BaseBaseBaseBasebaseValbase (input_control)  number HTupleUnion[int, float, str]HTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Base of the exponentiation.

Default: 'e' "e" "e" "e" "e" "e"

Suggested values: 'e'"e""e""e""e""e", 2, 10

See also

pow_imagepow_imagePowImagePowImagePowImagepow_image, log_imagelog_imageLogImageLogImageLogImagelog_image

Module

Foundation