Set multiple output colors.
dev_set_colored allows the user to display a tuple of regions in different colors. NumColors defines the number of colors that are used. Valid values for NumColors can be queried with query_colored.
If dev_set_colored should be used for exported Code (C++), please note the description of set_colored due to the different semantics in C++.
|
NumColors (input_control) |
integer -> integer |
| Number of output colors. | |
| Default value: 6 | |
| List of values: 3, 6, 12 | |
read_image(Image,'monkey') threshold(Image,Region,128,255) dev_set_colored(6) connection(Region,Regions)
dev_set_colored always returns 2 (H_MSG_TRUE)
dev_set_colored is local and processed completely exclusively without parallelization.
dev_set_draw, dev_set_line_width, set_colored
Foundation