|
CorTeX Core ABI 7
ToolTech Software · C++ library reference
|
Integer pixel bounds and moments. More...
#include <ctxImageAnalysis.h>
Public Attributes | |
| gzUInt32 | label |
| gzUInt32 | x |
| gzUInt32 | y |
| gzUInt32 | width |
| gzUInt32 | height |
| gzUInt32 | area |
| gzUInt64 | sumX |
| gzUInt64 | sumY |
Integer pixel bounds and moments.
Coordinates are original integer pixel centers; bounds are half-open. Dividing sumX/sumY by area gives the centroid. Label IDs follow row-major first-foreground discovery, starting at one.
Definition at line 52 of file ctxImageAnalysis.h.
| gzUInt32 ctxBinaryImageComponent::area |
Definition at line 54 of file ctxImageAnalysis.h.
Referenced by ctxBinaryImageAnalysis::labelComponents().
| gzUInt32 ctxBinaryImageComponent::height |
Definition at line 54 of file ctxImageAnalysis.h.
Referenced by ctxBinaryImageAnalysis::labelComponents().
| gzUInt32 ctxBinaryImageComponent::label |
Definition at line 54 of file ctxImageAnalysis.h.
| gzUInt64 ctxBinaryImageComponent::sumX |
Definition at line 55 of file ctxImageAnalysis.h.
Referenced by ctxBinaryImageAnalysis::labelComponents().
| gzUInt64 ctxBinaryImageComponent::sumY |
Definition at line 55 of file ctxImageAnalysis.h.
Referenced by ctxBinaryImageAnalysis::labelComponents().
| gzUInt32 ctxBinaryImageComponent::width |
Definition at line 54 of file ctxImageAnalysis.h.
Referenced by ctxBinaryImageAnalysis::labelComponents().
| gzUInt32 ctxBinaryImageComponent::x |
Definition at line 54 of file ctxImageAnalysis.h.
Referenced by ctxBinaryImageAnalysis::labelComponents().
| gzUInt32 ctxBinaryImageComponent::y |
Definition at line 54 of file ctxImageAnalysis.h.
Referenced by ctxBinaryImageAnalysis::labelComponents().