SortBlobs

SortBlobs is used to sort the blobs referenced in a Blobs data structure in relation to a fixture A fixture is a coordinate location on the image that keeps the tool in the place determined by the fixture..

SortBlobs Overview

By computing the position of the referenced blob A blob is a group of pixels on the image that form a distinct pattern, typically used to represent objects, features, or areas of interest in object detection and segmentation tasks.'s center of mass (centroid) relative to the specified image fixture coordinate system, SortBlobs sorts the referenced blobs based upon one of their measurement characteristics, such as the distance along the x or y-axis, from a fixture origin or a grid, or the angle or angular distance of the blob.

Each blob in the referenced Blobs data structure is examined, and depending upon the Sort By parameter setting, the blob is identified and its position is calculated by measuring either the distance or angular relationship of the blob to a fixed location.

Once SortBlobs has sorted the referenced blobs, a new Blobs data structure and accompanying result table will be automatically inserted into the spreadsheet. The result table is sorted by how close the blob is to the chosen fixture, in descending order (the closest blob is listed first, the next closest second, and so on).

SortBlobs is an extremely helpful function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. in instances where there are multiple blobs and the position of each blob in relation to the other blobs needs to be determined.

See the Blobs Vision Data Access functions for details on the result table.