TLIB documentation
 

tlMorph.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 __TLMORPH_H__
00018 #define __TLMORPH_H__
00019 
00020 
00021 
00022 #include "tlVision.h"
00023 
00024 
00025 
00026 // thinning
00027 int tl_thin            (tlPixel *src, int width, int height, tlRect *rect, tlPixel *dest);
00028 int tl_thin_hitandmiss (tlPixel *src, int width, int height, tlPixel *kernel, tlRect *rect, tlPixel *dest);
00029 
00030 // erosion
00031 int tl_erode_all   (tlPixel *src, int width, int height, int pixel_width, int size, tlRect *rect, tlPixel *dest);
00032 int tl_erode_gray  (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00033 int tl_erode_bin   (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00034 
00035 // dilatation
00036 int tl_dilate_all  (tlPixel *src, int width, int height, int pixel_width, int size, tlRect *rect, tlPixel *dest);
00037 int tl_dilate_gray (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00038 int tl_dilate_bin  (tlPixel *src, int width, int height, int size, tlRect *rect, tlPixel *dest);
00039 
00040 
00041 
00042 #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.