#include <qgarlib/LinkedChainList.H>
Definition at line 80 of file LinkedChainList.H.
Public Member Functions | |
Constructors | |
| LinkedChainList (const BinaryImage &img, unsigned int minChainLength=3, unsigned int minCycleLength=4) | |
| Build from given binary image. | |
| LinkedChainList (const LabeledSkeletonImage &skel) throw (QgarErrorDeveloper) | |
| Build from a labeled skeleton. | |
| LinkedChainList (unsigned int minChainLength=0, unsigned int minCycleLength=0) | |
| Build with given minimal length parameters. | |
Destructor | |
| virtual | ~LinkedChainList () |
| Virtual destructor. | |
Private Member Functions | |
Auxiliary functions | |
| PointChain * | aChain (PointChain *ch, int l, int c, GreyLevelImage &wkImg) |
| Recursive function for chaining. | |
Private Attributes | |
Auxiliary data | |
| int | _minChainLength |
| Minimum length of a valid chain. | |
| int | _minCycleLength |
| Minimum length of a valid cycle. | |
|
||||||||||||||||
|
Build from given binary image. Build chains of points from a binary image, using an algorithm designed by Salvatore Tabbone, and slightly improved by Karl Tombre.
Definition at line 697 of file LinkedChainList.C. References _minChainLength, aChain(), qgar::GenImage< T, CheckPolicy >::height(), qgar::LINKEDCHAINLIST_canMerge(), qgar::LINKEDCHAINLIST_connect4(), qgar::LINKEDCHAINLIST_connect8(), qgar::LINKEDCHAINLIST_mergeChains(), qgar::LINKEDCHAINLIST_MINL, qgar::LINKEDCHAINLIST_neigh(), qgar::GenImage< T, CheckPolicy >::pPixMap(), qgar::GenPointChain< T >::size(), qgar::GenImage< T, CheckPolicy >::width(), qgar::GenPoint< T >::x(), and qgar::GenPoint< T >::y(). |
|
|
Build from a labeled skeleton. This function builds chains of points from a labeled skeleton image. The algorithm used here takes advantage of the properties of a labeled skeleton to construct chains taking junctions into account.
Definition at line 833 of file LinkedChainList.C. References qgar::LINKEDCHAINLIST_crossNb(), qgar::LINKEDCHAINLIST_degree(), qgar::LINKEDCHAINLIST_loadBinNeigh(), qgar::LINKEDCHAINLIST_MARK, qgar::LINKEDCHAINLIST_neigh4(), qgar::LINKEDCHAINLIST_neigh4M(), qgar::LINKEDCHAINLIST_neigh8(), qgar::LINKEDCHAINLIST_neigh8M(), qgar::LINKEDCHAINLIST_neighPlus(), qgar::GenImage< T, CheckPolicy >::pPixMap(), qgar::GenPointChain< T >::push_back(), qgar::GenPoint< T >::translate(), qgar::GenPoint< T >::x(), and qgar::GenPoint< T >::y(). |
|
||||||||||||
|
Build with given minimal length parameters. For temporary use...
Definition at line 1125 of file LinkedChainList.C. |
|
|
Virtual destructor.
Definition at line 1144 of file LinkedChainList.C. |
|
||||||||||||||||||||
|
|
Minimum length of a valid chain.
Definition at line 160 of file LinkedChainList.H. Referenced by aChain(), and LinkedChainList(). |
|
|
Minimum length of a valid cycle.
Definition at line 165 of file LinkedChainList.H. Referenced by aChain(). |