CogBlobResults GetChildren Method Cognex VisionPro
Get either a filtered or unfiltered collection of children of the blob specified by ID. The filtered blobs will also be sorted if sorting was enabled.

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

public CogBlobResultCollection GetChildren(
	int blobID,
	bool filtered
)

Parameters

blobID
Type: System Int32
The ID of the blob the children of which are returned.
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
The returned CogBlobResultCollection.
Exceptions

ExceptionCondition
ArgumentExceptionblobID is less than 1 or greater than the number of unfiltered blobs in this CogBlobResults.
InvalidOperationException If no result data is available.
Remarks

Returns a CogBlobResultCollection containing a CogBlobResult object for each child blob contained within the blob whose ID you supply. You use the filtered argument to control whether or not filtered blobs are included.
See Also