TLIB documentation
 

tlEdges.h File Reference


Detailed Description

Internal edges operators.

#include "tlVision.h"

Include dependency graph for tlEdges.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#define TL_EDGES_BIN   0

Method tag for edges extraction.
BIN image edge extraction.

See also:
tlImage::edges()

#define TL_EDGES_MORPH   1

Method tag for edges extraction.
Morphological-based edge extraction.

See also:
tlImage::edges()

#define TL_EDGES_PREWITT   3

Method tag for edges extraction.
Prewitt convolution image edge extraction.

See also:
tlImage::edges()

#define TL_EDGES_SOBEL   2

Method tag for edges extraction.
Sobel convolution edge extraction.

See also:
tlImage::edges()


Function Documentation

int tl_edges_bin ( tlPixel src,
int  width,
int  height,
tlRect rect,
tlPixel dest 
)

Binary image edge detection.

Parameters:
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
Returns:
0 on success, -1 otherwise.
See error management for details.

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.

Parameters:
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
Returns:
0 on success, -1 otherwise. See error management for details.

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.

Parameters:
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
Returns:
0 on success, -1 otherwise.
See error management for details.

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.

Parameters:
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
Returns:
0 on success, -1 otherwise.
See error management for details.



TLIB documentation - generated on 7 May 2008
Please address any questions to seb@tuyphon.com
(C) 2001-2008 - S. Grange
(C) 2001-2007 - VRAI Group, EPFL
All Rights Reserved.