Click or drag to resize

CvBlobLib Class

Functions of cvblob library
Inheritance Hierarchy
SystemObject
  OpenCvSharp.BlobCvBlobLib

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.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, Mat, Mat)
Draws or prints information about a blob.
Public methodStatic memberRenderBlob(LabelData, CvBlob, Mat, Mat, RenderBlobsModes)
Draws or prints information about a blob.
Public methodStatic memberRenderBlob(LabelData, CvBlob, Mat, Mat, RenderBlobsModes, Scalar, Double)
Draws or prints information about a blob.
Public methodStatic memberRenderBlobs(CvBlobs, Mat, Mat)
Draws or prints information about blobs. (cvRenderBlobs)
Public methodStatic memberRenderBlobs(CvBlobs, Mat, Mat, RenderBlobsModes, Double)
Draws or prints information about blobs. (cvRenderBlobs)
Public methodStatic memberRenderContourChainCode(CvContourChainCode, Mat)
Draw a contour.
Public methodStatic memberRenderContourChainCode(CvContourChainCode, Mat, Scalar)
Draw a contour.
Public methodStatic memberRenderContourPolygon(CvContourPolygon, Mat)
Draw a polygon.
Public methodStatic memberRenderContourPolygon(CvContourPolygon, Mat, Scalar)
Draw a polygon.
Public methodStatic memberRenderTracks(CvTracks, Mat, Mat)
Prints tracks information.
Public methodStatic memberRenderTracks(CvTracks, Mat, Mat, RenderTracksModes)
Prints tracks information.
Public methodStatic memberRenderTracks(CvTracks, Mat, Mat, RenderTracksModes, Scalar, HersheyFonts, Double, Int32)
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 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, Scalar, Scalar)
Write a contour to a SVG file.
Top
See Also