LPV Blob Library, provides functionality for blob analysis. More...
Data Structures | |
| interface | ILBlob |
| This interface holds single blob and provide functionalities of blob calculation, conversion and drawing. More... | |
| interface | ILBlobAnalysis |
| This interface provide functionalities of blob analysis. More... | |
| interface | ILBlobFilter |
| This interface provide functionalities of blob filtering. More... | |
| interface | ILBlobResults |
| This interface holds a collection of blob results. More... | |
| class | LBlob |
| class | LBlobAnalysis |
| class | LBlobFilter |
| class | LBlobResults |
LPV Blob Library, provides functionality for blob analysis.
This library provides functionality for blob analysis. To include the definitions of the library's classes, use the following directive:
| enum LPVBlobContourType |
| enum LPVBlobDrawFlags |
This enumeration represents the flags to control the blob drawing behavior.
| enum LPVBlobFeatures |
This enumeration represents the numeric features of the blob.
| Enumerator | |
|---|---|
| LPVBlobArea | Area of the blob, it's the total count of pixels inside the blob. |
| LPVBlobPerimeter | Length of the blob's external contour. |
| LPVBlobWidth | Length of the blob's rotated bounding rectangle's longer axis. |
| LPVBlobHeight | Length of the blob's rotated bounding rectangle's shorter axis. |
| LPVBlobCircularity | Shape factor for the circularity (similarity to a circle) of the blob, defined as: \[ \frac{4 \pi A }{ P^2 } \] where \( A \) is the blob's area, \( P \) is the blob's perimeter. The value is in range of (0, 1), for a perfect circle, it's |
| LPVBlobConvexity | Shape factor for the convexity of he blob, defined as: \[ \frac{ A }{ A_{conv} } \] where \( A \) is the blob's area, \( A_{conv} \) is the area of the blob' bounding convex hull. The value is in range of (0, 1), for a convex polygon, it's |
| LPVBlobInertia | Moment of inertia of the blob contour. |
| LPVBlobAspectRatio | Aspect ratio of the blob's rotated bounding rectangle, in range of (0, 1). It's 1 for a square. |
| LPVBlobSharpness | Sharpness calculated using all the pixels inside the blob. |
| LPVBlobLuminance | Average luminance calculated using all the pixels inside the blob. |
| LPVBlobContrast | Average contrast calculated using all the pixels inside the blob. |
| LPVBlobCenterX | The x-coordinate of the blob center |
| LPVBlobCenterY | The y-coordinate of the blob center |
| LPVBlobColorV0 | Average 0-channel value calculated using all the pixels inside the blob. |
| LPVBlobColorV1 | Average 1-channel value calculated using all the pixels inside the blob. |
| LPVBlobColorV2 | Average 2-channel value calculated using all the pixels inside the blob. |
| LPVBlobCircularity2 | Shape factor for the circularity of the blob, defined as: \[ \frac{ A }{ {d_{max}}^2 \pi } \] where \( A \) is the blob's area, \( d_{max} \) is the maximum distance from the blob center to all the contour pixels. The value is clipped to range of [0, 1], for a perfect circle, it's |
| LPVBlobEntropy | Entropy of the gray value distribution inside the blob, in range of [0, 8]. It's |
| LPVBlobAnisotropy | Anisotropy of the gray value distribution inside the blob, in range of [-1, 0]. It requires an image attached to the blob, otherwise it returns |
| LPVBlobHoleCount | Count of the holes inside the blob. It's |
| LPVBlobHoleArea | Total count of pixels inside all the holes of the blob. It's |
| LPVBlobAngle | Angle of the blob in degrees, it's the direction of the longer axis of the blob's rotated bounding rectangle, in range of (-90, 90). It's the same as ILBlob::GetAngle() with |
| enum LPVBlobMergeType |
This enumeration represents the way to do blob merging, especially the way to decide the start point for merging.