query_colored ( : : : PossibleNumberOfColors )

Query the number of colors for color output.

query_colored returns all possible parameter values for set_colored. set_colored defines how many colors are used for region or graphics output.


Parameters

PossibleNumberOfColors (output_control)
integer-array -> integer
Tuple of the possible numbers of colors.


Example
regiongrowing(Image,Seg,5,5,6,100) 
query_colored(Colors) 
set_colored(WindowHandle,Colors[1]) 
disp_region(Seg,WindowHandle).

Result

query_colored always returns 2 (H_MSG_TRUE).


Parallelization Information

query_colored is reentrant and processed without parallelization.


Possible Successors

set_colored, set_color, disp_region


Alternatives

query_color


See also

set_colored, set_color


Module

System



Copyright © 1996-2005 MVTec Software GmbH