CvBlob Class |
Namespace: OpenCvSharp.Blob
The CvBlob type exposes the following members.
Name | Description | |
---|---|---|
Area |
Area (moment 00)
| |
CentralMoments |
True if central moments are being calculated
| |
Centroid |
Centroid
| |
Contour |
Contour
| |
InternalContours |
Internal contours
| |
Label |
Label assigned to the blob
| |
M00 |
Area (moment 00)
| |
M01 |
Moment 01
| |
M02 |
Moment 02
| |
M10 |
Moment 10
| |
M11 |
Moment 11
| |
M20 |
Moment 20
| |
MaxX |
X max
| |
MaxY |
Y max
| |
MinX |
X min
| |
MinY |
Y min
| |
N02 |
Normalized central moment 02.
| |
N11 |
Normalized central moment 11.
| |
N20 |
Normalized central moment 20.
| |
P1 |
Hu moment 1.
| |
P2 |
Hu moment 2.
| |
Rect |
CvRect(MinX, MinY, MaxX - MinX, MaxY - MinY)
| |
U02 |
Central moment 02
| |
U11 |
Central moment 11
| |
U20 |
Central moment 20
|
Name | Description | |
---|---|---|
Angle |
Calculates angle orientation of a blob.
This function uses central moments so cvCentralMoments should have been called before for this blob. (cvAngle)
| |
CalcCentroid |
Calculates centroid.
Centroid will be returned and stored in the blob structure. (cvCentroid)
| |
Clone | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SaveImage |
Save the image of a blob to a file.
The function uses an image (that can be the original pre-processed image or a processed one, or even the result of cvRenderBlobs, for example) and a blob structure.
Then the function saves a copy of the part of the image where the blob is.
| |
SetMoments |
Set central/hu moments and centroid value from moment values (M**)
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |