tesseract/ccstruct
Noah Metzger 7dcfd6884f Fixed possible division by zero
CID 1375394: cblob()->perimeter() can return zero under some circumstances.

Signed-off-by: Noah Metzger <noah.metzger@bib.uni-mannheim.de>
2018-04-20 13:43:39 +02:00
..
blamer.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
blamer.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
blckerr.h top-skimming import from sf.net 2007-03-07 20:03:40 +00:00
blobbox.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
blobbox.h Fixed possible division by zero 2018-04-20 13:43:39 +02:00
blobs.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
blobs.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
blread.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
blread.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
boxread.cpp Rewrote unicharset_extractor to use the new string normalizer and read plain text as well as box files. 2017-09-08 11:49:57 +01:00
boxread.h Rewrote unicharset_extractor to use the new string normalizer and read plain text as well as box files. 2017-09-08 11:49:57 +01:00
boxword.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
boxword.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
ccstruct.cpp Removed dependence on IMAGE class 2014-01-09 17:30:23 +00:00
ccstruct.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
coutln.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
coutln.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
crakedge.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
debugpixa.h More formatting fixes from clang tidy 2017-04-28 13:38:32 -07:00
detlinefit.cpp Improved baseline fit 2013-09-20 19:43:47 +00:00
detlinefit.h Improved baseline fit 2013-09-20 19:43:47 +00:00
dppoint.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
dppoint.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
fontinfo.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
fontinfo.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
genblob.cpp remove unused code (Windows related) 2013-07-08 18:21:10 +00:00
genblob.h Deleted lots of dead code, including PBLOB 2011-03-18 21:52:38 +00:00
hpdsizes.h Added missing license headers 2016-11-18 15:53:11 -08:00
imagedata.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
imagedata.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
ipoints.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
linlsq.cpp Improved baseline fit 2013-09-20 19:43:47 +00:00
linlsq.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
Makefile.am Remove macro USE_STD_NAMESPACE (#1360) 2018-03-04 14:43:28 +01:00
matrix.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
matrix.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
mod128.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
mod128.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
normalis.cpp ccstruct: Fix typos in comments and strings 2015-09-14 22:02:00 +02:00
normalis.h ccstruct: Fix typos in comments and strings 2015-09-14 22:02:00 +02:00
ocrblock.cpp Fixed a resource leak detected by Coverity 2018-04-19 13:55:39 +02:00
ocrblock.h Fixed a resource leak detected by Coverity 2018-04-19 13:55:39 +02:00
ocrpara.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
ocrpara.h Added simultaneous multi-language capability, Refactored top-level word recognition module, Blamer module added for error analysis, Tidied up constraints on control parameters, Added UNICHARSET to WERD_CHOICE to make mult-language handling easier, Added word bigram correction 2012-02-02 03:06:39 +00:00
ocrrow.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
ocrrow.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
otsuthr.cpp Fixes from pull of cleanups: clang tidied, reviewed, fixed new bugs, undeleted needed code. Probably breaks the build, due to some inclusion of changes in utf8/32 conversion 2017-07-14 09:30:14 -07:00
otsuthr.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
pageres.cpp Fixed a resource leak detected by Coverity 2018-04-19 13:55:39 +02:00
pageres.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
params_training_featdef.cpp Major refactor of beam search, elimination of dead code, misc bug fixes, updates to Makefile.am, Changelog etc. 2013-09-23 15:26:50 +00:00
params_training_featdef.h Remove extra semicolons after member function definitions 2016-12-04 14:54:52 +01:00
pdblock.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
pdblock.h Fixed a resource leak detected by Coverity 2018-04-19 13:55:39 +02:00
points.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
points.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
polyaprx.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
polyaprx.h Generalized feature extractor to allow fx from greyscale 2013-09-23 15:21:37 +00:00
polyblk.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
polyblk.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
publictypes.cpp change comments to doxygen block comments (api) 2012-03-30 21:24:12 +00:00
publictypes.h mark& block legacy OCR Engine untill it will be removed. 2018-02-18 19:31:09 +01:00
quadlsq.cpp Improved baseline fit 2013-09-20 19:43:47 +00:00
quadlsq.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
quadratc.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
quspline.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
quspline.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
ratngs.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
ratngs.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
rect.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
rect.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
rejctmap.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
rejctmap.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
seam.cpp Fix compiler warning (-Wchar-subscript) (#1259) 2018-01-08 21:26:25 +01:00
seam.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
split.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
split.h Major refactor to improve speed on difficut images, especially when running 2015-05-12 14:59:14 -07:00
statistc.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
statistc.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
stepblob.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
stepblob.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
vecfuncs.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
vecfuncs.h Major refactor to improve speed on difficut images, especially when running 2015-05-12 14:59:14 -07:00
werd.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
werd.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00