#include "tlVision.h"
Go to the source code of this file.
Functions | |
int | tl_rgb2hsi (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_rgb2hsi (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_rgb2yuv (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_rgb2yuv (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_rgb2nrg (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_rgb2nrg (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_rgb2gray (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_rgb2gray (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_rgb2bin (tlPixel *src, int width, int height, int min, int max, tlRect *rect, tlPixel *dest) |
int | tl_rgb2bin (tlPixel *src, int width, int height, int min, int max, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_hsi2rgb (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_hsi2rgb (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_hsi2yuv (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_hsi2yuv (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_hsi2nrg (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_hsi2nrg (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_hsi2gray (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_hsi2gray (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_hsi2bin (tlPixel *src, int width, int height, int min, int max, tlRect *rect, tlPixel *dest) |
int | tl_hsi2bin (tlPixel *src, int width, int height, int min, int max, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_yuv2rgb (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_yuv2rgb (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_yuv2hsi (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_yuv2hsi (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_yuv2nrg (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_yuv2nrg (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_yuv2gray (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_yuv2gray (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_yuv2bin (tlPixel *src, int width, int height, int min, int max, tlRect *rect, tlPixel *dest) |
int | tl_yuv2bin (tlPixel *src, int width, int height, int min, int max, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_nrg2gray (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_nrg2gray (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_nrg2bin (tlPixel *src, int width, int height, int min, int max, tlRect *rect, tlPixel *dest) |
int | tl_nrg2bin (tlPixel *src, int width, int height, int min, int max, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_gray2rgb (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_gray2rgb (tlPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_gray2bin (tlPixel *src, int width, int height, int min, int max, tlRect *rect, tlPixel *dest) |
int | tl_gray2bin (tlPixel *src, int width, int height, int min, int max, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_hrgray2gray (tlHRPixel *src, int width, int height, tlRect *rect, tlPixel *dest, unsigned char shift=0) |
int | tl_hrgray2gray (tlHRPixel *src, int width, int height, tlPixel *mask, tlRect *rect, tlPixel *dest, unsigned char shift=0) |
int | tl_hrgray2bin (tlHRPixel *src, int width, int height, int min, int max, tlRect *rect, tlPixel *dest) |
int | tl_hrgray2bin (tlHRPixel *src, int width, int height, int min, int max, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int | tl_to_channel (tlPixel *src, int width, int height, int pixel_width, int channel, tlPixel *mask, tlRect *rect, tlPixel *dest) |
int tl_gray2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
GRAY to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_gray2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
GRAY to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_gray2rgb | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
GRAY to RGB format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
GRAY to RGB format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hrgray2bin | ( | tlHRPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HRGRAY to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hrgray2bin | ( | tlHRPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
GRAY to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hrgray2gray | ( | tlHRPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest, | |||
unsigned char | shift | |||
) |
HRGRAY to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image | |
shift | [default=0] amount of right shift (read "divisions by 2") to perform on each pixel to cast high-res image into single-byte image |
int tl_hrgray2gray | ( | tlHRPixel * | src, | |
int | width, | |||
int | height, | |||
tlRect * | rect, | |||
tlPixel * | dest, | |||
unsigned char | shift | |||
) |
HRGRAY to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image | |
shift | [default=0] amount of right shift (read "divisions by 2") to perform on each pixel to cast high-res image into single-byte image |
int tl_hsi2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HSI to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hsi2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HSI to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hsi2gray | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HSI to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
HSI to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hsi2nrg | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HSI to NRG format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
HSI to NRG format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hsi2rgb | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HSI to RGB format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
HSI to RGB format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_hsi2yuv | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HSI to YUV format conversion
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
HSI to YUV format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_nrg2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
NRG to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_nrg2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
NRG to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_nrg2gray | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
NRG to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
NRG to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_rgb2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
RGB to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_rgb2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
RGB to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_rgb2gray | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
RGB to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | pixel array containing the converted image |
RGB to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_rgb2hsi | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
RGB to HSI format conversion
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
RGB to HSI format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_rgb2nrg | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
RGB to NRG format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | binary conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
RGB to NRG format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_rgb2yuv | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
RGB to YUV format conversion
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
RGB to YUV format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_to_channel | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | pixel_width, | |||
int | channel, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
Extract a channel from an image. The result is placed in a pixel array.
src | pixel array containing source image | |
width | image width | |
height | image height | |
pixel_width | bytes per pixel | |
channel | channel to extract | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_yuv2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
YUV to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_yuv2bin | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | min, | |||
int | max, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
YUV to BIN format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
min | lower binary threshold [0..255] | |
max | upper binary threshold [0..255] | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_yuv2gray | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
YUV to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
YUV to GRAY format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_yuv2hsi | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
YUV to HSI format conversion
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
YUV to HSI format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_yuv2nrg | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
YUV to NRG format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
YUV to NRG format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
int tl_yuv2rgb | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
tlPixel * | mask, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
HSI to RGB format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
mask | conversion mask (only converts active pixels) | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |
YUV to RGB format conversion.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the converted image |