get_part_styleT_get_part_styleGetPartStyleGetPartStyleget_part_style (Operator)
Name
get_part_styleT_get_part_styleGetPartStyleGetPartStyleget_part_style
— Get the current interpolation mode for gray value display.
Signature
Description
get_part_styleget_part_styleGetPartStyleGetPartStyleGetPartStyleget_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_partset_partSetPartSetPartSetPartset_part
). HALCON supports
three interpolation modes:
- 0
no interpolation (low quality, very fast).
- 1
unweighted interpolation (average quality and computation time)
- 2
weighted interpolation (high quality, slow)
The current mode can be changed with set_part_styleset_part_styleSetPartStyleSetPartStyleSetPartStyleset_part_style
.
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
WindowHandleWindowHandleWindowHandleWindowHandlewindowHandlewindow_handle
(input_control) window →
HWindow, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Window handle.
StyleStyleStyleStylestylestyle
(output_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Interpolation mode for image display:
0 (fast, low quality) to 2 (slow, high quality).
List of values: 0, 1, 2
Result
get_part_styleget_part_styleGetPartStyleGetPartStyleGetPartStyleget_part_style
returns TRUE if the window is valid.
Otherwise an exception is raised.
Possible Successors
set_part_styleset_part_styleSetPartStyleSetPartStyleSetPartStyleset_part_style
,
disp_regiondisp_regionDispRegionDispRegionDispRegiondisp_region
,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
See also
set_part_styleset_part_styleSetPartStyleSetPartStyleSetPartStyleset_part_style
,
set_partset_partSetPartSetPartSetPartset_part
,
disp_imagedisp_imageDispImageDispImageDispImagedisp_image
,
disp_colordisp_colorDispColorDispColorDispColordisp_color
Module
Foundation