ClassesClassesClassesClasses | | | | Operators

log_imagelog_imageLogImagelog_imageLogImageLogImage (Operator)

Name

log_imagelog_imageLogImagelog_imageLogImageLogImage — Calculate the logarithm of an image.

Signature

log_image(Image : LogImage : Base : )

Herror log_image(const Hobject Image, Hobject* LogImage, const char* Base)

Herror T_log_image(const Hobject Image, Hobject* LogImage, const Htuple Base)

Herror log_image(Hobject Image, Hobject* LogImage, const HTuple& Base)

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

HImageArray HImageArray::LogImage(const HTuple& Base) const

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

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

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

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

void HOperatorSetX.LogImage(
[in] IHUntypedObjectX* Image, [out] IHUntypedObjectX*LogImage, [in] VARIANT Base)

IHImageX* HImageX.LogImage([in] VARIANT Base)

static void HOperatorSet.LogImage(HObject image, out HObject logImage, HTuple baseVal)

HImage HImage.LogImage(HTuple baseVal)

HImage HImage.LogImage(string baseVal)

Description

log_imagelog_imageLogImagelog_imageLogImageLogImage calculates the logarithm to the base BaseBaseBaseBaseBasebaseVal of an input image ImageImageImageImageImageimage and stores the result in the image LogImageLogImageLogImageLogImageLogImagelogImage. If ImageImageImageImageImageimage contains gray values outside the valid domain of the logarithm function, i.e., <= 0, the corresponding gray values in LogImageLogImageLogImageLogImageLogImagelogImage are set to 0.

Attention

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

Parallelization

Parameters

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

Input image.

LogImageLogImageLogImageLogImageLogImagelogImage (output_object)  (multichannel-)image(-array) objectHImageHImageHImageHImageXHobject * (real)

Output image.

BaseBaseBaseBaseBasebaseVal (input_control)  number HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Base of the logarithm.

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

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

See also

pow_imagepow_imagePowImagepow_imagePowImagePowImage, exp_imageexp_imageExpImageexp_imageExpImageExpImage

Module

Foundation


ClassesClassesClassesClasses | | | | Operators