#include "tlVision.h"
Go to the source code of this file.
Defines | |
#define | TL_EDGES_BIN 0 |
#define | TL_EDGES_MORPH 1 |
#define | TL_EDGES_SOBEL 2 |
#define | TL_EDGES_PREWITT 3 |
Functions | |
int | tl_edges_bin (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest) |
int | tl_edges_vert_sobel (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest) |
int | tl_edges_vert_prewitt (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest) |
int | tl_edges_hor_sobel (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest) |
#define TL_EDGES_BIN 0 |
#define TL_EDGES_MORPH 1 |
#define TL_EDGES_PREWITT 3 |
Method tag for edges extraction.
Prewitt convolution image edge extraction.
#define TL_EDGES_SOBEL 2 |
Binary image edge detection.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
rect | portion of the image to process | |
dest | [out] pixel array containing the edge map |
int tl_edges_hor_sobel | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | pixel_width, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
Horizontal image edge detection using the Sobel operator.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
pixel_width | pixel width | |
rect | portion of the image to process | |
dest | [out] pixel array containing the edge map |
int tl_edges_vert_prewitt | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | pixel_width, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
Vertical image edge detection using the Prewitt operator.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
pixel_width | pixel width | |
rect | portion of the image to process | |
dest | [out] pixel array containing the edge map |
int tl_edges_vert_sobel | ( | tlPixel * | src, | |
int | width, | |||
int | height, | |||
int | pixel_width, | |||
tlRect * | rect, | |||
tlPixel * | dest | |||
) |
Vertical image edge detection using the Sobel operator.
src | pixel array containing image to convert | |
width | image width | |
height | image height | |
pixel_width | pixel width | |
rect | portion of the image to process | |
dest | [out] pixel array containing the edge map |