CvBlobLib Class OpenCvSharp Class Library
Functions of cvblob library
Inheritance Hierarchy

SystemObject
  OpenCvSharp.BlobCvBlobLib

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static class CvBlobLib

The CvBlobLib type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBlobMeanColor
Calculates mean color of a blob in an image.
Public methodStatic memberCalcAngle
Calculates angle orientation of a blob. This function uses central moments so cvCentralMoments should have been called before for this blob. (cvAngle)
Public methodStatic memberCalcCentroid
Calculates centroid. Centroid will be returned and stored in the blob structure. (cvCentroid)
Public methodStatic memberContourChainCodePerimeter
Calculates perimeter of a chain code contour.
Public methodStatic memberContourPolygonArea
Calculates area of a polygonal contour.
Public methodStatic memberContourPolygonCircularity
Calculates the circularity of a polygon (compactness measure).
Public methodStatic memberContourPolygonPerimeter
Calculates perimeter of a chain code contour.
Public methodStatic memberConvertChainCodesToPolygon
Convert a chain code contour to a polygon.
Public methodStatic memberFilterByArea
Filter blobs by area. Those blobs whose areas are not in range will be erased from the input list of blobs. (cvFilterByArea)
Public methodStatic memberFilterByLabel
Filter blobs by label. Delete all blobs except those with label l.
Public methodStatic memberFilterLabels
Draw a binary image with the blobs that have been given. (cvFilterLabels)
Public methodStatic memberGetLabel
Get the label value from a labeled image.
Public methodStatic memberGreaterBlob
Find greater blob. (cvGreaterBlob)
Public methodStatic memberLabel
Label the connected parts of a binary image. (cvLabel)
Public methodStatic memberLargestBlob
Find the largest blob. (cvLargestBlob)
Public methodStatic memberPolygonContourConvexHull
Calculates convex hull of a contour. Uses the Melkman Algorithm. Code based on the version in http://w3.impa.br/~rdcastan/Cgeometry/.
Public methodStatic memberRenderBlob(LabelData, CvBlob, IplImage, IplImage)
Draws or prints information about a blob.
Public methodStatic memberRenderBlob(LabelData, CvBlob, IplImage, IplImage, RenderBlobsMode)
Draws or prints information about a blob.
Public methodStatic memberRenderBlob(LabelData, CvBlob, IplImage, IplImage, RenderBlobsMode, CvScalar)
Draws or prints information about a blob.
Public methodStatic memberRenderBlob(LabelData, CvBlob, IplImage, IplImage, RenderBlobsMode, CvScalar, Double)
Draws or prints information about a blob.
Public methodStatic memberRenderBlobs(CvBlobs, IplImage, IplImage)
Draws or prints information about blobs. (cvRenderBlobs)
Public methodStatic memberRenderBlobs(CvBlobs, IplImage, IplImage, RenderBlobsMode)
Draws or prints information about blobs. (cvRenderBlobs)
Public methodStatic memberRenderBlobs(CvBlobs, IplImage, IplImage, RenderBlobsMode, Double)
Draws or prints information about blobs. (cvRenderBlobs)
Public methodStatic memberRenderContourChainCode(CvContourChainCode, IplImage)
Draw a contour.
Public methodStatic memberRenderContourChainCode(CvContourChainCode, IplImage, CvScalar)
Draw a contour.
Public methodStatic memberRenderContourPolygon(CvContourPolygon, IplImage)
Draw a polygon.
Public methodStatic memberRenderContourPolygon(CvContourPolygon, IplImage, CvScalar)
Draw a polygon.
Public methodStatic memberRenderTracks(CvTracks, IplImage, IplImage)
Prints tracks information.
Public methodStatic memberRenderTracks(CvTracks, IplImage, IplImage, RenderTracksMode)
Prints tracks information.
Public methodStatic memberRenderTracks(CvTracks, IplImage, IplImage, RenderTracksMode, CvFont)
Prints tracks information.
Public methodStatic memberSaveImageBlob
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 methodStatic memberSetImageRoItoBlob
Set the ROI of an image to the bounding box of a blob.
Public methodStatic memberSimplifyPolygon(CvContourPolygon)
Simplify a polygon reducing the number of vertex according the distance "delta". Uses a version of the Ramer-Douglas-Peucker algorithm (http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm).
Public methodStatic memberSimplifyPolygon(CvContourPolygon, Double)
Simplify a polygon reducing the number of vertex according the distance "delta". Uses a version of the Ramer-Douglas-Peucker algorithm (http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm).
Public methodStatic memberUpdateTracks(CvBlobs, CvTracks, Double, Int32)
Updates list of tracks based on current blobs.
Public methodStatic memberUpdateTracks(CvBlobs, CvTracks, Double, Int32, Int32)
Updates list of tracks based on current blobs.
Public methodStatic memberWriteContourPolygonCsv
Write a contour to a CSV (Comma-separated values) file.
Public methodStatic memberWriteContourPolygonSvg(CvContourPolygon, String)
Write a contour to a SVG file.
Public methodStatic memberWriteContourPolygonSvg(CvContourPolygon, String, CvScalar, CvScalar)
Write a contour to a SVG file.
Top
Fields

  NameDescription
Public fieldStatic memberDepthLabel
Size of a label in bits.
Top
See Also

Reference