Click or drag to resize

CvBlob Class

Struct that contain information about one blob.
Inheritance Hierarchy
SystemObject
  OpenCvSharp.BlobCvBlob

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax
[SerializableAttribute]
public class CvBlob

The CvBlob type exposes the following members.

Constructors
  NameDescription
Public methodCvBlob
Constructor
Top
Properties
  NameDescription
Public propertyArea
Area (moment 00)
Public propertyCentralMoments
True if central moments are being calculated
Public propertyCentroid
Centroid
Public propertyContour
Contour
Public propertyInternalContours
Internal contours
Public propertyLabel
Label assigned to the blob
Public propertyM00
Area (moment 00)
Public propertyM01
Moment 01
Public propertyM02
Moment 02
Public propertyM10
Moment 10
Public propertyM11
Moment 11
Public propertyM20
Moment 20
Public propertyMaxX
X max
Public propertyMaxY
Y max
Public propertyMinX
X min
Public propertyMinY
Y min
Public propertyN02
Normalized central moment 02.
Public propertyN11
Normalized central moment 11.
Public propertyN20
Normalized central moment 20.
Public propertyP1
Hu moment 1.
Public propertyP2
Hu moment 2.
Public propertyRect
CvRect(MinX, MinY, MaxX - MinX, MaxY - MinY)
Public propertyU02
Central moment 02
Public propertyU11
Central moment 11
Public propertyU20
Central moment 20
Top
Methods
  NameDescription
Public methodAngle
Calculates angle orientation of a blob. This function uses central moments so cvCentralMoments should have been called before for this blob. (cvAngle)
Public methodCalcCentroid
Calculates centroid. Centroid will be returned and stored in the blob structure. (cvCentroid)
Public methodClone
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSaveImage
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.
Public methodSetMoments
Set central/hu moments and centroid value from moment values (M**)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also