FindBlobs

FindBlobs is used to filter and score blobs in a Blobs structure by a weighted set of ideal values.

FindBlobs Overview

Using the FindBlobs parameter settings, a formula is created that calculates a score to measure how closely the blobs referenced in the Blobs data structure match an "ideal" blob. Based upon the parameter settings, FindBlobs returns only those blobs that match the specified requirements.

Each blob in the referenced Blobs data structure undergoes a two-step process of analysis. First, each of the individual FindBlobs parameter settings creates a formula that evaluates that particular parameter value. For instance, the Angle score would be computed by dividing the differences of the Range and the Angle value of the Angle parameter and the Range and the Angle value of the referenced blob, multiplied by the Weight value. After the individual scores have been computed, each of the individual parameter scores are added together and divided by the sum of the individual Weight parameter values. This score is then compared against the Accept Thresh value to determine whether or not the blob meets the specified requirements.

Once FindBlobs has filtered and sorted the extracted blobs, a new Blobs data structure and accompanying result table is automatically inserted into the spreadsheet. The result table is sorted by how closely the found blobs match the configured requirements, in descending order.

FindBlobs can be extremely useful in classifying features for defect detection. For example, if the job were to detect scratches on a surface, FindBlobs could be configured to return only those blobs with higher Elongation values. Or, if the goal was to detect jagged edge defects, FindBlobs could be configured to return only those blobs with higher Perimeter or Spread values.

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