|
|
#include "Bitmap.h"#include <algorithm>#include <fstream>#include <iomanip>#include <iostream>#include <sstream>#include "Grid.h"#include <GfxTL/VectorXD.h>#include <MiscLib/Performance.h>
Include dependency graph for Bitmap.cpp:Go to the source code of this file.
Functions | |
| void | AssociateLabel (int a, int b, MiscLib::Vector< std::pair< int, size_t >> *labels) |
| 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) |
| 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) |
| void | DilateCross (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *dilated) |
| void | DilateSquare (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *dilated) |
| void | ErodeCross (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *eroded) |
| void | ErodeSquare (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, bool uwrap, bool vwrap, MiscLib::Vector< char > *eroded) |
| bool | IsEdge (const MiscLib::Vector< int > &componentImg, size_t uextent, size_t vextent, int label, bool uwrap, bool vwrap, int startx, int starty, int dirx, int diry, size_t *targetx, size_t *targety) |
| int | Label (int n[], int size, int *curLabel, MiscLib::Vector< std::pair< int, size_t >> *labels) |
| void | PreWrappedComponents (const MiscLib::Vector< char > &bitmap, size_t uextent, size_t vextent, MiscLib::Vector< int > *preWrappedComponentsImg, MiscLib::Vector< int > *relabelComponentsImg, const MiscLib::Vector< std::pair< int, size_t >> &inLabels, MiscLib::Vector< std::pair< int, size_t >> *labels) |
| int | ReduceLabel (int a, const MiscLib::Vector< std::pair< int, size_t >> &labels) |
Variables | |
| MiscLib::performance_t | totalTime_components |
| void AssociateLabel | ( | int | a, |
| int | b, | ||
| MiscLib::Vector< std::pair< int, size_t >> * | labels | ||
| ) |
Definition at line 840 of file Bitmap.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 961 of file Bitmap.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 596 of file Bitmap.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void DilateCross | ( | const MiscLib::Vector< char > & | bitmap, |
| size_t | uextent, | ||
| size_t | vextent, | ||
| bool | uwrap, | ||
| bool | vwrap, | ||
| MiscLib::Vector< char > * | dilated | ||
| ) |
Definition at line 144 of file Bitmap.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void DilateSquare | ( | const MiscLib::Vector< char > & | bitmap, |
| size_t | uextent, | ||
| size_t | vextent, | ||
| bool | uwrap, | ||
| bool | vwrap, | ||
| MiscLib::Vector< char > * | dilated | ||
| ) |
| void ErodeCross | ( | const MiscLib::Vector< char > & | bitmap, |
| size_t | uextent, | ||
| size_t | vextent, | ||
| bool | uwrap, | ||
| bool | vwrap, | ||
| MiscLib::Vector< char > * | eroded | ||
| ) |
| void ErodeSquare | ( | const MiscLib::Vector< char > & | bitmap, |
| size_t | uextent, | ||
| size_t | vextent, | ||
| bool | uwrap, | ||
| bool | vwrap, | ||
| MiscLib::Vector< char > * | eroded | ||
| ) |
| bool IsEdge | ( | const MiscLib::Vector< int > & | componentImg, |
| size_t | uextent, | ||
| size_t | vextent, | ||
| int | label, | ||
| bool | uwrap, | ||
| bool | vwrap, | ||
| int | startx, | ||
| int | starty, | ||
| int | dirx, | ||
| int | diry, | ||
| size_t * | targetx, | ||
| size_t * | targety | ||
| ) |
| int Label | ( | int | n[], |
| int | size, | ||
| int * | curLabel, | ||
| MiscLib::Vector< std::pair< int, size_t >> * | labels | ||
| ) |
Definition at line 801 of file Bitmap.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void PreWrappedComponents | ( | const MiscLib::Vector< char > & | bitmap, |
| size_t | uextent, | ||
| size_t | vextent, | ||
| MiscLib::Vector< int > * | preWrappedComponentsImg, | ||
| MiscLib::Vector< int > * | relabelComponentsImg, | ||
| const MiscLib::Vector< std::pair< int, size_t >> & | inLabels, | ||
| MiscLib::Vector< std::pair< int, size_t >> * | labels | ||
| ) |
| int ReduceLabel | ( | int | a, |
| const MiscLib::Vector< std::pair< int, size_t >> & | labels | ||
| ) |
Definition at line 866 of file Bitmap.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| MiscLib::performance_t totalTime_components |