Set single gray values in an image.
set_greyval__ sets the gray values of the input image Image at the positions (Row,Column) to the values specified by Greyval. The number of values in Greyval must match the number of points passed to the operator.
Image (input_object) |
image -> object |
Image to be modified. |
Row (input_control) |
point.y(-array) -> integer |
Row coordinates of the pixels to be modified. | |
Default value: 0 | |
Suggested values: 0, 10, 50, 127, 255, 511 | |
Range of values: 0 <= Row | |
Restriction: (0 <= Row) && (Row < height(Image)) |
Column (input_control) |
point.x(-array) -> integer |
Column coordinates of the pixels to be modified. | |
Default value: 0 | |
Suggested values: 0, 10, 50, 127, 255, 511 | |
Range of values: 0 <= Column | |
Restriction: (0 <= Column) && (Column < width(Image)) |
Greyval (input_control) |
number(-array) -> real / integer |
Gray values to be used. | |
Default value: 255.0 | |
Suggested values: 0.0, 1.0, 10.0, 128.0, 255.0 |
set_greyval__ returns TRUE if all parameters are correct. If the input is empty the behaviour can be set via set_system(::'no_object_result',<Result>:). If necessary, an exception is raised.
read_image, get_image_pointer__, clear_image, create_image
get_image_pointer__, paint_grey__, paint_region__
get_greyval__, new_image__, create_image, clear_image