1 /* thin-image.h: thin binary image 2 3 Copyright (C) 2001, 2002 Martin Weber 4 5 This library is free software; you can redistribute it and/or 6 modify it under the terms of the GNU Lesser General Public License 7 as published by the Free Software Foundation; either version 2.1 of 8 the License, or (at your option) any later version. 9 10 This library is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Lesser General Public License for more details. 14 15 You should have received a copy of the GNU Lesser General Public 16 License along with this library; if not, write to the Free Software 17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 18 USA. */ 19 20 #ifndef THIN_IMAGE_H 21 #define THIN_IMAGE_H 22 23 /* 24 * C code from the article 25 * "Efficient Binary Image Thinning using Neighborhood Maps" 26 * by Joseph M. Cychosz, 3ksnn64@ecn.purdue.edu 27 * in "Graphics Gems IV", Academic Press, 1994 28 */ 29 30 #include "bitmap.h" 31 #include "color.h" 32 #include "exception.h" 33 34 void thin_image (bitmap_type *image, const color_type *bg_color, at_exception_type * exp); 35 36 #endif /* not THIN_IMAGE_H */ 37