The CvBlobLib type exposes the following members.
Methods
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, IplImage, IplImage) |
Draws or prints information about a blob.
| |
RenderBlob(LabelData, CvBlob, IplImage, IplImage, RenderBlobsMode) |
Draws or prints information about a blob.
| |
RenderBlob(LabelData, CvBlob, IplImage, IplImage, RenderBlobsMode, CvScalar) |
Draws or prints information about a blob.
| |
RenderBlob(LabelData, CvBlob, IplImage, IplImage, RenderBlobsMode, CvScalar, Double) |
Draws or prints information about a blob.
| |
RenderBlobs(CvBlobs, IplImage, IplImage) |
Draws or prints information about blobs. (cvRenderBlobs)
| |
RenderBlobs(CvBlobs, IplImage, IplImage, RenderBlobsMode) |
Draws or prints information about blobs. (cvRenderBlobs)
| |
RenderBlobs(CvBlobs, IplImage, IplImage, RenderBlobsMode, Double) |
Draws or prints information about blobs. (cvRenderBlobs)
| |
RenderContourChainCode(CvContourChainCode, IplImage) |
Draw a contour.
| |
RenderContourChainCode(CvContourChainCode, IplImage, CvScalar) |
Draw a contour.
| |
RenderContourPolygon(CvContourPolygon, IplImage) |
Draw a polygon.
| |
RenderContourPolygon(CvContourPolygon, IplImage, CvScalar) |
Draw a polygon.
| |
RenderTracks(CvTracks, IplImage, IplImage) |
Prints tracks information.
| |
RenderTracks(CvTracks, IplImage, IplImage, RenderTracksMode) |
Prints tracks information.
| |
RenderTracks(CvTracks, IplImage, IplImage, RenderTracksMode, CvFont) |
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.
| |
SetImageRoItoBlob |
Set the ROI of an image to the bounding box of a blob.
| |
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, CvScalar, CvScalar) |
Write a contour to a SVG file.
|
See Also