See class qgar::ConnectedComponents to extract (and then use) connected components from a binary image. A component is an instance of class qgar::Component. The construction of black components is based on 8-connexity while the construction of white components is based on 4-connexity.
In fact, the construction of the connected components is performed by the constructor of class qgar::ConnectedComponentsImpl. Only (Qgar) developers are concerned with this class. Ordinary clients of library QgarLib do not have to worry about it.
See class qgar::PruneSmallCCBinaryImage for a fast method to prune small (connected) components of a binary image, without actually constructing any component.
Classes | |
| class | qgar::Component |
| A (connected) component. More... | |
| class | qgar::ConnectedComponents |
| Connected components extracted from a binary image. More... | |
| class | qgar::ConnectedComponentsImpl |
| Implementation of the construction of connected components of a binary image. More... | |
| class | qgar::PruneSmallCCBinaryImage |
| Prune small connected components. More... | |