CogBlobResults GetTopLevelBlobs Method Cognex VisionPro
Gets all of the top level blobs, which are the blobs that do not have an enclosing parent blob. The Filtered argument indicates to get the blobs after filtering and sorting have been applied, or blobs without any filtering and sorting applied.

Namespace: Cognex.VisionPro.Blob
Assembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 65.1.0.0
Syntax

public CogBlobResultCollection GetTopLevelBlobs(
	bool filtered
)

Parameters

filtered
Type: System Boolean
If true, the blobs are filtered according to the defined CogBlobMeasure objects. If false, blobs are not filtered.

Return Value

Type: CogBlobResultCollection
Exceptions

ExceptionCondition
InvalidOperationException If no result data is available.
Remarks

Returns a CogBlobResultCollection containing a CogBlobResult object for each top-level blob produced in the tool run that produced this object. (A top-level blob is one that is not contained within another feature. You use the filtered argument to control whether or not filtered blobs are included.
See Also