1 /*
2 * Some filters for Potrace in Inkscape
3 *
4 * Authors:
5 * Bob Jamison <rjamison@titan.com>
6 * Stéphane Gimenez <dev@gim.name>
7 *
8 * Copyright (C) 2004-2006 Authors
9 *
10 * Released under GNU GPL, read the file 'COPYING' for more information
11 */
13 #ifndef __FILTERSET_H__
14 #define __FILTERSET_H__
16 #include "imagemap.h"
18 #include <gdk-pixbuf/gdk-pixbuf.h>
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
24 /**
25 * Apply gaussian blur to an GrayMap
26 */
27 GrayMap *grayMapGaussian(GrayMap *gmap);
29 /**
30 * Apply gaussian bluf to an RgbMap
31 */
32 RgbMap *rgbMapGaussian(RgbMap *rgbmap);
34 /**
35 *
36 */
37 GrayMap *grayMapCanny(GrayMap *gmap,
38 double lowThreshold, double highThreshold);
40 /**
41 *
42 */
43 GdkPixbuf *gdkCanny(GdkPixbuf *img,
44 double lowThreshold, double highThreshold);
46 /**
47 *
48 */
49 GrayMap *quantizeBand(RgbMap *rgbmap, int nrColors);
53 #ifdef __cplusplus
54 }
55 #endif
58 #endif /* __FILTERSET_H__ */
60 /*#########################################################################
61 ### E N D O F F I L E
62 #########################################################################*/