#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 |
Method tag for edges extraction.
Morphological-based edge extraction.
Referenced by tlImage::edges(), tlImage::edgesHor(), and tlImage::edgesVert().
#define TL_EDGES_PREWITT 3 |
Method tag for edges extraction.
Prewitt convolution image edge extraction.
Referenced by tlImage::edges(), tlImage::edgesHor(), and tlImage::edgesVert().
#define TL_EDGES_SOBEL 2 |
Method tag for edges extraction.
Sobel convolution edge extraction.
Referenced by tlImage::edges(), tlImage::edgesHor(), and tlImage::edgesVert().
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 |
References tlSize::height, tl_edges_bin(), TL_ERRNO_MSG, TL_ERROR_NULL_POINTER, TL_MAX, TL_MAX_PIXEL_VAL, TL_MIN, TL_NO_ERROR, TL_PIXEL, tlSize::width, tlLocation::x, and tlLocation::y.
Referenced by tlImage::edges(), tlImage::edgesHor(), tlImage::edgesVert(), and tl_edges_bin().
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 |
References tl_convolution_x(), tl_convolution_y(), and tl_edges_hor_sobel().
Referenced by tlImage::edges(), tlImage::edgesHor(), and tl_edges_hor_sobel().
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 |
References tl_convolution_x(), tl_convolution_y(), and tl_edges_vert_prewitt().
Referenced by tlImage::edges(), tlImage::edgesVert(), and tl_edges_vert_prewitt().
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 |
References tl_convolution_x(), tl_convolution_y(), and tl_edges_vert_sobel().
Referenced by tlImage::edges(), tlImage::edgesVert(), and tl_edges_vert_sobel().