TLIB documentation
 

tlTransforms.h File Reference


Detailed Description

Internal image transform operators.

#include "tlVision.h"

Include dependency graph for tlTransforms.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int tl_rotate_right (tlPixel *src, int width, int height, int pixel_width, tlPixel *dest)
int tl_rotate_left (tlPixel *src, int width, int height, int pixel_width, tlPixel *dest)


Function Documentation

int tl_rotate_left ( tlPixel src,
int  width,
int  height,
int  pixel_width,
tlPixel dest 
)

Rotate a pixel array counter-clockwise, put result in another array.

Parameters:
src image pixel array
width image width
height image height
pixel_width pixel width
dest [out] destination pixel array
Returns:
0 on success, -1 otherwise.
See error management for details.

int tl_rotate_right ( tlPixel src,
int  width,
int  height,
int  pixel_width,
tlPixel dest 
)

Rotate a pixel array clockwise, put result in another array.

Parameters:
src image pixel array
width image width
height image height
pixel_width pixel width
dest [out] destination pixel array
Returns:
0 on success, -1 otherwise.
See error management for details.



TLIB documentation - generated on 7 May 2008
Please address any questions to seb@tuyphon.com
(C) 2001-2008 - S. Grange
(C) 2001-2007 - VRAI Group, EPFL
All Rights Reserved.