Herror ::get_part_style (
    const HTuple &WindowHandle,
    long *Style
)
HTuple HWindow::GetPartStyle (
    
) const

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.


Parameters

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


Result

::get_part_style returns H_MSG_TRUE if the window is valid. Otherwise an exception handling is raised.


Possible Successors

::set_part_style, ::disp_region, ::disp_image


See also

::set_part_style, ::set_part, ::disp_image, ::disp_color


Module

System



Copyright © 1996-2002 MVTec Software GmbH