IPzoom
Synopsis
zoom an ip_Image with floating point pixel offset
Input Port
Parameters
X Offset
|
UIslider
|
X offset
|
Y Offset
|
UIslider
|
Y offset
|
X Scale
|
UIslider
|
X zoom factor
|
Y Scale
|
UIslider
|
Y zoom factor
|
MethodsRB
|
UIradioBox
|
interpolation technique
|
Output Port
dst
|
ip_Image_Out
|
TmpField
|
IPfld
|
obj
|
output renderable object
|
Description
IPzoom scales an ip_Image with floating point offsets. This enables you to offset a zoomed image by fractional pixels.
Input
&in_image
The input is a reference to an ip_Image. The ip_Image be of any type.
Parameters
MethodsRB
UIradioBox. Selects the type of interpolation to use. The choices are:
Nearest Neighbor (default)
Bilinear
Bicubic
Adaptive Support (can only be used if X Scale and Y Scale <= 0.5)
With Adaptive Support, the value of each pixel in the output ip_Image is calculated by averaging the values of a block of pixels in the input ip_Image. The size of this block is determined by the scale factor such that all the pixels in the input ip_Image affect a pixel in the output ip_Image.
X Offset
Y Offset
Float sliders. Specify the coordinate offsets of the first pixel in the zoom area. The default for both is 0. The range for both is 0 to dim - 1.
X Scale
Y Scale
Float sliders. Specify the x and y zoom factors. These must be >= 0. The default for both is 1. The range is 0.01 to 10.
Output Port
dst
The output is a new ip_Image of the same type and bands as the input ip_Image. Currently there is a restriction where the output dimensions can only be the same as the input.
TmpField
This output is the ip_Image converted back into an AVS/Express field.
obj
This is a renderable version of the output image.
Example
Not available
File
v/ip.v
See also