tesseract/classify
Stefan Weil 023e1b340e Use POSIX data types and macros (#878)
* api: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccmain: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccstruct: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* classify: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* cutil: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* dict: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* textord: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* training: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* wordrec: Replace Tesseract data types by POSIX data types

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccutil: Replace Tesseract data types by POSIX data types

Now all Tesseract data types which are no longer needed can be removed
from ccutil/host.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccmain: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccstruct: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* classify: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* dict: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* lstm: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* textord: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* wordrec: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* ccutil: Replace Tesseract's MIN_*INT, MAX_*INT* by POSIX *INT*_MIN, *INT*_MAX

Remove the macros which are now unused from ccutil/host.h.
Remove also the obsolete history comments.

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* Fix build error caused by ambiguous ClipToRange

Error message vom Appveyor CI:

    C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2672: 'ClipToRange': no matching overloaded function found [C:\projects\tesseract\build\libtesseract.vcxproj]
    C:\projects\tesseract\ccstruct\coutln.cpp(818): error C2782: 'T ClipToRange(const T &,const T &,const T &)': template parameter 'T' is ambiguous [C:\projects\tesseract\build\libtesseract.vcxproj]
      c:\projects\tesseract\ccutil\helpers.h(122): note: see declaration of 'ClipToRange'
      C:\projects\tesseract\ccstruct\coutln.cpp(818): note: could be 'char'
      C:\projects\tesseract\ccstruct\coutln.cpp(818): note: or       'int'

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* unittest: Replace Tesseract's MAX_INT8 by POSIX INT8_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>

* arch: Replace Tesseract's MAX_INT8 by POSIX INT8_MAX

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-03-13 21:36:30 +01:00
..
adaptive.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
adaptive.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
adaptmatch.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
blobclass.cpp Fewer g++ -Wsign-compare warnings 2017-05-11 23:14:52 +02:00
blobclass.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
classify.cpp Classify: Avoid unneeded new / delete operations 2017-04-30 19:45:50 +02:00
classify.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
cluster.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
cluster.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
clusttool.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
clusttool.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
cutoffs.cpp Final part of endian improvement. Adds big-endian support to lstm and fixes issue 518 2017-05-03 16:09:44 -07:00
cutoffs.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
errorcounter.cpp Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
errorcounter.h Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
featdefs.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
featdefs.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
float2int.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
float2int.h Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
fpoint.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
fpoint.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
intfeaturedist.cpp Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
intfeaturedist.h Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
intfeaturemap.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intfeaturemap.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
intfeaturespace.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intfeaturespace.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intfx.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intfx.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intmatcher.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intmatcher.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intproto.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
intproto.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
kdtree.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
kdtree.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
mastertrainer.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
mastertrainer.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
mf.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
mf.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
mfdefs.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
mfdefs.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
mfoutline.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
mfoutline.h Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files. 2015-07-09 14:28:20 -07:00
mfx.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
mfx.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
normfeat.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
normfeat.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
normmatch.cpp Added extra Init that takes a memory buffer or a filereader function pointer to enable read of traineddata from memory or foreign file systems. Updated existing readers to use TFile API instead of FILE. This does not yet add big-endian capability to LSTM, but it is very easy from here. 2017-04-27 15:48:23 -07:00
normmatch.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
ocrfeatures.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
ocrfeatures.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
outfeat.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
outfeat.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
picofeat.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
picofeat.h Fix building of training tools in shared configuration. 2016-12-17 16:19:35 +03:00
protos.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
protos.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
sampleiterator.cpp Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
sampleiterator.h Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
shapeclassifier.cpp fix filenames in comments 2017-07-02 17:35:47 -04:00
shapeclassifier.h Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
shapetable.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
shapetable.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
tessclassifier.cpp Fixed crash on debugging classifier with a shapetable present 2015-05-13 17:10:23 -07:00
tessclassifier.h Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
trainingsample.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
trainingsample.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
trainingsampleset.cpp Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00
trainingsampleset.h Use POSIX data types and macros (#878) 2018-03-13 21:36:30 +01:00