The base class for every object that contains a pixel array. tlPixelArray contains a pixel array with its dimension, format and properties. It also encapsulates all the pixel operator methods that can be applied to it. tlImage, toObject and tlMask inherit from tlPixelArray.
Public Member Functions | |
tlPixelArray () | |
tlPixelArray (tl_format format, int width, int height) | |
tlPixelArray (tlPixelArray *pixelArray) | |
virtual | ~tlPixelArray () |
int | init (tlPixelArray *pixelArray) |
int | init (tl_format format, int width, int height) |
int | init (int width, int height, int pixelWidth) |
int | setPixel (int val, int x, int y, int channel=0) |
int | setPixel (int val, tlPoint *point, int channel=0) |
int | getPixel (int x, int y, int channel=0) |
int | getPixel (tlPoint *point, int channel=0) |
int | copy (tlPixelArray *pixelArray) |
int | copy (tlPixelArray *pixelArray, tlRect *rect) |
int | copyTo (tlPixelArray *pixelArray) |
int | copyTo (tlPixelArray *pixelArray, tlRect *rect) |
int | toRect (tlRect *rect) |
tlRect * | toRect () |
int | scale (float factor, int method=TL_SCALE_DECIMATE) |
int | scale (int newWidth, int newHeight, int method=TL_SCALE_DECIMATE) |
int | scale (float factor, tlPixelArray *dest, int method=TL_SCALE_DECIMATE) |
int | scale (int newWidth, int newHeight, tlPixelArray *dest, int method=TL_SCALE_DECIMATE) |
int | clear (void) |
int | clear (tlRect *rect) |
int | addChannel () |
int | remChannel (int channel) |
int | toChannel (int channel) |
int | toChannel (int channel, tlRect *rect) |
int | putChannel (tlPixel *pixelArray, int channel) |
int | putChannel (tlPixel *pixelArray, tlRect *rect, int channel) |
int | putChannel (tlPixelArray *pixelArray, int channel) |
int | putChannel (tlPixelArray *pixelArray, tlRect *rect, int channel) |
int | swapChannels (int channel1, int channel2) |
int | remChannel (int channel, tlPixelArray *dest) |
int | toChannel (int channel, tlPixelArray *dest) |
int | toChannel (int channel, tlRect *rect, tlPixelArray *dest) |
int | putChannel (tlPixel *pixelArray, int channel, tlPixelArray *dest) |
int | putChannel (tlPixel *pixelArray, tlRect *rect, int channel, tlPixelArray *dest) |
int | putChannel (tlPixelArray *pixelArray, int channel, tlPixelArray *dest) |
int | putChannel (tlPixelArray *pixelArray, tlRect *rect, int channel, tlPixelArray *dest) |
int | swapChannels (int channel1, int channel2, tlPixelArray *dest) |
int | toRgb () |
int | toRgb (tlRect *rect) |
int | toYuv () |
int | toYuv (tlRect *rect) |
int | toNrg () |
int | toNrg (tlRect *rect) |
int | toHsi () |
int | toHsi (tlRect *rect) |
int | toGray () |
int | toGray (tlRect *rect) |
int | toBin (int threshold=1) |
int | toBin (int threshold, tlRect *rect) |
int | toBin (int min, int max) |
int | toBin (int min, int max, tlRect *rect) |
int | toRgb (tlPixelArray *dest) |
int | toRgb (tlRect *rect, tlPixelArray *dest) |
int | toYuv (tlPixelArray *dest) |
int | toYuv (tlRect *rect, tlPixelArray *dest) |
int | toNrg (tlPixelArray *dest) |
int | toNrg (tlRect *rect, tlPixelArray *dest) |
int | toHsi (tlPixelArray *dest) |
int | toHsi (tlRect *rect, tlPixelArray *dest) |
int | toGray (tlPixelArray *dest) |
int | toGray (tlRect *rect, tlPixelArray *dest) |
int | toBin (int threshold, tlPixelArray *dest) |
int | toBin (int threshold, tlRect *rect, tlPixelArray *dest) |
int | toBin (int min, int max, tlPixelArray *dest) |
int | toBin (int min, int max, tlRect *rect, tlPixelArray *dest) |
int | mask (tlRect *rect) |
int | mask (tlPixelArray *mask) |
int | mask (tlPixelArray *mask, tlRect *rect) |
int | mask (tlRect *rect, tlPixelArray *dest) |
int | mask (tlPixelArray *mask, tlPixelArray *dest) |
int | mask (tlPixelArray *mask, tlRect *rect, tlPixelArray *dest) |
int | add (tlPixelArray *pixelArray) |
int | add (tlPixelArray *pixelArray, tlRect *rect) |
int | add (tlPixelArray *pixelArray, tlPixelArray *dest) |
int | add (tlPixelArray *pixelArray, tlRect *rect, tlPixelArray *dest) |
int | sub (tlPixelArray *pixelArray) |
int | sub (tlPixelArray *pixelArray, tlRect *rect) |
int | sub (tlPixelArray *pixelArray, tlPixelArray *dest) |
int | sub (tlPixelArray *pixelArray, tlRect *rect, tlPixelArray *dest) |
int | convolution (char *kernel, int kernel_size) |
int | convolution (char *kernel, int kernel_width, int kernel_height) |
int | convolution (float *kernel, int kernel_size) |
int | convolution (float *kernel, int kernel_width, int kernel_height) |
int | convolution (char *kernel, int kernel_size, tlRect *rect) |
int | convolution (char *kernel, int kernel_width, int kernel_height, tlRect *rect) |
int | convolution (float *kernel, int kernel_size, tlRect *rect) |
int | convolution (float *kernel, int kernel_width, int kernel_height, tlRect *rect) |
int | convolution (char *xkernel, int xksize, char *ykernel, int yksize) |
int | convolution (char *xkernel, int xksize, char *ykernel, int yksize, tlRect *rect) |
int | convolution (float *xkernel, int xksize, float *ykernel, int yksize) |
int | convolution (float *xkernel, int xksize, float *ykernel, int yksize, tlRect *rect) |
int | convolution (char *kernel, int kernel_size, tlPixelArray *dest) |
int | convolution (char *kernel, int kernel_width, int kernel_height, tlPixelArray *dest) |
int | convolution (float *kernel, int kernel_size, tlPixelArray *dest) |
int | convolution (float *kernel, int kernel_width, int kernel_height, tlPixelArray *dest) |
int | convolution (char *kernel, int kernel_size, tlRect *rect, tlPixelArray *dest) |
int | convolution (char *kernel, int kernel_width, int kernel_height, tlRect *rect, tlPixelArray *dest) |
int | convolution (float *kernel, int kernel_size, tlRect *rect, tlPixelArray *dest) |
int | convolution (float *kernel, int kernel_width, int kernel_height, tlRect *rect, tlPixelArray *dest) |
int | convolution (char *xkernel, int xksize, char *ykernel, int yksize, tlPixelArray *dest) |
int | convolution (char *xkernel, int xksize, char *ykernel, int yksize, tlRect *rect, tlPixelArray *dest) |
int | convolution (float *xkernel, int xksize, float *ykernel, int yksize, tlPixelArray *dest) |
int | convolution (float *xkernel, int xksize, float *ykernel, int yksize, tlRect *rect, tlPixelArray *dest) |
int | convolution (float *xkernel, int xksize, float *ykernel, int yksize, tlRect *rect, tlPixelArray *mask, tlPixelArray *dest) |
int | median (int size) |
int | median (int size, tlRect *rect) |
int | erode (int size, tlRect *rect) |
int | dilate (int size, tlRect *rect) |
int | opening (int size, tlRect *rect) |
int | closing (int size, tlRect *rect) |
int | thin (tlRect *rect) |
int | erode (int size, tlRect *rect, tlPixelArray *dest) |
int | dilate (int size, tlRect *rect, tlPixelArray *dest) |
int | opening (int size, tlRect *rect, tlPixelArray *dest) |
int | closing (int size, tlRect *rect, tlPixelArray *dest) |
int | thin (tlRect *rect, tlPixelArray *dest) |
int | filter (int minVal, int maxVal) |
int | filter (int minVal, int maxVal, tlRect *rect) |
int | filter (int minVal, int maxVal, tlPixelArray *dest) |
int | filter (int minVal, int maxVal, tlRect *rect, tlPixelArray *dest) |
int | filter (tlColor *minColor, tlColor *maxColor) |
int | filter (tlColor *minColor, tlColor *maxColor, tlRect *rect) |
int | filter (tlColor *minColor, tlColor *maxColor, tlPixelArray *dest) |
int | filter (tlColor *minColor, tlColor *maxColor, tlRect *rect, tlPixelArray *dest) |
int | getMax (tlMask *mask, tlPoint *point, int channel=0) |
int | getMin (tlMask *mask, tlPoint *point, int channel=0) |
int | getColor (tlPoint *point, tlColor *color) |
int | getColor (int x, int y, tlColor *color) |
int | getColors (tlColor *minColor, tlColor *maxColor) |
int | getColors (tlColor *minColor, tlColor *maxColor, tlRect *rect) |
int | getColorMin (tlColor *minColor) |
int | getColorMin (tlColor *minColor, tlRect *rect) |
int | getColorMax (tlColor *maxColor) |
int | getColorMax (tlColor *maxColor, tlRect *rect) |
int | find (tlObject *object, int confidence, int increment=TL_DEFAULT_INCREMENT) |
int | find (tlObject *object, int confidence, tlRect *rect, int increment=TL_DEFAULT_INCREMENT) |
int | findBest (tlObject *object, int increment=TL_DEFAULT_INCREMENT) |
int | findBest (tlObject *object, tlRect *rect, int increment=TL_DEFAULT_INCREMENT) |
int | find (tlMask *shape, int confidence, int increment=TL_DEFAULT_INCREMENT) |
int | find (tlMask *shape, int confidence, tlRect *rect, int increment=TL_DEFAULT_INCREMENT) |
int | findBest (tlMask *shape, int increment=TL_DEFAULT_INCREMENT) |
int | findBest (tlMask *shape, tlRect *rect, int increment=TL_DEFAULT_INCREMENT) |
int | findShape (tlObject *object, int confidence, int increment=TL_DEFAULT_INCREMENT) |
int | findShape (tlObject *object, int confidence, tlRect *rect, int increment=TL_DEFAULT_INCREMENT) |
int | findBestShape (tlObject *object, int increment=TL_DEFAULT_INCREMENT) |
int | findBestShape (tlObject *object, tlRect *rect, int increment=TL_DEFAULT_INCREMENT) |
int | buildHist (tlHist *hist, tlMask *mask, tlRect *rect, int channel=0) |
int | buildHist (tlHist2D *hist, tlMask *mask, tlRect *rect, int xchannel=0, int ychannel=1) |
int | set (int x, int y, int width, int height) |
int | collapse (int dsize) |
int | expand (int dsize) |
int | setCenter (int x, int y) |
int | copy (tlRect *rect) |
tlRect * | copy () |
int | copyTo (tlRect *rect) |
int | intersect (tlRect *rect) |
int | setSize (int width, int height, int depth=255) |
int | setLocation (int x, int y, int disp=0) |
int | setLocation (tlPoint *point) |
int | shift (int dx, int dy, int ddisp=0) |
int | setWorldLocation (float wx, float wy, float wz) |
tlLocation * | toLocation () |
int | toLocation (tlLocation *location) |
Public Attributes | |
tl_format | format |
unsigned long | timeStamp |
int | pixelWidth |
tlPixel * | pixel |
int | width |
int | height |
int | depth |
int | x |
int | y |
int | disp |
float | wx |
float | wy |
float | wz |
Protected Member Functions | |
int | create (tl_format format, int width, int height) |
int | deletePixel () |
tlPixelArray::tlPixelArray | ( | ) |
Constructor.
References create(), pixel, RGB, TL_DEFAULT_COLS, TL_DEFAULT_ROWS, and TL_NO_ERROR.
Referenced by mask().
tlPixelArray::tlPixelArray | ( | tl_format | format, | |
int | width, | |||
int | height | |||
) |
Constructor.
format | pixel array format | |
width | pixel array width [pix] | |
height | pixel array height [pix] |
References create(), pixel, and TL_NO_ERROR.
tlPixelArray::tlPixelArray | ( | tlPixelArray * | pixelArray | ) |
Constructor.
pixelArray | pixel array to copy from |
References create(), format, tlSize::height, pixel, pixelWidth, timeStamp, tl_copy_array(), TL_NO_ERROR, and tlSize::width.
tlPixelArray::~tlPixelArray | ( | ) | [virtual] |
int tlPixelArray::create | ( | tl_format | format, | |
int | width, | |||
int | height | |||
) | [protected] |
Perform pixel array creation and allocation.
format | pixel array format | |
width | pixel array width [pix] | |
height | pixel array height [pix] |
References pixel, pixelWidth, STEREO, timeStamp, TL_ERRNO_MSG, and TL_ERROR_ALLOCATION_FAILED.
Referenced by tlPixelArray().
int tlPixelArray::deletePixel | ( | void | ) | [protected] |
Deallocate the pixel array pixel array.
References pixel.
Referenced by copy(), tlObject::copy(), tlObject::define(), tlImage::readFromBMP(), tlImage::readFromFile(), tlImage::readFromJPG(), tlImage::readFromPPM(), scale(), and ~tlPixelArray().
int tlPixelArray::init | ( | tlPixelArray * | pixelArray | ) |
Image initialization copies attributes from another pixel array. The pixel array, however, is allocated but not copied.
pixelArray | reference pixel array |
References format, tlSize::height, hr, hrShift, pixel, pixelWidth, timeStamp, TL_ERRNO_MSG, TL_ERROR_ALLOCATION_FAILED, and tlSize::width.
Referenced by add(), tlImage::borderBlack(), tlImage::borderMirror(), convolution(), copy(), tlImage::crop(), tlCameraTSAI::dewarp(), dilate(), tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), erode(), filter(), tlBackground::get(), tlCameraSVSBase::getDisparity(), tlHough::getHoughImage(), tlCameraSVSBase::getRight(), tlBackground::getVariance(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L2::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerV4L::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), tlImage::invert(), mask(), tlImage::mirror(), putChannel(), remChannel(), tlImage::rotateLeft(), tlImage::rotateRight(), scale(), sub(), swapChannels(), thin(), toBin(), toChannel(), toGray(), toHsi(), tlHist2D::toImage(), toNrg(), toRgb(), toYuv(), and tlCameraTSAI::warp().
int tlPixelArray::init | ( | tl_format | format, | |
int | width, | |||
int | height | |||
) |
Image initialization reset the pixel array format and size. The pixel array is reallocated accordingly.
format | pixel array format | |
width | pixel array width [pix] | |
height | pixel array height [pix] |
References pixel, pixelWidth, STEREO, timeStamp, TL_ERRNO_MSG, and TL_ERROR_ALLOCATION_FAILED.
int tlPixelArray::init | ( | int | width, | |
int | height, | |||
int | pixelWidth | |||
) |
Image initialization reset the pixel array format and size. The pixel array is reallocated accordingly.
width | pixel array width [pix] | |
height | pixel array height [pix] | |
pixelWidth | pixel width [bytes] |
References CUSTOM, format, pixel, timeStamp, TL_ERRNO_MSG, and TL_ERROR_ALLOCATION_FAILED.
int tlPixelArray::setPixel | ( | int | val, | |
int | x, | |||
int | y, | |||
int | channel = 0 | |||
) |
Set the pixel value at the given position, and for the given channel.
val | new pixel value | |
x | X position in pixel array | |
y | Y position in pixel array | |
channel | channel index |
References pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_PIXEL, and tlSize::width.
int tlPixelArray::setPixel | ( | int | val, | |
tlPoint * | point, | |||
int | channel = 0 | |||
) |
Set the pixel value at the given position, and for the given channel.
val | new pixel value | |
point | pixel position in pixel array | |
channel | channel index |
References pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_PIXEL, tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::getPixel | ( | int | x, | |
int | y, | |||
int | channel = 0 | |||
) |
Return the pixel value at the given position.
x | position in pixel array | |
y | position in pixel array | |
channel | specific channel |
References pixel, pixelWidth, TL_PIXEL, and tlSize::width.
Referenced by tlObject::extract(), tlColor::set(), and tlColorModel::train().
int tlPixelArray::getPixel | ( | tlPoint * | point, | |
int | channel = 0 | |||
) |
Return the pixel value at a given position for a given channel.
point | pixel location | |
channel | specific channel (default is 0) |
References pixel, pixelWidth, TL_PIXEL, tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::copy | ( | tlPixelArray * | pixelArray | ) |
Copy the pixel array content from another pixel array.
pixelArray | the pixel array to copy from |
References deletePixel(), format, tlSize::height, hr, hrpixel, pixel, pixelWidth, timeStamp, tl_copy_array(), tl_copy_hrarray(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
Referenced by copyTo(), tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), toBin(), toGray(), toHsi(), toNrg(), toRgb(), and toYuv().
int tlPixelArray::copy | ( | tlPixelArray * | pixelArray, | |
tlRect * | rect | |||
) |
Copy the pixel array content from another pixel array.
pixelArray | the pixel array to copy from | |
rect | portion of the pixel array to copy from |
References tlSize::height, hrpixel, init(), pixel, pixelWidth, timeStamp, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, TL_MAX, TL_MIN, tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::copyTo | ( | tlPixelArray * | dest | ) |
Copy the pixel array content to another pixel array.
dest | [out] the pixel array to copy content to |
References copy(), TL_ERRNO_MSG, and TL_ERROR_NULL_POINTER.
Referenced by tlCameraTSAI::dewarp(), and tlCameraTSAI::warp().
int tlPixelArray::copyTo | ( | tlPixelArray * | dest, | |
tlRect * | rect | |||
) |
Copy the pixel array content to another pixel array.
rect | part of the pixel array to copy | |
dest | [out] the pixel array to copy content to |
References copy(), TL_ERRNO_MSG, and TL_ERROR_NULL_POINTER.
int tlPixelArray::toRect | ( | tlRect * | rect | ) |
Reset a tlRect object with the pixel array dimensions.
rect | [out] the bounding rectangle |
References tlSize::height, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, tlSize::width, tlLocation::x, and tlLocation::y.
Referenced by tlMask::set().
tlRect * tlPixelArray::toRect | ( | ) |
Create a tlRect object that contains the pixel array.
References tlSize::height, tlRect::tlRect(), tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::scale | ( | float | factor, | |
int | method = TL_SCALE_DECIMATE | |||
) |
Scale the pixel array.
factor | the fp scaling factor | |
method | scaling method |
References deletePixel(), tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, tl_scale_bspline(), TL_SCALE_BSPLINE, tl_scale_bspline_cleanup(), tl_scale_bspline_init(), tl_scale_decimate(), TL_SCALE_DECIMATE, and tlSize::width.
int tlPixelArray::scale | ( | int | newWidth, | |
int | newHeight, | |||
int | method = TL_SCALE_DECIMATE | |||
) |
Scale the pixel array.
newWidth | desired width of the scaled image | |
newHeight | desired height of the scaled image | |
method | scaling method |
References deletePixel(), tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, tl_scale_bspline(), TL_SCALE_BSPLINE, tl_scale_bspline_cleanup(), tl_scale_bspline_init(), tl_scale_decimate(), TL_SCALE_DECIMATE, and tlSize::width.
int tlPixelArray::scale | ( | float | factor, | |
tlPixelArray * | dest, | |||
int | method = TL_SCALE_DECIMATE | |||
) |
Copy a scaled version of the pixel array to another pixel array.
factor | the fp scaling factor | |
method | scaling method | |
dest | destination pixel array |
References deletePixel(), format, tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, tl_scale_bspline(), TL_SCALE_BSPLINE, tl_scale_bspline_cleanup(), tl_scale_bspline_init(), tl_scale_decimate(), TL_SCALE_DECIMATE, and tlSize::width.
int tlPixelArray::scale | ( | int | newWidth, | |
int | newHeight, | |||
tlPixelArray * | dest, | |||
int | method = TL_SCALE_DECIMATE | |||
) |
Copy a scaled version of the pixel array to another pixel array.
newWidth | desired width of the scaled image | |
newHeight | desired height of the scaled image | |
method | scaling method | |
dest | destination pixel array |
References deletePixel(), format, tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, tl_scale_bspline(), TL_SCALE_BSPLINE, tl_scale_bspline_cleanup(), tl_scale_bspline_init(), tl_scale_decimate(), TL_SCALE_DECIMATE, and tlSize::width.
int tlPixelArray::clear | ( | void | ) |
Set all pixels in the pixel array to black.
Reimplemented in tlMask.
References tlSize::height, pixel, pixelWidth, and tlSize::width.
Referenced by tlImage::borderBlack(), and tlImage::borderMirror().
int tlPixelArray::clear | ( | tlRect * | rect | ) |
Set all pixels in a portion of the pixel array to black.
rect | portion of the pixel array to clear |
References tlSize::height, pixel, pixelWidth, TL_MAX, TL_MIN, tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::addChannel | ( | void | ) |
Add a channel to a pixel array. The new channel is added after the current last channel.
References CUSTOM, format, tlSize::height, pixel, pixelWidth, tl_copy_array(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::remChannel | ( | int | channel | ) |
Remove a channel from a pixel array.
channel | channel to remove |
References CUSTOM, format, tlSize::height, pixel, pixelWidth, tl_copy_array(), TL_ERRNO_MSG, TL_ERROR, and tlSize::width.
int tlPixelArray::toChannel | ( | int | channel | ) |
Extract one of the pixel array channel.
channel | channel to extract |
Referenced by toChannel().
int tlPixelArray::toChannel | ( | int | channel, | |
tlRect * | rect | |||
) |
Extract a portion of one of the pixel array channel.
channel | channel to extract | |
rect | portion of the pixel array to convert |
References format, GRAY, tlSize::height, pixel, pixelWidth, tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::putChannel | ( | tlPixel * | pixelArray, | |
int | channel | |||
) |
Add a channel to a pixel array at a given index.
pixelArray | pixel array to insert in the pixel array | |
channel | channel where pixel array is to be inserted |
References tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
Add a channel to part of a pixel array at a given index.
pixelArray | pixel array to insert in the pixel array | |
channel | channel where pixel array is to be inserted | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::putChannel | ( | tlPixelArray * | pixelArray, | |
int | channel | |||
) |
Add a channel to a pixel array at a given index.
pixelArray | pixel array to insert | |
channel | channel where pixel array is to be inserted |
References tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::putChannel | ( | tlPixelArray * | pixelArray, | |
tlRect * | rect, | |||
int | channel | |||
) |
Add a channel to part of a pixel array at a given index.
pixelArray | pixel array to insert | |
channel | channel where pixel array is to be inserted | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::swapChannels | ( | int | channel1, | |
int | channel2 | |||
) |
Swap two channels in a pixel array.
channel1 | first channel to swap | |
channel2 | second channel to swap |
References tlSize::height, pixel, pixelWidth, tl_channel_swap(), tl_copy_array(), TL_ERRNO_MSG, TL_ERROR, and tlSize::width.
int tlPixelArray::remChannel | ( | int | channel, | |
tlPixelArray * | dest | |||
) |
Remove a channel from a pixel array and store the result in a new pixel array.
channel | channel to remove | |
dest | [out] destination pixel array |
References tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, and tlSize::width.
int tlPixelArray::toChannel | ( | int | channel, | |
tlPixelArray * | dest | |||
) |
Extract one of the pixel array channel. The result is put in another pixel array.
channel | channel to extract | |
dest | [out] destination pixel array |
References toChannel().
int tlPixelArray::toChannel | ( | int | channel, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Extract a portion of one of the pixel array channel. The result is put in another pixel array.
channel | channel to extract | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References GRAY, tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::putChannel | ( | tlPixel * | pixelArray, | |
int | channel, | |||
tlPixelArray * | dest | |||
) |
Add a channel to a pixel array at a given index, and store the result in a new pixel array
pixelArray | pixel array to insert in the pixel array | |
channel | channel where pixel array is to be inserted | |
dest | [out] destination pixel array |
References tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::putChannel | ( | tlPixel * | pixelArray, | |
tlRect * | rect, | |||
int | channel, | |||
tlPixelArray * | dest | |||
) |
Add a channel to part of an pixel array at a given index, and store the result in a new pixel array.
pixelArray | pixel array to insert in the pixel array | |
channel | channel where pixel array is to be inserted | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::putChannel | ( | tlPixelArray * | pixelArray, | |
int | channel, | |||
tlPixelArray * | dest | |||
) |
Add a channel to a pixel array at a given index and store the result in a new pixel array
pixelArray | pixel array to insert | |
channel | channel where pixel array is to be inserted | |
dest | [out] destination pixel array |
References tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::putChannel | ( | tlPixelArray * | pixelArray, | |
tlRect * | rect, | |||
int | channel, | |||
tlPixelArray * | dest | |||
) |
Add a channel to part of an pixel array at a given index and store the result in a new pixel array
pixelArray | pixel array to insert | |
channel | channel where pixel array is to be inserted | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References tlSize::height, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::swapChannels | ( | int | channel1, | |
int | channel2, | |||
tlPixelArray * | dest | |||
) |
Swap two channels in a pixel array and store the result in a new pixel array.
channel1 | first channel to swap | |
channel2 | second channel to swap | |
dest | [out] destination pixel array |
References tlSize::height, init(), pixel, pixelWidth, tl_channel_swap(), TL_ERRNO_MSG, TL_ERROR, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::toRgb | ( | ) |
Convert the pixel array to RGB format.
Referenced by toRgb().
int tlPixelArray::toRgb | ( | tlRect * | rect | ) |
Convert part of the pixel array to RGB format
rect | portion of the pixel array to convert |
References format, GRAY, tlSize::height, HSI, init(), pixel, pixelWidth, RGB, tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NOT_REQUIRED, TL_ERROR_NULL_POINTER, tl_gray2rgb(), tl_hsi2rgb(), tl_yuv2rgb(), tlSize::width, and YUV.
int tlPixelArray::toYuv | ( | ) |
Convert the pixel array to YUV format.
Referenced by toYuv().
int tlPixelArray::toYuv | ( | tlRect * | rect | ) |
Convert part of the pixel array to YUV format
rect | portion of the pixel array to convert |
References format, tlSize::height, HSI, init(), pixel, pixelWidth, RGB, tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NOT_REQUIRED, TL_ERROR_NULL_POINTER, tl_hsi2yuv(), tl_rgb2yuv(), tlSize::width, and YUV.
int tlPixelArray::toNrg | ( | ) |
Convert the pixel array to NRG format.
Referenced by toNrg().
int tlPixelArray::toNrg | ( | tlRect * | rect | ) |
Convert part of the pixel array to NRG format.
rect | portion of the pixel array to convert |
References format, tlSize::height, HSI, init(), NRG, pixel, pixelWidth, RGB, tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NOT_REQUIRED, TL_ERROR_NULL_POINTER, tl_hsi2nrg(), tl_rgb2nrg(), tl_yuv2nrg(), tlSize::width, and YUV.
int tlPixelArray::toHsi | ( | ) |
Convert the pixel array to HSI format.
Referenced by toHsi().
int tlPixelArray::toHsi | ( | tlRect * | rect | ) |
Convert part of the pixel array to HSI format.
rect | portion of the pixel array to convert |
References format, tlSize::height, HSI, init(), pixel, pixelWidth, RGB, tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NOT_REQUIRED, TL_ERROR_NULL_POINTER, tl_rgb2hsi(), tl_yuv2hsi(), tlSize::width, and YUV.
int tlPixelArray::toGray | ( | ) |
Convert the pixel array to GRAY format.
Referenced by tlCameraSVSBase::getDisparity(), and toGray().
int tlPixelArray::toGray | ( | tlRect * | rect | ) |
Convert part of the pixel array to GRAY format.
rect | portion of the pixel array to convert |
References format, GRAY, tlSize::height, HSI, init(), NRG, pixel, pixelWidth, RGB, STEREO, tl_copy_array(), tl_copy_hrarray(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NOT_REQUIRED, TL_ERROR_NULL_POINTER, tl_hrgray2gray(), tl_hsi2gray(), tl_nrg2gray(), tl_rgb2gray(), tl_yuv2gray(), tlSize::width, and YUV.
int tlPixelArray::toBin | ( | int | threshold = 1 |
) |
Convert the pixel array to BINARY format.
threshold | binary threshold ´[0...255] |
int tlPixelArray::toBin | ( | int | threshold, | |
tlRect * | rect | |||
) |
Convert part of the pixel array to BINARY format.
threshold | binary threshold [0...255] | |
rect | portion of the pixel array to convert |
References BIN, format, GRAY, tlSize::height, HSI, init(), NRG, pixel, pixelWidth, RGB, STEREO, tl_copy_array(), tl_copy_hrarray(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_gray2bin(), tl_hrgray2bin(), tl_hsi2bin(), tl_nrg2bin(), tl_rgb2bin(), tl_yuv2bin(), tlSize::width, and YUV.
int tlPixelArray::toBin | ( | int | min, | |
int | max | |||
) |
Convert the pixel array to BINARY format. The result is put in another pixel array.
min | binary lower threshold [0...255] | |
max | binary upper threshold [0...255] |
References toBin().
int tlPixelArray::toBin | ( | int | min, | |
int | max, | |||
tlRect * | rect | |||
) |
Convert part of the pixel array to BINARY format. The result is put in another pixel array.
min | binary lower threshold [0...255] | |
max | binary upper threshold [0...255] | |
rect | portion of the pixel array to convert |
References BIN, format, GRAY, tlSize::height, HSI, init(), NRG, pixel, pixelWidth, RGB, STEREO, tl_copy_array(), tl_copy_hrarray(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_gray2bin(), tl_hrgray2bin(), tl_hsi2bin(), tl_nrg2bin(), tl_rgb2bin(), tl_yuv2bin(), tlSize::width, and YUV.
int tlPixelArray::toRgb | ( | tlPixelArray * | dest | ) |
Convert the pixel array to RGB format. The result is put in another pixel array.
dest | [out] convert to destination pixel array |
References toRgb().
int tlPixelArray::toRgb | ( | tlRect * | rect, | |
tlPixelArray * | dest | |||
) |
Convert part of the pixel array to RGB format. The result is put in another pixel array.
rect | portion of the pixel array to convert | |
dest | [out] convert to destination pixel array |
References copy(), format, tlSize::height, HSI, init(), pixel, RGB, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_hsi2rgb(), and tlSize::width.
int tlPixelArray::toYuv | ( | tlPixelArray * | dest | ) |
Convert the pixel array to YUV format. The result is put in another pixel array.
dest | [out] convert to destination pixel array |
References toYuv().
int tlPixelArray::toYuv | ( | tlRect * | rect, | |
tlPixelArray * | dest | |||
) |
Convert part of the pixel array to YUV format. The result is put in another pixel array.
rect | portion of the pixel array to convert | |
dest | [out] convert to destination pixel array |
References copy(), format, tlSize::height, HSI, init(), pixel, RGB, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_hsi2yuv(), tl_rgb2yuv(), tlSize::width, and YUV.
int tlPixelArray::toNrg | ( | tlPixelArray * | dest | ) |
Convert the pixel array to NRG format. The result is put in another pixel array.
dest | [out] convert to destination pixel array |
References toNrg().
int tlPixelArray::toNrg | ( | tlRect * | rect, | |
tlPixelArray * | dest | |||
) |
Convert part of the pixel array to NRG format. The result is put in another pixel array.
rect | portion of the pixel array to convert | |
dest | [out] convert to destination pixel array |
References copy(), format, tlSize::height, HSI, init(), NRG, pixel, RGB, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_hsi2nrg(), tl_rgb2nrg(), tl_yuv2nrg(), tlSize::width, and YUV.
int tlPixelArray::toHsi | ( | tlPixelArray * | dest | ) |
Convert the pixel array to HSI format. The result is put in another pixel array.
dest | [out] convert to destination pixel array |
References toHsi().
int tlPixelArray::toHsi | ( | tlRect * | rect, | |
tlPixelArray * | dest | |||
) |
Convert part of the pixel array to HSI format. The result is put in another pixel array.
rect | portion of the pixel array to convert | |
dest | [out] convert to destination pixel array |
References copy(), format, tlSize::height, HSI, init(), pixel, RGB, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_rgb2hsi(), tl_yuv2hsi(), tlSize::width, and YUV.
int tlPixelArray::toGray | ( | tlPixelArray * | dest | ) |
Convert the pixel array to GRAY format. The result is put in another pixel array.
dest | [out] convert to destination pixel array |
References toGray().
int tlPixelArray::toGray | ( | tlRect * | rect, | |
tlPixelArray * | dest | |||
) |
Convert part of the pixel array to GRAY format. The result is put in another pixel array.
rect | portion of the pixel array to convert | |
dest | [out] convert to destination pixel array |
References copy(), format, GRAY, tlSize::height, HSI, init(), NRG, pixel, RGB, STEREO, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_hrgray2gray(), tl_hsi2gray(), tl_nrg2gray(), tl_rgb2gray(), tl_yuv2gray(), tlSize::width, and YUV.
int tlPixelArray::toBin | ( | int | threshold, | |
tlPixelArray * | dest | |||
) |
Convert the pixel array to GRAY format. The result is put in another pixel array.
threshold | binary threshold [0...255] | |
dest | [out] convert to destination pixel array |
References toBin().
int tlPixelArray::toBin | ( | int | threshold, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convert part of the pixel array to BINARY format. The result is put in another pixel array.
threshold | binary threshold [0...255] | |
rect | portion of the pixel array to process | |
dest | [out] convert to destination pixel array |
References BIN, copy(), format, GRAY, tlSize::height, HSI, init(), NRG, pixel, RGB, STEREO, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_gray2bin(), tl_hrgray2bin(), tl_hsi2bin(), tl_nrg2bin(), tl_rgb2bin(), tl_yuv2bin(), toBin(), tlSize::width, and YUV.
int tlPixelArray::toBin | ( | int | min, | |
int | max, | |||
tlPixelArray * | dest | |||
) |
Convert the pixel array to BINARY format. The result is put in another pixel array.
min | binary lower threshold [0...255] | |
max | binary upper threshold [0...255] | |
dest | [out] convert to destination pixel array |
References toBin().
int tlPixelArray::toBin | ( | int | min, | |
int | max, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convert part of the pixel array to BINARY format. The result is put in another pixel array.
min | binary lower threshold [0...255] | |
max | binary upper threshold [0...255] | |
rect | portion of the pixel array to process | |
dest | [out] convert to destination pixel array |
References BIN, copy(), format, GRAY, tlSize::height, HSI, init(), NRG, pixel, RGB, STEREO, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_gray2bin(), tl_hrgray2bin(), tl_hsi2bin(), tl_nrg2bin(), tl_rgb2bin(), tl_yuv2bin(), toBin(), tlSize::width, and YUV.
int tlPixelArray::mask | ( | tlRect * | rect | ) |
Hide all the pixels that are not in a given portion of the image by setting their value to 0 on every channel.
rect | the portion of the pixel array to keep |
References tlSize::height, pixel, pixelWidth, tl_create_array(), tl_create_hrarray(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, TL_MAX, TL_MIN, tlSize::width, tlLocation::x, and tlLocation::y.
Referenced by mask().
int tlPixelArray::mask | ( | tlPixelArray * | pixelArray | ) |
Hide the pixel array behind a given mask (provided by a binary pixel array) by setting all inactive pixels to value 0 on every channel.
pixelArray | the binary pixel array to apply as a mask to the pixel array |
References mask().
int tlPixelArray::mask | ( | tlPixelArray * | mask, | |
tlRect * | rect | |||
) |
Hide a portion of the pixel array behind a given mask (provided by a binary pixel array) by setting all inactive pixels to value 0 on every channel.
mask | the binary pixel array to apply as a mask to the pixel array | |
rect | the portion of the pixel array to mask |
References tlSize::height, hr, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, TL_MAX, TL_MIN, TL_PIXEL, tlPixelArray(), toBin(), tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::mask | ( | tlRect * | rect, | |
tlPixelArray * | dest | |||
) |
Hide all the pixels that are not in a given portion of the image by setting their value to 0 on every channel. The result is placed in the dest pixel array.
rect | the portion of the pixel array to keep | |
dest | the destination pixel array |
References tlSize::height, hrpixel, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, TL_MAX, TL_MIN, tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::mask | ( | tlPixelArray * | pixelArray, | |
tlPixelArray * | dest | |||
) |
Hide the pixel array behind a given mask (provided by a binary pixel array) by setting all inactive pixels to value 0 on every channel. The result is placed in the dest pixel array.
pixelArray | the binary pixel array to apply as a mask to the pixel array | |
dest | the destination pixel array |
References mask().
int tlPixelArray::mask | ( | tlPixelArray * | mask, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Hide a portion of the pixel array behind a given mask (provided by a binary pixel array) by setting all inactive pixels to value 0 on every channel. The result is placed in the dest pixel array.
mask | the binary pixel array to apply as a mask to the pixel array | |
rect | the portion of the pixel array to mask | |
dest | the destination pixel array |
References tlSize::height, hr, hrpixel, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, TL_MAX, TL_MIN, TL_PIXEL, tlPixelArray(), toBin(), tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::add | ( | tlPixelArray * | pixelArray | ) |
Add a pixel array to another.
pixelArray | the pixel array to add to the current pixel array |
int tlPixelArray::add | ( | tlPixelArray * | pixelArray, | |
tlRect * | rect | |||
) |
Add part of a pixel array to another.
pixelArray | the pixel array to add to the current pixel array | |
rect | portion of the pixel array to process |
References format, tlSize::height, hrpixel, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_GEOMETRY, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_pixel_add(), tl_pixel_hradd(), and tlSize::width.
int tlPixelArray::add | ( | tlPixelArray * | pixelArray, | |
tlPixelArray * | dest | |||
) |
Add a pixel array to another; the result is put into a third pixel array.
pixelArray | the pixel array to add to the current pixel array | |
dest | [out] the destination pixel array |
int tlPixelArray::add | ( | tlPixelArray * | pixelArray, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Add part of a pixel array to another; the result is put into a third pixel array
pixelArray | the pixel array to add to the current pixel array | |
rect | portion of the pixel array to process | |
dest | [out] the destination pixel array |
References format, tlSize::height, hrpixel, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_GEOMETRY, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_pixel_add(), tl_pixel_hradd(), and tlSize::width.
int tlPixelArray::sub | ( | tlPixelArray * | pixelArray | ) |
Subtract a pixel array from another.
pixelArray | the pixel array to subtract from the current pixel array |
Referenced by tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), and sub().
int tlPixelArray::sub | ( | tlPixelArray * | pixelArray, | |
tlRect * | rect | |||
) |
Subtract part of a pixel array from another
pixelArray | the pixel array to subtract from the current pixel array | |
rect | portion of the pixel array to process |
References format, tlSize::height, hrpixel, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_GEOMETRY, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_pixel_hrsub(), tl_pixel_sub(), and tlSize::width.
int tlPixelArray::sub | ( | tlPixelArray * | pixelArray, | |
tlPixelArray * | dest | |||
) |
Subtract a pixel array from another; the result is put into a third pixel array
pixelArray | the pixel array to subtract from the current pixel array | |
dest | [out] the destination pixel array |
References sub().
int tlPixelArray::sub | ( | tlPixelArray * | pixelArray, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Subtract part of a pixel array from another; the result is put into a third pixel array
pixelArray | the pixel array to subtract from the current pixel array | |
rect | portion of the pixel array to process | |
dest | [out] the destination pixel array |
References format, tlSize::height, hrpixel, init(), pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_GEOMETRY, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_pixel_hrsub(), tl_pixel_sub(), and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_size | |||
) |
Convolution with an integer square kernel.
kernel | convolution kernel (integer values) | |
kernel_size | square kernel dimension |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_width, | |||
int | kernel_height | |||
) |
Convolution with an integer rectangular kernel.
kernel | convolution kernel (integer values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_size | |||
) |
Convolution with a floating point square convolution kernel.
kernel | convolution kernel (floating-point values) | |
kernel_size | square kernel dimension |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_width, | |||
int | kernel_height | |||
) |
Convolution with a floating point rectangular convolution kernel.
kernel | convolution kernel (floating-point values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_size, | |||
tlRect * | rect | |||
) |
Convolution of part of the pixel array with an integer square convolution kernel.
kernel | convolution kernel (integer values) | |
kernel_size | square kernel dimension | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_width, | |||
int | kernel_height, | |||
tlRect * | rect | |||
) |
Convolution of part of the pixel array with an integer rectangular convolution kernel.
kernel | convolution kernel (integer values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_size, | |||
tlRect * | rect | |||
) |
Convolution of part of the pixel array with a floating point square convolution kernel.
kernel | convolution kernel (floating-point values) | |
kernel_size | square kernel dimension | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_width, | |||
int | kernel_height, | |||
tlRect * | rect | |||
) |
Convolution of part of the pixel array with a floating point rectangular convolution kernel.
kernel | convolution kernel (floating-point values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, tl_convolution(), tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | char * | xkernel, | |
int | xksize, | |||
char * | ykernel, | |||
int | yksize | |||
) |
Convolution with a separable integer kernel.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size |
References tlSize::height, pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | char * | xkernel, | |
int | xksize, | |||
char * | ykernel, | |||
int | yksize, | |||
tlRect * | rect | |||
) |
Convolution of part of the pixel array with a separable integer kernel.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | float * | xkernel, | |
int | xksize, | |||
float * | ykernel, | |||
int | yksize | |||
) |
Convolution with a separable floating point kernel.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size |
References tlSize::height, pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | float * | xkernel, | |
int | xksize, | |||
float * | ykernel, | |||
int | yksize, | |||
tlRect * | rect | |||
) |
Convolution of part of the pixel array with a separable floating point kernel.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_size, | |||
tlPixelArray * | dest | |||
) |
Convolution with an integer square kernel. Put the result in another pixel array.
kernel | convolution kernel (integer values) | |
kernel_size | square kernel dimension | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_width, | |||
int | kernel_height, | |||
tlPixelArray * | dest | |||
) |
Convolution with an integer rectangular kernel. Put the result in another pixel array.
kernel | convolution kernel (integer values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_size, | |||
tlPixelArray * | dest | |||
) |
Convolution with a floating point square convolution kernel. Put the result in another pixel array.
kernel | convolution kernel (floating-point values) | |
kernel_size | square kernel dimension | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_width, | |||
int | kernel_height, | |||
tlPixelArray * | dest | |||
) |
Convolution with a floating point rectangular convolution kernel. Put the result in another pixel array.
kernel | convolution kernel (floating-point values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_size, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convolution of part of the pixel array with an integer square convolution kernel. Put the result in another pixel array.
kernel | convolution kernel (integer values) | |
kernel_size | square kernel dimension | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | char * | kernel, | |
int | kernel_width, | |||
int | kernel_height, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convolution of part of the pixel array with an integer rectangular convolution kernel. Put the result in another pixel array.
kernel | convolution kernel (integer values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_size, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convolution of part of the pixel array with a floating point square convolution kernel. Put the result in another pixel array.
kernel | convolution kernel (floating-point values) | |
kernel_size | square kernel dimension | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | kernel, | |
int | kernel_width, | |||
int | kernel_height, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convolution of part of the pixel array with a floating point rectangular convolution kernel. Put the result in another pixel array.
kernel | convolution kernel (floating-point values) | |
kernel_width | convolution kernel width | |
kernel_height | convolution kernel height | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | char * | xkernel, | |
int | xksize, | |||
char * | ykernel, | |||
int | yksize, | |||
tlPixelArray * | dest | |||
) |
Convolution with a separable integer kernel. Put the result in another pixel array.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | char * | xkernel, | |
int | xksize, | |||
char * | ykernel, | |||
int | yksize, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convolution of part of the pixel array with a separable integer kernel. Put the result in another pixel array.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | xkernel, | |
int | xksize, | |||
float * | ykernel, | |||
int | yksize, | |||
tlPixelArray * | dest | |||
) |
Convolution with a separable floating point kernel. Put the result in another pixel array.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | xkernel, | |
int | xksize, | |||
float * | ykernel, | |||
int | yksize, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Convolution of part of the pixel array with a separable floating point kernel. Put the result in another pixel array.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References format, tlSize::height, init(), pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::convolution | ( | float * | xkernel, | |
int | xksize, | |||
float * | ykernel, | |||
int | yksize, | |||
tlRect * | rect, | |||
tlPixelArray * | mask, | |||
tlPixelArray * | dest | |||
) |
Convolution of part of the pixel array with a separable floating point kernel. Put the result in another pixel array.
xkernel | convolution kernel along the X axis | |
xksize | X convolution kernel size | |
ykernel | convolution kernel along the Y axis | |
yksize | Y convolution kernel size | |
rect | portion of the pixel array to process | |
mask | actual pixels to process | |
dest | [out] destination pixel array |
References BIN, format, tlSize::height, init(), pixel, pixelWidth, tl_convolution_x(), tl_convolution_y(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::median | ( | int | size | ) |
Apply a median filter to the pixel array.
size | size of the median kernel |
int tlPixelArray::median | ( | int | size, | |
tlRect * | rect | |||
) |
Apply a median filter to a portion of the pixel array.
size | size of the median kernel | |
rect | portion of the pixel array to process |
References tlSize::height, pixel, pixelWidth, tl_create_array(), TL_ERRNO_MSG, TL_MAX, TL_MIN, tlSize::width, tlLocation::x, and tlLocation::y.
int tlPixelArray::erode | ( | int | size, | |
tlRect * | rect | |||
) |
Perform morphological erosion on the pixel array using a square mask. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process |
References BIN, format, GRAY, tlSize::height, pixel, pixelWidth, tl_copy_array(), tl_erode_all(), tl_erode_bin(), tl_erode_gray(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::dilate | ( | int | size, | |
tlRect * | rect | |||
) |
Perform morphological dilatation on the pixel array using a square mask. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process |
References BIN, format, GRAY, tlSize::height, pixel, pixelWidth, tl_copy_array(), tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::opening | ( | int | size, | |
tlRect * | rect | |||
) |
Perform morphological opening on the pixel array using a square mask. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process |
int tlPixelArray::closing | ( | int | size, | |
tlRect * | rect | |||
) |
Perform morphological closing on the pixel array using a square mask. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process |
int tlPixelArray::thin | ( | tlRect * | rect | ) |
Perform morphological (hit and miss) thinning on the pixel array using a square mask. The operation is performed on BIN type only.
rect | the portion of the pixel array to process |
References BIN, format, tlSize::height, pixel, pixelWidth, tl_copy_array(), TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, tl_thin(), and tlSize::width.
int tlPixelArray::erode | ( | int | size, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Perform morphological erosion on the pixel array using a square mask; the result is put in another pixel array. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process | |
dest | [out] destination pixel array |
References BIN, format, GRAY, tlSize::height, init(), pixel, pixelWidth, tl_erode_all(), tl_erode_bin(), tl_erode_gray(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::dilate | ( | int | size, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Perform morphological dilatation on the pixel array using a square mask; the result is put in another pixel array. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process | |
dest | [out] destination pixel array |
References BIN, format, GRAY, tlSize::height, init(), pixel, pixelWidth, tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), TL_ERRNO_MSG, and tlSize::width.
int tlPixelArray::opening | ( | int | size, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Perform morphological opening on the pixel array using a square mask; the result is put in another pixel array. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process | |
dest | [out] destination pixel array |
References dilate().
int tlPixelArray::closing | ( | int | size, | |
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Perform morphological closing on the pixel array using a square mask; the result is put in another pixel array. The operation is performed on every pixel array channel independantly.
size | the square mask size [pix] | |
rect | the portion of the pixel array to process | |
dest | [out] destination pixel array |
References erode().
int tlPixelArray::thin | ( | tlRect * | rect, | |
tlPixelArray * | dest | |||
) |
Perform morphological (hit and miss) thinning on the pixel array using a square mask; the result is put in another pixel array. The operation is performed on BIN type only.
rect | the portion of the pixel array to process | |
dest | [out] destination pixel array |
References BIN, format, tlSize::height, init(), pixel, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, tl_thin(), and tlSize::width.
int tlPixelArray::filter | ( | int | minVal, | |
int | maxVal | |||
) |
Filter a monochrome pixel array using arbitrary boundaries.
minVal | lower pixel value boundary | |
maxVal | upper pixel value boundary |
Referenced by tlObject::define(), and filter().
int tlPixelArray::filter | ( | int | minVal, | |
int | maxVal, | |||
tlRect * | rect | |||
) |
Filter a portion of a monochrome pixel array using arbitrary boundaries.
minVal | lower pixel value boundary | |
maxVal | upper pixel value boundary | |
rect | portion of the pixel array to process |
References format, tlSize::height, pixel, pixelWidth, STEREO, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_filter_gray(), tl_filter_hrgray(), and tlSize::width.
int tlPixelArray::filter | ( | int | minVal, | |
int | maxVal, | |||
tlPixelArray * | dest | |||
) |
Filter a monochrome pixel array using arbitrary boundaries. The result is put in another pixel array.
minVal | lower pixel value boundary | |
maxVal | upper pixel value boundary | |
dest | [out] the destination pixel array |
References filter().
int tlPixelArray::filter | ( | int | minVal, | |
int | maxVal, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Filter a portion of a monochrome pixel array using arbitrary boundaries. The result is put in another pixel array.
minVal | lower pixel value boundary | |
maxVal | upper pixel value boundary | |
rect | portion of the pixel array to process | |
dest | [out] the destination pixel array |
References format, tlSize::height, hrpixel, init(), pixel, pixelWidth, STEREO, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_filter_gray(), tl_filter_hrgray(), and tlSize::width.
Filter a pixel array using color boundaries.
minColor | lower pixel value boundary | |
maxColor | upper pixel value boundary |
References filter().
Filter a portion of a pixel array using color boundaries.
minColor | lower pixel value boundary | |
maxColor | upper pixel value boundary | |
rect | portion of the pixel array to process |
References tlColor::b, BIN, format, tlColor::format, tlColor::g, GRAY, tlColor::h1, tlColor::h2, tlSize::height, HSI, tlColor::i, tlColor::intensity, tlColor::ng, tlColor::nr, NRG, pixel, tlColor::r, RGB, tlColor::s, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_filter_gray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), and tlSize::width.
int tlPixelArray::filter | ( | tlColor * | minColor, | |
tlColor * | maxColor, | |||
tlPixelArray * | dest | |||
) |
Filter a pixel array using color boundaries. The result is put in another pixel array.
minColor | lower pixel value boundary | |
maxColor | upper pixel value boundary | |
dest | [out] destination pixel array |
References filter().
int tlPixelArray::filter | ( | tlColor * | minColor, | |
tlColor * | maxColor, | |||
tlRect * | rect, | |||
tlPixelArray * | dest | |||
) |
Filter a portion of a pixel array using color boundaries. The result is put in another pixel array.
minColor | lower pixel value boundary | |
maxColor | upper pixel value boundary | |
rect | portion of the pixel array to process | |
dest | [out] destination pixel array |
References tlColor::b, BIN, format, tlColor::format, tlColor::g, GRAY, tlColor::h1, tlColor::h2, tlSize::height, HSI, tlColor::i, init(), tlColor::intensity, tlColor::ng, tlColor::nr, NRG, pixel, tlColor::r, RGB, tlColor::s, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_filter_gray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), and tlSize::width.
Extract maxima from a portion of a pixel array.
mask | portion of the pixel array to process | |
channel | channel of the pixel array to process | |
point | location of maxima in image |
References tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, TL_MAX, TL_MIN, TL_MIN_PIXEL_VAL, tlSize::width, tlLocation::x, and tlLocation::y.
Extract minima from a portion of a pixel array.
mask | portion of the pixel array to process | |
channel | channel of the pixel array to process | |
point | location of minima in image |
References tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, TL_MAX, TL_MAX_PIXEL_VAL, TL_MIN, tlSize::width, tlLocation::x, and tlLocation::y.
Retrieve the color of a given pixel.
point | point in the pixel array to retrieve | |
color | [out] color object with expected color and format |
References tlColor::set().
int tlPixelArray::getColor | ( | int | x, | |
int | y, | |||
tlColor * | color | |||
) |
Retrieve the color of a given pixel.
x | X coord of the pixel to retrieve | |
y | Y coord of the pixel to retrieve | |
color | [out] color object with expected color and format |
References tlColor::set().
Extract color maxima/minima from a pixel array. The color objects are set to the same format as the input pixel array.
minColor | [out] lower color boundary | |
maxColor | [out] upper color boundary |
Extract color maxima/minima from a portion of a pixel array. The color objects are set to the same format as the input pixel array.
rect | portion of the pixel array to process | |
minColor | [out] lower color boundary | |
maxColor | [out] upper color boundary |
References BIN, format, tlColor::format, GRAY, tlSize::height, HSI, NRG, pixel, RGB, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_extract_color_gray(), tl_extract_color_hsi(), tl_extract_color_nrg(), tl_extract_color_rgb(), tl_extract_color_yuv(), tlSize::width, and YUV.
int tlPixelArray::getColorMin | ( | tlColor * | minColor | ) |
Extract color minima from a pixel array. The color object is set to the same format as the input pixel array.
minColor | [out] lower color boundary |
Extract color minima from a portion of a pixel array. The color object is set to the same format as the input pixel array.
rect | portion of the pixel array to process | |
minColor | [out] lower color boundary |
References BIN, format, tlColor::format, GRAY, tlSize::height, HSI, NRG, pixel, RGB, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_extract_color_min_gray(), tl_extract_color_min_hsi(), tl_extract_color_min_nrg(), tl_extract_color_min_rgb(), tl_extract_color_min_yuv(), tlSize::width, and YUV.
int tlPixelArray::getColorMax | ( | tlColor * | maxColor | ) |
Extract color maxima from a pixel array. The color object is set to the same format as the input pixel array.
maxColor | [out] upper color boundary |
Extract color maxima from a portion of a pixel array. The color object is set to the same format as the input pixel array.
rect | portion of the pixel array to process | |
maxColor | [out] upper color boundary |
References BIN, format, tlColor::format, GRAY, tlSize::height, HSI, NRG, pixel, RGB, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, TL_ERROR_NULL_POINTER, tl_extract_color_max_gray(), tl_extract_color_max_hsi(), tl_extract_color_max_nrg(), tl_extract_color_max_rgb(), tl_extract_color_max_yuv(), tlSize::width, and YUV.
int tlPixelArray::find | ( | tlObject * | object, | |
int | confidence, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find an object in an image given a minimum confidence threshold. This call updates the object argument.
object | [out] object to find | |
confidence | min match threshold [%] | |
increment | correlation increment |
Referenced by find(), and findShape().
int tlPixelArray::find | ( | tlObject * | object, | |
int | confidence, | |||
tlRect * | rect, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find an object in a portion of an image given a minimum confidence threshold. This call updates the object argument.
object | [out] object to find | |
confidence | min match threshold [%] | |
rect | portion of the image to process | |
increment | correlation increment |
References format, tlSize::height, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, tl_find_object(), and tlSize::width.
int tlPixelArray::findBest | ( | tlObject * | object, | |
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find the best match for an object in the image. This call updates the object argument.
object | [out] object to find | |
increment | correlation increment |
Referenced by findBest(), and findBestShape().
int tlPixelArray::findBest | ( | tlObject * | object, | |
tlRect * | rect, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find the best match for an object in a portion of the image. This call updates the object argument.
object | [out] object to find | |
rect | portion of the image to process | |
increment | correlation increment |
References format, tlSize::height, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, tl_find_best_object(), and tlSize::width.
int tlPixelArray::find | ( | tlMask * | shape, | |
int | confidence, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find an object shape in an image given a minimum confidence threshold. This call updates the shape argument.
shape | shape to find | |
confidence | min match threshold [%] | |
increment | correlation increment |
References find().
int tlPixelArray::find | ( | tlMask * | shape, | |
int | confidence, | |||
tlRect * | rect, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find an object shape in a portion of an image given a minimum confidence threshold. This call updates the shape argument.
shape | shape to find | |
confidence | min match threshold [%] | |
rect | portion of the image to process | |
increment | correlation increment |
References BIN, format, tlSize::height, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, tl_find_shape(), and tlSize::width.
int tlPixelArray::findBest | ( | tlMask * | shape, | |
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find the best match for an object shape in the image. This call updates the shape argument.
shape | shape to find | |
increment | correlation increment |
References findBest().
Find the best match for an object shape in a portion of the image. This call updates the shape argument.
shape | shape to find | |
rect | portion of the image to process | |
increment | correlation increment |
References BIN, format, tlSize::height, TL_ERRNO_MSG, TL_ERROR_INVALID_FORMAT, tl_find_best_shape(), and tlSize::width.
int tlPixelArray::findShape | ( | tlObject * | object, | |
int | confidence, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find an object shape in an image given a minimum confidence threshold. This call updates the shape argument.
object | shape to find | |
confidence | min match threshold [%] | |
increment | correlation increment |
References find(), tlObject::shape, tlLocation::x, and tlLocation::y.
int tlPixelArray::findShape | ( | tlObject * | object, | |
int | confidence, | |||
tlRect * | rect, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find an object shape in a portion of an image given a minimum confidence threshold. This call updates the shape argument.
object | shape to find | |
confidence | min match threshold [%] | |
rect | portion of the image to process | |
increment | correlation increment |
References find(), tlObject::shape, tlLocation::x, and tlLocation::y.
int tlPixelArray::findBestShape | ( | tlObject * | object, | |
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find the best match for an object shape in the image. This call updates the shape argument.
object | shape to find | |
increment | correlation increment |
References findBest(), tlObject::shape, tlLocation::x, and tlLocation::y.
int tlPixelArray::findBestShape | ( | tlObject * | object, | |
tlRect * | rect, | |||
int | increment = TL_DEFAULT_INCREMENT | |||
) |
Find the best match for an object shape in a portion of the image. This call updates the shape argument.
object | shape to find | |
rect | portion of the image to process | |
increment | correlation increment |
References findBest(), tlObject::shape, tlLocation::x, and tlLocation::y.
Build a histogram of a given channel for a portion of a pixel array.
mask | pixel array mask (do not consider inactive pixels) | |
rect | portion of the pixel array to consider | |
channel | channel to extract | |
hist | [out] the resulting histogram |
References tlHist::build(), tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlPixelArray::buildHist | ( | tlHist2D * | hist, | |
tlMask * | mask, | |||
tlRect * | rect, | |||
int | xchannel = 0 , |
|||
int | ychannel = 1 | |||
) |
Build a 2D histogram of two given channels from a portion of a pixel array.
mask | pixel array mask (do not consider inactive pixels) | |
rect | portion of the pixel array to consider | |
xchannel | channel to extract | |
ychannel | channel to extract | |
hist | [out] a valid pointer to the resulting histogram |
References tlHist2D::build(), tlSize::height, pixel, pixelWidth, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, and tlSize::width.
int tlRect::set | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height | |||
) | [inherited] |
Set rectangle member values.
x | rectangle upper-left corner x position [pix] | |
y | rectangle upper-left corner y position [pix] | |
width | rectangle width [pix] | |
height | rectangle height [pix] |
int tlRect::collapse | ( | int | dsize | ) | [inherited] |
Evenly shrinks the rectangle around its center.
dsize | width/height decrease [pix] |
References tlLocation::x, and tlLocation::y.
int tlRect::expand | ( | int | dsize | ) | [inherited] |
Evenly expands the rectangle around its center
dsize | width/height decrease [pix] |
References tlLocation::x, and tlLocation::y.
int tlRect::setCenter | ( | int | x, | |
int | y | |||
) | [inherited] |
Set the location of the rectangle center.
x | rectangle center x position [pix] | |
y | rectangle center corner y position [pix] |
Reimplemented in tlMask.
int tlRect::copy | ( | tlRect * | rect | ) | [inherited] |
Copy the rectangle parameters from another tlRect object.
rect | the rectangle that should be copied |
References tlRect::copyTo().
tlRect * tlRect::copy | ( | ) | [inherited] |
Create a copy of the rectangle.
delete
when done with it.References tlRect::tlRect(), tlLocation::x, and tlLocation::y.
int tlRect::copyTo | ( | tlRect * | rect | ) | [inherited] |
Copy rectangle parameters to another rect object
rect | the rectangle that should contained copied parameters |
References tlSize::height, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, tlSize::width, tlLocation::x, and tlLocation::y.
Referenced by tlRect::copy().
int tlRect::intersect | ( | tlRect * | rect | ) | [inherited] |
Check if a given rectangle intesects with the current object.
rect | the rectangle to check for intersection |
References tlSize::height, TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, tlSize::width, tlLocation::x, and tlLocation::y.
int tlSize::setSize | ( | int | width, | |
int | height, | |||
int | depth = 255 | |||
) | [inherited] |
Set the size object parameters.
width | object width | |
height | object height | |
depth | object disparity range size |
Referenced by tlObject::tlObject().
int tlLocation::setLocation | ( | int | x, | |
int | y, | |||
int | disp = 0 | |||
) | [inherited] |
Set the location object parameters.
x | x location of the object [pix] | |
y | y location of the object [pix] | |
disp | disparity of the object [disp] |
Referenced by tlLine::clip(), tlLine::copy(), tlObject::define(), tlSpiral::get(), tlSpiral::getLast(), tlSpiral::getNext(), tlMask::merge(), tlLine::set(), tl_find_shape(), tlObject::tlObject(), tlCameraSVSBase::toImage(), tlLocation::toLocation(), and tlSpiral::toNext().
int tlLocation::setLocation | ( | tlPoint * | point | ) | [inherited] |
Set the location object parameters.
point | tlPoint object |
References tlLocation::disp, tlLocation::x, and tlLocation::y.
int tlLocation::shift | ( | int | dx, | |
int | dy, | |||
int | ddisp = 0 | |||
) | [inherited] |
Shift the object location.
dx | shift along x axis [pix] | |
dy | shift along y axis [pix] | |
ddisp | disparity shift [disp] |
References tlLocation::disp, tlLocation::x, and tlLocation::y.
int tlLocation::setWorldLocation | ( | float | wx, | |
float | wy, | |||
float | wz | |||
) | [inherited] |
Set the world location object parameters.
wx | world X location | |
wy | world Y location | |
wz | world Z location |
Referenced by tlLocation::toLocation(), and tlCameraSVSBase::toWorld().
tlLocation * tlLocation::toLocation | ( | ) | [inherited] |
Get a copy of the location of the object.
References tlLocation::disp, tlLocation::setLocation(), tlLocation::setWorldLocation(), tlLocation::tlLocation(), tlLocation::wx, tlLocation::wy, tlLocation::wz, tlLocation::x, and tlLocation::y.
Referenced by tlCameraSVSBase::toImage(), and tlCameraSVSBase::toWorld().
int tlLocation::toLocation | ( | tlLocation * | location | ) | [inherited] |
Get the location of the object.
location | [out] tlLocation object that will receive the data |
References tlLocation::disp, tlLocation::wx, tlLocation::wy, tlLocation::wz, tlLocation::x, and tlLocation::y.
Image format (see tl_format for more information).
Referenced by add(), addChannel(), tlChain::blindExtract(), tlImage::borderBlack(), tlImage::borderMirror(), convolution(), copy(), tlObject::copy(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), dilate(), tlImage::drawCross(), tlImage::drawImage(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), erode(), tlObject::extract(), tlChain::extract(), tlImage::fillObject(), tlImage::fillRect(), filter(), tlColorModel::filter(), tlBackground::filter(), find(), findBest(), getColorMax(), getColorMin(), getColors(), init(), tlBackground::init(), tlImage::invert(), tlImage::mirror(), tlImage::normalize(), tlImage::readFromBMP(), tlImage::readFromFile(), tlImage::readFromJPG(), tlImage::readFromPPM(), remChannel(), tlImage::rotateLeft(), tlImage::rotateRight(), scale(), tlColor::set(), tlColor::setMax(), tlColor::setMin(), tlColor::setVar(), sub(), thin(), tl_find_best_object(), tl_find_object(), tl_write_tlb(), tlMask::tlMask(), tlPixelArray(), toBin(), toChannel(), toGray(), toHsi(), toNrg(), toRgb(), toYuv(), tlColorModel::train(), tlBackground::update(), tlCameraTSAI::warp(), tlImage::writeToBMP(), and tlImage::writeToPPM().
Time at which the pixel array was updated (from a hardware digitizer).
Referenced by copy(), tlObject::copy(), create(), tlObject::getPredictedPosition(), tlObject::getPredictedX(), tlObject::getPredictedY(), init(), and tlPixelArray().
int * tlPixelArray::pixelWidth |
The number of bytes per pixel (depends on the image format).
Referenced by add(), addChannel(), tlImage::borderBlack(), tlImage::borderMirror(), buildHist(), clear(), convolution(), copy(), tlObject::copy(), create(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), dilate(), tlImage::drawCross(), tlImage::drawImage(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), erode(), tlHough::extract(), tlImage::fillObject(), tlImage::fillRect(), filter(), tlColorModel::filter(), getMax(), getMin(), getPixel(), init(), tlBackground::init(), tlImage::invert(), mask(), median(), tlImage::mirror(), putChannel(), tlImage::readFromBMP(), tlImage::readFromFile(), tlImage::readFromJPG(), tlImage::readFromPPM(), remChannel(), tlImage::rotateLeft(), tlImage::rotateRight(), scale(), tlMask::set(), tlColor::set(), setPixel(), sub(), swapChannels(), thin(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_write_tlb(), tlMask::tlMask(), tlPixelArray(), toBin(), toChannel(), toGray(), toHsi(), toNrg(), toRgb(), toYuv(), tlCameraTSAI::warp(), and tlImage::writeToJPG().
Pointer to the pixel array. The array size is (width * height * pixelWidth) bytes.
Referenced by add(), addChannel(), tlMask::adjust(), tlChain::blindExtract(), tlImage::borderBlack(), tlImage::borderMirror(), buildHist(), clear(), tlMask::clear(), convolution(), copy(), tlObject::copy(), tlMask::copy(), create(), tlMask::crop(), tlImage::crop(), tlObject::define(), deletePixel(), tlCameraTSAI::dewarp(), dilate(), tlImage::drawCross(), tlImage::drawImage(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), erode(), tlObject::extract(), tlHough::extract(), tlChain::extract(), tlMask::fill(), tlImage::fillObject(), tlImage::fillRect(), filter(), tlColorModel::filter(), tlBackground::filter(), tlBackground::get(), getColorMax(), getColorMin(), getColors(), tlCameraSVSBase::getDisparity(), tlHough::getHoughImage(), getMax(), getMin(), getPixel(), tlCameraSVSBase::getRight(), tlBackground::getVariance(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L2::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerV4L::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), init(), tlBackground::init(), tlMask::invert(), tlImage::invert(), mask(), median(), tlMask::merge(), tlMask::minimize(), tlImage::mirror(), tlImage::normalize(), putChannel(), tlImage::readFromBMP(), tlImage::readFromFile(), tlImage::readFromJPG(), tlImage::readFromPPM(), remChannel(), tlImage::rotateLeft(), tlImage::rotateRight(), scale(), tlMask::set(), tlMask::setCenter(), tlColor::setMax(), tlColor::setMin(), setPixel(), tlColor::setVar(), sub(), swapChannels(), thin(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_normalize_gray(), tl_write_tlb(), tlMask::tlMask(), tlPixelArray(), toBin(), toChannel(), toGray(), toHsi(), tlHist2D::toImage(), toNrg(), toRgb(), toYuv(), tlColorModel::train(), tlBackground::update(), tlCameraTSAI::warp(), tlImage::writeToBMP(), tlImage::writeToJPG(), and tlImage::writeToPPM().
int tlSize::width [inherited] |
width of the object inheriting from tlSize.
Referenced by add(), addChannel(), tlMask::adjust(), tlChain::blindExtract(), tlImage::borderBlack(), tlImage::borderMirror(), tlHist2D::build(), tlHist::build(), buildHist(), clear(), tlMask::clear(), tlLine::clip(), convolution(), copy(), tlObject::copy(), tlMask::copy(), tlRect::copyTo(), tlMask::crop(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), dilate(), tlImage::drawCross(), tlImage::drawImage(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), erode(), tlObject::extract(), tlChain::extract(), tlMask::fill(), tlImage::fillObject(), tlImage::fillRect(), filter(), tlColorModel::filter(), tlBackground::filter(), find(), findBest(), getColorMax(), getColorMin(), getColors(), tlCameraSVSBase::getDisparity(), getMax(), getMin(), getPixel(), tlCameraSVSBase::getRight(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), tlSpiral::init(), init(), tlBackground::init(), tlRect::intersect(), tlMask::invert(), tlImage::invert(), mask(), median(), tlMask::merge(), tlMask::minimize(), tlImage::mirror(), tlImage::normalize(), putChannel(), tlImage::readFromBMP(), tlImage::readFromFile(), tlImage::readFromJPG(), tlImage::readFromPPM(), remChannel(), tlImage::rotateLeft(), tlImage::rotateRight(), scale(), tlMask::set(), tlMask::setCenter(), tlColor::setMax(), tlColor::setMin(), setPixel(), tlColor::setVar(), sub(), swapChannels(), thin(), tl_channel_put(), tl_channel_swap(), tl_convolution(), tl_convolution_x(), tl_convolution_y(), tl_copy_array(), tl_copy_hrarray(), tl_copy_hrsubarray(), tl_copy_subarray(), tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), tl_edges_bin(), tl_erode_all(), tl_erode_bin(), tl_erode_gray(), tl_extract_color_gray(), tl_extract_color_hsi(), tl_extract_color_max_gray(), tl_extract_color_max_hsi(), tl_extract_color_max_nrg(), tl_extract_color_max_rgb(), tl_extract_color_max_yuv(), tl_extract_color_min_gray(), tl_extract_color_min_hsi(), tl_extract_color_min_nrg(), tl_extract_color_min_rgb(), tl_extract_color_min_yuv(), tl_extract_color_nrg(), tl_extract_color_rgb(), tl_extract_color_yuv(), tl_filter_gray(), tl_filter_hrgray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_gray2bin(), tl_gray2rgb(), tl_hrgray2bin(), tl_hrgray2gray(), tl_hsi2bin(), tl_hsi2gray(), tl_hsi2rgb(), tl_normalize_gray(), tl_nrg2bin(), tl_nrg2gray(), tl_pixel_add(), tl_pixel_hradd(), tl_pixel_hrscale(), tl_pixel_hrsub(), tl_pixel_scale(), tl_pixel_sub(), tl_rgb2bin(), tl_rgb2gray(), tl_rgb2hsi(), tl_rgb2nrg(), tl_rgb2yuv(), tl_thin_hitandmiss(), tl_to_channel(), tl_write_tlb(), tl_yuv2bin(), tl_yuv2gray(), tl_yuv2nrg(), tl_yuv2rgb(), tlBlobs::tlBlobs(), tlMask::tlMask(), tlObject::tlObject(), tlPixelArray(), tlSize::tlSize(), toBin(), toChannel(), toGray(), toHsi(), toNrg(), toRect(), toRgb(), toYuv(), tlColorModel::train(), tlBackground::update(), tlCameraTSAI::warp(), tlImage::writeToBMP(), tlImage::writeToJPG(), and tlImage::writeToPPM().
int tlSize::height [inherited] |
height of the object inheriting from tlSize.
Referenced by add(), addChannel(), tlMask::adjust(), tlChain::blindExtract(), tlImage::borderBlack(), tlImage::borderMirror(), tlHist2D::build(), tlHist::build(), buildHist(), clear(), tlMask::clear(), tlLine::clip(), convolution(), copy(), tlObject::copy(), tlMask::copy(), tlRect::copyTo(), tlMask::crop(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), dilate(), tlImage::drawCross(), tlImage::drawImage(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), erode(), tlObject::extract(), tlChain::extract(), tlMask::fill(), tlImage::fillObject(), tlImage::fillRect(), filter(), tlColorModel::filter(), tlBackground::filter(), find(), findBest(), getColorMax(), getColorMin(), getColors(), tlCameraSVSBase::getDisparity(), getMax(), getMin(), tlCameraSVSBase::getRight(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), tlSpiral::init(), init(), tlBackground::init(), tlRect::intersect(), tlMask::invert(), tlImage::invert(), mask(), median(), tlMask::merge(), tlMask::minimize(), tlImage::mirror(), tlImage::normalize(), putChannel(), tlImage::readFromBMP(), tlImage::readFromFile(), tlImage::readFromJPG(), tlImage::readFromPPM(), remChannel(), tlImage::rotateLeft(), tlImage::rotateRight(), scale(), tlMask::set(), tlMask::setCenter(), tlColor::setMax(), tlColor::setMin(), tlColor::setVar(), sub(), swapChannels(), thin(), tl_channel_put(), tl_channel_swap(), tl_convolution(), tl_convolution_x(), tl_convolution_y(), tl_copy_array(), tl_copy_hrarray(), tl_copy_hrsubarray(), tl_copy_subarray(), tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), tl_edges_bin(), tl_erode_all(), tl_erode_bin(), tl_erode_gray(), tl_extract_color_gray(), tl_extract_color_hsi(), tl_extract_color_max_gray(), tl_extract_color_max_hsi(), tl_extract_color_max_nrg(), tl_extract_color_max_rgb(), tl_extract_color_max_yuv(), tl_extract_color_min_gray(), tl_extract_color_min_hsi(), tl_extract_color_min_nrg(), tl_extract_color_min_rgb(), tl_extract_color_min_yuv(), tl_extract_color_nrg(), tl_extract_color_rgb(), tl_extract_color_yuv(), tl_filter_gray(), tl_filter_hrgray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_gray2bin(), tl_gray2rgb(), tl_hrgray2bin(), tl_hrgray2gray(), tl_hsi2bin(), tl_hsi2gray(), tl_hsi2rgb(), tl_normalize_gray(), tl_nrg2bin(), tl_nrg2gray(), tl_pixel_add(), tl_pixel_hradd(), tl_pixel_hrscale(), tl_pixel_hrsub(), tl_pixel_scale(), tl_pixel_sub(), tl_rgb2bin(), tl_rgb2gray(), tl_rgb2hsi(), tl_rgb2nrg(), tl_rgb2yuv(), tl_thin_hitandmiss(), tl_to_channel(), tl_write_tlb(), tl_yuv2bin(), tl_yuv2gray(), tl_yuv2nrg(), tl_yuv2rgb(), tlBlobs::tlBlobs(), tlMask::tlMask(), tlObject::tlObject(), tlPixelArray(), tlSize::tlSize(), toBin(), toChannel(), toGray(), toHsi(), toNrg(), toRect(), toRgb(), toYuv(), tlColorModel::train(), tlBackground::update(), tlCameraTSAI::warp(), tlImage::writeToBMP(), tlImage::writeToJPG(), and tlImage::writeToPPM().
int tlSize::depth [inherited] |
disparity range size of the object inheriting from tlSize.
Referenced by tlSize::tlSize().
int tlLocation::x [inherited] |
X location of the object [pix].
Referenced by tlMask::adjust(), tlChain::blindExtract(), tlHist2D::build(), tlHist::build(), clear(), tlRect::collapse(), tlRect::copy(), tlPoint::copy(), copy(), tlObject::copy(), tlMask::copy(), tlRect::copyTo(), tlPoint::copyTo(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), tlPoint::dist(), tlImage::drawCross(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlRect::expand(), tlObject::extract(), tlChain::extract(), tlImage::fillObject(), tlImage::fillRect(), tlColorModel::filter(), tlBackground::filter(), findBestShape(), findShape(), tlCameraSVSBase::getDisparity(), getMax(), getMin(), getPixel(), tlObject::getPredictedPosition(), tlObject::getPredictedX(), tlCameraSVSBase::getRight(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), tlSpiral::init(), tlRect::intersect(), tlMask::invert(), tlChain::isIn(), mask(), median(), tlMask::merge(), tlMask::minimize(), tlMask::set(), tlLine::set(), tlColor::set(), tlLocation::setLocation(), setPixel(), tlLocation::shift(), tl_channel_put(), tl_channel_swap(), tl_convolution(), tl_convolution_x(), tl_convolution_y(), tl_copy_array(), tl_copy_hrarray(), tl_copy_hrsubarray(), tl_copy_subarray(), tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), tl_edges_bin(), tl_erode_all(), tl_erode_bin(), tl_erode_gray(), tl_extract_color_gray(), tl_extract_color_hsi(), tl_extract_color_max_gray(), tl_extract_color_max_hsi(), tl_extract_color_max_nrg(), tl_extract_color_max_rgb(), tl_extract_color_max_yuv(), tl_extract_color_min_gray(), tl_extract_color_min_hsi(), tl_extract_color_min_nrg(), tl_extract_color_min_rgb(), tl_extract_color_min_yuv(), tl_extract_color_nrg(), tl_extract_color_rgb(), tl_extract_color_yuv(), tl_filter_gray(), tl_filter_hrgray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_gray2bin(), tl_gray2rgb(), tl_hrgray2bin(), tl_hrgray2gray(), tl_hsi2bin(), tl_hsi2gray(), tl_hsi2rgb(), tl_normalize_gray(), tl_nrg2bin(), tl_nrg2gray(), tl_pixel_add(), tl_pixel_hradd(), tl_pixel_hrscale(), tl_pixel_hrsub(), tl_pixel_scale(), tl_pixel_sub(), tl_rgb2bin(), tl_rgb2gray(), tl_rgb2hsi(), tl_rgb2nrg(), tl_rgb2yuv(), tl_thin_hitandmiss(), tl_to_channel(), tl_yuv2bin(), tl_yuv2gray(), tl_yuv2nrg(), tl_yuv2rgb(), tlLocation::tlLocation(), tlMask::tlMask(), tlSpiral::tlSpiral(), tlCameraTSAI::toImage(), tlLocation::toLocation(), toRect(), tlCameraTSAI::toWorld(), tlCameraSVSBase::toWorld(), tlBackground::update(), and tlCameraTSAI::warp().
int tlLocation::y [inherited] |
Y location of the object [pix].
Referenced by tlMask::adjust(), tlChain::blindExtract(), tlHist2D::build(), tlHist::build(), clear(), tlRect::collapse(), tlRect::copy(), tlPoint::copy(), copy(), tlObject::copy(), tlMask::copy(), tlRect::copyTo(), tlPoint::copyTo(), tlImage::crop(), tlObject::define(), tlCameraTSAI::dewarp(), tlPoint::dist(), tlImage::drawCross(), tlImage::drawLine(), tlImage::drawMask(), tlImage::drawObject(), tlImage::drawPoint(), tlImage::drawRect(), tlImage::drawText(), tlRect::expand(), tlObject::extract(), tlChain::extract(), tlImage::fillObject(), tlImage::fillRect(), tlColorModel::filter(), tlBackground::filter(), findBestShape(), findShape(), tlCameraSVSBase::getDisparity(), getMax(), getMin(), getPixel(), tlObject::getPredictedPosition(), tlObject::getPredictedY(), tlCameraSVSBase::getRight(), tlSourceVideoFile::grab(), tlDigitizerVRm::grab(), tlDigitizerV4L::grab(), tlDigitizerPXC200::grab(), tlDigitizerDX::grab(), tlDigitizerDT3130::grab(), tlCameraSVSHead::grab(), tlSourceVideoFile::grabQueued(), tlDigitizerPXC200::grabQueued(), tlDigitizerDT3130::grabQueued(), tlSpiral::init(), tlRect::intersect(), tlChain::isIn(), mask(), median(), tlMask::merge(), tlMask::minimize(), tlMask::set(), tlLine::set(), tlColor::set(), tlLocation::setLocation(), setPixel(), tlLocation::shift(), tl_channel_put(), tl_channel_swap(), tl_convolution(), tl_convolution_x(), tl_convolution_y(), tl_copy_array(), tl_copy_hrarray(), tl_copy_hrsubarray(), tl_copy_subarray(), tl_dilate_all(), tl_dilate_bin(), tl_dilate_gray(), tl_edges_bin(), tl_erode_all(), tl_erode_bin(), tl_erode_gray(), tl_extract_color_gray(), tl_extract_color_hsi(), tl_extract_color_max_gray(), tl_extract_color_max_hsi(), tl_extract_color_max_nrg(), tl_extract_color_max_rgb(), tl_extract_color_max_yuv(), tl_extract_color_min_gray(), tl_extract_color_min_hsi(), tl_extract_color_min_nrg(), tl_extract_color_min_rgb(), tl_extract_color_min_yuv(), tl_extract_color_nrg(), tl_extract_color_rgb(), tl_extract_color_yuv(), tl_filter_gray(), tl_filter_hrgray(), tl_filter_hsi(), tl_filter_nrg(), tl_filter_rgb(), tl_find_best_object(), tl_find_best_shape(), tl_find_object(), tl_find_shape(), tl_gray2bin(), tl_gray2rgb(), tl_hrgray2bin(), tl_hrgray2gray(), tl_hsi2bin(), tl_hsi2gray(), tl_hsi2rgb(), tl_normalize_gray(), tl_nrg2bin(), tl_nrg2gray(), tl_pixel_add(), tl_pixel_hradd(), tl_pixel_hrscale(), tl_pixel_hrsub(), tl_pixel_scale(), tl_pixel_sub(), tl_rgb2bin(), tl_rgb2gray(), tl_rgb2hsi(), tl_rgb2nrg(), tl_rgb2yuv(), tl_thin_hitandmiss(), tl_to_channel(), tl_yuv2bin(), tl_yuv2gray(), tl_yuv2nrg(), tl_yuv2rgb(), tlLocation::tlLocation(), tlMask::tlMask(), tlSpiral::tlSpiral(), tlCameraTSAI::toImage(), tlLocation::toLocation(), toRect(), tlCameraTSAI::toWorld(), tlCameraSVSBase::toWorld(), tlBackground::update(), and tlCameraTSAI::warp().
int tlLocation::disp [inherited] |
Disparity of the object [disp].
Referenced by tlPoint::copy(), tlPoint::copyTo(), tlLocation::setLocation(), tlLocation::shift(), tlLocation::tlLocation(), tlLocation::toLocation(), and tlCameraSVSBase::toWorld().
int tlLocation::wx [inherited] |
X location of the object in real-world coordonates [m].
Referenced by tlLocation::tlLocation(), tlCameraTSAI::toImage(), tlCameraSVSBase::toImage(), tlLocation::toLocation(), and tlCameraTSAI::toWorld().
int tlLocation::wy [inherited] |
Y location of the object in real-world coordonates [m].
Referenced by tlLocation::tlLocation(), tlCameraTSAI::toImage(), tlCameraSVSBase::toImage(), tlLocation::toLocation(), and tlCameraTSAI::toWorld().
int tlLocation::wz [inherited] |
Z location of the object in real-world coordonates [m].
Referenced by tlLocation::tlLocation(), tlCameraTSAI::toImage(), tlCameraSVSBase::toImage(), tlLocation::toLocation(), and tlCameraTSAI::toWorld().