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_imageExpImageExpImageexp_image calculates the exponentiation to the base BaseBaseBasebaseValbase of an input image ImageImageImageimageimage and stores the result in the image ExpImageExpImageExpImageexpImageexp_image. If ImageImageImageimageimage contains gray values that would overflow the range of ExpImageExpImageExpImageexpImageexp_image, e.g., > 88.722839 for BaseBaseBasebaseValbase = 'e'"e""e""e""e", the corresponding gray values in ExpImageExpImageExpImageexpImageexp_image are set to the largest value representable in ExpImageExpImageExpImageexpImageexp_image (i.e., ).

Attention

exp_imageexp_imageExpImageExpImageexp_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

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

Input image.

ExpImageExpImageExpImageexpImageexp_image (output_object)  (multichannel-)image(-array) objectHImageHObjectHObjectHobject * (real)

Output image.

BaseBaseBasebaseValbase (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"

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

See also

pow_imagepow_imagePowImagePowImagepow_image, log_imagelog_imageLogImageLogImagelog_image

Module

Foundation