tesseract/classify
Stefan Weil 83588bc7a1 Classify: Avoid unneeded new / delete operations
Both class variables BaselineCutoffs and CharNormCutoffs were pointers
to fixed size arrays which were allocated in the constructor and
deallocated in the destructor. These two extra allocations and two
extra deallocations can be avoided.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2017-04-30 19:45:50 +02:00
..
adaptive.cpp Replace alloc_struct, free_struct 2017-04-30 09:25:04 +02:00
adaptive.h 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
adaptmatch.cpp Replace alloc_struct, free_struct 2017-04-30 09:25:04 +02:00
blobclass.cpp Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07: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 Classify: Avoid unneeded new / delete operations 2017-04-30 19:45:50 +02:00
cluster.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
cluster.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
clusttool.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
clusttool.h 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
cutoffs.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
cutoffs.h Changes to classify for 3.00 2009-07-11 02:17:36 +00: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 Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
featdefs.h Fix building of training tools in shared configuration. 2016-12-17 16:19:35 +03:00
float2int.cpp Fixed infinite loop in training due to poor clipping of the table filler 2015-05-13 17:09:35 -07: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 classify: Remove unused constant kMinPCLengthIncrease 2016-09-06 21:49:16 +02:00
intfeaturemap.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
intfeaturespace.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
intfeaturespace.h clang-tidy changes from sync 2017-01-25 16:20:19 -08:00
intfx.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
intfx.h Refactorerd control functions to enable parallel blob classification 2013-11-08 20:30:56 +00:00
intmatcher.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
intmatcher.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
intproto.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
intproto.h Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
kdtree.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
kdtree.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
Makefile.am Makefile.am for fix to issue 1252 2015-05-12 15:25:00 -07:00
mastertrainer.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
mastertrainer.h 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
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 Replace alloc_struct, free_struct 2017-04-30 09:25:04 +02: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 Replace alloc_struct, free_struct 2017-04-30 09:25:04 +02:00
ocrfeatures.h Misc fixes missed from previous commits 2015-05-12 18:13:15 -07: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 Fixed slow-down that was caused by upping MAX_NUM_CLASSES 2014-01-24 21:12:35 +00:00
protos.h Fixed slow-down that was caused by upping MAX_NUM_CLASSES 2014-01-24 21:12:35 +00: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 Result of clang tidy on recent merge 2016-11-07 10:46:33 -08: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 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
shapetable.h 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
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 Formatting changes from clang_tidy on latest pull 2016-11-30 15:44:25 -08:00
trainingsample.h Replace reserved identifiers used in #define guards header files 2016-12-04 15:43:03 +01:00
trainingsampleset.cpp classify: Remove unused local function 2017-03-09 16:19:21 +01:00
trainingsampleset.h Fixed issue #557 2017-01-25 16:05:59 -08:00