![]() |
KSquare Utilities
|
KKB The namespace for KKBase Library supporting general functionality needed by almost any application. More...
Classes | |
| class | Application |
| The base class for all standalone application. More... | |
| class | Atom |
| Base class of all other classes that are meant to be managed by 'KKBase'. More... | |
| class | BitString |
| Allows you to manage very long bit strings. More... | |
| class | Blob |
| Used by the Raster object to identify a distinct blob; where it is in the raster and its unique id. More... | |
| class | BlobList |
| Maintains a list of blobs. More... | |
| class | BmpImage |
| Used to encode and decode BMP Images. More... | |
| class | Chart |
| Used to Create chart's from defined series of data. More... | |
| class | CmdLineExpander |
| Expands command line parameters, by parsing for special parameters and expanding them to their full value. More... | |
| class | Compressor |
| Simple class that will compress and decompress specified buffers using the routines provided in zlib. More... | |
| class | Configuration |
| General purpose Configuration File manager class. More... | |
| class | ContourFollower |
| class | ConvexHull |
| Operator that will create a Convex Hull of a supplied image. More... | |
| class | DateTime |
| class | DateType |
| Represents a calendar date consisting of three fields, Year, Month, and Day. More... | |
| class | GlobalGoalKeeper |
| Maintains one instance of a GoalKeeper object that can be used anywhere in the application. More... | |
| class | GoalKeeper |
| class | GoalKeeperList |
| class | GoalKeeperSimple |
| A simple/ light-weight implementation of critical section blocking. More... | |
| class | GoalKeeperSimpleList |
| class | HashTable |
| class | Histogram |
| Used to manage the construction of a Histogram. More... | |
| class | HTMLReport |
| class | ImageDirTree |
| Creates a index of all images in a specified directory structure. More... | |
| class | Iterator |
| class | KK_DFT1D |
| class | KK_DFT2D |
| class | KKException |
| class | KKObservable |
| The base class to be used by Observer classes. More... | |
| class | KKObserver |
| The base class to be used by Observer classes. More... | |
| class | KKQueue |
| A typed container class/template that keeps track of entries via pointers only. More... | |
| class | KKStr |
| class | KKStrList |
| class | KKStrListIndexed |
| class | KKStrMatrix |
| A two dimensional matrix of Strings. More... | |
| class | KKStrParser |
| Class that manages the extraction of tokens from a String without being destructive to the original string. More... | |
| class | KKThread |
| The base class to be used any thread. More... | |
| class | KKThreadList |
| class | KKThreadManager |
| class | Matrix |
| Supports two dimensional matrices. More... | |
| class | MorphOp |
| Base class for all Morphological operations. More... | |
| class | MorphOpBinarize |
| class | MorphOpBmiFiltering |
| class | MorphOpDilation |
| class | MorphOpErosion |
| class | MorphOpMaskExclude |
| class | MorphOpSobel |
| class | MorphOpStretcher |
| class | MorphOpStruct |
| struct | MovDir |
| class | MsgQueue |
| Will manage a buffer that will allow multiple threads to add and remove messages to a queue. More... | |
| class | PixelValue |
| Used by the Raster Class to represent the contents of one pixel. More... | |
| class | Point |
| Used by Raster class and MorphOp derived classes to denote a single pixel location in Raster image. More... | |
| class | PointList |
| Container object used to maintaining a list of pixel locations. More... | |
| class | RandomNumGenerator |
| Represents one single random number generator. More... | |
| class | Raster |
| A class that is used by to represent a single image in memory. More... | |
| class | RasterBuffer |
| Will manage a buffer that will allow multiple threads to add and remove instances of 'Raster' objects. More... | |
| class | RasterList |
| class | RBnode |
| class | RBTree |
| class | Row |
| class | RunLog |
| Used for logging messages. More... | |
| class | SegmentorOTSU |
| class | SimpleCompressor |
| class | TimeType |
| Represents a Time, consisting of three fields, Hour, Minute, and Second. summary>Represents Date and Time, consists of two member classes DateType and TimeType. More... | |
| class | TokenBuffer |
| class | TokenBufferStr |
| class | TokenBufferStream |
| class | Tokenizer |
| Class is meant to break down a stream into a set of logical tokens. More... | |
| class | VectorKKStr |
| union | WordFormat32Bits |
| Structure used to break 32 bit word into different formats;. More... | |
| class | XmlAttribute |
| class | XmlAttributeList |
| class | XmlContent |
| class | XmlElement |
| class | XmlElementArrayDouble |
| class | XmlElementArrayFloat |
| class | XmlElementArrayFloat2D |
| class | XmlElementArrayFloat2DVarying |
| class | XmlElementArrayInt32 |
| class | XmlElementArrayUint16 |
| class | XmlElementBool |
| class | XmlElementDateTime |
| class | XmlElementDouble |
| class | XmlElementFloat |
| class | XmlElementInt32 |
| class | XmlElementInt64 |
| class | XmlElementKeyValuePairs |
| class | XmlElementKKStr |
| class | XmlElementTemplate |
| class | XmlElementUnKnown |
| XmlElement derived class that will be used when there is no Factory defined for the element. More... | |
| class | XmlElementVectorFloat |
| class | XmlElementVectorInt32 |
| class | XmlFactory |
| class | XmlFactoryManager |
| class | XmlStream |
| Manages the reading and writing of objects in a simple XML format. For a class to be supported by XmlStream it must implement: More... | |
| class | XmlTag |
| class | XmlToken |
| class | XmlTokenizer |
| Manages the break down a stream into a set of logical tokens compatible with the XML format. More... | |
Enumerations | |
| enum | ColorChannels { ColorChannels::Red, ColorChannels::Green, ColorChannels::Blue } |
| enum | RBcolor { RBcolor::Red, RBcolor::Black } |
Functions | |
| template<typename T > | |
| T | Calc3TTLQC (const vector< T > &v, kkint32 b) |
| template<typename T > | |
| T | CalcBQV (const vector< T > &v, kkint32 blockSize) |
| template<typename T > | |
| void | CalcMeanAndStdDev (const vector< T > &v, T &mean, T &stdDev) |
| template<typename T > | |
| T | CalcPQV (const vector< T > &v, kkint32 distance) |
| template<typename T > | |
| T | CalcTTLQC (const vector< T > &v, kkint32 b) |
| template<typename T > | |
| void | CalcVectorStats (const vector< T > &v, T &total, T &mean, T &stdDev, T &min, T &max) |
| ColorChannels | ColorChannelFromKKStr (const KKStr &s) |
| KKStr | ColorChannelToKKStr (ColorChannels c) |
| void | DefineImageIoAtExit () |
| void | DisplayImage (const Raster &raster, const KKStr &title) |
| void | DisplayImage (const Raster &image) |
| HTMLReport &__cdecl | endl (HTMLReport &htmlReport) |
| void | FFT (float data[], kkuint32 number_of_complex_samples, kkint32 isign) |
| float | FloatAbs (float f) |
| void | ImageIoFinaleCleanUp () |
| bool | IsFinite (const float &f) |
| bool | IsFinite (const double &f) |
| bool | IsNaN (const float &f) |
| bool | IsNaN (const double &d) |
| template<typename T > | |
| T * | kkReallocateArray (T *oldA, kkint32 oldSize, kkint32 newSize) |
| float | LLoydsIndexOfPatchiness (const KKB::VectorInt &bins) |
| float | Log2 (float x) |
| kkint32 | LRand48 () |
| A implementations of the Unix version of rand48 returning a 32 bit integer. More... | |
| template<class T > | |
| T | Max (T a, T b) |
| generic Max function, Both parameters must be of the same type. More... | |
| template<class T > | |
| T | Max (T a, T b, T c) |
| Generic Max function, that takes three parameters. All three parameters must be of the same type. More... | |
| template<class T > | |
| T | Max (T a, T b, T c, T d) |
| Generic Max function, that takes four parameters. All four parameters must be of the same type. More... | |
| template<class T > | |
| T | Max (T x0, T x1, T x2, T x3, T x4) |
| Generic Max function, that takes five parameters of the same type. More... | |
| template<class T > | |
| T | Max (T x0, T x1, T x2, T x3, T x4, T x5) |
| Generic Max function, that takes six parameters of the same type. More... | |
| template<class T > | |
| T | Max (T x0, T x1, T x2, T x3, T x4, T x5, T x6) |
| Generic Max function, that takes seven parameters of the same type. More... | |
| template<class T > | |
| T | Max (T x0, T x1, T x2, T x3, T x4, T x5, T x6, T x7) |
| Generic Max function, that takes eight parameters of the same type. More... | |
| float | McNemarsTest (kkint32 size, const bool *classedCorrectly1, const bool *classedCorrectly2) |
| template<class T > | |
| T | Min (T a, T b) |
| Generic Min function, Both parameters must be of the same type. More... | |
| KKStr | operator+ (const char left, const KKStr &right) |
| KKStr | operator+ (const char *left, const KKStr &right) |
| Matrix | operator- (double left, const Matrix &right) |
| HTMLReport &__cdecl | operator<< (HTMLReport &htmlReport, HTMLReport &(__cdecl *mf)(HTMLReport &)) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, kkint32 right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, kkuint32 right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, kkint64 right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, kkuint64 right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, double right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, char right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, const char *right) |
| KKStr & | operator<< (KKStr &left, const Point &right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, const KKStr &right) |
| std::ostream & | operator<< (std::ostream &left, const Point &right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, KKStrConstPtr right) |
| HTMLReport & | operator<< (HTMLReport &htmlReport, const DateTime &right) |
| KKStr & | operator<< (KKB::KKStr &left, const DateType &right) |
| KKStr & | operator<< (KKB::KKStr &left, const TimeType &right) |
| KKStr & | operator<< (KKB::KKStr &left, const DateTime &right) |
| std::ostream & | operator<< (std::ostream &os, const DateType &right) |
| std::ostream & | operator<< (std::ostream &os, const TimeType &right) |
| std::ostream & | operator<< (std::ostream &os, const DateTime &right) |
| std::ostream &__cdecl | operator<< (std::ostream &os, const KKStr &str) |
| std::istream &__cdecl | operator>> (std::istream &is, KKStr &str) |
| void | osAddLastSlash (KKStr &fileSpec) |
| Will add the appropriate Directory separator character to the end of fileSpec if one is not there already. More... | |
| KKB::KKStr | osAddSlash (const KKStr &fileSpec) |
| void | osChangeDir (const KKStr &dirName, bool &successful) |
| bool | osCopyFile (const KKStr &srcFileName, const KKStr &destFileName) |
| bool | osCopyFileBetweenDirectories (const KKStr &_fileName, const KKStr &_srcDir, const KKStr &_destDir) |
| bool | osCreateDirectory (const KKStr &dirName) |
| bool | osCreateDirectoryPath (KKStr _pathName) |
| Will create the whole Directory Path not just the final part of the path. More... | |
| KKStr | osCreateUniqueFileName (KKStr fileName) |
| Get a unique file name based off file spec 'fileName'. More... | |
| bool | osDeleteFile (KKStr _fileName) |
| void | osDisplayWarning (KKStr _message) |
| bool | osFileExists (const KKStr &_fileName) |
| FILE * | osFOPEN (const char *fileName, const char *mode) |
| int | osFSEEK (FILE *f, kkint64 offset, int origin) |
| kkint64 | osFTELL (FILE *f) |
| Calls the appropriate 64 bit function for operating system. More... | |
| KKStr | osGetCurrentDirectory () |
| KKStr | osGetDirNameFromPath (KKStr dirPath) |
| Extracts the final sub-directory name of the fill directory specification. More... | |
| char | osGetDriveLetter (const KKStr &pathName) |
| Given a full drive with path and name return the drive letter specified. More... | |
| KKStrPtr | osGetEnvVariable (const KKStr &_varName) |
| KKStr | osGetErrorNoDesc (kkint32 errorNo) |
| KKB::DateTime | osGetFileDateTime (const KKStr &fileName) |
| KKStr | osGetFileExtension (KKStr fullFileName) |
| KKStr | osGetFileNamePartOfFile (KKStr fullFileName) |
| osGetFileNamePartOfFile, retrieves the file name part of the file spec. More... | |
| kkint64 | osGetFileSize (const KKStr &fileName) |
| KKStr | osGetFullPathOfApplication () |
| returns the name and path of the current running application. More... | |
| KKStr | osGetHostName () |
| double | osGetKernalTimeUsed () |
| KKStrListPtr | osGetListOfDirectories (KKStr fileSpec) |
| KKStrListPtr | osGetListOfFiles (const KKStr &fileSpec) |
| Returns a list of files that match the provided file specification. More... | |
| void | osGetListOfFilesInDirectoryTree (const KKStr &rootDir, KKStr fileSpec, VectorKKStr &fileNames) |
| KKStrListPtr | osGetListOfImageFiles (KKStr fileSpec) |
| KKB::DateTime | osGetLocalDateTime () |
| Returned the current local date and time. More... | |
| kkint32 | osGetNumberOfProcessors () |
| returns the number of CPU's or number of simultaneous threads that you can have. More... | |
| KKStr | osGetParentDirectoryOfDirPath (KKStr path) |
| KKStr | osGetParentDirPath (KKStr dirPath) |
| Returns the Parent directory path to 'dirPath'. More... | |
| KKStr | osGetPathPartOfFile (KKStr fullFileName) |
| Get the path part of a full file name specification. More... | |
| kkint32 | osGetProcessId () |
| KKStr | osGetProgName () |
| KKStr | osGetRootName (const KKStr &fullFileName) |
| KKStr | osGetRootNameOfDirectory (KKStr fullDirName) |
| KKStr | osGetRootNameWithExtension (const KKStr &fullFileName) |
| kkuint64 | osGetSystemTimeInMiliSecs () |
| Returns mili-secs that system (Windows = has been started, Linux time in epoch). More... | |
| double | osGetSystemTimeUsed () |
| Returns the number of CPU seconds used by current process. More... | |
| kkint32 | osGetThreadId () |
| KKStr | osGetUserName () |
| double | osGetUserTimeUsed () |
| template<class T > | |
| T * | osGrowAllocation (T *src, kkint32 origSize, kkint32 newSize) |
| bool | osIsBackGroundProcess () |
| kkint32 | osLocateFirstSlashChar (const KKStr &fileSpec) |
| kkint32 | osLocateLastSlashChar (const KKStr &fileSpec) |
| KKStr | osLookForFile (const KKStr &fileName, const KKStr &srcDir) |
| Look for a specified file in a sub-directory structure. More... | |
| KKStr | osMakeFullFileName (const KKStr &_dirName, const KKStr &_fileName) |
| bool | osMoveFileBetweenDirectories (const KKStr &_fileName, const KKStr &_srcDir, const KKStr &_destDir) |
| void | osParseFileName (KKStr _fileName, KKStr &_dirPath, KKStr &_rootName, KKStr &_extension) |
| void | osParseFileSpec (KKStr fullFileName, KKStr &driveLetter, KKStr &path, KKStr &root, KKStr &extension) |
| KKStrPtr | osReadNextLine (FILE *in) |
| Read the next line from the file and return a c-String(NULL terminated). More... | |
| KKB::KKStr | osReadNextQuotedStr (FILE *in, const char *whiteSpaceCharacters, bool &eof) |
| Read the next Quoted String from the file. More... | |
| KKB::KKStr | osReadNextToken (FILE *in, const char *delimiters, bool &eof, bool &eol) |
| Read the next logical token from a file using characters in 'delimiters' to separate tokens. More... | |
| KKStr | osReadNextToken (FILE *in, const char *delimiters, bool &eof) |
| Read the next logical token from a file using characters in 'delimiters' to separate tokens where ' '(end of line) is just another whitespace character. More... | |
| KKB::KKStr | osReadNextToken (std::istream &in, const char *delimiters, bool &eof, bool &eol) |
| Read the next logical token from a file using characters in 'delimiters' to separate tokens. More... | |
| KKB::KKStrPtr | osReadRestOfLine (std::istream &in, bool &eof) |
| Extracts text up to and including the next end-of-line character and returns pointer to dynamical allocated str that caller will own. More... | |
| KKB::KKStrPtr | osReadRestOfLine (FILE *in, bool &eof) |
| KKB::KKStr | osReadRestOfLine2 (std::istream &in, bool &eof) |
| KKB::KKStr | osReadRestOfLine2 (FILE *in, bool &eof) |
| KKStr | osRemoveExtension (const KKStr &_fullFileName) |
| bool | osRenameFile (const KKStr &oldName, const KKStr &newName) |
| void | osRunAsABackGroundProcess () |
| void | osSkipRestOfLine (FILE *in, bool &eof) |
| Skips rest of the characters in the current line in the file. More... | |
| void | osSkipRestOfLine (std::istream &in, bool &eof) |
| Skips rest of the characters in the current line in the input stream. More... | |
| void | osSleep (float numOfSecs) |
| void | osSleepMiliSecs (kkuint32 numMiliSecs) |
| VectorKKStr | osSplitDirectoryPathIntoParts (const KKStr &path) |
| KKB::KKStr | osSubstituteInEnvironmentVariables (const KKStr &src) |
| Substitute in the value of the environment variables into 'src'. More... | |
| bool | osValidDirectory (KKStrConstPtr _name) |
| bool | osValidDirectory (const KKStr &_name) |
| bool | osValidFileName (const KKStr &_name) |
| KKStrListPtr | osValidFileNameErrors (const KKStr &_name) |
| Returns list of errors in '_name' with respect to it being a valid file name for the O/S. More... | |
| void | osWaitForEnter () |
| float | PairedTTest (const KKB::VectorFloat &set1, const KKB::VectorFloat &set2) |
| RasterPtr | ReadImage (const KKStr &imageFileName) |
| RasterPtr | ReadImagePGM (const KKStr &imageFileName) |
| RasterPtr | ReadImagePPM (const KKStr &imageFileName) |
| KKStr | ReadImagePpmField (FILE *in, bool &eof) |
| RasterPtr | ReadImageUsingGDI (const KKStr &imageFileName) |
| void | SaveImage (const Raster &image, const KKStr &imageFileName) |
| void | SaveImageGrayscaleInverted4Bit (const Raster &image, const KKStr &_fileName) |
| Saves image as BMP file using 4 bit compressed gray-scale where Background = 255 and foreground = 0. More... | |
| void | SaveImageGrayscaleInverted8Bit (const Raster &image, const KKStr &_fileName) |
| Saves image as BMP using compressed gray-scale where Background = 255 and foreground = 0. More... | |
| void | SaveImageInverted (Raster &raster, const KKStr &imageFileName) |
| void | SaveImagePGM (const Raster &image, const KKStr &imageFileName) |
| void | SaveImagePNG (const Raster &image, const KKStr &imageFileName) |
| void | SaveImagePPM (const Raster &image, const KKStr &imageFileName) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, const char *formatSpec, kkint16 right) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, const char *formatSpec, kkuint16 right) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, const char *formatSpec, kkint32 right) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, const char *formatSpec, kkuint32 right) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, const char *formatSpec, kkint64 right) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, const char *formatSpec, kkuint64 right) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, const char *formatSpec, kkint32 precision, double d) |
| kkint32 | SPRINTF (char *buff, kkint32 buffSize, char const *formatSpec, double d) |
| void | SRand48 (kkint64 _seed) |
| Seeds the Lrand48 functions with the parameters passed to it. More... | |
| char * | STRCAT (char *dest, kkint32 destSize, const char *src) |
| char * | STRCOPY (char *dest, kkint32 destSize, const char *src) |
| char * | STRCOPY (char *dest, kkuint16 destSize, const char *src) |
| char * | STRDUP (const char *src) |
| KKStr | StrFormatDouble (double val, const char *mask) |
| KKStr | StrFormatInt (kkint32 val, const char *mask) |
| KKStr | StrFormatInt64 (kkint64 val, const char *mask) |
| KKStr | StrFromDouble (double d) |
| KKStr | StrFromFloat (float f) |
| KKStr | StrFromInt16 (kkint16 i) |
| KKStr | StrFromInt32 (kkint32 i) |
| KKStr | StrFromInt64 (kkint64 i) |
| KKStr | StrFromUint16 (kkuint16 ui) |
| KKStr | StrFromUint32 (kkuint32 ui) |
| KKStr | StrFromUint64 (kkuint64 ui) |
| kkint32 | STRICMP (const char *left, const char *right) |
| kkint32 | STRNICMP (const char *left, const char *right, kkint32 len) |
| bool | SupportedImageFileFormat (const KKStr &imageFileName) |
| template<class T > | |
| T | Swap (T &x, T &y) |
| unsigned int | ThreadStartCallBack (void *param) |
| void | tqli (kkint32 n, double *d, double *e, double z[2][2]) |
| void | Tred2 (kkint32 n, double a[2][2], double *d, double *e) |
| XmlFactoryPtr | XmlElementKKStrFactoryInstance () |
| XmlFactoryPtr | XmlElementUnKnownFactoryInstance () |
Variables | |
| double | DoubleMax = DBL_MAX |
| double | DoubleMin = DBL_MIN |
| float | FloatMax = FLT_MAX |
| float | FloatMin = FLT_MIN |
| bool | imageIoAtExitDefined = false |
KKB The namespace for KKBase Library supporting general functionality needed by almost any application.
Kurt Kramer Utilities This namespace is intended to gather BaseBibrary Classes together.
The KKBase Librery is my tool box of handy objects that I have been building since 1994. It contains classes for string management(KKStr), Floating point Matrix operations, Image Processing Routines, common operating system routines, Statistics, Histogramming, etc. These classes are meant to be Operating System(OS) neutral in that from the outside of the library they perform identically no matter what OS you are on.
All classes are meant to be Platform independent. That is from the outside there should be no need to worry about which O/S platform you are building for. All O/S specific code will be internal to KKBaseLibrery (KKB) classes. For the most part all functions that require O/S specific knowledge are implemented in OSServices.h. There are a couple of exceptions such as GoalKeeper and ImageIO.h.
To use all the classes in this Library you will need the libraries fftw and zlib123. "fftw" stands for "Fastest Fourier Transform in The West". It can be downloaded from http://www.fftw.org/. "zlib123" is a library that is used to compress and uncompress data. can be found at http://www.zlib.net/. It is used by the Compressor class.
Macros that should be defined. 'FFTW_AVAILABLE' - Indicates that you want to utilize the FFTW library. otherwise a simple Fourier transform will be utilized. 'ZLIB_AVAILABLE' - Indicates that 'zlib' library is available. If not defined the class Compressor will not do anything.
I have a container template called KKQueue that is derived from the std::vector<> template. It is specifically meant to work with pointers to its contents and understands the concept of ownership. That is a instance of a KKQueue template either owns its contents or it does not. If it owns them it will call the individual destructors for each item that it contains when its destructor is called. Many classes that I have written use this template so it would be worth reading its documentation.
There are several classes that aid in Image Processing. The primary class is Raster which can handle both Grayscale and Color images. It supports various morphological operations as well as Connected Component Analysis, Fourier transform, etc. Other classes that work with Raster are Blob, BMPheader, BMPheader.h, ContourFollower, Histogram, ImageIO.h, PixelValue, Point, and Sobel.
Contains basic support for applications such as command-line processing and logging. There is logic to process specified text files for additional parameters. A RunLog instance will be created and inherited by all derived classes; the command line will process and -Log parameter specified. Derived classes can intercept command line parameters simple y implementing the virtual method ProcessCmdLineParameter
| typedef BitString* KKB::BitStringPtr |
Definition at line 187 of file BitString.h.
| typedef BlobList * KKB::BlobListPtr |
| typedef Blob * KKB::BlobPtr |
| typedef BmpImage * KKB::BmpImagePtr |
Definition at line 290 of file BMPImage.h.
| typedef CmdLineExpander* KKB::CmdLineExpanderPtr |
Definition at line 85 of file CmdLineExpander.h.
| typedef std::complex<double> KKB::ComplexDouble |
Definition at line 29 of file ContourFollower.h.
| typedef Configuration* KKB::ConfigurationPtr |
Definition at line 167 of file Configuration.h.
| typedef char const* const* const KKB::ConstCharStarArray |
Definition at line 161 of file KKBaseTypes.h.
| typedef ConvexHull* KKB::ConvexHullPtr |
Definition at line 123 of file ConvexHull.h.
| typedef GoalKeeperList* KKB::GoalKeeperListPtr |
summary> Used to deal with issues related to thread synchronization issues when sharing the same variables.
remarks> Use the GoalKeeper::Create method to create an instance of this class. The Create method will ensure that two different threads don't accidentally create two different instances of the same GoalKeeper object.
GoalKeeper has a concept of levels of depth. That is a particular thread may call StartBlock more than once, each time doing so it would be one level deeper. In this case it would have to call EndBlock an equal number of times to actually release the block. Imagine that you have a function that Starts and Ends a Block but can be called from the middle of another function that also Starts and Ends a block on the same GoalKeeper object.
This class is meant to function the same under Windows or Linux /remarks>
Definition at line 23 of file GoalKeeper.h.
Definition at line 14 of file GlobalGoalKeeper.h.
Definition at line 23 of file GoalKeeperSimple.h.
Definition at line 165 of file GoalKeeperSimple.h.
| typedef HashEntry* KKB::HashEntryPtr |
Definition at line 15 of file HashTable.h.
| typedef Histogram * KKB::HistogramPtr |
Definition at line 64 of file HTMLReport.h.
| typedef KK_DFT1D<double> KKB::KK_DFT1D_Double |
Definition at line 173 of file kku_fftw.h.
| typedef KK_DFT1D<float> KKB::KK_DFT1D_Float |
Definition at line 172 of file kku_fftw.h.
| typedef KK_DFT2D<double> KKB::KK_DFT2D_Double |
Definition at line 225 of file kku_fftw.h.
| typedef KK_DFT2D<float> KKB::KK_DFT2D_Float |
Definition at line 224 of file kku_fftw.h.
| typedef __int16 KKB::kkint16 |
16 bit signed integer.
Definition at line 85 of file KKBaseTypes.h.
| typedef __int32 KKB::kkint32 |
Definition at line 88 of file KKBaseTypes.h.
| typedef __int64 KKB::kkint64 |
Definition at line 90 of file KKBaseTypes.h.
| typedef __int8 KKB::kkint8 |
Definition at line 83 of file KKBaseTypes.h.
Definition at line 16 of file KKObserver.h.
| typedef KKObserver * KKB::KKObserverPtr |
Definition at line 57 of file KKObserver.h.
| typedef KKStr const KKB::KKStrConst |
| typedef KKStrConst * KKB::KKStrConstPtr |
Definition at line 92 of file KKStrMatrix.h.
| typedef std::pair< KKStr, KKStr > KKB::KKStrPair |
| typedef KKStr * KKB::KKStrPtr |
| typedef KKThreadList * KKB::KKThreadListPtr |
Definition at line 19 of file KKThread.h.
| typedef KKThreadManager * KKB::KKThreadManagerPtr |
Definition at line 15 of file KKThread.h.
| typedef KKTHread* KKB::KKTHreadPtr |
Definition at line 20 of file KKThreadManager.h.
Definition at line 209 of file KKThread.h.
| typedef unsigned __int16 KKB::kkuint16 |
16 bit unsigned integer.
Definition at line 86 of file KKBaseTypes.h.
| typedef unsigned __int32 KKB::kkuint32 |
Definition at line 89 of file KKBaseTypes.h.
| typedef unsigned __int64 KKB::kkuint64 |
Definition at line 91 of file KKBaseTypes.h.
| typedef unsigned __int8 KKB::kkuint8 |
Definition at line 84 of file KKBaseTypes.h.
| typedef MorphOp::MaskTypes KKB::MaskTypes |
| typedef Matrix::MatrixPtr KKB::MatrixPtr |
Definition at line 75 of file MorphOpBmiFiltering.h.
| typedef KKQueue<MorphOp> KKB::MorphologicalOperatorList |
Definition at line 52 of file MorphOpMaskExclude.h.
| typedef MorphOpBinarize* KKB::MorphOpBinarizePtr |
Definition at line 48 of file MorphOpBinarize.h.
| typedef MorphOpDilation* KKB::MorphOpDialationPtr |
Definition at line 43 of file MorphOpDilation.h.
| typedef MorphOpErosion* KKB::MorphOpErosionPtr |
Definition at line 42 of file MorphOpErosion.h.
| typedef MorphOp* KKB::MorphOpPtr |
| typedef MorphOpStretcher* KKB::MorphOpStretcherPtr |
Definition at line 67 of file MorphOpStretcher.h.
| typedef MorphOpStruct* KKB::MorphOpStructPtr |
Definition at line 62 of file MorphOpStruct.h.
| typedef long long KKB::osFilePos |
Definition at line 21 of file OSservices.h.
| typedef PixelValue* KKB::PixelValuePtr |
Definition at line 28 of file BMPImage.h.
| typedef PointList * KKB::PointListPtr |
| typedef Point * KKB::PointPtr |
Definition at line 104 of file RasterBuffer.h.
| typedef Raster const * KKB::RasterConstPtr |
| typedef RasterList * KKB::RasterListPtr |
| typedef Raster * KKB::RasterPtr |
Definition at line 25 of file BMPImage.h.
| typedef Row* KKB::RowPtr |
| typedef RunLog* KKB::RunLogPtr |
| typedef vector<SeriesPtr> KKB::SeriesList |
| typedef Chart::SeriesPtr KKB::SeriesPtr |
| typedef TokenBuffer* KKB::TokenBufferPtr |
Definition at line 31 of file TokenBuffer.h.
Definition at line 85 of file TokenBuffer.h.
| typedef Tokenizer* KKB::TokenizerPtr |
Definition at line 89 of file Tokenizer.h.
| typedef unsigned char KKB::uchar |
Unsigned character.
Definition at line 77 of file KKBaseTypes.h.
| typedef unsigned int KKB::uint |
Unsigned integer.
Definition at line 78 of file KKBaseTypes.h.
| typedef unsigned long KKB::ulong |
Unsigned long.
Definition at line 80 of file KKBaseTypes.h.
| typedef unsigned short KKB::ushort |
Unsigned short.
Definition at line 79 of file KKBaseTypes.h.
| typedef std::vector<bool> KKB::VectorBool |
Definition at line 135 of file KKBaseTypes.h.
| typedef std::vector<char> KKB::VectorChar |
Definition at line 136 of file KKBaseTypes.h.
| typedef VectorChar* KKB::VectorCharPtr |
Definition at line 151 of file KKBaseTypes.h.
| typedef std::vector<double> KKB::VectorDouble |
Vector of doubles.
Definition at line 148 of file KKBaseTypes.h.
| typedef VectorDouble* KKB::VectorDoubletPtr |
Definition at line 158 of file KKBaseTypes.h.
| typedef std::vector<float> KKB::VectorFloat |
Definition at line 149 of file KKBaseTypes.h.
| typedef VectorFloat* KKB::VectorFloatPtr |
Definition at line 157 of file KKBaseTypes.h.
| typedef std::vector<int> KKB::VectorInt |
Definition at line 138 of file KKBaseTypes.h.
| typedef std::vector<kkint16> KKB::VectorInt16 |
Vector of signed 16 bit integers.
Definition at line 140 of file KKBaseTypes.h.
| typedef std::vector<kkint32> KKB::VectorInt32 |
Vector of signed 32 bit integers.
Definition at line 144 of file KKBaseTypes.h.
| typedef VectorInt32* KKB::VectorInt32Ptr |
Definition at line 154 of file KKBaseTypes.h.
| typedef std::vector<kkint64> KKB::VectorInt64 |
Definition at line 146 of file KKBaseTypes.h.
| typedef VectorInt64* KKB::VectorInt64Ptr |
Definition at line 155 of file KKBaseTypes.h.
| typedef VectorInt* KKB::VectorIntPtr |
Definition at line 153 of file KKBaseTypes.h.
| typedef std::vector<Point> KKB::VectorPoint |
| typedef std::vector<short> KKB::VectorShort |
Definition at line 142 of file KKBaseTypes.h.
| typedef VectorShort* KKB::VectorShortPtr |
Definition at line 159 of file KKBaseTypes.h.
| typedef std::vector<uchar> KKB::VectorUchar |
Definition at line 137 of file KKBaseTypes.h.
| typedef VectorUchar* KKB::VectorUcharPtr |
Definition at line 152 of file KKBaseTypes.h.
| typedef std::vector<uint> KKB::VectorUint |
Definition at line 139 of file KKBaseTypes.h.
| typedef std::vector<kkuint16> KKB::VectorUint16 |
Vector of unsigned 16 bit integers.
Definition at line 141 of file KKBaseTypes.h.
| typedef std::vector<kkuint32> KKB::VectorUint32 |
Vector of unsigned 32 bit integers.
Definition at line 145 of file KKBaseTypes.h.
| typedef std::vector<kkuint64> KKB::VectorUint64 |
Definition at line 147 of file KKBaseTypes.h.
| typedef std::vector<ulong> KKB::VectorUlong |
Definition at line 143 of file KKBaseTypes.h.
| typedef VectorUlong* KKB::VectorUlongPtr |
Definition at line 156 of file KKBaseTypes.h.
| typedef volatile const bool KKB::VolConstBool |
Commonly used for passing Cancel Flag in multi threaded environment.
Definition at line 163 of file KKBaseTypes.h.
| typedef XmlAttribute const KKB::XmlAttributeConst |
Definition at line 131 of file XmlStream.h.
Definition at line 132 of file XmlStream.h.
| typedef XmlAttributeList* KKB::XmlAttributeListPtr |
Definition at line 170 of file XmlStream.h.
| typedef XmlAttribute* KKB::XmlAttributePtr |
Definition at line 130 of file XmlStream.h.
| typedef XmlContent * KKB::XmlContentPtr |
Definition at line 24 of file XmlStream.h.
Definition at line 917 of file XmlStream.h.
Definition at line 922 of file XmlStream.h.
Definition at line 647 of file XmlStream.h.
Definition at line 919 of file XmlStream.h.
Definition at line 915 of file XmlStream.h.
Definition at line 913 of file XmlStream.h.
Definition at line 189 of file BitString.h.
| typedef XmlElementBool* KKB::XmlElementBoolPtr |
Definition at line 524 of file XmlStream.h.
Definition at line 560 of file XmlStream.h.
| typedef XmlElementDouble* KKB::XmlElementDoublePtr |
Definition at line 909 of file XmlStream.h.
| typedef XmlElementFloat* KKB::XmlElementFloatPtr |
Definition at line 908 of file XmlStream.h.
| typedef XmlElementInt32* KKB::XmlElementInt32Ptr |
Definition at line 906 of file XmlStream.h.
| typedef XmlElementInt64* KKB::XmlElementInt64Ptr |
Definition at line 907 of file XmlStream.h.
Definition at line 605 of file XmlStream.h.
Definition at line 678 of file XmlStream.h.
Definition at line 682 of file XmlStream.h.
Definition at line 683 of file XmlStream.h.
Definition at line 679 of file XmlStream.h.
| typedef XmlElementKKStr* KKB::XmlElementKKStrPtr |
Definition at line 670 of file XmlStream.h.
Definition at line 21 of file XmlStream.h.
Definition at line 490 of file XmlStream.h.
Definition at line 927 of file XmlStream.h.
Definition at line 926 of file XmlStream.h.
Definition at line 674 of file XmlStream.h.
Definition at line 675 of file XmlStream.h.
| typedef XmlFactory const* KKB::XmlFactoryConstPtr |
summary>To be used for classes that implement default constructor, ReadXML, and WriteXML.
Definition at line 411 of file XmlStream.h.
| typedef XmlFactoryManager * KKB::XmlFactoryManagerPtr |
Definition at line 30 of file XmlStream.h.
| typedef XmlFactory * KKB::XmlFactoryPtr |
Definition at line 27 of file XmlStream.h.
| typedef XmlTag const KKB::XmlTagConst |
| typedef XmlTagConst * KKB::XmlTagConstPtr |
| typedef XmlTag::XmlTagPtr KKB::XmlTagPtr |
| typedef XmlTokenizer* KKB::XmlTokenizerPtr |
Definition at line 117 of file XmlTokenizer.h.
Summary>Parent class to all XmlElements
remarks> When XmlStream encounters the start of a element it looks up the appropriate ElementFactory that will construct an instance of a XmlElement derived class. The constructor of that class will be provided the XmlTag that starts the element plus a pointer to the XmlStream instance that is reading the XML file. The XmlElement derived classes constructor will the be responsible for creating an instance of the class that the XmnlElement wraps.
Definition at line 18 of file XmlStream.h.
|
strong |
|
strong |
| T KKB::Calc3TTLQC | ( | const vector< T > & | v, |
| kkint32 | b | ||
| ) |
Definition at line 235 of file StatisticalFunctions.h.
| T KKB::CalcBQV | ( | const vector< T > & | v, |
| kkint32 | blockSize | ||
| ) |
Definition at line 114 of file StatisticalFunctions.h.
| void KKB::CalcMeanAndStdDev | ( | const vector< T > & | v, |
| T & | mean, | ||
| T & | stdDev | ||
| ) |
Definition at line 14 of file StatisticalFunctions.h.
| T KKB::CalcPQV | ( | const vector< T > & | v, |
| kkint32 | distance | ||
| ) |
Definition at line 164 of file StatisticalFunctions.h.
| T KKB::CalcTTLQC | ( | const vector< T > & | v, |
| kkint32 | b | ||
| ) |
Definition at line 196 of file StatisticalFunctions.h.
| void KKB::CalcVectorStats | ( | const vector< T > & | v, |
| T & | total, | ||
| T & | mean, | ||
| T & | stdDev, | ||
| T & | min, | ||
| T & | max | ||
| ) |
Definition at line 58 of file StatisticalFunctions.h.
| ColorChannels KKB::ColorChannelFromKKStr | ( | const KKStr & | s | ) |
| KKStr KKB::ColorChannelToKKStr | ( | ColorChannels | c | ) |
Definition at line 56 of file Raster.cpp.
References Blue, Green, and Red.
Referenced by KKB::Raster::Histogram().
| void KKB::DefineImageIoAtExit | ( | ) |
Definition at line 70 of file ImageIO.cpp.
References imageIoAtExitDefined.
Referenced by ReadImageUsingGDI().
Definition at line 99 of file ImageIO.cpp.
References DisplayImage().
| void KKB::DisplayImage | ( | const Raster & | image | ) |
Definition at line 81 of file ImageIO.cpp.
References KKB::Raster::Height(), and KKB::Raster::Width().
Referenced by DisplayImage().
| HTMLReport &__cdecl KKB::endl | ( | HTMLReport & | htmlReport | ) |
| float KKB::FloatAbs | ( | float | f | ) |
Definition at line 25 of file KKBaseTypes.cpp.
| void KKB::ImageIoFinaleCleanUp | ( | ) |
| bool KKB::IsFinite | ( | const float & | f | ) |
Definition at line 100 of file KKBaseTypes.cpp.
| bool KKB::IsFinite | ( | const double & | f | ) |
Definition at line 106 of file KKBaseTypes.cpp.
| bool KKB::IsNaN | ( | const float & | f | ) |
Definition at line 86 of file KKBaseTypes.cpp.
| bool KKB::IsNaN | ( | const double & | d | ) |
Definition at line 93 of file KKBaseTypes.cpp.
Definition at line 306 of file KKBaseTypes.h.
| float KKB::LLoydsIndexOfPatchiness | ( | const KKB::VectorInt & | bins | ) |
Definition at line 166 of file StatisticalFunctions.cpp.
| float KKB::Log2 | ( | float | x | ) |
Definition at line 250 of file kku_fftw.cpp.
| kkint32 KKB::LRand48 | ( | ) |
A implementations of the Unix version of rand48 returning a 32 bit integer.
Definition at line 36 of file KKBaseTypes.cpp.
References _lrand48_sequence.
Referenced by KKMLL::FeatureNumList::RandomlySelectFeatures().
| T KKB::Max | ( | T | a, |
| T | b | ||
| ) |
generic Max function, Both parameters must be of the same type.
Definition at line 181 of file KKBaseTypes.h.
| T KKB::Max | ( | T | a, |
| T | b, | ||
| T | c | ||
| ) |
Generic Max function, that takes three parameters. All three parameters must be of the same type.
Definition at line 195 of file KKBaseTypes.h.
| T KKB::Max | ( | T | a, |
| T | b, | ||
| T | c, | ||
| T | d | ||
| ) |
Generic Max function, that takes four parameters. All four parameters must be of the same type.
Definition at line 213 of file KKBaseTypes.h.
| T KKB::Max | ( | T | x0, |
| T | x1, | ||
| T | x2, | ||
| T | x3, | ||
| T | x4 | ||
| ) |
Generic Max function, that takes five parameters of the same type.
Definition at line 225 of file KKBaseTypes.h.
| T KKB::Max | ( | T | x0, |
| T | x1, | ||
| T | x2, | ||
| T | x3, | ||
| T | x4, | ||
| T | x5 | ||
| ) |
Generic Max function, that takes six parameters of the same type.
Definition at line 233 of file KKBaseTypes.h.
| T KKB::Max | ( | T | x0, |
| T | x1, | ||
| T | x2, | ||
| T | x3, | ||
| T | x4, | ||
| T | x5, | ||
| T | x6 | ||
| ) |
Generic Max function, that takes seven parameters of the same type.
Definition at line 240 of file KKBaseTypes.h.
| T KKB::Max | ( | T | x0, |
| T | x1, | ||
| T | x2, | ||
| T | x3, | ||
| T | x4, | ||
| T | x5, | ||
| T | x6, | ||
| T | x7 | ||
| ) |
Generic Max function, that takes eight parameters of the same type.
Definition at line 248 of file KKBaseTypes.h.
| float KKB::McNemarsTest | ( | kkint32 | size, |
| const bool * | classedCorrectly1, | ||
| const bool * | classedCorrectly2 | ||
| ) |
Definition at line 109 of file StatisticalFunctions.cpp.
| T KKB::Min | ( | T | a, |
| T | b | ||
| ) |
Generic Min function, Both parameters must be of the same type.
Definition at line 168 of file KKBaseTypes.h.
Definition at line 3964 of file KKStr.cpp.
References KKB::KKStr::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and KKB::KKStr::Len().
Definition at line 3976 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and KKB::KKStr::operator+().
Referenced by KKB::KKStr::Append(), KKB::BmpImage::BlueRow(), KKMLL::GrayScaleImagesFVProducer::ComputeFeatureVector(), KKMLL::Model::CreateAModel(), KKLSC::ScannerFile::CreateGoalie(), KKMLL::ModelSvmBase::Description(), KKMLL::ModelOldSVM::Description(), KKMLL::ModelDual::Description(), KKB::GoalKeeperSimple::EndBlock(), KKB::GoalKeeper::EndBlock(), KKMLL::FeatureFileIOColumn::GetFileDesc(), KKMLL::FeatureFileIOUCI::GetFileDesc(), KKMLL::FeatureFileIOSparse::GetFileDesc(), KKB::BmpImage::ImageRow(), KKB::KKStr::KKStr(), KKB::MsgQueue::MsgQueue(), osSubstituteInEnvironmentVariables(), KKMLL::ClassProbList::PushOnBack(), KKMLL::ClassProbList::PushOnFront(), KKB::RasterBuffer::RasterBuffer(), KKB::BmpImage::RedRow(), KKB::KKStr::RightPad(), KKB::BmpImage::Save(), KKB::BmpImage::SaveGrayscaleInverted4Bit(), KKB::BmpImage::SaveGrayscaleInverted8Bit(), SaveImage(), SaveImageGrayscaleInverted4Bit(), SaveImageGrayscaleInverted8Bit(), SaveImagePNG(), SaveImagePPM(), KKB::Raster::SegmentImage(), KKB::KKStr::StrReplace(), KKMLL::ModelParam::ToCmdLineStr(), KKB::PixelValue::ToStr(), KKMLL::SVMparam::ToString(), tqli(), KKMLL::ModelSvmBase::TrainModel(), KKMLL::ModelDual::TrainModel(), Tred2(), KKB::KKStr::Wide(), KKMLL::SVMModel::WriteXML(), and KKB::XmlElementArrayFloat2DVarying::WriteXML().
Definition at line 456 of file Matrix.cpp.
References KKB::Matrix::Matrix(), KKB::Matrix::NumOfCols(), and KKB::Matrix::NumOfRows().
Referenced by KKB::SegmentorOTSU::SegmentImage(), and KKB::SegmentorOTSU::SegmentMaskedImage().
| HTMLReport &__cdecl KKB::operator<< | ( | KKB::HTMLReport & | htmlReport, |
| KKB::HTMLReport & | __cdecl *mf)(HTMLReport & | ||
| ) |
Definition at line 230 of file HTMLReport.cpp.
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| kkint32 | right | ||
| ) |
Definition at line 106 of file HTMLReport.cpp.
References KKB::HTMLReport::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::operator=(), KKB::KKStr::Str(), and StrFormatInt().
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| kkuint32 | right | ||
| ) |
Definition at line 118 of file HTMLReport.cpp.
References KKB::HTMLReport::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::operator=(), KKB::KKStr::Str(), and StrFormatInt().
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| kkint64 | right | ||
| ) |
Definition at line 130 of file HTMLReport.cpp.
References KKB::HTMLReport::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::operator=(), KKB::KKStr::Str(), and StrFormatInt64().
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| kkuint64 | right | ||
| ) |
Definition at line 142 of file HTMLReport.cpp.
References KKB::HTMLReport::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::operator=(), KKB::KKStr::Str(), and StrFormatInt64().
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| double | right | ||
| ) |
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| char | right | ||
| ) |
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| const char * | right | ||
| ) |
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| const KKStr & | right | ||
| ) |
Definition at line 196 of file HTMLReport.cpp.
References KKB::HTMLReport::Append(), and KKB::KKStr::Str().
| ostream & KKB::operator<< | ( | std::ostream & | left, |
| const Point & | right | ||
| ) |
Definition at line 275 of file Point.cpp.
References KKB::Point::Col(), operator<<(), and KKB::Point::Row().
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| KKStrConstPtr | right | ||
| ) |
Definition at line 207 of file HTMLReport.cpp.
References KKB::HTMLReport::Append(), and KKB::KKStr::Str().
| HTMLReport & KKB::operator<< | ( | HTMLReport & | htmlReport, |
| const DateTime & | right | ||
| ) |
Definition at line 218 of file HTMLReport.cpp.
References KKB::HTMLReport::Append(), KKB::KKStr::Concat(), KKB::DateTime::Date(), KKB::TimeType::HH_MM_SS(), KKB::KKStr::operator+(), KKB::KKStr::Str(), KKB::DateTime::Time(), and KKB::DateType::YYYY_MM_DD().
| KKStr & KKB::operator<< | ( | KKB::KKStr & | left, |
| const DateType & | right | ||
| ) |
Definition at line 737 of file DateTime.cpp.
References KKB::DateType::YYYY_MMM_DD().
| KKStr & KKB::operator<< | ( | KKB::KKStr & | left, |
| const TimeType & | right | ||
| ) |
Definition at line 969 of file DateTime.cpp.
References KKB::TimeType::Hour(), KKB::TimeType::Minute(), KKB::TimeType::Second(), and StrFormatInt().
| KKStr & KKB::operator<< | ( | KKB::KKStr & | left, |
| const DateTime & | right | ||
| ) |
Definition at line 1319 of file DateTime.cpp.
References KKB::DateTime::Date(), and KKB::DateTime::Time().
| std::ostream & KKB::operator<< | ( | std::ostream & | os, |
| const DateType & | right | ||
| ) |
Definition at line 747 of file DateTime.cpp.
References operator<<(), and KKB::DateType::YYYY_MMM_DD().
| std::ostream & KKB::operator<< | ( | std::ostream & | os, |
| const TimeType & | right | ||
| ) |
Definition at line 982 of file DateTime.cpp.
References KKB::TimeType::Hour(), KKB::TimeType::Minute(), operator<<(), KKB::TimeType::Second(), and StrFormatInt().
| std::ostream & KKB::operator<< | ( | std::ostream & | os, |
| const DateTime & | right | ||
| ) |
Definition at line 1330 of file DateTime.cpp.
References KKB::DateTime::Date(), operator<<(), and KKB::DateTime::Time().
| std::ostream& __cdecl KKB::operator<< | ( | std::ostream & | os, |
| const KKStr & | str | ||
| ) |
Referenced by KKB::RunLog::Append(), KKMLL::FileDesc::Cardinality(), operator<<(), KKMLL::operator<<(), operator<<(), KKB::BmpImage::Print(), KKMLL::ConfusionMatrix2::PrintConfusionMatrixNarrow(), KKMLL::SizeDistribution::ClassTotals::PrintFormatedLine(), KKB::Histogram::PrintTable(), KKMLL::FeatureVectorList::ReSyncSymbolicData(), KKMLL::FeatureFileIORoberts::SaveFile(), KKMLL::FeatureFileIOUCI::SaveFile(), KKMLL::FeatureFileIOC45::SaveFile(), KKMLL::FeatureFileIOSparse::SaveFile(), Test2(), SVM289_BFS::svm_model::Write(), KKB::VectorKKStr::WriteXML(), KKMLL::FeatureNumList::WriteXML(), KKB::XmlTag::WriteXML(), KKB::XmlContent::WriteXml(), KKB::XmlElementKeyValuePairs::WriteXML(), KKB::KKStrList::WriteXML(), and KKB::KKStrListIndexed::WriteXML().
| std::istream &__cdecl KKB::operator>> | ( | std::istream & | is, |
| KKStr & | str | ||
| ) |
Definition at line 4287 of file KKStr.cpp.
References KKB::KKStr::operator=(), KKB::KKStr::TrimLeft(), and KKB::KKStr::TrimRight().
| void KKB::osAddLastSlash | ( | KKStr & | fileSpec | ) |
Will add the appropriate Directory separator character to the end of fileSpec if one is not there already.
Definition at line 1045 of file OSservices.cpp.
References KKB::KKStr::LastChar().
Referenced by KKMLL::FeatureFileIO::LoadInSubDirectoryTree(), osCopyFileBetweenDirectories(), osMakeFullFileName(), KKMLL::GrayScaleImagesFVList::RecalcFeatureValuesFromImagesInDirTree(), and KKB::Raster::SegmentImage().
Definition at line 1055 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and KKB::KKStr::LastChar().
Referenced by KKLSC::Variables::ConfigurationDir(), KKMLL::TrainingConfiguration2::CreateFromDirectoryStructure(), KKMLL::TrainingClass::ExpandedDirectory(), KKMLL::FeatureFileIO::FeatureDataReSink(), KKMLL::TrainingConfiguration2::GetEffectiveConfigFileName(), KKMLL::FeatureFileIO::LoadInSubDirectoryTree(), KKMLL::TrainingConfiguration2::LoadOtherClasssExamples(), osCreateUniqueFileName(), osGetListOfFilesInDirectoryTree(), osLookForFile(), KKLSC::Variables::ScannerFilesDefaultDir(), KKMLL::KKMLVariables::TempDir(), KKMLL::KKMLVariables::TrainingLibrariesDir(), and KKMLL::KKMLVariables::TrainingModelsDir().
| void KKB::osChangeDir | ( | const KKStr & | dirName, |
| bool & | successful | ||
| ) |
Definition at line 793 of file OSservices.cpp.
Definition at line 689 of file OSservices.cpp.
References KKB::KKStr::Concat().
| bool KKB::osCopyFileBetweenDirectories | ( | const KKStr & | _fileName, |
| const KKStr & | _srcDir, | ||
| const KKStr & | _destDir | ||
| ) |
Definition at line 643 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and osAddLastSlash().
| bool KKB::osCreateDirectory | ( | const KKStr & | dirName | ) |
| bool KKB::osCreateDirectoryPath | ( | KKStr | _pathName | ) |
Will create the whole Directory Path not just the final part of the path.
For example if you need a directory path "C:\\Temp\\Temple\\DataFiles" created this function will create a directory in the specified path if they do not already exists.
Definition at line 825 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::Empty(), KKB::KKStr::ExtractToken(), KKB::KKStr::FirstChar(), KKB::KKStr::LastChar(), KKB::KKStr::operator=(), osCreateDirectory(), osValidDirectory(), and KKB::KKStr::SubStrPart().
Referenced by KKB::Raster::SegmentImage().
Get a unique file name based off file spec 'fileName'.
Make sure that fileName is unique, if file name already is used will add a sequence num to the root part of the name, starting with 0 and incrementing until file name is unique.
Definition at line 2226 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::Empty(), KKB::KKStr::operator+(), KKB::KKStr::operator=(), osAddSlash(), osFileExists(), osParseFileName(), and StrFormatInt().
| bool KKB::osDeleteFile | ( | KKStr | _fileName | ) |
Definition at line 523 of file OSservices.cpp.
References KKB::KKStr::Str().
| void KKB::osDisplayWarning | ( | KKStr | _message | ) |
Definition at line 2131 of file OSservices.cpp.
Referenced by KKMLL::FeatureVectorList::BinarySearchByName(), and KKMLL::FeatureVectorList::ExtractExamplesForAGivenClass().
| bool KKB::osFileExists | ( | const KKStr & | _fileName | ) |
Definition at line 568 of file OSservices.cpp.
References KKB::KKStr::Str().
Referenced by KKMLL::TrainingConfiguration2::ConfigFileExists(), KKMLL::TrainingConfiguration2::CreateFromDirectoryStructure(), KKLSC::ScannerFile::CreateScannerFileForOutput(), KKMLL::TrainingConfiguration2::GetEffectiveConfigFileName(), KKJobManagment::KKJobManager::InitilizeJobManager(), KKMLL::TrainingProcess2::LoadExistingTrainingProcess(), KKMLL::FeatureFileIOC45::LoadFeatureFile(), KKMLL::Orderings::Orderings(), and osCreateUniqueFileName().
| FILE * KKB::osFOPEN | ( | const char * | fileName, |
| const char * | mode | ||
| ) |
Definition at line 74 of file OSservices.cpp.
Referenced by KKB::BmpImage::BmpImage(), KKLSC::ScannerFile::GuessFormatOfFile(), KKMLL::FeatureNumList::Load(), KKMLL::MLClassList::Load(), KKB::Configuration::LoadFile(), KKLSC::ScannerFile::LoadIndexFile(), KKLSC::ScannerFile::Open(), KKMLL::FeatureVectorList::OrderUsingNamesFromAFile(), ReadImagePGM(), ReadImagePPM(), KKB::BmpImage::Save(), KKB::BmpImage::SaveGrayscaleInverted4Bit(), KKB::BmpImage::SaveGrayscaleInverted8Bit(), SaveImagePGM(), SaveImagePNG(), and SaveImagePPM().
| int KKB::osFSEEK | ( | FILE * | f, |
| kkint64 | offset, | ||
| int | origin | ||
| ) |
Definition at line 104 of file OSservices.cpp.
| kkint64 KKB::osFTELL | ( | FILE * | f | ) |
Calls the appropriate 64 bit function for operating system.
Definition at line 93 of file OSservices.cpp.
Referenced by KKLSC::ScannerFile::BuildFrameOffsets(), KKLSC::ScannerFile::InitiateWritting(), KKLSC::ScannerFileSimple::ReadBufferFrame(), KKLSC::ScannerFile2BitEncoded::ReadBufferFrame(), KKLSC::ScannerFile3BitEncoded::ReadBufferFrame(), KKLSC::ScannerFile4BitEncoded::ReadBufferFrame(), KKLSC::ScannerFile::Reset(), KKLSC::ScannerFile::ScannerFile(), KKLSC::ScannerFileSimple::SkipToNextFrame(), KKLSC::ScannerFileSimple::WriteBufferFrame(), KKLSC::ScannerFile2BitEncoded::WriteBufferFrame(), KKLSC::ScannerFile3BitEncoded::WriteBufferFrame(), KKLSC::ScannerFile4BitEncoded::WriteBufferFrame(), KKLSC::ScannerFileZLib3BitEncoded::WriteTextBlock(), KKLSC::ScannerFile2BitEncoded::WriteTextBlock(), KKLSC::ScannerFile3BitEncoded::WriteTextBlock(), and KKLSC::ScannerFile4BitEncoded::WriteTextBlock().
| KKStr KKB::osGetCurrentDirectory | ( | ) |
Definition at line 319 of file OSservices.cpp.
References KKB::KKStr::Concat(), and KKB::KKStr::KKStr().
Referenced by KKMLL::TrainingConfiguration2::GetEffectiveConfigFileName().
Extracts the final sub-directory name of the fill directory specification.
| [in] | dirPath | Directory path to get dir name from . |
Definition at line 1081 of file OSservices.cpp.
References KKB::KKStr::ChopLastChar(), KKB::KKStr::Concat(), KKB::KKStr::Empty(), KKB::KKStr::LastChar(), KKB::KKStr::operator+(), and osParseFileName().
| char KKB::osGetDriveLetter | ( | const KKStr & | pathName | ) |
Given a full drive with path and name return the drive letter specified.
If not on a Windows system returns x'00'= char(0)
| [in] | pathName | File path to extract driver letter from. |
Definition at line 297 of file OSservices.cpp.
References KKB::KKStr::Len(), and KKB::KKStr::operator[]().
Definition at line 897 of file OSservices.cpp.
Referenced by KKLSC::Variables::HomeDir(), osGetNumberOfProcessors(), osSubstituteInEnvironmentVariables(), and KKLSC::Variables::SubstituteInEnvironmentVariables().
Definition at line 45 of file OSservices.cpp.
References KKB::KKStr::Concat(), and KKB::KKStr::operator=().
Definition at line 2037 of file OSservices.cpp.
Referenced by KKMLL::TrainingProcess2::CreateTrainingProcess(), and KKMLL::FeatureFileIO::FeatureDataReSink().
Definition at line 1323 of file OSservices.cpp.
References KKB::KKStr::Concat(), and osParseFileName().
Referenced by KKMLL::TrainingConfiguration2::GetEffectiveConfigFileName(), ReadImage(), SaveImage(), SaveImageGrayscaleInverted4Bit(), SaveImageGrayscaleInverted8Bit(), and SupportedImageFileFormat().
osGetFileNamePartOfFile, retrieves the file name part of the file spec.
| [in] | fullFileName | Sting that contains the full file name specification. |
Definition at line 1471 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::LastChar(), KKB::KKStr::LocateCharacter(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
Definition at line 2096 of file OSservices.cpp.
Referenced by KKLSC::ScannerFile::Open().
| KKStr KKB::osGetFullPathOfApplication | ( | ) |
returns the name and path of the current running application.
Definition at line 2843 of file OSservices.cpp.
| KKStr KKB::osGetHostName | ( | ) |
Definition at line 1354 of file OSservices.cpp.
References KKB::KKStr::Concat().
| double KKB::osGetKernalTimeUsed | ( | ) |
Definition at line 1938 of file OSservices.cpp.
| KKStrListPtr KKB::osGetListOfDirectories | ( | KKStr | fileSpec | ) |
Definition at line 1743 of file OSservices.cpp.
References KKB::KKStrList::KKStrList(), KKB::KKStr::LastChar(), KKB::KKStr::LocateCharacter(), and osValidDirectory().
Referenced by KKMLL::FeatureFileIO::LoadInSubDirectoryTree(), osGetListOfFilesInDirectoryTree(), and osLookForFile().
| KKStrListPtr KKB::osGetListOfFiles | ( | const KKStr & | fileSpec | ) |
Returns a list of files that match the provided file specification.
You can provide any file specification including a directory path. If there is a failure will return NULL. The caller will be responsible for deleting the returned list. The file names returned will not include any directory path.
Definition at line 1531 of file OSservices.cpp.
References KKB::KKStrList::KKStrList().
Referenced by KKMLL::FeatureFileIO::FeatureDataReSink(), osGetListOfFilesInDirectoryTree(), osGetListOfImageFiles(), and osLookForFile().
| void KKB::osGetListOfFilesInDirectoryTree | ( | const KKStr & | rootDir, |
| KKStr | fileSpec, | ||
| VectorKKStr & | fileNames | ||
| ) |
Definition at line 1668 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::Empty(), KKB::KKStr::operator+(), KKB::KKStr::operator=(), KKB::KKStr::operator==(), osAddSlash(), osGetListOfDirectories(), osGetListOfFiles(), and osGetListOfFilesInDirectoryTree().
Referenced by osGetListOfFilesInDirectoryTree().
| KKStrListPtr KKB::osGetListOfImageFiles | ( | KKStr | fileSpec | ) |
Definition at line 1717 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStrList::KKStrList(), and osGetListOfFiles().
| DateTime KKB::osGetLocalDateTime | ( | ) |
Returned the current local date and time.
Definition at line 1993 of file OSservices.cpp.
Referenced by KKB::KKThread::AddMsg(), KKMLL::TrainingProcess2::CreateModelsFromTrainingData(), KKMLL::FeatureFileIO::FeatureDataReSink(), KKB::KKThread::WaitForThreadToStop(), and KKMLL::SVMModel::WriteXML().
| kkint32 KKB::osGetNumberOfProcessors | ( | ) |
returns the number of CPU's or number of simultaneous threads that you can have.
Definition at line 1449 of file OSservices.cpp.
References osGetEnvVariable(), and KKB::KKStr::ToInt32().
Definition at line 1202 of file OSservices.cpp.
References KKB::KKStr::ChopLastChar(), KKB::KKStr::Concat(), KKB::KKStr::EmptyStr(), KKB::KKStr::LastChar(), KKB::KKStr::LocateLastOccurrence(), and KKB::KKStr::SubStrPart().
Returns the Parent directory path to 'dirPath'.
Definition at line 1333 of file OSservices.cpp.
References KKB::KKStr::ChopLastChar(), KKB::KKStr::Concat(), KKB::KKStr::EmptyStr(), KKB::KKStr::LastChar(), KKB::KKStr::LocateLastOccurrence(), and KKB::KKStr::SubStrPart().
Get the path part of a full file name specification.
| [in] | fullFileName | The full file specification including directory path, root-name, and extension. |
Definition at line 1305 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::LocateLastOccurrence(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
Referenced by KKMLL::TrainingConfiguration2::GetEffectiveConfigFileName().
| kkint32 KKB::osGetProcessId | ( | ) |
Definition at line 2736 of file OSservices.cpp.
Referenced by GetProcessId().
| KKStr KKB::osGetProgName | ( | ) |
Definition at line 1402 of file OSservices.cpp.
References KKB::KKStr::Concat().
Definition at line 1154 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::LocateLastOccurrence(), KKB::KKStr::operator=(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
Referenced by KKLSC::ScannerFile::CreateGoalie(), KKMLL::TrainingProcess2::CreateModelsFromTrainingData(), KKMLL::ModelDual::Description(), KKMLL::DuplicateImage::ExampleWithSmallestScanLine(), KKB::Raster::ExtractChannel(), KKMLL::FeatureVectorList::ExtractDuplicatesByRootImageFileName(), KKMLL::ExtractExampleFileName::ExtractKey(), KKMLL::FeatureFileIO::FeatureDataReSink(), KKLSC::ScannerFileEntry::GetOrCreateScannerFileEntry(), KKMLL::TrainingConfiguration2::Load(), KKMLL::FeatureFileIODstWeb::LoadFile(), KKMLL::FeatureFileIOColumn::LoadFile(), KKMLL::FeatureFileIOUCI::LoadFile(), KKMLL::FeatureFileIOC45::LoadFile(), KKMLL::FeatureFileIOSparse::LoadFile(), KKMLL::TrainingConfiguration2List::LookUp(), KKMLL::FeatureVectorList::LookUpByRootName(), KKMLL::FeatureVectorList::RootNameComparrisonReversed::operator()(), KKLSC::ScannerFile::ScannerFile(), and KKB::Raster::SegmentImage().
Definition at line 1181 of file OSservices.cpp.
References KKB::KKStr::ChopLastChar(), KKB::KKStr::Concat(), KKB::KKStr::LastChar(), KKB::KKStr::LocateLastOccurrence(), KKB::KKStr::operator=(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
Referenced by KKMLL::TrainingConfiguration2::CreateFromDirectoryStructure(), KKMLL::MLClass::GetClassNameFromDirName(), and KKMLL::FeatureFileIO::LoadInSubDirectoryTree().
Definition at line 1219 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::LocateLastOccurrence(), KKB::KKStr::operator=(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
Referenced by KKMLL::TrainingConfiguration2::GetEffectiveConfigFileName(), and KKMLL::FeatureVectorList::RootNameComparrison::operator()().
| kkuint64 KKB::osGetSystemTimeInMiliSecs | ( | ) |
Returns mili-secs that system (Windows = has been started, Linux time in epoch).
Definition at line 1976 of file OSservices.cpp.
| double KKB::osGetSystemTimeUsed | ( | ) |
Returns the number of CPU seconds used by current process.
This consists of both User and Kernel Time. When used to get timing data of some function, Call this method before and after running the function and use the difference.
Definition at line 1855 of file OSservices.cpp.
Referenced by KKMLL::FeatureEncoder::CompressExamples(), KKJobManagment::KKJobManager::InitilizeJobManager(), KKMLL::Model::TrainingTimeEnd(), KKMLL::Model::TrainingTimeStart(), and KKMLL::Model::TrainModel().
| kkint32 KKB::osGetThreadId | ( | ) |
Definition at line 2752 of file OSservices.cpp.
Referenced by KKB::KKThread::AddMsg(), KKB::RunLog::Append(), KKB::GoalKeeperSimple::BlockedByAnotherThread(), KKB::GoalKeeper::BlockedByAnotherThread(), KKB::GoalKeeperSimple::EndBlock(), KKB::GoalKeeper::EndBlock(), KKB::GoalKeeperSimple::StartBlock(), and KKB::GoalKeeper::StartBlock().
| KKStr KKB::osGetUserName | ( | ) |
Definition at line 1426 of file OSservices.cpp.
References KKB::KKStr::Concat().
| double KKB::osGetUserTimeUsed | ( | ) |
Definition at line 1897 of file OSservices.cpp.
Definition at line 489 of file OSservices.h.
| bool KKB::osIsBackGroundProcess | ( | ) |
Definition at line 1027 of file OSservices.cpp.
References KKB::KKStr::LocateCharacter().
Definition at line 1017 of file OSservices.cpp.
References KKB::KKStr::LocateLastOccurrence().
Referenced by osGetFileNamePartOfFile(), osGetPathPartOfFile(), osGetRootName(), osGetRootNameOfDirectory(), osGetRootNameWithExtension(), osParseFileName(), osParseFileSpec(), and osRemoveExtension().
Look for a specified file in a sub-directory structure.
| [in] | fileName | Name of file we are looking for. |
| [in] | srcDir | Sub Directory tree we want to search. |
Definition at line 2174 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::Empty(), KKB::KKStr::KKStr(), KKB::KKStr::operator+(), osAddSlash(), osGetListOfDirectories(), osGetListOfFiles(), osLookForFile(), KKB::KKStr::Str(), KKB::KKStr::StrEqualNoCase(), and KKB::KKStr::Upper().
Referenced by osLookForFile().
Definition at line 1066 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and osAddLastSlash().
| bool KKB::osMoveFileBetweenDirectories | ( | const KKStr & | _fileName, |
| const KKStr & | _srcDir, | ||
| const KKStr & | _destDir | ||
| ) |
Definition at line 609 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and KKB::KKStr::LastChar().
| void KKB::osParseFileName | ( | KKStr | _fileName, |
| KKStr & | _dirPath, | ||
| KKStr & | _rootName, | ||
| KKStr & | _extension | ||
| ) |
Definition at line 1097 of file OSservices.cpp.
References KKB::KKStr::LocateLastOccurrence(), KKB::KKStr::operator=(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
Referenced by osCreateUniqueFileName(), osGetDirNameFromPath(), and osGetFileExtension().
| void KKB::osParseFileSpec | ( | KKStr | fullFileName, |
| KKStr & | driveLetter, | ||
| KKStr & | path, | ||
| KKStr & | root, | ||
| KKStr & | extension | ||
| ) |
Definition at line 1243 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::LastChar(), KKB::KKStr::LocateCharacter(), KKB::KKStr::LocateLastOccurrence(), KKB::KKStr::operator=(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
| KKStrPtr KKB::osReadNextLine | ( | FILE * | in | ) |
Read the next line from the file and return a c-String(NULL terminated).
Will read in characters from 'in' until a line feed character is read. The caller will own the string returned and be responsible for deleting it.
| [in] | in | File to read from. |
Definition at line 2261 of file OSservices.cpp.
References KKB::KKStr::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and KKB::KKStr::Len().
| KKStr KKB::osReadNextQuotedStr | ( | FILE * | in, |
| const char * | whiteSpaceCharacters, | ||
| bool & | eof | ||
| ) |
Read the next Quoted String from the file.
If the first non whitespace character is a quote (") character will read in rest of string until the next occurrence of a Quote character. Otherwise it will read in characters until another whitespace character occurs.
| [in] | in | File to read from. |
| [in] | whiteSpaceCharacters | c-string (NULL Terminated) list of white space characters. |
| [out] | eof | Will be set to true if we are at the end of file when you make the call. |
Definition at line 2598 of file OSservices.cpp.
References KKB::KKStr::Concat(), and KKB::KKStr::KKStr().
| KKStr KKB::osReadNextToken | ( | FILE * | in, |
| const char * | delimiters, | ||
| bool & | eof, | ||
| bool & | eol | ||
| ) |
Read the next logical token from a file using characters in 'delimiters' to separate tokens.
Use this function to read logical tokens from a file. It recognizes the concept of a line that is terminated by the line feed ('
') character. When end of line is reached it will return an empty string setting 'eol' to true; the very next call will return the first token on the next line. The leading whitespace characters ' ' and '\r' will be skipped before reading the next token. Tokens will be separated by any one of the characters specified in 'delimiters'. Two or more delimiters that occur consecutively will not be treated as one separator. You will need to call this method for each one.
ex: the string "Apple\tPeer\t\tGrape\t\n" with the delimiters = "\t" will generate the following tokens when "Apple", "Peer", "", "Grape", "", ""(eol = True)
| [in] | in | File handle to read from. |
| [in] | delimiters | c string listing delimiter characters. |
| [out] | eof | End of file flag. When this goes true so will eol, also no token will be returned. |
| [out] | eol | Will be set to true when the end-of-line is reached ('\n'). No token will be returned. The next call to this method will start at the next line. |
Definition at line 2374 of file OSservices.cpp.
| KKStr KKB::osReadNextToken | ( | FILE * | in, |
| const char * | delimiters, | ||
| bool & | eof | ||
| ) |
Read the next logical token from a file using characters in 'delimiters' to separate tokens where '
'(end of line) is just another whitespace character.
Use this function to read logical tokens from a file. Leading whitespace characters ' ', '\n', and '\r' will be skipped before reading the next token. Tokens will be separated by any one of the characters specified in 'delimiters'. Two or more delimiters that occur consecutively will not be treated as one separator. You will need to call this method for each one. Note that whitespace characters are not treated as delimiters but characters that are to be ignored before and after the token.
ex: the string "Apple\tPeer\t\tGrape\t\n" with the delimiters = "\t" will generate the following tokens when "Apple", "Peer", "", "Grape", "", ""(eol = True)
| [in] | in | File handle to read from. |
| [in] | delimiters | c string listing delimiter characters. |
| [out] | eof | End of file flag. When this goes true so will eol, also no token will be returned. |
Definition at line 2444 of file OSservices.cpp.
Referenced by ReadImagePPM().
| KKStr KKB::osReadNextToken | ( | std::istream & | in, |
| const char * | delimiters, | ||
| bool & | eof, | ||
| bool & | eol | ||
| ) |
Read the next logical token from a file using characters in 'delimiters' to separate tokens.
Use this function to read logical tokens from a input stream. It recognizes the concept of a line that is terminated by the line feed ('
') character. When end of line is reached it will return an empty string setting 'eol' to true; the very next call will return the first token on the next line. The leading whitespace characters ' ' and ']r' will be skipped before reading the next token. Tokens will be separated by any one of the characters specified in 'delimiters'. Two or more delimiters that occur consecutively will not be treated as one separator. You will need to call this method for each one.
ex: the string "Apple\tPeer\t\tGrape\t\n" with the delimiters = "\t" will generate the following tokens when "Apple", "Peer", "", "Grape", "", ""(eol = True)
| [in] | in | Input Stream to read from. |
| [in] | delimiters | c string listing delimiter characters. |
| [out] | eof | End of file flag. When this goes true so will eol, also no token will be returned. |
| [out] | eol | Will be set to true when the end-of-line is reached (' '). No token will be returned. The next call to this method will start at the next line. |
Definition at line 2301 of file OSservices.cpp.
| KKStrPtr KKB::osReadRestOfLine | ( | std::istream & | in, |
| bool & | eof | ||
| ) |
Extracts text up to and including the next end-of-line character and returns pointer to dynamical allocated str that caller will own.
The new-line character that terminated the nor any carriage-return will not be included. If stream [[in]] is already at end-of-file then will return NULL as well as eof being set to true.
| in | Stream to read text from. |
| eof | Set to true if end-of-file is reached while reading file. |
Definition at line 2511 of file OSservices.cpp.
References KKB::KKStr::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::Len(), KKB::KKStr::MaxLenSupported(), and KKB::KKStr::Trim().
Referenced by osReadRestOfLine2().
| KKStrPtr KKB::osReadRestOfLine | ( | FILE * | in, |
| bool & | eof | ||
| ) |
Definition at line 2549 of file OSservices.cpp.
References KKB::KKStr::Append(), KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::Len(), KKB::KKStr::MaxLenSupported(), and KKB::KKStr::TrimRight().
Referenced by KKMLL::MLClassList::Load(), KKLSC::ScannerFile::LoadIndexFile(), and osReadRestOfLine2().
| KKB::KKStr KKB::osReadRestOfLine2 | ( | std::istream & | in, |
| bool & | eof | ||
| ) |
Definition at line 2493 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and osReadRestOfLine().
Referenced by KKMLL::ClassProbList::CreateFromXMLStream().
| KKB::KKStr KKB::osReadRestOfLine2 | ( | FILE * | in, |
| bool & | eof | ||
| ) |
Definition at line 2584 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and osReadRestOfLine().
Referenced by ReadImagePGM().
Definition at line 1136 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::LocateLastOccurrence(), osLocateLastSlashChar(), and KKB::KKStr::SubStrPart().
Referenced by KKMLL::ClassificationBiasMatrix::ClassificationBiasMatrix(), KKMLL::Orderings::CreateOrderingsObjFromFileIfAvaliable(), KKMLL::TrainingConfiguration2::GetEffectiveConfigFileName(), KKMLL::TrainingProcess2::LoadExistingTrainingProcess(), KKLSC::ScannerFile::LoadIndexFile(), KKLSC::ScannerFile::Open(), KKMLL::Orderings::Orderings(), KKLSC::ScannerFile::SaveIndexFile(), and KKMLL::TrainingProcess2::SaveTrainingProcess().
Definition at line 743 of file OSservices.cpp.
| void KKB::osRunAsABackGroundProcess | ( | ) |
| void KKB::osSkipRestOfLine | ( | FILE * | in, |
| bool & | eof | ||
| ) |
Skips rest of the characters in the current line in the file.
Will skip all characters in 'in' until a '
' is read or the end of file has been reached. It is meant be be used in conjunction with 'osReadNextToken'.
| [in] | in | File being read. |
| [out] | eof | Will be set to true if end of file is encountered. |
Definition at line 2705 of file OSservices.cpp.
| void KKB::osSkipRestOfLine | ( | std::istream & | in, |
| bool & | eof | ||
| ) |
Skips rest of the characters in the current line in the input stream.
Will skip all characters in 'in' until a '
' is read or the end of file has been reached. It is meant be be used in conjunction with 'osReadNextToken'.
| [in] | in | File being read. |
| [out] | eof | Will be set to true if end of file is encountered. |
Definition at line 2720 of file OSservices.cpp.
| void KKB::osSleep | ( | float | numOfSecs | ) |
Definition at line 2764 of file OSservices.cpp.
Referenced by KKJobManagment::KKJobManager::Block(), KKB::KKThreadManager::ManageThreads(), and KKB::KKThreadManager::ShutdownProcessing().
| void KKB::osSleepMiliSecs | ( | kkuint32 | numMiliSecs | ) |
Definition at line 2785 of file OSservices.cpp.
Referenced by KKLSC::ScannerFile::AddStartStopEntryToIndexFile(), KKLSC::ScannerFile::BuildFrameOffsets(), KKB::GoalKeeper::StartBlock(), and KKB::KKThread::WaitForThreadToStop().
| VectorKKStr KKB::osSplitDirectoryPathIntoParts | ( | const KKStr & | path | ) |
Definition at line 2797 of file OSservices.cpp.
References KKB::KKStr::Len(), and KKB::KKStr::operator[]().
Substitute in the value of the environment variables into 'src'.
Will scan the 'src' string for references to environment variables. The format would be $(env-var-name). These sub-strings in 'src' will be replaced by the the actual value of the environment variable. If no such environment variable exists the substring will be left as is besides parentheses '{}' or '[]' can be used, ex the string "${KinseyHomeDir}\\Reports" would be replaced by "c:\Kinsey\reports"
| [in] | src | String that you want to scan for environment variables. |
Definition at line 977 of file OSservices.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), KKB::KKStr::Len(), KKB::KKStr::LocateCharacter(), KKB::KKStr::operator+(), operator+(), KKB::KKStr::operator=(), KKB::KKStr::operator[](), osGetEnvVariable(), osLocateEnvStrStart(), and KKB::KKStr::SubStrPart().
Referenced by KKMLL::TrainingClass::ExpandedDirectory(), KKMLL::TrainingConfiguration2::LoadOtherClasssExamples(), KKMLL::TrainingConfiguration2::RootDir(), and KKMLL::TrainingClassList::WriteXML().
| bool KKB::osValidDirectory | ( | KKStrConstPtr | _name | ) |
Definition at line 382 of file OSservices.cpp.
Referenced by osGetListOfDirectories().
| bool KKB::osValidDirectory | ( | const KKStr & | _name | ) |
Definition at line 398 of file OSservices.cpp.
Referenced by osCreateDirectoryPath().
| bool KKB::osValidFileName | ( | const KKStr & | _name | ) |
Definition at line 443 of file OSservices.cpp.
References osValidFileNameErrors().
| KKStrListPtr KKB::osValidFileNameErrors | ( | const KKStr & | _name | ) |
Returns list of errors in '_name' with respect to it being a valid file name for the O/S.
Definition at line 458 of file OSservices.cpp.
References KKB::KKStr::Empty(), KKB::KKStrList::KKStrList(), KKB::KKStr::Len(), and KKB::KKStr::operator[]().
Referenced by osValidFileName().
| void KKB::osWaitForEnter | ( | ) |
Definition at line 1513 of file OSservices.cpp.
References backGroundProcess.
Referenced by KKB::Matrix::CalcCoFactorMatrix(), KKMLL::FeatureEncoder2::CreateEncodedFileDesc(), KKB::Raster::FourierExtractFeatures(), KKB::Raster::HistogramEqualizedImage(), KKMLL::NormalizationParms::NormalizeExamples(), KKB::Row::operator[](), KKMLL::Orderings::Save(), KKJobManagment::KKJobManager::StatusFileProcessLineJobStatusChange(), and KKMLL::SvmPredictRaw().
| float KKB::PairedTTest | ( | const KKB::VectorFloat & | set1, |
| const KKB::VectorFloat & | set2 | ||
| ) |
Definition at line 24 of file StatisticalFunctions.cpp.
Definition at line 188 of file ImageIO.cpp.
References KKB::BmpImage::BmpImage(), KKB::Raster::Color(), KKB::KKStr::Concat(), KKB::KKStr::operator==(), osGetFileExtension(), KKB::Raster::Raster(), ReadImagePGM(), ReadImagePPM(), ReadImageUsingGDI(), KKB::Raster::ReverseImage(), and KKB::KKStr::ToLower().
Referenced by KKMLL::FeatureVectorProducer::ComputeFeatureVectorFromImage(), KKMLL::FeatureFileIO::FeatureDataReSink(), and KKB::Raster::Raster().
Definition at line 371 of file ImageIO.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::ExtractTokenInt(), KKB::KKStr::operator=(), KKB::KKStr::operator[](), osFOPEN(), osReadRestOfLine2(), KKB::Raster::Raster(), KKB::Raster::SetPixelValue(), KKB::KKStr::Str(), and KKB::KKStr::ToInt().
Referenced by ReadImage().
Definition at line 515 of file ImageIO.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::operator=(), osFOPEN(), osReadNextToken(), KKB::Raster::Raster(), ReadImagePpmField(), KKB::Raster::RedArea(), KKB::KKStr::Str(), and KKB::KKStr::ToInt32().
Referenced by ReadImage().
| KKStr KKB::ReadImagePpmField | ( | FILE * | in, |
| bool & | eof | ||
| ) |
Definition at line 451 of file ImageIO.cpp.
References KKB::KKStr::Concat(), and KKB::KKStr::EmptyStr().
Referenced by ReadImagePPM().
Definition at line 237 of file ImageIO.cpp.
References DefineImageIoAtExit(), gdiStarted, and KKB::KKStr::ToWchar_t().
Referenced by ReadImage().
Definition at line 617 of file ImageIO.cpp.
References KKB::BmpImage::BmpImage(), KKB::KKStr::Concat(), KKB::KKException::KKException(), KKB::KKStr::operator+(), operator+(), KKB::KKStr::operator==(), osGetFileExtension(), KKB::BmpImage::Save(), SaveImagePGM(), SaveImagePNG(), and KKB::KKStr::Upper().
Referenced by KKB::Chart::SaveAsImage(), KKB::Histogram::SaveGraphImage(), SaveImageInverted(), and KKB::Raster::SegmentImage().
Saves image as BMP file using 4 bit compressed gray-scale where Background = 255 and foreground = 0.
If image is color will convert to gray-scale 1st. Palette will be set to 0 = 255, 1 = 238, 2 = 221, 3 = 204... 255 = 0.
Definition at line 874 of file ImageIO.cpp.
References KKB::BmpImage::BmpImage(), KKB::KKStr::Concat(), KKB::KKStr::EqualIgnoreCase(), KKB::KKException::KKException(), KKB::KKStr::operator+(), operator+(), osGetFileExtension(), and KKB::BmpImage::SaveGrayscaleInverted4Bit().
Saves image as BMP using compressed gray-scale where Background = 255 and foreground = 0.
Saves image as BMP using compressed GrayScale where Background = 255 and foreground = 0.
If image is color will convert to gray-scale 1st. Palette will be set to 0 = 255, 1 = 254, 2 = 253, ... 255 = 0.
If image is color will convert to GrayScale 1st. Palette will be set to 0 = 255, 1 = 254, 2 = 253, ... 255 = 0.
Definition at line 914 of file ImageIO.cpp.
References KKB::BmpImage::BmpImage(), KKB::KKStr::Concat(), KKB::KKStr::EqualIgnoreCase(), KKB::KKException::KKException(), KKB::KKStr::operator+(), operator+(), osGetFileExtension(), and KKB::BmpImage::SaveGrayscaleInverted8Bit().
Definition at line 841 of file ImageIO.cpp.
References KKB::Raster::Blue(), KKB::Raster::Color(), KKB::Raster::Green(), KKB::Raster::Height(), KKB::Raster::Raster(), KKB::Raster::Red(), SaveImage(), and KKB::Raster::Width().
Definition at line 675 of file ImageIO.cpp.
References KKB::Raster::Color(), KKB::KKStr::Concat(), KKB::Raster::CreateGrayScale(), KKB::Raster::GreenArea(), KKB::Raster::Height(), KKB::KKStr::KKStr(), osFOPEN(), KKB::KKStr::Str(), and KKB::Raster::Width().
Referenced by SaveImage().
Definition at line 712 of file ImageIO.cpp.
References KKB::Raster::BlueArea(), KKB::Raster::Color(), KKB::KKStr::Concat(), KKB::Raster::GreenArea(), KKB::Raster::Height(), KKB::KKException::KKException(), KKB::KKStr::KKStr(), KKB::KKStr::operator+(), operator+(), osFOPEN(), KKB::Raster::RedArea(), KKB::KKStr::Str(), and KKB::Raster::Width().
Referenced by SaveImage().
Definition at line 774 of file ImageIO.cpp.
References KKB::Raster::BlueArea(), KKB::Raster::Color(), KKB::KKStr::Concat(), KKB::Raster::GreenArea(), KKB::Raster::Height(), KKB::KKException::KKException(), KKB::KKStr::KKStr(), KKB::KKStr::operator+(), operator+(), osFOPEN(), KKB::Raster::RedArea(), KKB::KKStr::Str(), and KKB::Raster::Width().
Definition at line 162 of file KKStr.cpp.
Referenced by KKB::KKStr::operator+(), and StrFromInt16().
Definition at line 177 of file KKStr.cpp.
Referenced by KKB::KKStr::operator+(), and StrFromUint16().
Definition at line 193 of file KKStr.cpp.
Referenced by KKB::KKStr::operator+(), KKB::KKStr::operator=(), and StrFromInt32().
Definition at line 208 of file KKStr.cpp.
Referenced by KKB::KKStr::operator+(), and StrFromUint32().
Definition at line 223 of file KKStr.cpp.
Referenced by KKB::KKStr::operator+(), and StrFromInt64().
Definition at line 239 of file KKStr.cpp.
Referenced by KKB::KKStr::operator+(), and StrFromUint64().
| kkint32 KKB::SPRINTF | ( | char * | buff, |
| kkint32 | buffSize, | ||
| const char * | formatSpec, | ||
| kkint32 | precision, | ||
| double | d | ||
| ) |
Definition at line 255 of file KKStr.cpp.
Referenced by KKB::KKStr::KKStr().
Definition at line 271 of file KKStr.cpp.
Referenced by KKB::KKStr::KKStr(), KKB::KKStr::operator+(), KKB::KKStr::operator<<(), StrFromDouble(), StrFromFloat(), and SVM289_MFS::Svm_Model::WriteXML().
| void KKB::SRand48 | ( | kkint64 | _seed | ) |
Seeds the Lrand48 functions with the parameters passed to it.
Definition at line 49 of file KKBaseTypes.cpp.
References _lrand48_sequence.
| char * KKB::STRCAT | ( | char * | dest, |
| kkint32 | destSize, | ||
| const char * | src | ||
| ) |
| char * KKB::STRCOPY | ( | char * | dest, |
| kkint32 | destSize, | ||
| const char * | src | ||
| ) |
Definition at line 46 of file KKStr.cpp.
Referenced by KKB::KKStr::StrReplace().
| char * KKB::STRCOPY | ( | char * | dest, |
| kkuint16 | destSize, | ||
| const char * | src | ||
| ) |
Definition at line 31 of file KKStr.cpp.
Referenced by KKB::KKStr::EnterStr(), KKB::KKStr::KKStr(), and KKB::KKStr::operator=().
| char * KKB::STRDUP | ( | const char * | src | ) |
Definition at line 62 of file KKStr.cpp.
Referenced by KKB::Tokenizer::DefineOperatorChars(), KKB::KKStrParser::KKStrParser(), and KKB::KKStrParser::TrimWhiteSpace().
| KKStr KKB::StrFormatDouble | ( | double | val, |
| const char * | mask | ||
| ) |
Definition at line 4819 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and LocateLastOccurrence().
Referenced by KKMLL::ConfusionMatrix2::AccuracyStr(), KKMLL::CrossValidationVoting::FoldAccuracysToStr(), KKLSC::ScannerFile::InitiateWritting(), KKMLL::ConfusionMatrix2::PrintAccuracyByProbByClassHTML(), and StrFormatInt().
Definition at line 5004 of file KKStr.cpp.
References StrFormatDouble().
Referenced by KKMLL::GrayScaleImagesFVProducer::ComputeFeatureVector(), KKMLL::FeatureEncoder2::CreateEncodedFileDesc(), KKMLL::FeatureEncoder::CreateEncodedFileDesc(), KKMLL::FeatureFileIOColumn::GetFileDesc(), KKMLL::FeatureFileIOUCI::GetFileDesc(), KKMLL::FeatureFileIOSparse::GetFileDesc(), KKB::TimeType::HH_MM_SS(), KKB::DateTime::HH_MM_SS(), KKB::TimeType::HHMMSS(), KKLSC::ScannerFile::InitiateWritting(), KKMLL::FeatureFileIOColumn::LoadFile(), KKMLL::FeatureFileIOUCI::LoadFile(), KKMLL::FeatureFileIOC45::LoadFile(), KKB::DateType::MM_DD_YY(), KKB::DateType::MMM_DD_YYYY(), KKMLL::FileDesc::NewContinuousDataOnly(), KKB::RunLog::operator<<(), operator<<(), osCreateUniqueFileName(), KKB::Raster::SegmentImage(), KKB::KKStr::StrReplace(), KKMLL::ModelParamKnn::ToCmdLineStr(), KKB::PixelValue::ToStr(), KKMLL::SVMModel::WriteXML(), KKB::XmlElementArrayFloat2DVarying::WriteXML(), KKB::DateType::YY_MM_DD(), KKB::DateType::YYYY_MM_DD(), KKB::DateType::YYYY_MMM_DD(), and KKB::DateType::YYYYMMDD().
Definition at line 5013 of file KKStr.cpp.
References KKB::KKStr::Concat(), and KKB::KKStr::KKStr().
Referenced by operator<<(), KKB::RunLog::operator<<(), and KKB::KKStr::operator<<().
| KKStr KKB::StrFromDouble | ( | double | d | ) |
Definition at line 5229 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
Referenced by KKB::XmlElementKeyValuePairs::Add().
| KKStr KKB::StrFromFloat | ( | float | f | ) |
Definition at line 5219 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
Referenced by KKB::XmlElementKeyValuePairs::Add().
Definition at line 5152 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
Referenced by KKMLL::Model::CreateAModel().
Definition at line 5175 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
Referenced by KKB::XmlElementKeyValuePairs::Add(), KKB::BmpImage::BlueRow(), KKB::BmpImage::ImageRow(), KKB::BmpImage::RedRow(), KKB::KKStr::RightPad(), tqli(), and Tred2().
Definition at line 5198 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
Definition at line 5164 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
Referenced by KKB::KKStr::KKStr().
Definition at line 5187 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
Referenced by KKB::KKStr::Append().
Definition at line 5209 of file KKStr.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::KKStr(), and SPRINTF().
| kkint32 KKB::STRICMP | ( | const char * | left, |
| const char * | right | ||
| ) |
| bool KKB::SupportedImageFileFormat | ( | const KKStr & | imageFileName | ) |
Definition at line 948 of file ImageIO.cpp.
References KKB::KKStr::Concat(), KKB::KKStr::operator==(), osGetFileExtension(), and KKB::KKStr::Upper().
Referenced by KKMLL::FeatureFileIO::FeatureDataReSink().
| T KKB::Swap | ( | T & | x, |
| T & | y | ||
| ) |
Definition at line 255 of file KKBaseTypes.h.
| unsigned int KKB::ThreadStartCallBack | ( | void * | param | ) |
Definition at line 280 of file KKThread.cpp.
References KKB::KKStr::Concat(), KKB::KKThread::Crashed(), KKB::KKThread::ExceptionText(), KKB::KKThread::Run(), KKB::KKThread::Starting, KKB::KKThread::Status(), KKB::KKThread::Stopped, and KKB::KKException::ToString().
| void KKB::tqli | ( | kkint32 | n, |
| double * | d, | ||
| double * | e, | ||
| double | z[2][2] | ||
| ) |
Definition at line 195 of file EigenVector.cpp.
References KKB::KKException::KKException(), KKB::KKStr::operator+(), operator+(), pythag(), and StrFromInt32().
Referenced by KKB::Raster::CalcOrientationAndEigerRatio().
| void KKB::Tred2 | ( | kkint32 | n, |
| double | a[2][2], | ||
| double * | d, | ||
| double * | e | ||
| ) |
Definition at line 31 of file EigenVector.cpp.
References KKB::KKException::KKException(), KKB::KKStr::operator+(), operator+(), and StrFromInt32().
Referenced by KKB::Raster::CalcOrientationAndEigerRatio().
| XmlFactoryPtr KKB::XmlElementKKStrFactoryInstance | ( | ) |
Definition at line 1415 of file XmlStream.cpp.
| XmlFactoryPtr KKB::XmlElementUnKnownFactoryInstance | ( | ) |
Definition at line 1090 of file XmlStream.cpp.
Referenced by KKB::XmlStream::GetNextToken().
| double KKB::DoubleMax = DBL_MAX |
Definition at line 22 of file KKBaseTypes.cpp.
| double KKB::DoubleMin = DBL_MIN |
Definition at line 23 of file KKBaseTypes.cpp.
| float KKB::FloatMax = FLT_MAX |
Definition at line 20 of file KKBaseTypes.cpp.
Referenced by KKB::Chart::Chart(), KKMLL::FeatureVector::FeatureDataValid(), and KKB::ContourFollower::HistogramDistanceFromAPointOfEdge().
| float KKB::FloatMin = FLT_MIN |
Definition at line 21 of file KKBaseTypes.cpp.
Referenced by KKB::Chart::Chart(), KKMLL::FeatureVector::FeatureDataValid(), and KKB::ContourFollower::HistogramDistanceFromAPointOfEdge().
| bool KKB::imageIoAtExitDefined = false |
Definition at line 65 of file ImageIO.cpp.
Referenced by DefineImageIoAtExit().