abs_image — Calculate the absolute value (modulus) of an image.
abs_image calculates the absolute gray values
of images of any type and stores the result in
The power spectrum of complex images is calculated as a 'real'
image. The operator
abs_image generates a logical copy of
abs_image can be executed on an OpenCL device for int1, int2,
int4, real, and complex images. However, since for OpenCL 1.0 only single
precision floating point is supported for all devices, and not all rounding
modes are supported, the OpenCL implementation can produce slightly
different results from the scalar or SIMD implementations.
→object (int1* / int2* / int4* / int8 / real* / complex*) *allowed for compute devices
Image(s) for which the absolute gray values are to be calculated.
→object (int1 / int2 / int4 / int8 / real)
convert_image_type (Image, ImageInt2, 'int2') texture_laws (ImageInt2, ImageTexture, 'el', 2, 5) abs_image (ImageTexture, ImageTexture)
abs_image returns the value 2 (H_MSG_TRUE). The
behavior in case of empty input (no input images available) is set
via the operator