#include "tlVision.h"
Go to the source code of this file.
Functions | |
tlPixel * | tl_create_array (int width, int height, int pixel_width) |
tlPixel * | tl_copy_array (tlPixel *src, int width, int height, int pixel_width) |
tlPixel * | tl_copy_array (tlPixel *src, int width, int height, int pixel_width, tlRect *rect) |
tlPixel * | tl_copy_subarray (tlPixel *src, int width, int height, int pixel_width, tlRect *subRect) |
tlHRPixel * | tl_create_hrarray (int width, int height, int pixel_width) |
tlHRPixel * | tl_copy_hrarray (tlHRPixel *src, int width, int height, int pixel_width) |
tlHRPixel * | tl_copy_hrarray (tlHRPixel *src, int width, int height, int pixel_width, tlRect *rect) |
tlHRPixel * | tl_copy_hrsubarray (tlHRPixel *src, int width, int height, int pixel_width, tlRect *subRect) |
Create a copy of a portion of a given array containing an image; new (copied) array has the same size as the original.
src | source array | |
width | image width [pix] | |
height | image height [pix] | |
pixel_width | byte per pixel | |
rect | portion of the image to copy |
Create a copy of a given array containing an image.
src | source array | |
width | image width [pix] | |
height | image height [pix] | |
pixel_width | byte per pixel |
tlHRPixel* tl_copy_hrarray | ( | tlHRPixel * | src, | |
int | width, | |||
int | height, | |||
int | pixel_width, | |||
tlRect * | rect | |||
) |
Create a copy of a portion of a given high-resolution array containing an image; new (copied) array has the same size as the original.
src | source array | |
width | image width [pix] | |
height | image height [pix] | |
pixel_width | channels per pixel | |
rect | portion of the image to copy |
tlHRPixel* tl_copy_hrarray | ( | tlHRPixel * | src, | |
int | width, | |||
int | height, | |||
int | pixel_width | |||
) |
Create a copy of a given high-resolution array containing an image.
src | source array | |
width | image width [pix] | |
height | image height [pix] | |
pixel_width | channel per pixel |
tlHRPixel* tl_copy_hrsubarray | ( | tlHRPixel * | src, | |
int | width, | |||
int | height, | |||
int | pixel_width, | |||
tlRect * | rect | |||
) |
Create a copy of a portion of a given high-resolution array containing an image; new (copied) array has the same size as the portion of the image to duplicate.
src | source array | |
width | image width [pix] | |
height | image height [pix] | |
pixel_width | byte per pixel | |
rect | portion of the image to copy |
Create a copy of a portion of a given array containing an image; new (copied) array has the same size as the portion of the image to duplicate.
src | source array | |
width | image width [pix] | |
height | image height [pix] | |
pixel_width | byte per pixel | |
rect | portion of the image to copy |
tlPixel* tl_create_array | ( | int | width, | |
int | height, | |||
int | pixel_width | |||
) |
Allocate a new pixel array.
width | image width [pix] | |
height | image height [pix] | |
pixel_width | byte per pixel |
tlHRPixel* tl_create_hrarray | ( | int | width, | |
int | height, | |||
int | pixel_width | |||
) |
Allocate a new high-resolution pixel array.
width | image width [pix] | |
height | image height [pix] | |
pixel_width | byte per pixel |