Another way to influence quality and speed of gray value interpolation is given by the system parameter 'int_zooming'. This parameter determines if image transformations are performed with integer arithmetic or with floating point arithmetic. For 'int_zooming' set to 'true', the transformation is carried out internally using fixed point arithmetic. This leads to much shorter execution times. However, it slightly decreases the accuracy of the transformed gray values. Also, for some operators, pixels with undefined gray values can occur. In some cases the domain region can slightly differ as well, depending on 'int_zooming'. If 'int_zooming' is set to 'false', the transformation is carried out with floating point arithmetic. This results in more accurate calculations. For byte images, the differences between both calculations is typically less than two gray levels. Correspondingly, for int2 and uint2 images, the gray value differences can be as large as 512 gray levels if the entire dynamic range of 16 bit is used.
The value of 'int_zooming' is set to 'true' by default. To change this value, the operator set_system can be used.
The system parameter 'int_zooming' affects operators regarding geometric transformations of images (projective_trans_image, projective_trans_image_size, affine_trans_image, affine_trans_image_size, polar_trans_image_ext, polar_trans_image_inv, and rotate_image), scaling of gray values (scale_image) and zooming in on or out of images (zoom_image_factor and zoom_image_size).