CvBlobLib Methods |
The CvBlobLib type exposes the following members.
Name | Description | |
---|---|---|
BlobMeanColor |
Calculates mean color of a blob in an image.
| |
CalcAngle |
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)
| |
ContourChainCodePerimeter |
Calculates perimeter of a chain code contour.
| |
ContourPolygonArea |
Calculates area of a polygonal contour.
| |
ContourPolygonCircularity |
Calculates the circularity of a polygon (compactness measure).
| |
ContourPolygonPerimeter |
Calculates perimeter of a chain code contour.
| |
ConvertChainCodesToPolygon |
Convert a chain code contour to a polygon.
| |
FilterByArea |
Filter blobs by area.
Those blobs whose areas are not in range will be erased from the input list of blobs. (cvFilterByArea)
| |
FilterByLabel |
Filter blobs by label.
Delete all blobs except those with label l.
| |
FilterLabels |
Draw a binary image with the blobs that have been given. (cvFilterLabels)
| |
GetLabel |
Get the label value from a labeled image.
| |
GreaterBlob |
Find greater blob. (cvGreaterBlob)
| |
Label |
Label the connected parts of a binary image. (cvLabel)
| |
LargestBlob |
Find the largest blob. (cvLargestBlob)
| |
PolygonContourConvexHull |
Calculates convex hull of a contour.
Uses the Melkman Algorithm. Code based on the version in http://w3.impa.br/~rdcastan/Cgeometry/.
| |
RenderBlob(LabelData, CvBlob, Mat, Mat) |
Draws or prints information about a blob.
| |
RenderBlob(LabelData, CvBlob, Mat, Mat, RenderBlobsModes) |
Draws or prints information about a blob.
| |
RenderBlob(LabelData, CvBlob, Mat, Mat, RenderBlobsModes, Scalar, Double) |
Draws or prints information about a blob.
| |
RenderBlobs(CvBlobs, Mat, Mat) |
Draws or prints information about blobs. (cvRenderBlobs)
| |
RenderBlobs(CvBlobs, Mat, Mat, RenderBlobsModes, Double) |
Draws or prints information about blobs. (cvRenderBlobs)
| |
RenderContourChainCode(CvContourChainCode, Mat) |
Draw a contour.
| |
RenderContourChainCode(CvContourChainCode, Mat, Scalar) |
Draw a contour.
| |
RenderContourPolygon(CvContourPolygon, Mat) |
Draw a polygon.
| |
RenderContourPolygon(CvContourPolygon, Mat, Scalar) |
Draw a polygon.
| |
RenderTracks(CvTracks, Mat, Mat) |
Prints tracks information.
| |
RenderTracks(CvTracks, Mat, Mat, RenderTracksModes) |
Prints tracks information.
| |
RenderTracks(CvTracks, Mat, Mat, RenderTracksModes, Scalar, HersheyFonts, Double, Int32) |
Prints tracks information.
| |
SaveImageBlob |
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.
| |
SimplifyPolygon(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).
| |
SimplifyPolygon(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).
| |
UpdateTracks(CvBlobs, CvTracks, Double, Int32) |
Updates list of tracks based on current blobs.
| |
UpdateTracks(CvBlobs, CvTracks, Double, Int32, Int32) |
Updates list of tracks based on current blobs.
| |
WriteContourPolygonCsv |
Write a contour to a CSV (Comma-separated values) file.
| |
WriteContourPolygonSvg(CvContourPolygon, String) |
Write a contour to a SVG file.
| |
WriteContourPolygonSvg(CvContourPolygon, String, Scalar, Scalar) |
Write a contour to a SVG file.
|