rotate
From DavinciWiki
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Uses a 3-shear Paeth algorithm to pixel shift rows and columns to rotate an image.
Arguments and Return Values Input: Any numeric array Output: a davinci structure containing the elements data, angle and offset
Usage Syntax: rotate(obj = VAL, angle = VAL [, ignore = VAL]) obj - any numeric array angle - a numeric value in degrees ignore - the value in non-data pixels of the projected cube. Default is 0.
Examples dv> a = read("llama_face.jpg") 640x530x3 array of byte, bip format [1,017,600 bytes] dv> b = rotate(a,37) struct, 3 elements data: 829x808x3 array of byte, bip format [2,009,496 bytes] angle: 37.0000 offset: 2x1x1 array of int, bsq format [8 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 01-10-2008 |