get_part_style
— Get the current interpolation mode for gray value display.
get_part_style( : : WindowHandle : Style)
get_part_style
returns the interpolation mode used for
displaying an image part in the window. An interpolation
takes place if the output window is larger than the image format or
the image output format (see set_part
). HALCON supports
three interpolation modes:
no interpolation (low quality, very fast).
unweighted interpolation (average quality and computation time)
weighted interpolation (high quality, slow)
The current mode can be changed with set_part_style
.
WindowHandle
(input_control) window →
(handle)
Window handle.
Style
(output_control) integer →
(integer)
Interpolation mode for image display: 0 (fast, low quality) to 2 (slow, high quality).
List of values: 0, 1, 2
get_part_style
returns 2 (H_MSG_TRUE) if the window is valid.
Otherwise an exception is raised.
set_part_style
,
disp_region
,
disp_image
set_part_style
,
set_part
,
disp_image
,
disp_color
Foundation