get_part_style ( : : : Style )

Query of the current interpolation mode for greyvalue display.

get_part_style rturns the interpolation mode used for displaying an image part in the active window. An interpolation takes place, if the output window is larger than the image format or the image output format (see set_part). HORUS 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

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


Result

get_part_style returns TRUE, if a window is active. Otherwise an exception is raised.


Possible Successors

set_part_style, disp_region, disp_image


See also

set_part_style, set_part, disp_image, disp_color



Copyright © 1996-1997 MVTec Software GmbH