#include <TreatCCLabeling.hpp>
Inheritance diagram for CCLabeling:

Public Member Functions | |
| CCLabeling (Image *) | |
| ~CCLabeling () | |
| void | ImageLabeling (bool) |
Public Attributes | |
| Image * | labelmap |
| vector< Cc > | cci |
Protected Member Functions | |
| bool | FindEntryPoint () |
| void | ComponentLabeling () |
| int | InitLabel () |
| void | WriteLabel (Cc &, int) |
Protected Attributes | |
| Pt | pte |
|
|
initialize class member and create the labelmap |
|
|
initialise the class member and erase the labelmap |
|
|
ComponentProcessing |
|
|
find an entry point |
|
|
main fuction to label all image's cc the first label is (-1) in order to process the black code with firstinit = true, we convert this label in (1) |
|
|
get label |
|
||||||||||||
|
write label |
|
|
|
|
|
|
|
|
|
1.3