get_rgb ( : : : ImageRed, ImageGreen, ImageBlue )

Query of the current color in RGB-coding.

get_rgb returns the output color resp. greyvalues for the current output window. They are defined by the three color components red, green and blue.

get_rgb is like get_pixel but returns the entries of the color lookup table rather than the indices. The values returned by get_rgb can be set with set_rgb.


Parameters

ImageRed (output_control)
integer-array -> integer
the current color's red value.

ImageGreen (output_control)
integer-array -> integer
the current color's green value.

ImageBlue (output_control)
integer-array -> integer
the current color's blue value.


Result

get_rgb returns TRUE, if a window is active. Otherwise an exception is raised.


Possible Successors

set_rgb, disp_region, disp_image


See also

set_rgb



Copyright © 1996-1997 MVTec Software GmbH