TLIB documentation
#include "tlVision.h"


Go to the source code of this file.
Functions | |
| int | tl_normalize_gray (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
| int | tl_normalize_gray (tlPixel *src, int width, int height, tlMask *mask, tlRect *rect, tlPixel *dest) |
| int tl_normalize_gray | ( | tlPixel * | src, | |
| int | width, | |||
| int | height, | |||
| tlMask * | mask, | |||
| tlRect * | rect, | |||
| tlPixel * | dest | |||
| ) |
Normalize a GRAY picture so that it uses to full range as defined by TL_MIN_PIXEL_VAL and TL_MAX_PIXEL_VAL. The normlization is limited to the masked area.
| src | the pixel array to normalize | |
| width | image width | |
| height | image height | |
| mask | data mask | |
| rect | portion of the image to process | |
| dest | [out] destination pixel array |
Normalize a GRAY picture so that it uses to full range as defined by TL_MIN_PIXEL_VAL and TL_MAX_PIXEL_VAL.
| src | the pixel array to normalize | |
| width | image width | |
| height | image height | |
| rect | portion of the image to process | |
| dest | [out] destination pixel array |