创建组件识别数据的方法.pdf - 第172页
172/178 IM-SMT-VSNDI C-0002 -000 those com ponents that are thought t o be rectangles or triangles are de tected and recognized. This appro ach is different from contour detection on the point that all of the edg e posit…

171/178
IM-SMT-VSNDIC-0002-000
<< Items to be set for Contour rectangle detection / contour triangle detection >>
Shape Type (Square/Oblong) / Triangle
Surface type Selects from Reflecting / Non reflecting
Algorithm Type Special 1
Mark Threshold
Sets the binarization level.
(When 0 is specified, binarization level is set automatically.
Tolerance
This is used when checking the surface area and the perimeter of
the detected rectangle or triangle.
It is also used to check the shape constants.
Search Area Sets the detection range.
Cut Inner Noise Selects from 0 through 9.
Cut Outer Noise Selects from 0 through 9.
Mark Outsize X (mm)
Sets the Body Size of the mark (side length
).
Mark Outsize Y (mm)
Sets the Body Size of the mark (side length
).
Table 119
3.7. Edge circle detection
Circular elements are detected from the edge detection results, and from those elements,
those that are thought to be circles are detected and recognized.
This approach is different from the contour detection on the point that all of the edge positions
in the detection range are targeted for detection.
Therefore, this recognition method is effective for the objects which are difficult to be detected
when performing the center of gravity detection and the contour detection due to the effects
such as uneven reflection.
There is a possibility that recognition will still be possible even in situations when a large
portion of the pattern is missing. In terms of accuracy, errors are more likely to occur.
Figure 142
<< Items to be set for Edge circle detection >>
Shape Type Circle
Surface type Selects from Reflect / Non reflect
Algorithm Type Special 2
Mark Threshold Specifies the threshold value for edge detection.
Tolerance
This is used when checking the surface area and
perimeter.
Search Area Sets the detection range.
Cut Inner Noise Selects from 0 through 9.
Cut Outer Noise Selects from 0 through 9.
Mark Outsize X (mm)
Sets the Body Size of the mark.
Mark Outsize Y (mm)
Sets the Body Size of the mark.
Table 120
3.8 Edge rectangle / triangle detection
Linear elements are detected from the edge detection results, and from those elements,

172/178
IM-SMT-VSNDIC-0002-000
those components that are thought to be rectangles or triangles are detected and
recognized. This approach is different from contour detection on the point that all of the edge
positions in the detection range are targeted for detection.
Therefore, this recognition method is effective for the objects which are difficult to be detected
when performing the center of gravity detection and the contour detection due to the effects
such as uneven reflection.
There is a possibility that recognition will still be possible even in situations when a large
portion of the pattern is missing. In terms of accuracy, errors are more likely to occur.
Figure 143
<< Items to be set for Contour rectangle detection / contour triangle detection >>
Shape Type Selects from (Square/Oblong) / Triangle
Surface type Selects from Reflect / Non reflect
Algorithm Type Special 2
Mark Threshold Sets the threshold for edge detection.
Tolerance
This is used when checking the surface area and the
perimeter (of the outer edge of the line detection results).
Search Area Sets the detection range.
Cut Inner Noise Selects from 0 through 9.
Cut Outer Noise Selects from 0 through 9.
Mark Outsize X (mm) Sets the Body Size of the mark (side length
).
Mark Outsize Y (mm) Sets the Body Size of the mark (side length
).
Table 121

173/178
IM-SMT-VSNDIC-0002-000
Appendix
Appendix 1. Noise processing
1) “Cut Inner Noise”
Noise is eliminated by performing compression processing after expansion processing
has been carried out (See
Figure 144
).
2) “Cut Outer Noise”
Noise is eliminated by executing expansion processing after compression processing
has been carried out (See
Figure 144
).
Noises of inside and outside of the component can be eliminated by using both “Cut
Inner Noise” and “Cut Outer Noise“ functions.
The processing results vary depending on the order in which the noise elimination
functions are executed. The execution sequence of the functions should be selected
according to need.
Figure 144
<Expansion processing>
The bottom figure in the middle in
Figure 144
shows the result after expanding the image on
the left by 1 pixel. As shown in this example, if the gray area is expanded by 1 pixel, a section
consists of two or less pixels in the component is embedded.
Multiple pixels can be specified for expansion, so the section containing the multiple pixels
(noise) is embedded. Performing compression processing following the expansion processing
produces an image without the noise. (See the bottom figure on the right in
Figure 144
).
Dele
ted
Compressed
Expand
Deleted
Deleted
Deleted
Expand
Compressed
Connected
Connected
Noise
elimination
outside the component
Noise
elimination
inside the component