summaryrefslogtreecommitdiffstats
path: root/zbar/qrcode/binarize.h
diff options
context:
space:
mode:
Diffstat (limited to 'zbar/qrcode/binarize.h')
-rw-r--r--zbar/qrcode/binarize.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/zbar/qrcode/binarize.h b/zbar/qrcode/binarize.h
new file mode 100644
index 0000000..3ec5bc4
--- /dev/null
+++ b/zbar/qrcode/binarize.h
@@ -0,0 +1,17 @@
+/*Copyright (C) 2008-2009 Timothy B. Terriberry (tterribe@xiph.org)
+ You can redistribute this library and/or modify it under the terms of the
+ GNU Lesser General Public License as published by the Free Software
+ Foundation; either version 2.1 of the License, or (at your option) any later
+ version.*/
+#if !defined(_qrcode_binarize_H)
+#define _qrcode_binarize_H (1)
+
+void qr_image_cross_masking_median_filter(unsigned char *_img, int _width,
+ int _height);
+
+void qr_wiener_filter(unsigned char *_img, int _width, int _height);
+
+/*Binarizes a grayscale image.*/
+unsigned char *qr_binarize(const unsigned char *_img, int _width, int _height);
+
+#endif