Bitmap.h File Reference
#include <MiscLib/Vector.h>
#include <utility>
#include <GfxTL/VectorXD.h>
+ Include dependency graph for Bitmap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DLL_LINKAGE
 

Functions

DLL_LINKAGE void AssociateLabel (int a, int b, MiscLib::Vector< std::pair< int, size_t > > *labels)
 
DLL_LINKAGE void ComponentLoops (const MiscLib::Vector< int > &componentImg, size_t uextent, size_t vextent, int label, bool uwrap, bool vwrap, MiscLib::Vector< MiscLib::Vector< GfxTL::VectorXD< 2, size_t > > > *polys)
 
DLL_LINKAGE void Components (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< int > *componentsImg, MiscLib::Vector< std::pair< int, size_t > > *labels)
 
DLL_LINKAGE void DilateCross (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *dilated)
 
DLL_LINKAGE void DilateSquare (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *dilated)
 
DLL_LINKAGE void ErodeCross (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *eroded)
 
DLL_LINKAGE void ErodeSquare (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *eroded)
 
DLL_LINKAGE int Label (int n[], int size, int *curLabel, MiscLib::Vector< std::pair< int, size_t > > *labels)
 
DLL_LINKAGE void PreWrappedComponents (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, MiscLib::Vector< int > *componentsImg, MiscLib::Vector< int > *relabelComponentsImg, const MiscLib::Vector< std::pair< int, size_t > > &inLabels, MiscLib::Vector< std::pair< int, size_t > > *labels)
 
DLL_LINKAGE int ReduceLabel (int a, const MiscLib::Vector< std::pair< int, size_t > > &labels)
 

Macro Definition Documentation

◆ DLL_LINKAGE

#define DLL_LINKAGE

Definition at line 9 of file Bitmap.h.

Function Documentation

◆ AssociateLabel()

DLL_LINKAGE void AssociateLabel ( int  a,
int  b,
MiscLib::Vector< std::pair< int, size_t > > *  labels 
)

Definition at line 895 of file Bitmap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ComponentLoops()

DLL_LINKAGE void ComponentLoops ( const MiscLib::Vector< int > &  componentImg,
size_t  uextent,
size_t  vextent,
int  label,
bool  uwrap,
bool  vwrap,
MiscLib::Vector< MiscLib::Vector< GfxTL::VectorXD< 2, size_t > > > *  polys 
)

Definition at line 1000 of file Bitmap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Components()

DLL_LINKAGE void Components ( const MiscLib::Vector< char > &  bitmap,
size_t  uextent,
size_t  vextent,
bool  uwrap,
bool  vwrap,
MiscLib::Vector< int > *  componentsImg,
MiscLib::Vector< std::pair< int, size_t > > *  labels 
)

Definition at line 649 of file Bitmap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DilateCross()

DLL_LINKAGE void DilateCross ( const MiscLib::Vector< char > &  bitmap,
size_t  uextent,
size_t  vextent,
bool  uwrap,
bool  vwrap,
MiscLib::Vector< char > *  dilated 
)

Definition at line 154 of file Bitmap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DilateSquare()

DLL_LINKAGE void DilateSquare ( const MiscLib::Vector< char > &  bitmap,
size_t  uextent,
size_t  vextent,
bool  uwrap,
bool  vwrap,
MiscLib::Vector< char > *  dilated 
)

Definition at line 13 of file Bitmap.cpp.

+ Here is the call graph for this function:

◆ ErodeCross()

DLL_LINKAGE void ErodeCross ( const MiscLib::Vector< char > &  bitmap,
size_t  uextent,
size_t  vextent,
bool  uwrap,
bool  vwrap,
MiscLib::Vector< char > *  eroded 
)

Definition at line 465 of file Bitmap.cpp.

+ Here is the caller graph for this function:

◆ ErodeSquare()

DLL_LINKAGE void ErodeSquare ( const MiscLib::Vector< char > &  bitmap,
size_t  uextent,
size_t  vextent,
bool  uwrap,
bool  vwrap,
MiscLib::Vector< char > *  eroded 
)

Definition at line 268 of file Bitmap.cpp.

+ Here is the call graph for this function:

◆ Label()

DLL_LINKAGE int Label ( int  n[],
int  size,
int *  curLabel,
MiscLib::Vector< std::pair< int, size_t > > *  labels 
)

Definition at line 856 of file Bitmap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PreWrappedComponents()

DLL_LINKAGE void PreWrappedComponents ( const MiscLib::Vector< char > &  bitmap,
size_t  uextent,
size_t  vextent,
MiscLib::Vector< int > *  componentsImg,
MiscLib::Vector< int > *  relabelComponentsImg,
const MiscLib::Vector< std::pair< int, size_t > > &  inLabels,
MiscLib::Vector< std::pair< int, size_t > > *  labels 
)

Definition at line 579 of file Bitmap.cpp.

+ Here is the call graph for this function:

◆ ReduceLabel()

DLL_LINKAGE int ReduceLabel ( int  a,
const MiscLib::Vector< std::pair< int, size_t > > &  labels 
)

Definition at line 921 of file Bitmap.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: