query_coloredT_query_coloredQueryColoredQueryColoredquery_colored (Operator)
Name
query_coloredT_query_coloredQueryColoredQueryColoredquery_colored
— Query the number of colors for color output.
Signature
def query_colored() -> Sequence[int]
Description
query_coloredquery_coloredQueryColoredQueryColoredQueryColoredquery_colored
returns all possible parameter values for
set_coloredset_coloredSetColoredSetColoredSetColoredset_colored
. set_coloredset_coloredSetColoredSetColoredSetColoredset_colored
defines how many
colors are used for region or graphics output.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
PossibleNumberOfColorsPossibleNumberOfColorsPossibleNumberOfColorsPossibleNumberOfColorspossibleNumberOfColorspossible_number_of_colors
(output_control) integer-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Tuple of the possible numbers of colors.
Example (HDevelop)
regiongrowing(Image,Regions,5,5,6,100)
query_colored(Colors)
dev_set_colored(Colors[1])
dev_display (Regions)
Example (C)
Htuple Colors;
regiongrowing(Image,&Seg,5,5,6,100);
T_query_colored(&Colors);
create_tuple_i(&color,get_i(Colors,1));
T_set_colored(WindowHandle,color);
destroy_tuple(color);
T_disp_region(Seg,WindowHandle);
Example (HDevelop)
regiongrowing(Image,Regions,5,5,6,100)
query_colored(Colors)
dev_set_colored(Colors[1])
dev_display (Regions)
Example (HDevelop)
regiongrowing(Image,Regions,5,5,6,100)
query_colored(Colors)
dev_set_colored(Colors[1])
dev_display (Regions)
Example (HDevelop)
regiongrowing(Image,Regions,5,5,6,100)
query_colored(Colors)
dev_set_colored(Colors[1])
dev_display (Regions)
Result
query_coloredquery_coloredQueryColoredQueryColoredQueryColoredquery_colored
always returns TRUE.
Possible Successors
set_coloredset_coloredSetColoredSetColoredSetColoredset_colored
,
set_colorset_colorSetColorSetColorSetColorset_color
,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
Alternatives
query_colorquery_colorQueryColorQueryColorQueryColorquery_color
See also
set_coloredset_coloredSetColoredSetColoredSetColoredset_colored
,
set_colorset_colorSetColorSetColorSetColorset_color
Module
Foundation