get_image_sizeget_image_sizeGetImageSizeGetImageSize (Operator)
Name
get_image_sizeget_image_sizeGetImageSizeGetImageSize — Return the size of an image.
Signature
Description
The operator get_image_sizeget_image_sizeGetImageSizeGetImageSizeGetImageSize returns the image
size (width and height) of the input image.
Execution Information
- Supports objects on compute devices.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
ImageImageImageImageimage (input_object) (multichannel-)image(-array) → objectHImageHImageHobject (byte / direction / cyclic / int1 / int2 / uint2 / int4 / int8 / real / complex / vector_field)
Input image.
WidthWidthWidthWidthwidth (output_control) extent.x(-array) → HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Width of image.
HeightHeightHeightHeightheight (output_control) extent.y(-array) → HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Height of image.
Result
The operator get_image_sizeget_image_sizeGetImageSizeGetImageSizeGetImageSize returns the value 2 (H_MSG_TRUE).
The behavior in case of empty input (no input images available) is set via
the operator set_system('no_object_result',<Result>)set_system("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>)SetSystem("no_object_result",<Result>).
If necessary an exception is raised.
Possible Predecessors
read_imageread_imageReadImageReadImageReadImage
Alternatives
get_image_pointer1get_image_pointer1GetImagePointer1GetImagePointer1GetImagePointer1
See also
get_image_typeget_image_typeGetImageTypeGetImageTypeGetImageType
Module
Foundation