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.BlobAssembly: Cognex.VisionPro.Blob (in Cognex.VisionPro.Blob.dll) Version: 79.0.0.0
public CogBlobResultCollection GetTopLevelBlobs(
bool filtered
)
public CogBlobResultCollection GetTopLevelBlobs(
bool filtered
)
Public Function GetTopLevelBlobs (
filtered As Boolean
) As CogBlobResultCollection
Public Function GetTopLevelBlobs (
filtered As Boolean
) As CogBlobResultCollection
public:
CogBlobResultCollection^ GetTopLevelBlobs(
bool filtered
)
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| Exception | Condition |
|---|
| InvalidOperationException |
If no result data is available.
|
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.