Herror ::query_colored (
    HTuple *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 -> HTuple.long *
Tuple of the possible numbers of colors.


Example
Htuple Colors ;
regiongrowing(Image,&Seg,5,5,6,100) ;
T_query_colored(&Colors) ;
set_colored(WindowHandle,get_i(Colors,1)) ;
disp_region(Seg,WindowHandle) ;

Result

::query_colored always returns H_MSG_TRUE.


Possible Successors

::set_colored, ::set_color, ::disp_region


Alternatives

::query_color


See also

::set_colored, ::set_color


Module

System



Copyright © 1996-2002 MVTec Software GmbH