ZBar bar code reader . http://zbar.sourceforge.net/ ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial projects.

Dependents:   GR-PEACH_Camera_in_barcode levkov_ov7670

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers binarize.h Source File

binarize.h

00001 /*Copyright (C) 2008-2009  Timothy B. Terriberry (tterribe@xiph.org)
00002   You can redistribute this library and/or modify it under the terms of the
00003    GNU Lesser General Public License as published by the Free Software
00004    Foundation; either version 2.1 of the License, or (at your option) any later
00005    version.*/
00006 #if !defined(_qrcode_binarize_H)
00007 # define _qrcode_binarize_H (1)
00008 
00009 void qr_image_cross_masking_median_filter(unsigned char *_img,
00010  int _width,int _height);
00011 
00012 void qr_wiener_filter(unsigned char *_img,int _width,int _height);
00013 
00014 /*Binarizes a grayscale image.*/
00015 unsigned char *qr_binarize(const unsigned char *_img,int _width,int _height);
00016 
00017 #endif
00018