| Home | Trees | Indices | Help |
|---|
|
|
A rotated rectangular view of an image.
:Parameters:
iparam : array((3,),'i')
iparam[0] : width of the output patch
iparam[1] : height of the output patch
iparam[2] : flipping flag
Non-zero if in the view the direction from x-axis to
y-axis is counter-clockwise
Zero if in the view the direction from x-axis to
y-axis is clockwise
dparam : array((4,),'d')
dparam[0] : angle of rotation from the image's x-axis to the view's
x-axis, clockwise, (in radians)
dparam[1] : scaling ratio, or the view's one unit length
(in image pixels)
dparam[2] : x-coordinate of the center point (in image pixels)
dparam[3] : y-coordinate of the center point (in image pixels)
the center point of the view on the image is geometrically
transformed into location (0.5*w,0.5*h) on the output patch
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Initialize an image view.
:Parameters:
w : int
width of the output patch
h : int
height of the output patch
x0, y0 : double, double
center point, location (x0,y0) on the image is geometrically
transformed to location (0.5*w,0.5*h) on the output patch
scale : double
scaling ratio, or the view's one unit length (in image pixel)
angle : double
angle of rotation from the image's x-axis to the view's x-axis,
clockwise, (in radian)
flip : boolean
to flip the view's y-axis or not
Non-zero if in the view the direction from x-axis to
y-axis is counter-clockwise
Zero if in the view the direction from x-axis to
y-axis is clockwise
|
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Mon Feb 25 10:24:17 2008 | http://epydoc.sourceforge.net |