IProtate
Synopsis
rotate an ip_Image by a given angle
Input Ports
Parameters
MethodsRB |
UIradioBox |
select the type of interpolation |
AngleDial |
UIdial |
set the angle of rotation |
Output Ports
dst |
ip_Image_Out |
TmpField |
IPfld |
obj |
output renderable object |
Description
IProtate rotates an ip_Image about its center in any direction, using one of several interpolation methods.
Input Ports
-
&in_image
-
The input is a reference to an ip_Image. The ip_Image can be of any type.
Parameters
-
MethodsRB
-
UIradioBox. Selects what interpolation method to use. The choices are:
Nearest Neighbor (default)
Bilinear
Bicubic
-
AngleDial
-
UIdial. Sets the angle of rotation, in degrees. The default is 0.
Output Ports
-
dst
-
The output is a new ip_Image of the same number of bands and type as the input ip_Image.
An ip_Image rotated at an angle other than a multiple of 90 degrees produces an output ip_Image that is clipped by the dimensions of the input image, with the empty areas rendered as 0 (black) pixels.
-
TmpField
-
This output is the ip_Image converted back into an AVS/Express field.
-
obj
-
This is a renderable version of the output.
Example
Not available.
File
v/ip.v
See also
Related modules