| 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, [email protected] |
| 27 |
* in "Graphics Gems IV", Academic Press, 1994 |
| 28 |
*/ |
| 29 |
|
| 30 |
#include "bitmap.h" |
| 31 |
#include "exception.h" |
| 32 |
|
| 33 |
void |
| 34 |
thin_image(bitmap_type *image, bool bg_spec, pixel bg_color, |
| 35 |
at_exception_type * exp); |
| 36 |
|
| 37 |
#endif /* not THIN_IMAGE_H */ |