KR101499004B1 - Method and apparatus for searching test target in photo image by using color light - Google Patents

Method and apparatus for searching test target in photo image by using color light Download PDF

Info

Publication number
KR101499004B1
KR101499004B1 KR20130152727A KR20130152727A KR101499004B1 KR 101499004 B1 KR101499004 B1 KR 101499004B1 KR 20130152727 A KR20130152727 A KR 20130152727A KR 20130152727 A KR20130152727 A KR 20130152727A KR 101499004 B1 KR101499004 B1 KR 101499004B1
Authority
KR
South Korea
Prior art keywords
color
illumination
inspection
quot
photographing
Prior art date
Application number
KR20130152727A
Other languages
Korean (ko)
Inventor
최상복
Original Assignee
센시(주)
최상복
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 센시(주), 최상복 filed Critical 센시(주)
Priority to KR20130152727A priority Critical patent/KR101499004B1/en
Application granted granted Critical
Publication of KR101499004B1 publication Critical patent/KR101499004B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/17Systems in which incident light is modified in accordance with the properties of the material investigated
    • G01N21/25Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F21LIGHTING
    • F21SNON-PORTABLE LIGHTING DEVICES; SYSTEMS THEREOF; VEHICLE LIGHTING DEVICES SPECIALLY ADAPTED FOR VEHICLE EXTERIORS
    • F21S10/00Lighting devices or systems producing a varying lighting effect
    • F21S10/02Lighting devices or systems producing a varying lighting effect changing colors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0007Image acquisition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2201/00Features of devices classified in G01N21/00
    • G01N2201/06Illumination; Optics
    • G01N2201/062LED's
    • G01N2201/0621Supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

Provided by the present invention is a method to search a test target on a photographed object using color light. The search method includes the following steps of: preparing a test target; illuminating white light to the test target; photographing the test target and outputting the photographed object; setting a test area on the photographed object; extracting a color of the test area and the representative value of the color; controlling the brightness of the illumination in response to the extracted representative value; and performing the output of the photographed object, the extraction of the color, and the brightness control of the illumination again. The present invention is able to easily distinguish a test target by: radiating light of a color corresponding to the color of the test target to the test target in a photographed object after photographing the test target; emphasizing the color of the test target by radiating light of a color corresponding to the complementary color of the color of the test target; or emphasizing colors of objects besides the test target.

Description

색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법 및 장치{Method and apparatus for searching test target in photo image by using color light}TECHNICAL FIELD [0001] The present invention relates to a method and apparatus for searching an object to be inspected on a photograph using a color illumination,

본 발명은 조명 장치 및 방법에 관한 것으로서, 보다 상세하게는 촬영물 상에서 검사 대상의 색상에 대응하는 조명을 조사하여 검사 대상의 검사가 용이하게 이루어질 수 있도록 하여 촬영물 상에서 검사 대상을 보다 높은 정확성으로 검색할 수 있도록 하는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법 및 장치에 관한 것이다.More particularly, the present invention relates to an illuminating device and method, and more particularly, to an illuminating device and a method for illuminating an illuminant corresponding to a color of an object to be inspected, The present invention relates to a method and an apparatus for searching an object to be inspected on a photographed object by using a color light to illuminate the object.

식품 제조업 및 기타 제조업에서 제조되는 제품의 검사를 위해서 다양한 방법이 사용되고 있다. 제조되는 제품 검사를 위해 카메라로 제조품의 영상을 촬영한 후, 그 촬영물을 이용하여 제품의 불량 검사 및 상태 검사를 하는 방법이 개시되었다.Various methods have been used for the inspection of products manufactured in food manufacturing and other manufacturing industries. A method of inspecting a manufactured product using a camera and then inspecting and inspecting the product using the captured product is disclosed.

상기와 같은 검사를 위해서는 검사 대상에 대한 촬영물 상에서, 특정한 검사 대상만을 검색할 필요가 있다. 이를 위해서는 적절한 밝기와 색상의 광이 검사 대상에 조사될 필요가 있다. In order to perform such inspection, it is necessary to search only a specific inspection object on a photographing object of the inspection object. For this purpose, light of appropriate brightness and color needs to be irradiated to the object to be inspected.

그러나, 종래의 검사 장치에서 사용되는 조명은 백색, 빨강, 주황, 노랑, 녹색, 파랑과 같은 단색인 경우가 대부분이다. However, most of the illumination used in the conventional inspection apparatuses is a single color such as white, red, orange, yellow, green, and blue.

조명이 단색인 경우, 검사 대상이 조명의 색상과 대응하지 않거나, 다양한 색상을 갖는 경우에는 검사의 정밀성이 저하되는 문제점이 있다. In the case where the illumination is monochromatic, if the object to be inspected does not correspond to the color of the illumination, or if it has various colors, there is a problem that the precision of the inspection is deteriorated.

상기한 문제점을 해결하기 위하여 대한민국 공개 특허 2006-0057940호가 개시되었다. Korean Patent Publication No. 2006-0057940 discloses a solution to the above problem.

상기한 선행기술은 소정의 컬러 필터를 통해 대상물을 촬영한 영상에서 촬영물의 색신호의 보색 신호를 이용하여 색 정보를 재현할 수 있도록 하여, 색 정보를 통해 검사 대상을 검색할 수 있도록 한다. The prior art described above allows color information to be reproduced using a complementary color signal of a color signal of an object in an image of an object taken through a predetermined color filter, so that an object to be inspected can be searched through color information.

상기한 선행기술의 경우, 컬러 필터를 통해 영상을 촬영하므로, 컬러 필터 자체의 색상에 따라 촬영물의 색정보가 한정될 수 있고, 이를 극복하기 위해서는 컬러 필터를 다양하게 구비해야 하므로, 전체적인 비용이 상승하는 문제점이 있다. In the prior art described above, since the image is photographed through the color filter, the color information of the photographed object can be limited according to the color of the color filter itself, and various color filters are required to overcome the color information. .

이를 방지하기 위하여, 빛의 3원색에 대응하는 복수의 조명을 조합하여, 소정 색상으로 조명할 수 있는 검사 장치가 개시되었다.To prevent this, an inspection apparatus capable of combining a plurality of lights corresponding to the three primary colors of light and illuminating them in a predetermined color has been disclosed.

상기한 검사 장치는 다양한 색을 출력할 수 있지만, 복수의 조명을 조합하는 과정이 작업자의 수작업에 의해 이루어지므로 검사의 정밀성이 저하되는 문제점이 있다. Although the above-described inspection apparatus can output various colors, the process of combining a plurality of lights is performed manually by a worker, which results in a problem that precision of inspection is lowered.

본 발명은 상기한 문제점을 해결하기 위한 것으로서, 검사 대상을 촬영한 후 촬영물 상의 검사 대상에 대하여 검사 대상의 색상에 대응하는 색상의 광을 조사하여 검사 대상의 색상을 부각시키거나, 검사 대상의 색상의 보색에 대응하는 색상의 광을 조사하여 검사 대상의 색상이 약화되고 검사 대상 이외의 대상의 색상이 부각되도록 하는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법 및 장치를 제공하는 것을 목적으로 한다.
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is an object of the present invention to provide a color image forming apparatus, a color image forming apparatus, A method and an apparatus for searching an object to be inspected on a photographed object by using light of a color corresponding to the complementary color of the object to be inspected and the color of the inspection object is weakened and the color of the object other than the inspection object is highlighted do.

상기한 목적을 달성하기 위한 제1 측면에 따른 본 발명은, 검사 대상을 준비하는 단계; 상기 검사 대상에 대하여 백색광을 조명하는 단계; 상기 검사 대상에 대하여 촬영을 수행하고 촬영물을 출력하는 단계; 상기 촬영물 상에서 검사 영역을 설정하는 단계; 상기 검사 영역의 색상과 색상의 대표값을 추출하는 단계; 추출된 상기 대표값에 대응하여 상기 조명의 밝기를 제어하는 단계; 상기 촬영물 출력, 색상 추출 및 조명 밝기 제어를 재수행하는 단계를 포함하는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법을 제공한다.According to a first aspect of the present invention for achieving the above object, Illuminating the inspection object with white light; A step of photographing the object to be inspected and outputting a photographing object; Setting an inspection area on the photographing object; Extracting representative values of color and hue of the inspection region; Controlling brightness of the illumination corresponding to the extracted representative value; And a step of re-executing the image output, color extraction, and illumination brightness control.

상기한 목적을 달성하기 위한 제2 측면에 따른 본 발명은, 검사 대상을 준비하는 단계; 상기 검사 대상에 대하여 백색광을 조명하는 단계; 상기 검사 대상에 대하여 촬영을 수행하고 촬영물을 출력하는 단계; 상기 촬영물 상에서 검사 영역을 설정하는 단계; 상기 검사 영역의 색상과 대표값을 추출하는 단계; 상기 추출된 색상에 대한 보색과 상기 보색의 대표값을 검출하는 단계; 검출된 상기 보색에 대응하여 상기 조명의 밝기를 제어하는 단계; 상기 촬영물을 다시 출력하고, 색상과 색상값을 다시 추출하는 단계를 포함하는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법을 제공한다.According to a second aspect of the present invention for accomplishing the above object, Illuminating the inspection object with white light; A step of photographing the object to be inspected and outputting a photographing object; Setting an inspection area on the photographing object; Extracting a color and a representative value of the inspection area; Detecting a complementary color of the extracted color and a representative value of the complementary color; Controlling brightness of the illumination corresponding to the detected complementary color; And outputting the captured image again, and extracting the color and the color value again.

상기 백색광은, 전류 제어에 의해 밝기가 제어되는 R, G, B 단위 조명의 조합에 의해 발광될 수 있다.The white light can be emitted by a combination of R, G, and B illumination units whose brightness is controlled by current control.

상기 조명의 밝기 제어는 전류 제어에 의해 이루어질 수 있다.The brightness control of the illumination may be performed by current control.

상기 검사 영역의 색상과 대표값을 추출하는 단계는, 상기 검사 영역이 포함하는 픽셀들의 R, G, B 값을 각각 구하는 단계와, 상기 R, G, B 값의 평균을 구하는 단계와, 상기 R, G, B 값에서 중복되는 값인 무채색을 제거하는 단계를 더 포함할 수 있다.The step of extracting the color and the representative value of the inspection region includes the steps of obtaining R, G, and B values of the pixels included in the inspection region, obtaining an average of the R, G, and B values, , G, and B values, which are overlapping values.

상기 보색을 검출하는 단계는 다음의 수학식 1 내지 4를 차례대로 수행할 수 있다.The step of detecting the complementary colors may perform the following Equations 1 to 4 sequentially.

[수학식 1][Equation 1]

Figure 112013112720472-pat00001
여기서, W는 무채색인 백색의 값
Figure 112013112720472-pat00001
Here, W represents a value of white which is an achromatic color

[수학식 2] &Quot; (2) "

Figure 112013112720472-pat00002
Figure 112013112720472-pat00002

[수학식 3] &Quot; (3) "

Figure 112013112720472-pat00003
Figure 112013112720472-pat00003

[수학식 4] &Quot; (4) "

Figure 112013112720472-pat00004
Figure 112013112720472-pat00004

상기 보색에 따른 광원의 제어는 다음의 수학식 8 내지 10에 의해 수행될 수 있다.The control of the light source according to the complementary color can be performed by the following equations (8) to (10).

[수학식 8]&Quot; (8) "

Figure 112013112720472-pat00005
Figure 112013112720472-pat00005

[수학식 9]&Quot; (9) "

Figure 112013112720472-pat00006
Figure 112013112720472-pat00006

[수학식 10]&Quot; (10) "

Figure 112013112720472-pat00007
Figure 112013112720472-pat00007

(여기서, r, g, b 는 보색 광원의 밝기)(Where r, g, and b are the brightness of the complementary color light source)

상기한 목적을 달성하기 위한 본 발명은, 검사 대상을 촬영한 촬영물에서 색상을 감지하고 감지된 색상에 대응하는 조명을 조명하는 상기 검사 대상을 찾도록 하는 조명 장치로서, 외부의 전원을 공급받아 상기 검사 대상에 대하여 광을 조명하는 조명부; 상기 조명부에 대하여 전원을 공급하는 전원 공급부; 상기 검사 대상을 촬영하고 촬영물을 출력하는 촬영부; 상기 촬영물 상에 검사 영역을 설정하고, 설정된 검사 영역의 색상과 색상 대푯값을 검출하고 대응하는 상기 전원 공급부 제어 신호를 출력하는 제어부; 및 상기 제어부와 상기 조명부의 동작 상태를 표시하는 표시부를 포함하는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 장치를 제공한다.According to an aspect of the present invention, there is provided an illumination device for detecting color in a photographed object photographed by an inspection object and for searching the inspection object for illuminating illumination corresponding to the sensed color, An illuminator for illuminating light with respect to an object to be inspected; A power supply unit for supplying power to the illumination unit; A photographing unit photographing the object to be inspected and outputting a photographing object; A control unit for setting an inspection area on the photographing object, detecting a color and a color representative value of the set inspection area, and outputting the corresponding power supply unit control signal; And a display unit for displaying an operation state of the control unit and the illumination unit.

상기 조명부는 상기 조명부는 R, G, B, W 단위 LED 각각을 하나 이상으로 포함할 수 있다.The illumination unit may include at least one of R, G, B, and W LEDs.

상기 조명부는 R, G, B, W 일체형 LED 각각을 하나 이상으로 포함할 수 있다.The illumination unit may include at least one of R, G, B, and W integrated LEDs.

상기 조명부는 R, G, B 단위 LED 각각을 하나 이상으로 포함할 수 있다.The illumination unit may include at least one of R, G, and B LEDs.

상기 조명부는 R, G, B 일체형 LED 를 하나 이상으로 포함할 수 있다.The illumination unit may include at least one of R, G, and B integrated LEDs.

상기와 같은 본 발명은, 검사 대상을 촬영한 후 촬영물 상의 검사 대상에 대하여 검사 대상의 색상에 대응하는 색상의 광을 조사하거나, 검사 대상의 색상의 보색에 대응하는 색상의 광을 조사하여 검사 대상을 부각시키거나, 검사 대상 이외의 대상이 부가되도록 하여, 검사 대상의 구분이 용이하게 할 수 있다.The present invention as described above is characterized by irradiating a light of a color corresponding to a color of an object to be inspected to an object to be inspected on a photographed object after photographing the object to be inspected or irradiating light of a color corresponding to a complementary color of the object to be inspected, Or an object other than the object to be inspected is added, thereby making it easy to distinguish the object to be inspected.

도 1은 본 발명의 제1 측면에 따른 촬영물 상에서 검사 대상을 검색하는 방법의 구성을 나타내는 흐름도이다.
도 2는 본 발명의 일 실시예에 따른 촬영물 상에서 검사 대상을 검색하는 장치의 구성을 나타내는 블록도이다.
도 3은 본 발명에서 사용하는 수동 조절부의 일 예를 나타내는 도면이다.
도 4는 본 발명에서 사용하는 조명부 및 촬영부의 배치 상태의 일 예를 나타내는 도면이다.
도 5와 6은 본 발명에 따른 촬영물 상에서 검사 대상을 검색하는 장치에서 사용하는 조명부의 일 예를 각각 나타내는 도면이다.
도 7은 본 발명에 따른 조명 장치에서 사용하는 조명부의 다른 예를 나타내는 도면이다.
도 8은 본 발명의 제2 측면에 따른 촬영물 상에서 검사 대상을 검색하는 방법의 구성을 나타내는 흐름도이다.
1 is a flowchart showing a configuration of a method for searching an inspection object on a photographing object according to the first aspect of the present invention.
2 is a block diagram showing a configuration of an apparatus for searching an object to be inspected on a photographing object according to an embodiment of the present invention.
3 is a view showing an example of a manual control unit used in the present invention.
4 is a view showing an example of the arrangement state of the illumination unit and the photographing unit used in the present invention.
5 and 6 are views each showing an example of an illumination unit used in an apparatus for searching an object to be inspected on a photographing object according to the present invention.
7 is a view showing another example of an illumination unit used in a lighting apparatus according to the present invention.
8 is a flowchart showing a configuration of a method for searching an inspection object on a photographing object according to the second aspect of the present invention.

이하 첨부된 도면을 참조하면서 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 제1 측면에 따른 촬영물 상에서 검사 대상을 검색하는 방법의 구성을 나타내는 흐름도이다.1 is a flowchart showing a configuration of a method for searching an inspection object on a photographing object according to the first aspect of the present invention.

도 1을 참조하면, 본 발명의 제1 측면에 따른 촬영물 상에서 검사 대상을 검색하는 방법은 모드 선택 단계(S110), 검사 대상을 준비하는 단계(S120), 백색광을 조명하는 단계(S130), 촬영물을 출력하는 단계(S140), 검사 영역을 설정하는 단계(S150), 색상과 색상값을 검출하는 단계(S160), 색상 조명을 조사하는 단계(S170), 재수행하는 단계(S180)를 포함한다. Referring to FIG. 1, a method for searching an object to be inspected on a photographing object according to the first aspect of the present invention includes a mode selecting step S110, an object preparing step S120, a white light illuminating step S130, A step S160 of outputting a color value, a step S150 of setting an inspection region, a step S160 of detecting a hue and a color value, a step S170 of illuminating the color illumination, and a step S180 of re-executing.

여기서, 본 발명의 제1 측면에 따른 촬영물 상에서 검사 대상을 검색하는 방법은 검사 대상의 색상을 보다 강조한 후, 이를 이용하여 검사 대상을 검색할 수 있다. Here, in the method of searching an object to be inspected on a photographing object according to the first aspect of the present invention, the color of the object to be inspected may be further emphasized, and then the object to be inspected may be searched using the highlighted color.

도 2는 본 발명의 일 실시예에 따른 촬영물 상에서 검사 대상을 검색하는 장치의 구성을 나타내는 블록도이다.2 is a block diagram showing a configuration of an apparatus for searching an object to be inspected on a photographing object according to an embodiment of the present invention.

도 2를 참조하면, 본 발명에서 사용하는 조명 장치(100)는 모드 선택부(110), 수동 조절부(120), 통신부(130), 조명부(140), 전원 공급부(150), 촬영부(160), 제어부(170), 표시부(180)를 포함한다. 2, the lighting apparatus 100 according to the present invention includes a mode selection unit 110, a manual control unit 120, a communication unit 130, an illumination unit 140, a power supply unit 150, 160, a control unit 170, and a display unit 180.

도 1과 도 2를 동시에 참조하여, 본 발명을 설명하기로 한다. The present invention will be described with reference to Figs. 1 and 2 at the same time.

모드 선택 단계(S110)는 검사 대상에 대한 조명의 제어를 작업자에 의한 직접 설정에 의할 것인지, 후술하는 제어부(170)에 의해 자동 설정할 것인지 선택하는 단계이다.The mode selection step S110 is a step of selecting whether to control the illumination of the inspection target by the operator directly or by the control unit 170, which will be described later.

작업자에 의해 직접 설정되는 경우, 작업자는 수동 조절부(120)를 조작하여 후술하는 조명부로 인가되는 전류를 제어할 수 있다. 도 3은 수동 조절부의 일 예를 나타내는 도면으로서, 사용자에 의해 조작되는 R, G, B, W 조절 스위치(122)와 조절량을 나타내는 숫자판(124)을 포함함을 알 수 있다. When manually set by the operator, the operator can control the current applied to the illuminating unit, which will be described later, by operating the manual adjusting unit 120. [ 3 is a view showing an example of a manual control unit, which includes an R, G, B, and W adjustment switch 122 operated by a user and a numeric keypad 124 indicating an adjustment amount.

한편, 수동 조절부(120)를 통하지 않고, 통신부(130)를 통해 외부에서 제어 신호를 입력받고, 이를 이용하여 후술하는 전원 공급부(150)가 제어될 수 있다. 통신부(130)를 통해 입력되는 신호는 후술하는 제어부(170)를 통해 전원 공급부(150)로 입력된다.Meanwhile, the power supply unit 150, which will be described later, can be controlled by receiving a control signal from the outside through the communication unit 130 without passing through the manual control unit 120. [ The signal input through the communication unit 130 is input to the power supply unit 150 through a control unit 170 described later.

자동 조절 모드를 선택하여 제어부(170)에 의해 설정되는 경우에는 다음과 같이 수행될 수 있다. When the automatic adjustment mode is selected and set by the control unit 170, it may be performed as follows.

검사 대상을 준비하는 단계(S120)는 검사 대상(1)을 소정의 테이블(10)에 배치하는 단계이다. 검사 대상물은 사용자의 필요에 따라 공산품, 식품류 등 다양하게 설정될 수 있다. The step of preparing the inspection object (S120) is a step of arranging the inspection object (1) in the predetermined table (10). The objects to be inspected can be variously set according to the needs of users, such as industrial products and foods.

도 4는 본 발명에서 사용하는 조명부 및 촬영부의 배치 상태의 일 예를 나타내는 도면이다.4 is a view showing an example of the arrangement state of the illumination unit and the photographing unit used in the present invention.

검사 대상(1)이 배치되는 테이블(10)은 검사가 진행되는 동안, 외부에서 인가되는 진동에 의해 검사 대상(1)이 진동하는 것을 방지할 수 있고, 검사 대상(1)이 배치 위치에서 이동하지 않도록 한다면, 테이블(10)은 소정 형태로 한정되지 않고 다양한 형태로 이루어질 수 있다.The table 10 on which the inspection target 1 is disposed can prevent the inspection target 1 from vibrating due to vibrations externally applied while the inspection is proceeding and can prevent the inspection target 1 from moving The table 10 is not limited to a predetermined shape and may be formed in various shapes.

백색광을 조명하는 단계(S130)는 조명부(140)를 이용하여 검사 대상에 대하여 조명을 조사한다. 여기서, 사용되는 조명부(140)는 LED 인 것이 바람직하다. The step of illuminating the white light (S130) illuminates the object to be inspected using the illumination unit 140. Here, the illumination unit 140 used is preferably an LED.

여기서, 조명부(140)는 백색광만을 발광하는 백색 LED 가 단독으로 사용될 수 있으나, R, G, B 단위 LED가 각각 배치되고, 각각의 단위 LED에서 발광되는 R, G, B 광의 조합에 의한 백색광을 조명할 수 있는 LED 일 수 있다. Here, the illumination unit 140 may be a single white LED that emits only white light. However, the red, green, and blue LEDs may be disposed in the illumination unit 140, and white light may be generated by a combination of red, It may be an LED that can illuminate.

도 5와 도 6은 본 발명에 따른 촬영물 상에서 검사 대상을 검색하는 장치에서 사용하는 조명부의 일 예를 각각 나타내는 도면이다. 5 and 6 are views each showing an example of an illumination unit used in an apparatus for searching an inspection object on a photographing object according to the present invention.

도 5를 참조하면, R(red), G(green), B(blue) 단위 LED가 배치되어, 각각의 단위 LED에서 발광되는 R, G, B 광의 조합에 의한 백색광을 조명할 수 있는 조명부임을 알 수 있다. Referring to FIG. 5, a red LED, a green LED, and a blue LED are arranged to emit white light by a combination of R, G, and B lights emitted from the unit LEDs. .

도 6을 참조하면, R(red), G(green), B(blue), W(white) 단위 LED가 배치되어, R, G, B 단위 LED에서 발광되는 R, G, B 광의 조합에 의한 백색광을 조명하거나, W(white) 단위 LED에서 발광되는 백색광을 조명할 수 있는 조명부임을 알 수 있다.Referring to FIG. 6, the red, green, blue and white LEDs are arranged to emit red, green and blue light in the red, green and blue LEDs. It can be seen that it is an illuminating part capable of illuminating white light or illuminating white light emitted from a W (white) unit LED.

이외에도 조명부(140)는 단위 LED가 복수로 배치되는 구성일 수 있지만, R, G, B 또는 R, G, B, W 가 일체로 결합된 LED 일수도 있다.In addition, the illumination unit 140 may have a configuration in which a plurality of unit LEDs are arranged, but may be an LED in which R, G, B, or R, G, B, and W are integrally combined.

또한, 도 7은 본 발명에 따른 조명 장치에서 사용하는 조명부의 다른 예를 나타내는 도면으로서, 조명부는 사각형, 원형, 막대형 등 사용자의 필요에 따라 다양한 형태일 수 있으나, 검사 대상에 대한 균일한 조명을 하기 위해, 링 형태인 것이 바람직하다. 조명부(140)는 링 형태이고, 조명부(140)의 중앙으로는 후술하는 촬영부(160)가 배치될 수 있다. 7 is a view showing another example of the illumination unit used in the illumination apparatus according to the present invention. The illumination unit may be various shapes according to the needs of the user such as a square, a circle, and a bar size, It is preferable to have a ring shape. The illuminating unit 140 is in the form of a ring, and a photographing unit 160, which will be described later, may be disposed at the center of the illuminating unit 140.

조명부(140)의 동작을 위해, 전원 공급부(150)가 사용된다. 전원 공급부(150)는 조명부(140)에 대하여 소정의 전압과 전류를 갖는 전원을 공급하여, 조명부(140)가 발광할 수 있도록 한다. 이때, 조명부(140)가 복수의 단위 LED를 포함하는 경우, 전원 공급부(150)는 단위 LED 각각에 대하여 개별적으로 전원을 공급할 수 있도록 구성되는 것이 바람직하다. For operation of the illumination unit 140, a power supply unit 150 is used. The power supply unit 150 supplies power to the illumination unit 140 having a predetermined voltage and current so that the illumination unit 140 can emit light. In this case, when the illumination unit 140 includes a plurality of unit LEDs, it is preferable that the power supply unit 150 is configured to individually supply power to each unit LED.

또한, 전원 공급부(150)는 본 발명에 따른 조명 장치(100)가 포함하는 구성 요소에 전원을 공급할 수 있다. Also, the power supply unit 150 may supply power to the components included in the illumination device 100 according to the present invention.

본 발명에 따른 장치의 작동 초기에는 기 설정된 소정의 전원이 조명부(140)로 공급되지만, 동작 개시 후에는 전원 공급부(150)의 전원은 후술하는 제어부(170)에 의해 제어되는 상태에서 조명부(140)로 공급될 수 있다. The predetermined power source is supplied to the illumination unit 140 at the initial stage of operation of the apparatus according to the present invention. However, after the start of the operation, the power source of the power source unit 150 is controlled by the control unit 170, ). ≪ / RTI >

촬영물을 출력하는 단계(S140)는 검사 대상에 대하여 조명이 인가되면, 검사 대상에 대하여 촬영을 수행하고, 촬영물을 출력한다. 촬영물을 출력하는 단계(S130)의 수행을 위해, 촬영부(160)가 적용된다. In the step S140 of outputting the photographed object, when illumination is applied to the object to be inspected, the photographed object is photographed and the photographed object is outputted. For performing the step S130 of outputting the photographic object, the photographing unit 160 is applied.

촬영부(160)는 조명부(140)가 검사 대상(1)을 조명할 때, 검사 대상(1)을 촬영하여 촬영물을 출력한다. 이를 위해, 촬영부(160)는 전원 공급부(150)와 신호 전달이 가능하게 연결되어, 전원 공급부(150)와 촬영부(160)의 동작이 연동될 수 있다. 촬영부(160)는 검사 대상(1)의 직상방에 배치될 수 있다. 또한, 촬영부(160)는 사용자의 필요에 따라 X축, Y축 및 Z축 방향으로 이동 가능하게 배치될 수 있다. When the illumination unit 140 illuminates the inspection target 1, the photographing unit 160 photographs the inspection target 1 and outputs a photograph. For this purpose, the photographing unit 160 is connected to the power supply unit 150 so that the operation of the power supply unit 150 and the photographing unit 160 can be interlocked. The photographing unit 160 may be disposed in a room immediately above the inspection target 1. [ Also, the photographing unit 160 may be arranged to be movable in the X-axis, Y-axis, and Z-axis directions according to the needs of the user.

촬영부(160)는 촬영물 상에서는 검사 대상이 중앙으로 배치되도록 조정되는 것이 바람직하다. It is preferable that the photographing unit 160 is adjusted so that the subject to be inspected is arranged at the center on the photographing object.

여기서, 출력되는 촬영물은 컬러 영상일 수 있다. 또한, 흑백 영상인 경우 컬러화 처리된 후 출력될 수 있다.Here, the output image may be a color image. Further, in the case of a monochrome image, it can be output after being colorized.

촬영부(160)는 촬영 직후 그래픽 파일 형태의 촬영물을 출력하는 디지털 카메라 또는 디지털 카메라 모듈인 것이 바람직하다. 따라서, 촬영부(160)에서 출력되는 촬영물은 소정의 픽셀 사이즈(예를 들어 1024x768)를 갖는 그래픽 파일(예를 들어, jpg, tif 등) 일 수 있다. The photographing unit 160 is preferably a digital camera or a digital camera module for outputting photographs in the form of a graphic file immediately after photographing. Therefore, the photographing output from the photographing unit 160 may be a graphic file (for example, jpg, tif, etc.) having a predetermined pixel size (for example, 1024x768).

본 실시예에서는, 촬영부(160)는 사용자의 필요에 따라 노출 시간 조절이 가능하고 CCD 또는 CMOS와 같은 고체 촬영 소자를 사용하는 카메라를 사용하는 것이 바람직하다. In the present embodiment, it is preferable that the photographing unit 160 uses a camera which can control the exposure time according to the user's needs and uses a solid-state photographing element such as CCD or CMOS.

다시 도 4를 참조하면, 검사 대상(1)이 테이블(10) 상에 배치된 상태에서, 촬영부(160)는 검사 대상(1)의 직상부에 배치될 수 있다. 그리고, 조명부(140)는 링 형태이거나, 촬영부(160)의 주위에 균일하게 배치되어 검사 대상(1)에 대하여 균일하게 조명할 수 있도록 배치되는 것이 바람직하다. 이때, 복수로 배치되는 조명부(140)는 동일한 사양을 갖고, 각각의 조명부(140)는 후술하는 전원 공급부(150) 및 전류 제어부(170)와 동일하게 연결되는 것이 바람직하다. Referring again to FIG. 4, the photographing unit 160 may be disposed directly above the inspection target 1 in a state where the inspection target 1 is disposed on the table 10. It is preferable that the illumination unit 140 is ring-shaped or uniformly arranged around the photographing unit 160 so as to be uniformly illuminated with respect to the object 1 to be inspected. In this case, the plurality of lighting units 140 have the same specifications, and each lighting unit 140 is preferably connected to the power supply unit 150 and the current control unit 170, which will be described later.

검사 영역을 설정하는 단계(S150)는 출력된 촬영물 상에서 소정 면적의 검사 영역을 설정하는 단계이다. 검사 영역을 설정하는 단계(S150)의 수행을 위해 제어부(170)가 사용된다. 제어부(170)는 촬영부(160)에서 출력되는 촬영물을 입력받고, 촬영물 상에서 소정 면적의 검사 영역을 설정한다. 여기서, 설정되는 검사 영역의 면적은 검사 대상의 면적에 대응하는 것이 바람직하다.The step of setting an inspection area (S150) is a step of setting an inspection area of a predetermined area on the output imaged product. The controller 170 is used for performing the step of setting the inspection area (S150). The control unit 170 receives the photographing object output from the photographing unit 160 and sets an inspection area of a predetermined area on the photographing object. Here, it is preferable that the area of the inspection area to be set corresponds to the area of the inspection object.

색상과 대표값을 검출하는 단계(S160)는 설정된 검사 영역 내에 나타나 있는 촬영 대상의 R, G, B 색상과 R, G, B 색상의 대표값을 검출한다. The color and representative value detection step S160 detects R, G, and B colors and representative values of R, G, and B colors of the subject to be photographed displayed in the set inspection area.

색상과 검출된 대푯값의 설정에 대해 보다 상세히 설명하기로 한다.The setting of the color and the detected representative value will be described in more detail.

제어부(170)는 입력된 촬영물 상에서 소정 면적의 검사 영역을 설정하고, 검사 영역이 포함하는 픽셀들 각각의 R, G, B 값을 각각 구한 후에, 검사 영역의 평균 R, G, B 값을 구하여 평균 R, G, B 값을 대표 R, G, B 값으로 설정할 수 있다. The control unit 170 sets an inspection area of a predetermined area on the input image, calculates the R, G, and B values of the pixels included in the inspection area, and then obtains the average R, G, and B values of the inspection area The average R, G, and B values can be set to representative R, G, and B values.

또는, 제어부(170)는 검사 영역이 포함하는 픽셀들 각각의 R, G, B 값을 각각 구한 후, 검사영역 픽셀들의 R, G, B 값들 중, 중복되거나 아주 유사한 값들을 제거한 값을 대표 R, G, B 값으로 설정할 수 있다. Alternatively, the controller 170 obtains the R, G, and B values of each of the pixels included in the inspection region, and then subtracts the values of the R, G, and B values of the inspection region pixels from the R, , G, and B values.

이외에도, 대표 R, G, B 값의 설정은 산술평균, 가중산술평균, 기하평균, 조화평균, 평방평균, 중위수 선택, 최빈수 선택, 사분위수 법, 영상의 히스토그램을 이용한 도수분포도 등을 이용하여 설정될 수 있다. In addition, the R, G, and B values can be set using arithmetic mean, weighted arithmetic mean, geometric mean, harmonic mean, square mean, median select, mode selection, quartile method, .

제어부(170)는 검출한 색상과 대표값에 대응하는 제어 신호를 후술하는 전원 공급부(150)로 출력한다. The control unit 170 outputs a control signal corresponding to the detected hue and representative value to a power supply unit 150 described later.

색상 조명을 조사하는 단계(S170)는 제어부(170)에서 출력되는 제어 신호에 따라 조명부(140)의 밝기와 색상을 제어하고, 제어된 조명을 조사한다. 즉, 제어부(170)는 소정의 제어 신호를 출력하여, 전원 공급부(150)가 조명부(140)로 출력하는 전원의 전류가 제어되도록 하여 조명부(140)의 밝기를 제어한다. 여기서, 조명부(140)가 포함하는 단위 LED 각각의 밝기를 제어하여 필요로 하는 색상의 광이 조명된다. The step of illuminating the color illumination (S170) controls the brightness and color of the illumination unit 140 according to the control signal output from the control unit 170, and irradiates the controlled illumination. That is, the control unit 170 outputs a predetermined control signal to control the brightness of the illumination unit 140 by controlling the current of the power source that the power supply unit 150 outputs to the illumination unit 140. Here, the brightness of each of the unit LEDs included in the illumination unit 140 is controlled to illuminate light of a required color.

여기서, 조명부(140)의 밝기는 촬영물 상에서 검출된 R, G, B값에서 무채색 부분을 제거한 값이 검사 대상의 색상을 강조할 수 있는 정도인 것이 바람직하다.Here, it is preferable that the brightness of the illumination unit 140 is such that the value obtained by removing the achromatic portion from the R, G, and B values detected on the photographing object can enhance the color of the inspection object.

무채색은 촬영물에서 설정된 검사 영역의 R, G, B값 중 가장 작은 값이며, 그 가장 작은 값을 획득한 R, G, B값에서 각각 빼서 R', G', B'를 얻을 수 있다.The achromatic color is the smallest R, G, B value of the inspection area set in the photograph, and R ', G' and B 'can be obtained by subtracting the R, G and B values obtained from the smallest value.

예를 들어, 만약 R=50, G=80, B=150이라고 할 때, R, G, B값 중 가장 작은 값 R 50을 빼면 R'=0, G'=30, B'=120이 된다.For example, if R = 50, G = 80, and B = 150, R '= 0, G' = 30, and B '= 120 are obtained by subtracting R, .

이를 보다 간단히 설명하면, 검사 영역에서 설정된 대푯값이 R(red) 인 경우, 전원 공급부(150)는 조명부(140)에서 R(red)가 조명되도록 제어한다. 조명부(140)의 광이 조명되면, 검사 영역의 검사 대상은 색상이 더욱 강조될 수 있지만, 검사 대상 이외의 대상은 흰색과 같은 무채색으로 되어 색상이 약화된다. More specifically, if the representative value set in the inspection area is R (red), the power supply unit 150 controls the illumination unit 140 to illuminate R (red). When the light of the illumination unit 140 is illuminated, the color of the inspection object in the inspection area can be further emphasized, but the object other than the inspection object becomes achromatic color such as white and the color is weakened.

검사 영역에서 유채색으로 나타나는 부분을 검사 대상으로 선정하여 사용자가 필요로 하는 검사(열처리 정도의 검사)를 진행하도록 한다. 여기서, 이후, 검사 영역에서 무채색과 유채색을 구분하는 방법은 등록특허 제10-1208575호 등에 개시되어 있는 바와 같이 널리 알려진 공지의 기술이므로 이에 대한 상세한 설명은 생략한다. In the inspection area, the part appearing in the chromatic color is selected as the inspection target, and the inspection (the inspection of the heat treatment degree) required by the user is performed. Hereinafter, a method of distinguishing achromatic color from achromatic color in the inspection area is well known in the art as disclosed in Japanese Patent Application No. 10-1208575, and therefore, a detailed description thereof will be omitted.

상기와 같은 조명 제어에 의해 촬영물 상에서 검사 대상의 구분이 이루어지면, 다음 검사 대상을 준비하고 그에 대한 검사를 수행하지만, 검사 대상의 구분이 이루어지지 않으면, 상기한 검사 영역에 대한 색상과 색상의 대표값의 검출 및 조명 제어를 재수행하는 단계(S180)을 수행한다. 여기서, 재수행하는 단계(S180)는 조명을 초기화하지 않고, 상기 단계(S170)에서 제어된 상태에서 다시 수행되도록 한다. When the object to be inspected is distinguished on the photographed object by the illumination control as described above, the next object to be inspected is prepared and the inspected object is inspected. If the inspection object is not distinguished, the representative color and color (S180) of performing the detection of the value and the illumination control again. Here, the re-execution step S180 does not initialize the illumination, but is performed again in the controlled state in the step S170.

재수행 단계(S180)는 검사 영역에서 검사 대상이 확실히 구별될 수 있을 때까지 반복 수행될 수 있다.The re-execution step S180 may be repeated until the inspection object can be clearly distinguished in the inspection area.

표시부(180)는 제어되는 조명부(140)의 조명 밝기를 R, G, B 또는 R, G, B, W 각각으로 표시하여 사용자에게 제공할 수 있다. 또한, 표시부(180)는 촬영물을 사용자에게 제공할 수 있다. The display unit 180 may display the brightness of the illumination of the controlled illumination unit 140 as R, G, B or R, G, B, W, respectively, and provide the display brightness to the user. In addition, the display unit 180 can provide a photograph to the user.

촬영물 상에서 검사 대상의 구분이 이루어질 수 있게 되면, 이를 이용하여 필요로 하는 작업(금속의 열처리 감지 등)을 진행할 수 있다.When the inspection target can be distinguished on the photograph, it is possible to carry out the necessary work (detection of the heat treatment of the metal, etc.) by using it.

도 8은 본 발명의 제2 측면에 따른 조명 방법의 구성을 나타내는 흐름도이다.8 is a flow chart showing a configuration of an illumination method according to a second aspect of the present invention.

도 8을 참조하면, 본 발명의 제2 측면에 따른 조명 방법은 모드 선택 단계(S210), 검사 대상을 준비하는 단계(S220), 백색광을 조명하는 단계(S230), 촬영물을 출력하는 단계(S240), 검사 영역을 설정하는 단계(S250), 색상과 색상값을 검출하는 단계(S260), 보색과 보색의 대표값을 검출하는 단계(S270), 조명의 밝기를 제어하는 단계(S280), 재수행하는 단계(S290)를 포함한다. Referring to FIG. 8, the illumination method according to the second aspect of the present invention includes a mode selection step S210, an inspection object preparation step S220, a white light illumination step S230, a step S240 A step S260 of detecting a color and a color value, a step S270 of detecting a complementary color and a representative value of a complementary color, a step S280 of controlling the brightness of the illumination, (S290).

이전의 실시예와 동일한 구성에 대해서는 상세한 설명을 생략하고, 차이가 있는 구성에 대해서만 설명하기로 한다. A detailed description of the same configuration as that of the previous embodiment will be omitted and only differences will be described.

상기한 조명 방법을 구현하는 조명 장치는 이전의 실시예에서 사용한 조명 장치와 동일할 수 있으므로, 상세한 설명은 생략한다. The illumination device implementing the above-described illumination method may be the same as the illumination device used in the previous embodiment, and a detailed description thereof will be omitted.

백색광을 조명하는 단계(S230)는 R, G, B 광의 조합에 의한 백색광이 아니, 백색 LED에서 발광되는 백색광을 검사 대상에 대하여 조명한다. The step of illuminating the white light (S230) illuminates the white light emitted from the white LED, not the white light caused by the combination of the R, G, and B lights, with respect to the object to be inspected.

보색과 보색의 대표값을 검출하는 단계(S270)는 검사 영역에서 검출된 색상의 보색을 산출하고, 산출된 보색의 대표값을 산출한다. 이는 검사 대상의 색상은 억제되어 무채색이 되도록 하고, 검사 대상 이외의 대상의 색상은 강조되어 검사 대상과 검사 대상 이외의 대상이 색상으로서 서로 구분될 수 있도록 한다.The step of detecting a representative value of the complementary color and the complementary color (S270) calculates a complementary color of the color detected in the inspection region, and calculates a representative value of the calculated complementary color. The color of the object to be inspected is suppressed to be achromatic, and the colors of objects other than the object to be inspected are emphasized so that objects other than the object to be inspected and the object to be inspected can be distinguished from each other as a color.

제어부(170)는 산출된 보색과 보색의 대푯값에 대응하는 제어 신호를 출력하여, 조명부(140)가 제어되도록 한다. The control unit 170 outputs a control signal corresponding to the calculated complementary value of the complementary color and the complementary color so that the illumination unit 140 is controlled.

여기서, 보색의 검출은 다음과 같이 이루어질 수 있다. Here, the detection of the complementary color can be performed as follows.

이전의 단계(S260)에서 검사 영역이 포함하는 픽셀들의 R, G, B 값과 R, G, B 값의 대표값이 구해지면, 이를 이용하여 R, G, B 값의 중복값 즉, 최소값을 감한다. 여기서, 최소값은 무채색인 백색(White)에 해당하는 값으로서, 이는 [수학식 1]에 의해 알 수 있다. When the R, G, and B values of the pixels included in the inspection region and the representative values of the R, G, and B values are obtained in the previous step (S260), the redundant values of the R, G, and B values, that is, . Here, the minimum value is a value corresponding to an achromatic white color, which can be found by the following formula (1).

Figure 112013112720472-pat00008
Figure 112013112720472-pat00008

[수학식 1]에서 무채색값이 구해진 후, R, G, B 값의 대푯값에 이를 감산적용하여 산출된 값을 새로운 대푯값을 구할 수 있다. After obtaining the achromatic color value in Equation (1), a new representative value can be obtained by subtracting the R, G, and B values from the representative values of the R, G, and B values.

이는 수학식 2 내지 4에 의해 구해질 수 있다.This can be obtained by Equations (2) to (4).

Figure 112013112720472-pat00009
Figure 112013112720472-pat00009

Figure 112013112720472-pat00010
Figure 112013112720472-pat00010

Figure 112013112720472-pat00011
Figure 112013112720472-pat00011

상기한 수학식 1 내지 4를 이용하여, R, G, B 대표값에서 무채색값을 감산한 값에 대한 보색을 구할 수 있다. 필요에 따라서는 무채색값을 감산하지 않은 상태에서 보색을 구할 수도 있다. 여기서, R, G, B 각각의 보색인 청록색(Cyan)을 C, 심홍색(Magenta)을 M, 노란색(Yellow)을 Y라 하며, 보색으로부터 보색 광원의 값인 빛의 3원색을 각각 r, g, b 라고 하기로 한다. By using Equations (1) to (4), a complementary color to a value obtained by subtracting the achromatic color value from the R, G, and B representative values can be obtained. If necessary, the complementary color may be obtained without subtracting the achromatic color value. Here, R, G, and B are cyan, magenta, and yellow, respectively, of complementary colors cyan, magenta, and yellow, b.

보색은 다음의 수학식 5 내지 7에 의해 구해질 수 있다. 수학식 5 내지 7은 무채색을 고려하지 않고 보색을 구하는 경우에 수행될 수 있다. The complementary colors can be obtained by the following equations (5) to (7). Equations (5) to (7) can be performed in the case of obtaining complementary colors without considering the achromatic color.

Figure 112013112720472-pat00012
Figure 112013112720472-pat00012

Figure 112013112720472-pat00013
Figure 112013112720472-pat00013

Figure 112013112720472-pat00014
Figure 112013112720472-pat00014

상기한 수학식은 특정의 색상과 그 보색은 180도의 위상차를 갖고 있을 나타낸다.The above equation indicates that a particular color and its complementary color have a phase difference of 180 degrees.

상기한 수학식 5 내지 7에 의해 검출된 보색 C(Cyan), M(Magenta), Y(Yellow) 값으로부터 보색 광원의 밝기값 r, g, b 는 다음의 수학식 8 내지 10에 의해 산출될 수 있다. 이때 원색상 R, G, B에서 무채색을 제거한 즉, 최소값을 뺀 값은 각각 R`, G`, B`라 한다. r, g, b 의 벡터 방향은 각각 R, G, B 축에 있고 그 크기는 다음과 같다. The brightness values r, g and b of the complementary color light sources from the complementary colors Cyan (Cyan), M (Magenta) and Y (Yellow) detected by the above Equations 5 to 7 are calculated by the following Equations 8 to 10 . In this case, the values obtained by removing the achromatic color from the original colors R, G, and B, that is, subtracting the minimum value are referred to as R`, G`, and B`, respectively. The vector directions of r, g, and b are on the R, G, and B axes, respectively, and their sizes are as follows.

Figure 112013112720472-pat00015
Figure 112013112720472-pat00015

Figure 112013112720472-pat00016
Figure 112013112720472-pat00016

Figure 112013112720472-pat00017
Figure 112013112720472-pat00017

상기한 수학식은 이웃하는 색상과는 60도의 위상차를 갖고 있음을 나타낸다.The above equation indicates that the color difference is 60 degrees from the neighboring hue.

상기한 수학식에 의해 산출된 r, g, b값에 대응하여 조명부(140)는 제어 신호를 출력하고, 제어 신호에 따라 전원 공급부(150)가 전류 제어된 전원을 공급하면, 조명부(140)는 검출된 보색에 대응하는 조명을 수행하여 검사 영역 상에서는 검사 대상(1)의 색상은 무채색이 되고, 검사 대상 이외의 대상의 색상이 강조될 수 있다.The illumination unit 140 outputs a control signal corresponding to the r, g, and b values calculated by the above equations. When the power supply unit 150 supplies the current-controlled power according to the control signal, Performs illumination corresponding to the detected complementary color so that the color of the object 1 to be inspected becomes achromatic on the inspection region and the color of the object other than the inspection object can be emphasized.

본 발명은, 검사 대상을 촬영한 후 촬영물 상의 검사 대상에 대하여 검사 대상의 색상에 대응하는 색상의 광을 조사하거나, 검사 대상의 색상의 보색에 대응하는 색상의 광을 조사하여 검사 대상의 색상을 부각시키거나, 검사 대상 이외의 대상의 색상이 부각되도록 하여, 검사 대상의 구분이 용이하게 할 수 있다.The present invention is characterized in that, after an object to be inspected is photographed, the object to be inspected on the object is irradiated with light of a color corresponding to the color of the object to be inspected, or light of a color corresponding to the complementary color of the object to be inspected is irradiated, So that the color of the subject other than the subject to be inspected can be emphasized and the subject to be examined can be easily distinguished.

본 발명은 도면에 도시된 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 다른 실시예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 특허청구범위의 기술적 사상에 의하여 정해져야 할 것이다.While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims. Accordingly, the true scope of the present invention should be determined by the technical idea of the appended claims.

100: 조명 장치
110: 모드 선택부
120: 수동 조절부
130: 통신부
140: 조명부
150: 전원 공급부
160: 촬영부
170: 제어부
180: 표시부
100: Lighting device
110: Mode selection unit
120: manual control unit
130:
140:
150: Power supply
160:
170:
180:

Claims (12)

검사 대상을 준비하는 단계;
상기 검사 대상에 대하여 백색광을 조명하는 단계;
상기 검사 대상에 대하여 촬영을 수행하고 촬영물을 출력하는 단계;
상기 촬영물 상에서 검사 영역을 설정하는 단계;
상기 검사 영역의 색상과 상기 색상의 대표값을 추출하는 단계;
추출된 상기 대표값에 대응하여 조명의 밝기와 색상을 제어하고, 제어된 상기 밝기와 색상에 따른 색상 조명을 조사하는 단계;
상기 검사 대상의 구분이 이루어지지 않으면 상기 조명을 조사하는 단계에서 제어된 상기 조명을 조사하며 상기 촬영물 출력 단계, 상기 색상 및 대표값 추출 단계 및 상기 제어된 상기 밝기와 색상에 따른 색상 조명을 조사하는 단계를 재수행하는 단계를 포함하고,
상기 색상 조명을 조사하는 단계는 상기 검사 대상의 색상이 강조되도록 하여 상기 검사 대상이 구분되도록 하는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법.
Preparing an inspection target;
Illuminating the inspection object with white light;
A step of photographing the object to be inspected and outputting a photographing object;
Setting an inspection area on the photographing object;
Extracting a color of the inspection region and a representative value of the color;
Controlling brightness and color of illumination corresponding to the extracted representative value and examining color illumination according to the controlled brightness and color;
If the inspection target is not distinguished, the control unit illuminates the illumination controlled in the step of illuminating the illumination, and illuminates the captured image output step, the color and representative value extraction step, and the color illumination according to the controlled brightness and color Re-executing the step,
Wherein the step of illuminating the color illumination includes illuminating the color of the inspection target so that the inspection target is distinguished.
검사 대상을 준비하는 단계;
상기 검사 대상에 대하여 백색광을 조명하는 단계;
상기 검사 대상에 대하여 촬영을 수행하고 촬영물을 출력하는 단계;
상기 촬영물 상에서 검사 영역을 설정하는 단계;
상기 검사 영역의 색상과 대표값을 추출하는 단계;
상기 추출된 색상에 대한 보색과 상기 보색의 대표값을 검출하는 단계;
검출된 상기 보색에 대응하여 상기 조명의 밝기를 제어하는 단계;
상기 촬영물을 다시 출력하고, 색상과 색상값을 다시 추출하는 단계를 포함하고,
상기 보색을 검출하는 단계는 다음의 수학식 1 내지 4를 차례대로 수행하여 이루어지는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법.
[수학식 1]
Figure 112014110540190-pat00033
여기서, W는 무채색인 백색의 값
[수학식 2]
Figure 112014110540190-pat00034

[수학식 3]
Figure 112014110540190-pat00035

[수학식 4]
Figure 112014110540190-pat00036
Preparing an inspection target;
Illuminating the inspection object with white light;
A step of photographing the object to be inspected and outputting a photographing object;
Setting an inspection area on the photographing object;
Extracting a color and a representative value of the inspection area;
Detecting a complementary color of the extracted color and a representative value of the complementary color;
Controlling brightness of the illumination corresponding to the detected complementary color;
Outputting the captured image again, and extracting the color and the color value again,
Wherein the step of detecting the complementary colors comprises the steps of: < EMI ID = 14.0 >
[Equation 1]
Figure 112014110540190-pat00033
Here, W represents a value of white which is an achromatic color
&Quot; (2) "
Figure 112014110540190-pat00034

&Quot; (3) "
Figure 112014110540190-pat00035

&Quot; (4) "
Figure 112014110540190-pat00036
제1항 또는 제2항에 있어서,
상기 백색광은,
전류 제어에 의해 밝기가 제어되는 R, G, B 단위 조명의 조합에 의해 발광되는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법.
3. The method according to claim 1 or 2,
The white light,
A method for searching an object to be inspected on a photographed object by using color light emitted by a combination of R, G, B illumination units whose brightness is controlled by current control.
제1항 또는 제2항에 있어서,
상기 조명의 밝기 제어는 전류 제어에 의해 이루어지는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법.
3. The method according to claim 1 or 2,
Wherein the brightness control of the illumination is performed by using a color illumination achieved by current control.
제1항 또는 제2항에 있어서,
상기 검사 영역의 색상과 대표값을 추출하는 단계는,
상기 검사 영역이 포함하는 픽셀들의 R, G, B 값을 각각 구하는 단계와,
상기 R, G, B 값의 평균을 구하는 단계와,
상기 R, G, B 값에서 중복되는 무채색값을 제거하는 단계를 더 포함하는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법.
3. The method according to claim 1 or 2,
The step of extracting the hue and representative value of the inspection region may include:
Obtaining R, G, and B values of pixels included in the inspection region,
Obtaining an average of the R, G, and B values;
And removing the overlapping achromatic color values from the R, G, and B values.
삭제delete 제2항에 있어서,
상기 보색에 따른 광원의 제어는 다음의 수학식 8 내지 10에 의해 수행되는 색 조명을 이용하여 촬영물 상에서 검사 대상을 검색하는 방법.
[수학식 8]
Figure 112014110540190-pat00022

[수학식 9]
Figure 112014110540190-pat00023

[수학식 10]
Figure 112014110540190-pat00024

(여기서, r, g, b 는 보색 광원의 밝기)
3. The method of claim 2,
Wherein the control of the light source according to the complementary color is performed by using the color illumination performed by the following Equations (8) to (10).
&Quot; (8) "
Figure 112014110540190-pat00022

&Quot; (9) "
Figure 112014110540190-pat00023

&Quot; (10) "
Figure 112014110540190-pat00024

(Where r, g, and b are the brightness of the complementary color light source)
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR20130152727A 2013-12-10 2013-12-10 Method and apparatus for searching test target in photo image by using color light KR101499004B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR20130152727A KR101499004B1 (en) 2013-12-10 2013-12-10 Method and apparatus for searching test target in photo image by using color light

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR20130152727A KR101499004B1 (en) 2013-12-10 2013-12-10 Method and apparatus for searching test target in photo image by using color light

Publications (1)

Publication Number Publication Date
KR101499004B1 true KR101499004B1 (en) 2015-03-05

Family

ID=53026359

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20130152727A KR101499004B1 (en) 2013-12-10 2013-12-10 Method and apparatus for searching test target in photo image by using color light

Country Status (1)

Country Link
KR (1) KR101499004B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102283985B1 (en) * 2020-03-25 2021-07-29 신용관 Method of Inspecting colar Drugs

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080057425A (en) * 2006-12-20 2008-06-25 재단법인 포항산업과학연구원 The surface flaw detection apparatus and the method tereof
JP2009279172A (en) * 2008-05-22 2009-12-03 Fujinon Corp Fluorescent image obtainment method and apparatus
JP2012115372A (en) * 2010-11-30 2012-06-21 Fujifilm Corp Endoscope apparatus
KR20120114776A (en) * 2011-04-08 2012-10-17 (주)한세로에프에이 Inspecting method of color similarity using complementary color relationship of chromatic color and achromatic color, subject detecting method and heat treatment inspecting method using the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080057425A (en) * 2006-12-20 2008-06-25 재단법인 포항산업과학연구원 The surface flaw detection apparatus and the method tereof
JP2009279172A (en) * 2008-05-22 2009-12-03 Fujinon Corp Fluorescent image obtainment method and apparatus
JP2012115372A (en) * 2010-11-30 2012-06-21 Fujifilm Corp Endoscope apparatus
KR20120114776A (en) * 2011-04-08 2012-10-17 (주)한세로에프에이 Inspecting method of color similarity using complementary color relationship of chromatic color and achromatic color, subject detecting method and heat treatment inspecting method using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102283985B1 (en) * 2020-03-25 2021-07-29 신용관 Method of Inspecting colar Drugs

Similar Documents

Publication Publication Date Title
JP6470506B2 (en) Inspection device
US10416086B2 (en) Image inspection device
JP6917762B2 (en) Image inspection equipment
US10304176B2 (en) Image inspection device
JP4935822B2 (en) Image processing apparatus, image processing method, and image processing program
JP2009099510A (en) Lighting apparatus
JP2013048889A (en) Image processing apparatus for fundus image, image processing method for fundus image, and program
JP6636788B2 (en) Optical viewing device and method for operating the optical viewing device
JP2009131324A (en) Field sequential imaging display system
JP2011054110A (en) Image processing type measuring instrument and image processing measuring method
JP2017122614A (en) Image generation method and inspection device
TW200805198A (en) Measuring method and measuring device using color image
JP2007292576A (en) Visual inspection device for electronic component
KR101499004B1 (en) Method and apparatus for searching test target in photo image by using color light
KR101680446B1 (en) Creation device for color table, correction and control device for camera image and method thereof
JPWO2012090416A1 (en) Inspection device
JP6893826B2 (en) Image inspection equipment
JP7015382B2 (en) Endoscope system
US20170111624A1 (en) Image pickup apparatus and method for operating image pickup apparatus
JP6620215B2 (en) Inspection device
JP2009271093A (en) Color chip processing device, color chip processing method, and color chip processing program
JP6461692B2 (en) Board inspection equipment
CN114078173A (en) Method and device for generating an overview contrast image of a sample carrier in a microscope
CN115243423A (en) LED illumination control method and system, and computer readable storage medium
CN105675129A (en) Detection device and illumination monitoring device

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20180226

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190114

Year of fee payment: 5