abs1__ ( Image : ImageAbs : : )

Calculate the absolute value (modulus) of an image.

The operator abs1__ calculates the absolute gray values of images of any type and stores the result in ImageAbs. The power spectrum of complex images is calculated as a 'real' image. The operator abs1__ generates a logical copy of unsigned images.


Parameters

Image (input_object)
image(-array) -> object : any
Images for which the absolute gray values are to be calculated.

ImageAbs (output_object)
image(-array) -> object : any
Result image.


Example
laws_int2(Image,&Texture,0,5);
abs1__(Texture,Abs);

Result

The operator abs1__ returns the value TRUE. The behavior in case of empty input (no input images available) is set via the operator set_system(::'no_object_result',<Result>:)


See also

convert_image_type__, power_byte



Copyright © 1996-1997 MVTec Software GmbH