General
Below is a description of the settings found under the General tab of the DetectFlaw Property Sheet.
Parameter | Description | ||||||||||||||||||||||||||||||||
Image |
This parameter must reference a spreadsheet cell that contains an Image data structure; by default, this parameter references A0, the cell containing the AcquireImage data structure. This parameter can also reference other Image data structures, such as those returned by the Image Vision Data Access Functions or Coordinate Transforms Functions. |
||||||||||||||||||||||||||||||||
Flaw Model Reference |
Specifies a reference to a spreadsheet cell that contains either a valid TrainFlawModel data structure returned by a TrainFlawModel function, or a FlexFlawModel data structure returned by a FlexFlawModel function. | ||||||||||||||||||||||||||||||||
Inspection Region |
Also known as the Region of Interest (ROI), specifies the region of the image that undergoes analysis. Double-click on the Region parameter to create an Interactive Graphics Mode that you can transform and rotate. Select this parameter and press the Maximize Region button on the Job Edit toolbar of the property sheet to automatically stretch the region to cover the entire image. Note:
|
||||||||||||||||||||||||||||||||
External Inspection Region or Path |
Specifies a Cell References to a spreadsheet cell that contains aControls Functions. When this parameter is used, the TrainFlawModel tool ignores the Region and Fixture settings and inspects the image area specified by the referenced region. Note: If this parameter has been set as a reference to an external region or path, to use the function's internal Region, this parameter must be manually set to zero by entering the value 0 in place of the cell reference. Otherwise, the function will continue to reference the external region or path.
|
||||||||||||||||||||||||||||||||
Image Resolution |
Specifies an image processing resolution for the function, which allows the function to down-sample the inspection image. This parameter specifies the resolution used to perform flaw detection, as well as the resolution of the output image and markings on the image. Tip: Use the Medium or Coarse settings to reduce the execution time of the function, or to decrease the function's sensitivity to image noise and very small variations.
Note: If the Model Reference parameter is referencing a FlexFlawModel data structure returned by a FlexFlawModel function, this parameter will be disabled and the Image Resolution parameter settings of the FlexFlawModel function will be used instead.
|
||||||||||||||||||||||||||||||||
Mask Image Controls |
Specifies an external reference to a Button to control how the function processes the Mask Image. These references provide the ability to dynamically adjust the mask during run-time to ignore certain flaws.
|
||||||||||||||||||||||||||||||||
Defect Parameters |
Specifies the limits for determining area and/or edge flaws. Area flaws are measured by deviations of the pixel greyscale value, and typically include defects such as blemishes or discolorations. Edge flaws are measured by the presence/absence of edge features, and typically include defects such as scratches, tears or extra features. Note: When applying the DetectFlaw function, if the tolerances for the Defect Parameters are narrow (i.e. ≤ 15 pixels, for instance), and the image encounters minor variations in image noise, the options Ignore Defect and Add Residual may not account for the variations. In these situations, attempt to broaden the tolerances for the Defect Parameters before applying the Ignore Defect or Add Residual options.
|
||||||||||||||||||||||||||||||||
Draw Edge Markings |
Specifies whether or not the function will draw the detected edge marks, in green, on the image. The output markings indicate which pixels align with pixels in the trained Model Image. Pixels in the acquired image which coincide with a trained edge segment in the trained Model Image will be drawn in green. Pixels which fall outside of tolerances and are classified as either edge or area defects are drawn in red, and a red bounding box is placed around them.
|
||||||||||||||||||||||||||||||||
Draw Flaw Markings |
Specifies whether or not the function will draw the detected flaw marks, in red, on the image. The output markings indicate which pixels align with pixels in the trained Model Image. Pixels in the acquired image which coincide with a trained edge segment in the trained Model Image will be drawn in green. Pixels which fall outside of tolerances and are classified as either edge or area defects are drawn in red, and a red bounding box is placed around them.
|
||||||||||||||||||||||||||||||||
Display Image |
Specifies the type of output the function will generate.
|
||||||||||||||||||||||||||||||||
Show |
Specifies the display mode for the function's graphical overlays on top of the image. The output markings indicate which pixels align with pixels in the trained Model Image. Note: When the DetectFlaw property sheet is open, all of the markings will be drawn on the image, if the Draw Edge Markings and Draw Flaw Markings parameters are enabled.
|