set_part_style ( : : Style : )

Definition of an interpolation method for greyvalue output.

set_part_style dfines the interpolation method to zoom image parts, when displayed in the active window. Interpolation takes place, if the output window has different size than the image to display (e.g. after a call to set_part or a window resize). Three modes are supported:

  0   no interpolation (low quality, very fast).

  1   unweighted interpolation (medium quality and run time)

  2   weighted interpolation (high quality, slow)
The current value can be queried with get_part_style.


Parameters

Style (input_control)
integer -> integer
interpolation method for image output: 0 (fast, low quality) to 2 (slow, high quality).
Default value: 0
List of values: 0, 1, 2


Result

set_part_style returns TRUE, if the parameter is correct and a window is active. Otherwise an exception is raised.


Possible Predecessors

get_part_style


Possible Successors

set_part, disp_image, disp_region


Alternatives

image_transform__


See also

get_part_style, set_part, disp_image, disp_color



Copyright © 1996-1997 MVTec Software GmbH