Surface Flaw Defect Detection Tool - Flaw Detection Tab
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the type of image processing to apply to the image to determine if flaws are present (Fast, Light Flaws, Dark Flaws or Light and Dark Flaws; default = Fast).
- Fast: This option is ideally suited for detecting "edge-like" intensity transitions on a surface, such as streaks or scratches. It applies an erode-dilation operation, which highlights the edge of a flaw. It has the best execution time, however, when reporting flaws, it only reports the perimeter of the flaw, not its area.
- Light Flaws: This option is ideally suited for detecting light "blob-like" flaws on a dark background, and detecting flaws based on their area pixel size. It applies a "top hat" filtering operation, which filters out everything except bright features that are smaller than the size of the Detection Size parameter, to detect potential flaws.
- Dark Flaws: This option is ideally suited for detecting dark "blob-like" flaws on a light background, and detecting flaws based on their area pixel size. It applies a "bottom hat" filtering operation, which filters out everything except dark features that are smaller than the size of the Detection Size parameter.
- Light and Dark Flaws: This option is ideally suited for detecting "blob-like" flaws where the flaw could be either dark or light, and detecting flaws based on their area pixel size. It applies both "bottom hat" and "top hat" operations and utilizes the maximum result of the two operations.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the output image to display (Input Image, Sampled Image, Flaw Candidates or Flaw Image; default = Flaw Image).
- Input Image: The currently acquired image will be displayed.
- Sampled Image: The smoothed and sampled image will be displayed. If an angled or curved region was used as an input, the transformed and straightened version will be displayed in addition to the smoothed and sampled affects.
- Flaw Candidates: The potential flaws will be displayed. Potential flaws are highlighted in contrast to the background.
- Flaw Image: Flaws will be displayed. Flaws will be drawn in white, while all other areas are drawn in black. This display option will include flaws that fall outside the limits of defined flaws (Minimum Flaw Area and Maximum Flaw Area).
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the amount by which to sample (1 to 99999; default = 1) the input image, thus reducing its resolution. Sampling is used to help reduce the tool's execution time, however, at the expense of accuracy. When determining the proper sampling value, a value of 1 denotes no sampling, i.e. that the input image will be used at full resolution. Higher values denote less resolution and accuracy, but higher execution times.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines whether or not the function will determine the optimal smoothing factor by which to smooth the image (default = Off). Allowing the function to select the optimal smoothing factor generally enables better performance.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the factor (0 to 99999; default = 0) by which to smooth the image. When determining the optimal value, begin with a similar value as specified in the Sampling Factor parameter. To specify no smoothing, set the value to 0.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the axis in which to detect potential flaws (X, Y, and X and Y; default = X and Y).
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the detection neighborhood size (1 to 99999; default = 1), in pixels. This parameter is used to construct the processing neighborhood, or kernel, for use with the Flaw Detection Operation parameter. For all the Flaw Detection Operation operations other than Fast, the size value must be at least as large as the length or width of the flaws to be detected.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the intensity threshold (1 to 255; default = 20) used to detect flaws. For a flaw to be detected, its intensity must differ by this value from the background.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the minimum size (1 to 99999; default = 30), in pixels, of the flaws to detect.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the maximum size (1 to 99999; default = 99999), in pixels, of the flaws to detect.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Defines the amount of time, in milliseconds (0 to 30,000; default = 5000), that the tool will search for flaws before execution is stopped and the tool returns a Fail.
![Closed](../../Skins/Default/Stylesheets/Images/transparent.gif)
Displays a count of the total number of flaws that were detected.