MV-9_Chapter 5. Teaching.pdf - 第22页

MV -9 Use r Manual 5- 22 T ype Icon Name IC solder inspection 5.3.1. Basic color concept In this manual, we describes about the color syste m use d for algorithm . B y under st andi ng the basic color con cept, we can i …

100%1 / 286
错误!使用“开始”选项卡将 제목 2 应用于要在此处显示的文字。错误!使用“开始”选项卡将 제목 2 应用
于要在此处显示的文字。 .
5-21
5.3. Component teaching
Component teaching is to create single window according to the characteristic of each
component mounted on PCB.
Inspection window that is used for component teaching is largely divided into general-purpose
inspection window that can be generally applied for inspection target component and exclusive
inspection window that is used for teaching of component with specific shape like IC/Bridge
inspection or color inspection.
[Table 5-1 window add buttons]
Type
Icon
Name
Button to add general-purpose
inspection window
mounting inspection window
soldering inspection window
optical character window
binary inspection window
Button to add exclusive
inspection window
IC/Bridge inspection window
color inspection window
chip inspection window
height inspection
lifted inspection
resistance color band inspection
IC offset inspection
chip color inspection
MV-9 User Manual
5-22
Type
Icon
Name
IC solder inspection
5.3.1. Basic color concept
In this manual, we describes about the color system used for algorithm. By understanding the
basic color concept, we can increase understanding of color segmentation to set color map used
for each inspection algorithm according to inspection purpose to realize better and excellent
inspection performance.
1) Image type in Inspector
Figure 1 shows light type and image type used in the inspector.
In case of using color light, select horizontal + vertical light ( ). That is the difference from
the existing white light.
Image type A is 3 Band color image, and the others image types are 1 Band gray images
created by extracting channel information relevant to the image type selected for 3 Band
color image.
In general, H (Hue) and S (Saturation) have rare application example. Hence, we will
describe about them. For more information about this, please refer to the following color
system.
[Figure 5-13 Light type and image type used for Inspector]
[Figure 5-31] shows image created according to image type of color light. Each channel
image creates gray image to the size value by extracting size of the relevant channel from
each pixel of a color image.
Since red image has small size in red area, yellow and pink area, it appears bright in gray
image, and it appears dark in area from green to blue because the size is small. Other
channel images can be understood by same principle.
White is mixed area of three primary lights and color does not exist, and it is included in all
channels. Hence, white area appears brightest in each channel image.
Luminance image is gray image that converts RGB image into size value using conversion
错误!使用“开始”选项卡将 제목 2 应用于要在此处显示的文字。错误!使用“开始”选项卡将 제목 2 应用
于要在此处显示的文字。 .
5-23
formula. As shown in figure 2-(d), the center of white area appears the brightest, and it gets
dark as it goes outward.
color image
(a) R image
(b) G image
(c) B image
(d) L image
[Figure 5-14 Channel image (1 band) for color image (3 band)]
2) Binarization of color image
Figure 3 shows binarization of each channel image extracted from color image. Figure 3 shows
binarization result with same threshold (200). As shown in [Figure 5-32], only the brightest part is
separated in [Figure 5-31].
(a) color image
(b) R image
(b) G image
(c) B image
(d) L image
[Figure 5-15 Binarization result of each channel image]
Binarization shown in [Figure 5-32] can create more useful and various binarization image
as shown in [Figure 5-33] by properly adjusting color map. The following is the characteristic
of each image based on default setting image. [Figure 5-33] color image-image type R
conduct.
S (Saturation) area expansion: As shown in [Figure 5-33]-(b), if color map is expanded
(Saturation expansion) to white area in the center of color map, adjacent white area and
white area of central part is included for binarization.
H (Hue) area expansion: [Figure 5-33]-(c) is result image that expanded H range of Red
area to yellow area and pink area in color map to create gray image and conducted
binarization. It does not reach to expanded area, but yellow, some green, pink and some
violet area are included.
Binarization lower: expansion region of binarization image and color map are different in
[Figure 5-33]-(c). This is because of high threshold for binarization. As shown in (d) in
[Figure 5-33], if threshold is lowered, binarization will be conducted to expansion region of
the color map.