TLIB documentation
 

tlEdges.h

Go to the documentation of this file.
00001 /////////////////////////////////////////////////////////////////////////////////
00002 //
00003 //  This file is part of the TLIB computer vision library.
00004 //  Copyright (C) 2003-2008 Sebastien Grange
00005 //  Copyright (C) 2003-2007 VRAI Group, EPFL
00006 //  All rights reserved.
00007 // 
00008 //  This library is free software; you can redistribute it and/or modify
00009 //  it under the terms of the GNU General Public License("GPL") version 2
00010 //  as published by the Free Software Foundation.
00011 // 
00012 //  <http://www.tuyphon.com/tlib>
00013 //
00014 /////////////////////////////////////////////////////////////////////////////////
00015 
00016 
00017 #ifndef __TLEDGES_H__
00018 #define __TLEDGES_H__
00019 
00020 
00021 // edge extraction method
00022 #define TL_EDGES_BIN        0
00023 #define TL_EDGES_MORPH      1    
00024 #define TL_EDGES_SOBEL      2
00025 #define TL_EDGES_PREWITT    3
00026 
00027 
00028 #include "tlVision.h"
00029 
00030 
00031 // edge extraction
00032 int tl_edges_bin          (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest);
00033 
00034 // vertical edge extraction
00035 int tl_edges_vert_sobel   (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00036 int tl_edges_vert_prewitt (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00037 
00038 // horizontal edge extraction
00039 int tl_edges_hor_sobel    (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00040 int tl_edges_hor_prewitt  (tlPixel *src, int width, int height, int pixel_width, tlRect *rect, tlPixel *dest);
00041 
00042 
00043 #endif


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.