dev_set_colored ( : : NumColors : )

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.


Attention

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++.


Parameters

NumColors (input_control)
integer -> integer
Number of output colors.
Default value: 6
List of values: 3, 6, 12


Example
read_image(Image,'monkey')
threshold(Image,Region,128,255)
dev_set_colored(6)
connection(Region,Regions)

Result

dev_set_colored always returns 2 (H_MSG_TRUE)


Parallelization Information

dev_set_colored is local and processed completely exclusively without parallelization.


Possible Predecessors

dev_open_window


Possible Successors

dev_display


Alternatives

dev_set_color


See also

dev_set_draw, dev_set_line_width, set_colored


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH