Get the current interpolation mode for grayvalue display.
::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:
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_style.
|
WindowHandle (input_control) |
window -> HTuple.long |
| Window_id. | |
|
Style (output_control) |
integer -> long * |
| Interpolation mode for image display: 0 (fast, low quality) to 2 (slow, high quality). | |
| List of values: 0, 1, 2 | |
::get_part_style returns H_MSG_TRUE if the window is valid. Otherwise an exception handling is raised.
::set_part_style, ::disp_region, ::disp_image
::set_part_style, ::set_part, ::disp_image, ::disp_color
System