deskew-110

所属分类:单片机开发
开发工具:Visual Basic
文件大小:4138KB
下载次数:10
上传日期:2015-01-13 17:29:03
上 传 者ammar blue
说明:  Skew detection and correction is very important task before pre-processing of an image and it is a major problem in scanned documents, if it not detected correctly it will lead wrong result in future during image analysis. During the scanning of the document, skew is being often introduced in the document image. To measure the processed time and speed taken by skew detection algorithm, the Fast Fourier Transform (FFT) technique is applied as it is fast approach for finding the angle of skewed document. This technique is used by firstly applying DCT compression and thresholding on image to reduce timing computation and after that Fourier spectrum is obtained. Further this spectrum is divided into four quadrants and detected skewed angle of each quadrant is measured. And finally Input image is rotated by using bilinear interpolation method.

文件列表:
Deskew\.hg_archival.txt (148, 2014-03-05)
Deskew\Bin\RunTests.bat (1052, 2014-03-05)
Deskew\Bin\deskew (647512, 2014-03-05)
Deskew\Bin\deskew-osx (1015844, 2014-03-05)
Deskew\Bin\deskew.exe (1091584, 2014-03-05)
Deskew\Bin\deskew64 (865464, 2014-03-05)
Deskew\Bin\deskew64.exe (1605632, 2014-03-05)
Deskew\Bin\runtests.sh (1064, 2014-03-05)
Deskew\Clean.bat (79, 2014-03-05)
Deskew\CmdLineOptions.pas (8232, 2014-03-05)
Deskew\Doc\Compiling.txt (815, 2014-03-05)
Deskew\ImageUtils.pas (5069, 2014-03-05)
Deskew\Imaging\Imaging.pas (141370, 2014-03-05)
Deskew\Imaging\ImagingBitmap.pas (28869, 2014-03-05)
Deskew\Imaging\ImagingCanvases.pas (73754, 2014-03-05)
Deskew\Imaging\ImagingClasses.pas (36475, 2014-03-05)
Deskew\Imaging\ImagingColors.pas (8093, 2014-03-05)
Deskew\Imaging\ImagingComponents.pas (43816, 2014-03-05)
Deskew\Imaging\ImagingDds.pas (44746, 2014-03-05)
Deskew\Imaging\ImagingExtras.pas (6037, 2014-03-05)
Deskew\Imaging\ImagingFormats.pas (145884, 2014-03-05)
Deskew\Imaging\ImagingGif.pas (42394, 2014-03-05)
Deskew\Imaging\ImagingIO.pas (20647, 2014-03-05)
Deskew\Imaging\ImagingJpeg.pas (23425, 2014-03-05)
Deskew\Imaging\ImagingNetworkGraphics.pas (88657, 2014-03-05)
Deskew\Imaging\ImagingOptions.inc (7099, 2014-03-05)
Deskew\Imaging\ImagingPortableMaps.pas (32852, 2014-03-05)
Deskew\Imaging\ImagingPsd.pas (27913, 2014-03-05)
Deskew\Imaging\ImagingQuartz.pas (6353, 2014-03-05)
Deskew\Imaging\ImagingRadiance.pas (14338, 2014-03-05)
Deskew\Imaging\ImagingTarga.pas (19131, 2014-03-05)
Deskew\Imaging\ImagingTiff.pas (2822, 2014-03-05)
Deskew\Imaging\ImagingTiffMac.pas (1632, 2014-03-05)
Deskew\Imaging\ImagingTypes.pas (24923, 2014-03-05)
Deskew\Imaging\ImagingUtility.pas (47132, 2014-03-05)
Deskew\Imaging\ImagingWic.pas (14101, 2014-03-05)
Deskew\Imaging\JpegLib\imjcapimin.pas (13505, 2014-03-05)
Deskew\Imaging\JpegLib\imjcapistd.pas (8534, 2014-03-05)
Deskew\Imaging\JpegLib\imjccoefct.pas (18658, 2014-03-05)
... ...

Deskew ------------------------ by Marek Mauder http://galfar.vevb.net/deskew/ https://bitbucket.org/galfar/app-deskew v1.10 2014-03-04 Overview ------------------------ Deskew is a command line tool for deskewing scanned text documents. It uses Hough transform to detect "text lines" in the image. As an output, you get an image rotated so that the lines are horizontal. There are binaries built for these platforms (located in Bin folder): Win32, Win***, Linux 32bit+***bit, Mac OSX 32bit. Some binaries have sufix identifying their platform (deskew***.exe, deskew-osx, etc.). You can find some test images in TestImages folder and scripts to run tests (RunTests.bat and runtests.sh) in Bin. Note that scripts just call 'deskew' command so you may need to rename binary for your platform to just 'deskew'. Usage ------------------------ deskew [-o output] [-a angle] [-t a|treshold] [-b color] [-r rect] [-f format] [-s info] input -o output: Output image file (default: out.png) -a angle: Maximal skew angle in degrees (default: 10) -t a|treshold: Auto threshold or value in 0..255 (default: a) -b color: Background color in hex format RRGGBB (default: trns. black) -r rect: Skew detection only in content rectangle (pixels): left,top,right,bottom (default: whole page) -f format: Force output pixel format (values: b1|g8|rgba32) -s info: Info dump (any combination of): s - skew detection stats, p - program parameters input: Input image file Supported file formats Input: BMP, JPG, PNG, JNG, GIF, DDS, TGA, PBM, PGM, PPM, PAM, PFM, PSD, TIF (depends on platform) Output: BMP, JPG, PNG, JNG, GIF, DDS, TGA, PGM, PPM, PAM, PFM, PSD, TIF (depends on platform) Version History ------------------------ 1.10 2014-03-04: - TIFF support for Win*** and 32/***bit Linux - forced output formats - fix: output file name were always lowercase - fix: preserves resolution metadata (e.g. 300dpi) of input when writing output 1.00 2012-06-04: - background color - "area of interest" content rect - ***bit and Mac OSX support - PSD and TIFF (win32) support - show skew detection stats and program parameters 0.95 2010-12-28: - Added auto thresholding - Imaging library updated. 0.90 2010-02-12: -Initial version

近期下载者

相关文件


收藏者