KR100211004B1 - Image processing method and processing system using the method - Google Patents

Image processing method and processing system using the method Download PDF

Info

Publication number
KR100211004B1
KR100211004B1 KR1019950037252A KR19950037252A KR100211004B1 KR 100211004 B1 KR100211004 B1 KR 100211004B1 KR 1019950037252 A KR1019950037252 A KR 1019950037252A KR 19950037252 A KR19950037252 A KR 19950037252A KR 100211004 B1 KR100211004 B1 KR 100211004B1
Authority
KR
South Korea
Prior art keywords
image
pixel
image processing
data
processing apparatus
Prior art date
Application number
KR1019950037252A
Other languages
Korean (ko)
Other versions
KR960015324A (en
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 타테이시 요시오
Publication of KR960015324A publication Critical patent/KR960015324A/en
Application granted granted Critical
Publication of KR100211004B1 publication Critical patent/KR100211004B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/48Picture signal generators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/40Picture signal circuits
    • H04N1/40068Modification of image resolution, i.e. determining the values of picture elements at new relative positions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Analysis (AREA)
  • Length Measuring Devices By Optical Means (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Image Input (AREA)

Abstract

종래의 화상 처리장치를 사용하여 고분해능의 화상을 처리하는 것을 목적으로 한다.It is an object to process a high resolution image using a conventional image processing apparatus.

고분해능의 화상을 생성하는 카메라(1)와 범용 화상신호를 처리하는 화상 처리장치(3)의 사이에 화상 변환장치(2)를 개재시킨다. 카메라(1)에 의해 촬상하여 획득된 고분해능의 화상이 화상 변환장치(2)에 수취되면, 화상 처리장치(3)는 이 고분해능의 화상내의 특정 화소의 좌표(Xs, Ys)와, X, Y 각축방향 화소의 샘플링 간격 SPX, SPY를 화상 변환장치(2)에 입력한다. 화상 변환장치(2)는 화상 처리장치(3)에서 생성되는 동기신호 HD, VD 나 수평 블랭킹 신호 HBLK를 수취하고, 각 신호의 타이밍에 따라 지정 데이터에 기초하여 소정의 화소 데이터를 순차적으로 추출한다. 추출된 각 화소 데이터는 아날로그량의 범용 화상신호로 변환되어 화상 처리장치(3)에 입력되고, 종래의 화상 처리방법에 의해 처리된다.An image conversion device 2 is interposed between the camera 1 for generating a high resolution image and the image processing device 3 for processing a general-purpose image signal. When a high resolution image obtained by capturing by the camera 1 is received by the image converting apparatus 2, the image processing apparatus 3 determines the coordinates (Xs, Ys), and X, Y of a specific pixel in the high resolution image. The sampling intervals SPX and SPY of the pixels in each axis direction are input to the image conversion device 2. The image conversion device 2 receives the synchronization signal HD, VD or the horizontal blanking signal HBLK generated by the image processing device 3, and sequentially extracts predetermined pixel data based on the specified data according to the timing of each signal. . Each extracted pixel data is converted into an analog amount of a general-purpose image signal, input to the image processing apparatus 3, and processed by a conventional image processing method.

Description

화상 처리방법 및 그 방법을 사용한 화상처리 시스템Image processing method and image processing system using the method

제1도는 본 발명의 화상처리 시스템의 구성예를 도시한 블록도이다.1 is a block diagram showing an example of the configuration of an image processing system of the present invention.

제2a도 및 2b도는 화소 추출을 위한 샘플링 간격의 의미를 설명하는 도면이다.2A and 2B illustrate the meaning of sampling intervals for pixel extraction.

제3도는 화상의 변환예를 도시한 설명도이다.3 is an explanatory diagram showing a conversion example of an image.

제4도는 화상 변환장치의 회로 구성을 도시한 블록도이다.4 is a block diagram showing the circuit configuration of the image conversion device.

제5도는 제1어드레스 발생기의 동작 순서를 도시한 타이밍 챠트이다.5 is a timing chart showing the operation procedure of the first address generator.

제6도는 제2어드레스 발생기의 동작 순서를 도시한 타이밍 챠트이다.6 is a timing chart showing the operation procedure of the second address generator.

제7도는 QFP의 리드 간격을 검사할 때의 화상 추출 순서의 한가지 예를 도시한 설명도이다.7 is an explanatory diagram showing one example of an image extraction procedure when checking the read interval of the QFP.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 카메라 2 : 화상 변환장치1: camera 2: image converter

3 : 화상 처리장치 7 : RAM3: image processing apparatus 7: RAM

10a, 10b : 어드레스 발생기10a, 10b: address generator

[산업상 이용분야][Industrial use]

본 발명은, 텔레비전 카메라 등의 촬상장치에 의해 대상물을 촬상하여 얻어진 화상을 화상 처리장치에 입력하여 소정 처리를 실행하는 화상 처리방법 및 화상 처리 시스템에 관한 것이며, 특히, 본 발명은 화상 처리장치의 처리능력을 초과하는 고분해능의 화상을 처리하기 위한 화상 처리방법 및 그 방법을 사용한 화상 처리 시스템에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and an image processing system for inputting an image obtained by photographing an object by an imaging device such as a television camera to an image processing device to perform a predetermined process. An image processing method for processing an image having a high resolution exceeding a processing capability, and an image processing system using the method.

[종래 기술][Prior art]

종래, 프린트 기판위의 전자부품의 장착 상태 등 육안 판정이 곤란한 검사를 실시할 때에, 텔레비전 카메라에 의해 검사물을 촬상하여 얻어진 화상을 화상 처리장치에 입력하여 처리함으로써, 대상물 검사를 자동적으로 수행하는 것이 알려져 있다.Conventionally, when performing inspections that are difficult to visually determine, such as mounting state of electronic components on a printed board, an object inspection is automatically performed by inputting and processing an image obtained by photographing an inspection object by a television camera to an image processing apparatus. It is known.

상기 화상 처리장치는 NTSC 방식에 대응하는 것이며, 일반적으로 X축 방향으로 512화소, Y축 방향으로 484화소의 분해능을 갖는 화상을 처리대상으로 하고 있다. 이러한 형태의 화상 처리장치는 각종 분야에 도입되고 있으며, 정확하면서 신속한 화상 처리를 수행하기 위해 여러 가지 소프트웨어가 개발되고 있다.The image processing apparatus corresponds to the NTSC system, and generally includes an image having a resolution of 512 pixels in the X-axis direction and 484 pixels in the Y-axis direction. This type of image processing apparatus has been introduced into various fields, and various softwares have been developed to perform accurate and rapid image processing.

그런데, 최근, 상기 화상 처리장치에서 처리하는 화상보다도 고분해능의 화상을 생성하는 카메라가 개발되어 있다. 이러한 카메라를 사용하면, 종래 화상의 수십배의 분해능의 화상을 얻을 수 있으며, 예를 들면, 프린트 기판위의 QFP의 리드 간격 등 극소 대상물에서도 정밀한 화상 데이터를 취득하여 상세한 검사를 행할 수 있다.By the way, in recent years, the camera which produces | generates the image of higher resolution than the image processed by the said image processing apparatus has been developed. By using such a camera, an image having a resolution several times as large as that of a conventional image can be obtained. For example, precise image data can be obtained even in a very small object such as a lead interval of a QFP on a printed board and detailed inspection can be performed.

[발명이 해결하고자 하는 과제][Problem to Solve Invention]

그러나, 이러한 고분해능의 화상을 종래의 화상 처리장치에서 처리하는 것은 불가능하므로, 새로운 전용 장치를 개발하고, 이 장치에 종래의 화상 처리장치에서 개발한 소프트웨어를 응용한 프로그램을 짜 넣는 것이 필요하다. 그러나 이러한 장치의 개발이나 소프트웨어의 도입에는 막대한 노력이나 시간이 걸리는 바, 장치의 개발·제작비용이 막대해진다는 문제점이 있다.However, since such a high resolution image cannot be processed by a conventional image processing apparatus, it is necessary to develop a new dedicated device and to incorporate a program in which the software developed in the conventional image processing apparatus is applied. However, the development of such a device and the introduction of software takes a lot of effort and time, and there is a problem in that the cost of developing and manufacturing the device is enormous.

본 발명은, 상기 문제점에 착안하여 이루어진 것이며, 종래의 화상 처리장치를 그대로 활용하여 고분해능의 화상을 처리할 수 있게 하고, 고분해능의 화상 처리에 대응하기 위한 노력, 시간, 비용을 대폭적으로 삭감시킬 수 있는 화상 처리방법 및 화상처리 시스템을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and it is possible to use a conventional image processing apparatus as it is, to process a high resolution image, and to significantly reduce the effort, time, and cost for responding to a high resolution image processing. It is an object of the present invention to provide an image processing method and an image processing system.

[과제를 해결하기 위한 수단][Means for solving the problem]

청구범위 제1항의 발명은, 소정 분해능의 화상을 처리하기 위한 화상 처리장치에 의해 상기 분해능보다 고분해능의 화상을 처리하는 방법에 있어서, 상기 고분해능의 화상내의 특정화소 및 소정 화소를 추출하기 위한 샘플링 간격을 지정하고, 지정된 샘플링 간격에 기초하여 고분해능의 화상 데이터로부터 특정 화소를 포함하는 동시에 상기 소정 분해능에 상당하는 화소수의 화상 데이터를 추출함으로써 얻어진 화상을 상기 화상 처리장치에 의해 처리하는 것을 특징으로 한다.The invention of claim 1 is a method of processing an image having a higher resolution than the resolution by an image processing apparatus for processing an image having a predetermined resolution, wherein the sampling interval for extracting a specific pixel and a predetermined pixel in the high resolution image is obtained. The image processing apparatus is characterized in that the image processing apparatus processes an image obtained by including the specific pixel from the high resolution image data and extracting the image data having the pixel number corresponding to the predetermined resolution based on the specified sampling interval. .

제2항의 발명은, 소정 분해능을 갖는 화상을 처리하는 화상 처리장치와, 상기 분해능보다 고분해능의 화상 데이터로부터 상기 소정 분해능의 화상 데이터를 생성하여 화상 처리장치로 출력하는 화상 변환장치로 이루어지는 화상 처리 시스템에 있어서, 화상 처리장치는 상기 고분해능의 화상내의 특정화소 및 소정 화소를 추출하기 위한 샘플링 간격을 지정하는 수단을 구비한다.The invention according to claim 2 comprises an image processing apparatus for processing an image having a predetermined resolution, and an image processing system for generating image data having the predetermined resolution from the image data having a higher resolution than the resolution and outputting the image data to the image processing apparatus. In the image processing apparatus, the image processing apparatus is provided with means for designating a specific pixel in the high resolution image and a sampling interval for extracting a predetermined pixel.

또한 상기 화상 변환장치는 고분해능의 화상을 수취하는 화상 입력 수단과, 상기 화상 입력수단에 의해 수취된 고분해능의 화상을 기억하는 기억수단과, 상기 기억수단에 기억된 화상에 대해, 상기 화상 처리장치의 지정수단에 의해 지정된 샘플링 간격에 기초하여 상기 특정 화소를 포함하는 동시에 상기 소정 분해능에 상당하는 화소수의 화상 데이터를 추출함으로써, 처리대상의 화상을 생성하는 화상 변환수단과, 상기 화상 변환수단에서 생성된 화상을 화상 처리장치로 출력하는 화상 출력수단을 구비한다.The image converting apparatus further includes image input means for receiving a high resolution image, storage means for storing a high resolution image received by the image input means, and an image stored in the storage means. Image conversion means for generating an image to be processed by extracting image data including the specific pixel and corresponding to the predetermined resolution based on the sampling interval designated by the designation means, and generating by the image conversion means. And image output means for outputting the image to the image processing apparatus.

제3항의 발명은, 소정 분해능을 갖는 화상을 처리하는 화상 처리장치와, 상기 분해능 보다 고분해능의 화상을 생성하는 촬상장치와, 상기 화상 처리장치와 촬상장치의 사이에 개재시킨 화상 변환장치로 이루어지는 화상 처리 시스템에 있어서, 상기 화상 처리장치는 상기 촬상장치에 의해 얻어진 화상내의 특정 화소 및 소정 화소를 추출하기 위한 샘플링 간격을 지정하는 지정수단을 구비한다.The invention according to claim 3 comprises an image processing apparatus for processing an image having a predetermined resolution, an image pickup apparatus for generating an image having a higher resolution than the resolution, and an image conversion apparatus interposed between the image processing apparatus and the image pickup apparatus. In the processing system, the image processing apparatus includes designating means for designating a sampling interval for extracting a specific pixel and a predetermined pixel in the image obtained by the imaging apparatus.

또한 상기 화상 변환장치는 촬상장치보다 고분해능의 화상을 수취하는 화상 입력수단과, 상기 화상 입력수단에 의해 수취된 고분해능의 화상을 기억하는 기억 수단과, 상기 기억수단에 기억된 화상에 대해, 상기 화상 처리장치의 지정수단에 의해 지저된 샘플링 간격에 기초하여 특정 화소를 포함하는 동시에 상기 소정 분해능에 상당하는 화소수의 화상 데이터를 추출함으로써, 처리대상의 화상을 생성하는 화상 변환장치과, 상기 화상 변환장치에서 생성된 화상을 화상 처리장치로 출력하는 화상 출력수단을 구비한다.The image converting apparatus includes image input means for receiving an image having a higher resolution than an image pickup apparatus, storage means for storing an image of high resolution received by the image input means, and an image stored in the storage means. An image conversion device for generating an image to be processed by extracting image data including a specific pixel and corresponding to the predetermined resolution based on sampling intervals specified by the designation means of the processing device, and the image conversion device; And image output means for outputting the image generated by the image processing apparatus.

제4항의 발명에서는, 화상 변환장치의 기억수단은, 상기 고분해능의 화상의 각 화소에 대해, 화소 데이터와 화소 위치를 각각 대응시켜 기억하며, 상기 화상 입력수단은, 상기 촬상 장치에 의해 생성된 고분해능의 화상에서 각 화소의 화소 데이터를 순차적으로 추출하는 화소 데이터 추출수단과, 상기 화소 데이터 추출 수단의 추출 동작에 맞추어 각 화소의 위치 데이터를 생성하는 위치 데이터 생성수단과, 상기 화소 데이터 추출수단에 의해 추출된 화소 데이터와 상기 위치 데이터 생성수단에 의해 생성된 위치 데이터를 상기 기억수단에 동시에 출력하는 출력수단을 구비한다.In the invention of claim 4, the storage means of the image conversion apparatus stores pixel data and pixel positions in correspondence with each pixel of the high resolution image, and the image input means is a high resolution generated by the imaging device. Pixel data extracting means for sequentially extracting pixel data of each pixel from an image of?, Position data generating means for generating position data of each pixel in accordance with an extraction operation of the pixel data extracting means, and the pixel data extracting means; And output means for simultaneously outputting the extracted pixel data and the position data generated by the position data generating means to the storage means.

제5항의 발명에서는, 상기 화상 처리장치는, 다시, 수평, 수직 각 방향의 동기 신호를 생성하는 동기신호 생성수단을 구비하며, 상기 화상 변환장치의 화상 변환수단은, 상기 동기신호 생성수단에 의해 생성된 각 동기 신호를 수취하는 동기 신호 입력수단과, 수취된 동기 신호에 따라 상기 지정수단에 의해 지정된 특정 화소 및 샘플링 간격에 기초하여 각 화소의 위치 데이터를 순차적으로 생성하는 위치 데이터 생성수단과, 생성된 각 위치 데이터에 기초하여 화소 데이터를 상기 기억수단에서 순차적으로 추출하는 화소 데이터 추출수단을 구비한다.In the invention of claim 5, the image processing apparatus further includes synchronizing signal generating means for generating synchronizing signals in horizontal and vertical directions, and the image converting means of the image converting apparatus is constituted by the synchronizing signal generating means. Synchronizing signal input means for receiving each generated synchronizing signal, position data generating means for sequentially generating position data of each pixel based on the specified pixel and sampling interval designated by the designating means in accordance with the received synchronizing signal; Pixel data extraction means for sequentially extracting pixel data from the storage means based on the generated position data.

제6항의 발명에서는, 상기 촬상장치, 화상 변환장치 및, 화상 처리장치는, 프린트 기판에 장착된 전자부품의 장차 상태를 검사하기 위한 기판 검사장치에 편입된다.In the invention of claim 6, the imaging device, the image conversion device, and the image processing device are incorporated in a substrate inspection device for inspecting a future state of electronic components mounted on a printed board.

[작용][Action]

제1항의 화상 처리방법에서는, 고분해능의 화상내의 특정 화소 및 소정 화소를 추출하기 위한 샘플링 간격이 지정되면, 이 지정 내용에 기초하여, 고분해능의 화상 데이터로부터, 상기 특정 화소를 포함하는 동시에 화상 처리장치에서 처리할 수 있는 화소수를 갖는 화상 데이터가 추출된다. 샘플링 간격을 크게 하면, 광범위한 범위에 걸친 저분해능의 화상을 얻을 수 있으며, 또한 샘플링 간격을 좁게 하면 특정 영역에서의 상세한 화상을 얻으며, 어느 경우라도 종래의 화상 처리장치를 사용하여 화상을 처리할 수 있다.In the image processing method of claim 1, if a specific pixel in a high resolution image and a sampling interval for extracting a predetermined pixel are designated, the image processing apparatus includes the specific pixel from the high resolution image data based on this specification. Image data having the number of pixels that can be processed at is extracted. If the sampling interval is increased, a low resolution image over a wide range can be obtained. If the sampling interval is narrowed, a detailed image in a specific area can be obtained, and in any case, the image can be processed using a conventional image processing apparatus. have.

제2항의 발명에서는, 화상 변환장치로 수취된 고분해능의 화상에 대해, 화상 처리장치에서 특정 화소와 샘플링 간격이 지정된다. 화상 변환장치는, 이 지정된 데이터에 기초하여, 특정 화소를 포함하는 동시에 화상 처리장치의 처리능력에 따른 화소수의 화상 데이터를 추출하고, 이것을 화상 처리장치로 출력한다.In the invention of claim 2, a specific pixel and a sampling interval are designated in the image processing apparatus for the high resolution image received by the image conversion apparatus. On the basis of this specified data, the image conversion device extracts the image data including the specific pixel and the number of pixels corresponding to the processing capability of the image processing device, and outputs it to the image processing device.

제3항의 발명에서는, 촬상장치로부터의 고분해능의 화상이 화상 변환장치로 입력된다. 화상 변환장치는, 제2항의 발명과 마찬가지로, 화상 처리장치에서 지정된 특정 화소와 샘플링 간격에 기초하여, 화상 처리장치의 처리능력에 따른 화소수의 화상 데이터를 추출하고, 이것을 화상 처리장치로 출력한다.In the invention of claim 3, the high resolution image from the imaging device is input to the image conversion device. Similar to the invention of claim 2, the image conversion apparatus extracts image data of the number of pixels corresponding to the processing capability of the image processing apparatus based on the specific pixel specified in the image processing apparatus and the sampling interval, and outputs this to the image processing apparatus. .

제4항의 발명에서는, 화상 변환장치에 있어서, 고분해능의 화상의 각 화소의 화소 데이터가 순차적으로 추출되는 동시에, 각 화소 데이터에 대응하는 위치 데이터가 순차적으로 생성되고, 양자가 기억수단에 동시에 격납된다.In the invention of claim 4, in the image conversion apparatus, pixel data of each pixel of a high resolution image is sequentially extracted, and position data corresponding to each pixel data is sequentially generated, and both are simultaneously stored in the storage means. .

제5항의 발명에서는, 화상 변환장치는, 화상 처리장치가 생성한 동기 신호에 따라 상기 특정 화소 및 샘플링 간격에 기초하여 각 화소의 위치 데이터를 순차적으로 생성하고, 각 위치 데이터에 의해 특정된 화소 데이터를 순차적으로 추출하여 화상 처리장치에 출력하므로, 화상 처리장치에는, 자기의 처리능력에 따른 화소수의 화상 데이터가 화상 처리동작의 타이밍에 맞추어 순차적으로 입력된다.In the invention of claim 5, the image conversion apparatus sequentially generates position data of each pixel based on the specific pixel and the sampling interval in accordance with the synchronization signal generated by the image processing apparatus, and pixel data specified by each position data. Are sequentially extracted and output to the image processing apparatus, so that the image data of the number of pixels corresponding to its processing capability is sequentially input in accordance with the timing of the image processing operation.

제6항의 발명에서는, 상기 장치 구성에 의해, 프린트 기판위의 전자부품을 촬상하고, 획득된 고분해능의 화상을 사용하여 부품의 장착 상태의 검사가 행해진다.In the invention according to claim 6, the electronic device on the printed circuit board is picked up by the above device configuration, and the mounting state of the parts is inspected using the obtained high resolution image.

[실시예]EXAMPLE

제1도는 본 발명의 한가지 실시예에 관련된 화상 처리 시스템의 구성을 도시한 것이다.1 shows a configuration of an image processing system according to one embodiment of the present invention.

이 화상 처리 시스템은, 프린트 기판위의 부품의 장착 상태를 검사하기 위한 것으로, 고분해능 카메라(1), 화상 변환장치(2), 화상 처리장치(3), 모니터(4), 조작부(5) 등으로 구성된다.This image processing system is for inspecting the mounting state of components on a printed board, and includes a high resolution camera 1, an image conversion device 2, an image processing device 3, a monitor 4, an operation unit 5, and the like. It consists of.

상기 고분해능 카메라(1)(이하, 단순히 「카메라(1)」이라고 한다)는, X축 방향으로 4096 화소, Y축 방향으로 3872 화소의 분해능을 갖는 화상을 생성하는 것으로, 화상 변환장치(2)의 내부에서 생성된 수평, 수직 각 방향의 동기 신호 SHD, SVD를 수신하여 고분해능의 화상 신호를 화상 변환장치(2)로 입력한다. 화상 변환장치(2)는, 이 고분해능의 화상신호를 후술하는 순서로 범용 NTSC 방식의 비디오 신호인 RS-170 형식의 신호(이하, 「범용 화상 신호」라고 한다)로 변환하고 화상 처리장치(3)로 출력한다.The high resolution camera 1 (hereinafter, simply referred to as the "camera 1") generates an image having a resolution of 4096 pixels in the X-axis direction and 3872 pixels in the Y-axis direction. A synchronization signal SHD, SVD in each of the horizontal and vertical directions generated in the inside is received, and a high resolution image signal is input to the image conversion device 2. The image conversion apparatus 2 converts this high resolution image signal into a RS-170 format signal (hereinafter referred to as a "universal image signal"), which is a video signal of a general-purpose NTSC system, in the order to be described later. )

화상 처리장치(3)는, 범용 화상신호를 처리하는 공지된 구성을 구비한 것으로, 화상 변환장치(2)로부터의 범용 화상신호를 디지털 처리한 다음, 특징량의 추출이나 대상물의 양부 판정 등 소정 처리를 실행한다.The image processing apparatus 3 has a well-known configuration for processing a general-purpose image signal. The image processing apparatus 3 digitally processes the general-purpose image signal from the image conversion apparatus 2, and then, for example, extracts a feature or determines whether or not the object is passed. Run the process.

모니터(4)도 범용 화상신호에 대응하는 형태로, 화상 처리장치(3)로 수취된 변환후의 화상이나 화상 처리의 결과 등을 적절하게 표시한다.The monitor 4 also corresponds to the general-purpose image signal and appropriately displays the image after conversion, the result of image processing, and the like received by the image processing apparatus 3.

조작부(5)는 화상 처리를 위한 각종 코멘트 등의 입력 조작을 수행하는 것으로, 키보드나 마우스 등으로 구성된다.The operation unit 5 performs input operations such as various comments for image processing, and is composed of a keyboard, a mouse, or the like.

상기 화상 변환장치(2)는, 카메라(1)로부터 수취된 고분해능의 화상에 대해, X축 방향으로 512개, Y축 방향으로 484개의 화소를 추출하여 획득된 디지털 화상을 상기 범용 화상신호로 변환시켜 화상 처리장치(3)로 출력한다. 화상 처리장치(3)는, 화상 변환장치(2)에 대해 추출하려는 화소를 특정하기 위한 데이터로서, 고분해능 화상내의 소정 화소의 좌표(Xs, Ys)를 특정하는 동시에, X, Y 각축 방향에서의 화소의 샘플링 간격 SPX, SPY를 지정한다. 또한 화상 처리장치(3)는, 상기 화소 데이터의 추출 동작을 제어하기 위한 신호로서, 후술하는 판독·기록 제어신호나, 내부에서 생성된 수평, 수직 각 방향의 동기신호 HD, VD 및, 수평 블랭킹 신호 HBLK를 화상 변환장치(2)로 출력한다. 화상 변환장치(2)는, 이들 데이터나 제어신호에 따라, 고분해능의 화상으로부터 소정의 화상 데이터를 추출하여 화상 처리장치(3)로 출력한다.The image conversion device 2 converts a digital image obtained by extracting 512 pixels in the X-axis direction and 484 pixels in the Y-axis direction to a high resolution image received from the camera 1 into the general-purpose image signal. And output to the image processing apparatus 3. The image processing apparatus 3, as data for specifying a pixel to be extracted with respect to the image converting apparatus 2, specifies coordinates (Xs, Ys) of a predetermined pixel in a high resolution image, and simultaneously The sampling intervals SPX and SPY of the pixel are specified. In addition, the image processing apparatus 3 is a signal for controlling the extraction operation of the pixel data, and includes a read / write control signal to be described later, and synchronization signals HD, VD in each of the horizontal and vertical directions generated therein, and horizontal blanking. The signal HBLK is output to the image conversion device 2. The image conversion device 2 extracts predetermined image data from the high resolution image in accordance with these data and control signals and outputs it to the image processing device 3.

또한 본 명세서에서 말하는 샘플링 간격이란, 추출하려는 화소간에 존재하는 솎음 대상의 화소수에 「1」을 더한 수치이며, 화소 데이터의 추출은, 상기 특정된 화소(이하, 「특정 화소」라고 한다)를 기점으로 하여 순차적으로 샘플링 간격마다 행해진다.In addition, the sampling interval said in this specification is the numerical value which added "1" to the number of pixels of a target to be existing which exists between the pixels to extract, and extraction of pixel data makes the specified pixel (henceforth "a specific pixel"). The sampling is sequentially performed at every sampling interval.

예를 들면, 샘플링 간격 SPX, SPY 로서 함께 「4」가 지정된 경우, 제2a도에 도시된 바와 같이 X, Y 각축 방향 모두 4화소마다 화소 데이터가 추출된다. 또한 샘플링 간격 SPX, SPY가 함께 「1」인 경우에는, 제2b도에 도시된 바와 같이, 화소를 솎아 내지 않고, 특정 화소 P 로부터 순차적으로 각 화소 데이터를 연속적으로 추출한다.For example, when "4" is specified together as the sampling intervals SPX and SPY, as shown in FIG. 2A, pixel data is extracted every four pixels in both X and Y axis directions. When the sampling intervals SPX and SPY are both "1", as shown in FIG. 2B, each pixel data is successively extracted from the specific pixel P, without pulling out the pixel.

제3도는 상기 화소 데이터의 추출에 의해 화상을 변환한 예를 도시한 것이다.3 shows an example of converting an image by extracting the pixel data.

도면 중, (20)은 화상 변환장치(2)로 수취된 고분해능의 화상을, (21a), (21b)는, 이 고분해능의 화상으로부터 소정 화소를 추출하여 생성된 화상을 각각 도시한다.In the figure, reference numeral 20 denotes a high resolution image received by the image conversion apparatus 2, and 21a and 21b respectively show an image generated by extracting a predetermined pixel from the high resolution image.

지금 특정 화소로서의 고분해능의 화상(20)내의 좌표(0, 0)의 위치에 있는 화소 P1을 지정하는 동시에, X, Y 각 방향의 샘플링 간격 SPX, SPY 로서 각각 「8」을 지정하면, 화소 P1을 기점으로 하여, X, Y 각축 방향 모두 8화소마다 화소 데이터의 추출이 행해진다. 이에 따라 고분해능의 화상(20) 전체에 대해, X 축 방향으로 512개, Y 축 방향으로 484개의 화소가 각각 추출되고, 화상(20) 전체를 1/64의 분해능으로 축소한 화상(21a)이 생성된다.If the pixel P 1 at the position of the coordinate (0, 0) in the high resolution image 20 as the specific pixel is specified now, and "8" is specified as the sampling interval SPX and SPY in each of the X and Y directions, With P 1 as a starting point, pixel data is extracted every 8 pixels in both X and Y axis directions. As a result, 512 pixels in the X-axis direction and 484 pixels in the Y-axis direction are extracted for the high-resolution image 20 as a whole, and the image 21a in which the entire image 20 is reduced to 1/64 resolution is obtained. Is generated.

한편, 상기 특정 화소로서 고분해능의 화상(20)내의 좌표(3400, 3200)의 위치에 있는 점 P2를 지정하는 동시에 샘플링 간격 SPX, SPY 로서 각각 「1」을 지정하면, 화소 P2로부터 X 축 방향으로 512개, Y 축 방향으로 484개의 각 화소의 화소 데이터가 연속적으로 추출된다. 이에 따라, 고분해능의 화상(20)내의 상기 화소 P2와 좌표(3911, 3683)의 위치에 있는 화소 P3에 의해 특정된 직사각형 영역 R 내의 화상 데이터가 추출되어, 화상(21b)이 생성된다.On the other hand, when the point P 2 at the position of the coordinates 3400 and 3200 in the high resolution image 20 is designated as the specific pixel, and "1" is respectively designated as the sampling intervals SPX and SPY, the X axis from the pixel P 2 is specified. Pixel data of 512 pixels in the direction and 484 pixels in the Y-axis direction are continuously extracted. As a result, the image data in the rectangular region R specified by the pixel P 2 and the pixel P 3 at the positions of the coordinates 3911 and 3683 in the high resolution image 20 are extracted to generate an image 21b.

제4도는 상기 화상 변환장치(2)의 구성예를 도시한다.4 shows a configuration example of the image conversion device 2.

또한, 하기의 설명에서 HD, VD, HBLK 는, 화상 처리장치(3)측에서 생성된 수평 동기신호, 수직 동기신호, 수평 블랭킹 신호를 도시하고, SHD, SVD, SHBLK 는, 화상 변환장치(2)의 내부에서 생성된 전용 수평 동기신호, 수직 동기신호, 수평 블랭킹 신호를 도시한다.In the following description, HD, VD, and HBLK show the horizontal synchronizing signal, the vertical synchronizing signal, and the horizontal blanking signal generated on the image processing apparatus 3 side, and SHD, SVD, and SHBLK refer to the image converting apparatus 2. Shows a dedicated horizontal synchronizing signal, a vertical synchronizing signal, and a horizontal blanking signal generated inside.

이 화상 변환장치(2)는, A/D 변환회로(6), RAM(7), D/A 변환회로(8), 멀티플렉서(9), 2개의 어드레스 발생기(10a, 10b), 2개의 발진회로(11a, 11b), NAND 회로(12)등을 구비하고 있다.The image conversion device 2 includes an A / D conversion circuit 6, a RAM 7, a D / A conversion circuit 8, a multiplexer 9, two address generators 10a and 10b, and two oscillations. Circuits 11a and 11b, a NAND circuit 12, and the like.

A/D 변환회로(6)는, 발진회로(11a)에서의 클록신호 CL1 에 따라, 카메라(1)로부터의 고분해능의 화상 신호를 추출하고, 각 추출 시점에서의 아날로그량의 화상 데이터를 디지털 변환한다. 이 변환 처리에 의해 획득된 디지털량의 각 화소 데이터는, 후술하는 순서에 따라, RAM(7)에 순차적으로 격납된다.The A / D conversion circuit 6 extracts a high resolution image signal from the camera 1 in accordance with the clock signal CL1 in the oscillation circuit 11a, and digitally converts the analog amount of image data at each extraction time point. do. Each pixel data of the digital quantity obtained by this conversion process is stored in RAM 7 sequentially according to the procedure mentioned later.

제1어드레서 발생기(10a)는 카메라(1)로부터 수취된 각 화소 데이터의 화소 위치를 결정하기 위한 것으로, 발진회로(11a)로부터의 클록신호 CL1을 입력함으로써, A/D 변환회로(6)의 화소 데이터의 출력 동작의 타이밍에 맞추어 각 화소의 X, Y 좌표를 순차적으로 생성한다. 또한 이 어드레스 발생기(10a)는, 동기 신호 생성 기능을 구비하고, 상기 각 동기신호 SHD, SVD 및 수평 블랭킹 신호 SHBLK를 상기 위치 데이터의 생성 타이밍에 맞추어 출력한다.The first address generator 10a is for determining the pixel position of each pixel data received from the camera 1, and inputs the clock signal CL1 from the oscillator circuit 11a, thereby providing the A / D conversion circuit 6 The X and Y coordinates of each pixel are sequentially generated in accordance with the timing of the output operation of the pixel data. The address generator 10a has a synchronization signal generating function and outputs the synchronization signals SHD, SVD, and the horizontal blanking signal SHBLK in accordance with the generation timing of the position data.

제2어드레스 발생기(10b)는, 화상 처리장치로부터 상기 특정 화소의 위치 데이터(Xs, Ys), X 축 방향의 샘플링 간격 SPX, Y 축 방향의 샘플링 간격 SPY의 각 데이터를 입력하고, 이들 데이터에 기초하여 RAM(7)내로부터 추출하려는 화소의 위치 데이터를 생성한다. 이 화상 데이터의 추출은, 발진회로(11b)에서의 클록신호 CL2 및 화상 처리장치(3)에서의 각 동기 신호 HD, VD와, 수평 블랭킹 신호 HBLK의 타이밍에 따라 순차적으로 생성된다.The second address generator 10b inputs the position data (Xs, Ys) of the specific pixel, the sampling interval SPX in the X-axis direction, and the sampling interval SPY in the Y-axis direction from the image processing apparatus, and inputs to these data. On the basis of this, position data of pixels to be extracted from the RAM 7 is generated. Extraction of this image data is sequentially generated in accordance with the timings of the clock signals CL2 and the synchronization signals HD and VD in the image processing apparatus 3 and the horizontal blanking signal HBLK in the oscillation circuit 11b.

상기 판독·기록 제어신호는, H, L 중 어느 하나의 레벨에서 항상 멀티플렉서(9)로 입력되고, 이에 따라 멀티플렉서(9)의 출력이 전환된다. 멀티플렉서(9)에는 제1, 제2의 어드레스 발생기(10a, 10b)로부터 각각 기록처 및 판독처의 위치 데이터가 출력되어 있고, 판독·기록 제어신호가 L인 때에는 제1어드레스 발생기(10a)로부터의 위치 데이터를, 판독·기록 제어 신호가 H 인 때에는 어드레스 발생기(10b)로부터 위치 데이터를, 각각 RAM(7)으로 출력한다.The read / write control signal is always input to the multiplexer 9 at either of the levels of H and L, so that the output of the multiplexer 9 is switched. The multiplexer 9 outputs the recording destination and the reading position data, respectively, from the first and second address generators 10a and 10b, and from the first address generator 10a when the read / write control signal is L. FIG. When the read / write control signal is H, the position data is output from the address generator 10b to the RAM 7, respectively.

상기 NAND 회로(12)는, 상기 판독·기록 제어신호의 반전신호, 상기 클록신호 CL1 의 반전신호 및, 어드레스 발생기(10a)로부터의 전용 수평 블랭킹 신호 SHBLK를 입력하여 RAM(7)의 기록 가능 상태를 제어하는 것으로, 판독·기록 제어신호가 L 인 동시에 수평 블랭킹 신호 SHBLK 가 H 일 때, 클록신호 CL1에 동기하는 신호를 출력한다. NAND 회로(12)에서의 출력 신호가 L 레벨일 때, 기록 인에이블 신호는 논리 「1」이 되어 RAM(7)은 기록가능한 상태가 되고, A/D 변환회로(6)로부터의 화소 데이터가 수취된다. 또한 이때, 상술한 바와 같이, 멀티플렉서(9)는 어드레스 발생기(10a)로부터의 위치 데이터를 RAM(7)에 제공하고, 이 위치 데이터는 상기 화소 데이터와 대응하여 RAM(7)내에 기억된다.The NAND circuit 12 inputs an inverted signal of the read / write control signal, an inverted signal of the clock signal CL1, and a dedicated horizontal blanking signal SHBLK from the address generator 10a to write a state of the RAM 7. By controlling the operation, when the read / write control signal is L and the horizontal blanking signal SHBLK is H, a signal synchronized with the clock signal CL1 is output. When the output signal from the NAND circuit 12 is at the L level, the write enable signal becomes a logic " 1 " so that the RAM 7 is in a writeable state, and pixel data from the A / D conversion circuit 6 Received. At this time, as described above, the multiplexer 9 provides the position data from the address generator 10a to the RAM 7, and the position data is stored in the RAM 7 in correspondence with the pixel data.

한편, 판독·기록 제어신호가 H 일 때, 상기 NAND 회로(12)에서의 출력은 항상 H 가 되고, 기록 인에이블 신호가 논리 「0」이 되어 RAM(7)의 기억 내용이 유지된다. 이 때, RAM(7)에는 상기한 바와 같이, 제2어드레스 발생기(10b)로부터의 위치 데이터가 제공되고, 이 위치 데이터에 대응하는 화소 데이터가 D/A 변환회로(8)로 출력된다.On the other hand, when the read / write control signal is H, the output from the NAND circuit 12 is always H, and the write enable signal is logic " 0 " to hold the contents of the RAM 7. At this time, the RAM 7 is provided with position data from the second address generator 10b as described above, and pixel data corresponding to the position data is output to the D / A conversion circuit 8.

D/A 변환회로(8)는, RAM(7)으로부터 출력된 각 화소 데이터를 사용하여 아날로그량의 범용 화상신호를 생성하기 위한 것으로, 이 범용 화상신호는 화상 처리장치(3)에 제공되어 소정 화상처리가 행해진다.The D / A conversion circuit 8 is for generating a general-purpose image signal having an analog amount by using the pixel data output from the RAM 7, which is provided to the image processing apparatus 3 to provide a predetermined value. Image processing is performed.

제5도는, 제1어드레스 발생기(10a)에 의한 위치 데이터나 동기신호 등의 생성 순서를 도시한다.5 shows a generation procedure of the position data, the synchronization signal, and the like by the first address generator 10a.

도면 중, SVBLK 는, 어드레스 발생기(10a) 내부에서 생성되는 수직 블랭킹 신호이고, 이 수직 블랭킹 신호 SVBLK가 상기 수직 동기신호 SVD의 상승 후에 소정 시간 후에 상승되면, 각 화소 위치의 X, Y 좌표값의 생성 동작이 개시된다. 또한 초기 상태에서는, X, Y 좌표값 모두 초기값으로서 「0」이 설정되어 있다.In the figure, SVBLK is a vertical blanking signal generated inside the address generator 10a, and when this vertical blanking signal SVBLK rises after a predetermined time after the rise of the vertical synchronizing signal SVD, the X, Y coordinate value of each pixel position The generation operation is started. In the initial state, "0" is set as the initial value for both the X and Y coordinate values.

수직 블랭킹 신호 SVBLK의 상승 후, 최초의 수평 동기신호 SHD 및 수평 블랭킹 신호 SHBLK의 상승에 의해, X 좌표값은 이후의 클록신호 CL1에 동기되어 초기값 「0」으로부터 1씩 증가된다. 이 X 좌표값이 「4095」에 도달할 때, 수평 블랭킹 신호 SHBLK, 수평 동기신호 SHD는 순차적으로 상승되고, X 좌표값은 초기값 「0」으로 리세트된다.After the rise of the vertical blanking signal SVBLK, the X coordinate value is increased by one from the initial value "0" in synchronization with the subsequent clock signal CL1 by the rise of the first horizontal sync signal SHD and the horizontal blanking signal SHBLK. When this X coordinate value reaches "4095", the horizontal blanking signal SHBLK and the horizontal synchronizing signal SHD are sequentially raised, and the X coordinate value is reset to the initial value "0".

X 좌표값이 리세트된 후, 다시 상승된 수평 동기신호 SHD에 의해, Y 좌표값은 1 증가된다. 이 Y 좌표값에 대해, 상기와 마찬가지로, 「0」에서 「4095」까지의 X 좌표값이, 클록 CL1 에 동기되어 순차적으로 생성된다.After the X coordinate value is reset, the Y coordinate value is increased by one by the raised horizontal synchronizing signal SHD. As for the Y coordinate value, the X coordinate values from "0" to "4095" are sequentially generated in synchronization with the clock CL1 as described above.

이하 마찬가지로 하여, 순차적으로 X 좌표, Y 좌표의 생성이 행해지고, 최종적인 위치 데이터로서 (4095, 3871)이 생성되면, 수직 블랭킹 신호 SVBLK, 수직 동기신호 SVD가 순차적으로 상승되어 일련의 동작이 종료된다.In the same manner as below, when the X and Y coordinates are sequentially generated, and 4040 and 3871 are generated as the final position data, the vertical blanking signal SVBLK and the vertical synchronizing signal SVD are sequentially raised to end a series of operations. .

제6도는 제2어드레스 발생기(10b)에 의한 위치 데이터의 생성 순서를 도시한다.6 shows a generation procedure of the position data by the second address generator 10b.

이 어드레스 발생기(10b)에는, 위치 데이터의 초기값으로서, 화상 처리장치에서 지정된 특정 화소의 좌표(Xs, Ys)가 세트되고, 이후, X 좌표값, Y 좌표값은 각 동기신호나 클록신호 CL2에 따라, 각각 부여된 샘플링 간격 SPX, SPY에 기초하여 증가된다.In this address generator 10b, coordinates (Xs, Ys) of a specific pixel designated by the image processing apparatus are set as initial values of the position data. Then, the X coordinate value and the Y coordinate value are set for each synchronization signal or clock signal CL2. Are increased based on the given sampling intervals SPX and SPY, respectively.

수직 동기신호 VD의 상승 후, 수평 동기신호 HD 및 수평 블랭킹 신호 HBLK가 순차적으로 상승되면, X 좌표값은, 클록신호 CL2에 동기되어 샘플링 간격 SPX씩 증가된다. 이하 마찬가지로 하여 화상 처리장치(3)로부터의 수평 블랭킹 신호 HBLK가 상승될 때까지 X 좌표를 증가시킴으로써, 512개의 화소의 위치 데이터가 생성된다.If the horizontal synchronizing signal HD and the horizontal blanking signal HBLK are sequentially raised after the rise of the vertical synchronizing signal VD, the X coordinate value is increased by the sampling interval SPX in synchronization with the clock signal CL2. Similarly, by increasing the X coordinate until the horizontal blanking signal HBLK from the image processing apparatus 3 rises, position data of 512 pixels is generated.

수평 블랭킹 신호 HBLK가 상승되면, X 좌표는 초기값 Xs에 리세트된다.When the horizontal blanking signal HBLK is raised, the X coordinate is reset to the initial value Xs.

다음 수평 동기신호 HD가 상승되면, 상기 샘플링 간격 SPY에 기초하여 Y 좌표가 증가되고, 상기와 마찬가지로, 클록신호 CL2에 따라 X 좌표값에 샘플링 간격 SPX분량의 수치가 순차적으로 가산된다.When the next horizontal synchronizing signal HD is raised, the Y coordinate is increased based on the sampling interval SPY, and similarly to the above, the numerical value of the sampling interval SPX amount is sequentially added to the X coordinate value in accordance with the clock signal CL2.

이하, 마찬가지로 하여 수직 동기신호 VD가 상승될 때까지, 순차적으로 Y 좌표, X 좌표의 증가가 행해지고, 화소 데이터를 추출하기 위한 위치 데이터가 생성된다.In the same manner, the Y coordinate and the X coordinate are sequentially increased until the vertical synchronizing signal VD rises, and position data for extracting pixel data is generated.

제7도는, QFP의 핀 간격의 검사 과정에서 획득된 고분해능의 화상(25)(A)과, 이 고분해능의 화상(25)으로부터 추출된 화상의 각 예[(a) 내지 (e)]를 도시한 것으로, 이하 각 도면을 사용하여 검사의 순서를 설명한다.FIG. 7 shows each example [(a) to (e)] of the high resolution image 25 (A) obtained during the inspection of the pin spacing of the QFP and the image extracted from the high resolution image 25. As a result, the procedure of inspection is demonstrated using each figure below.

전술한 제5도의 동작 순서에 따라, 화상 변환장치(2)의 RAM(7) 내에 고분해능의 화상(25)이 격납되면, 오퍼레이터는, 상기 조작부(5)를 사용하여 특정 화소로서 좌표(0, 0)의 위치에 있는 화소 P1을 지정하는 동시에, 샘플링 간격 SPX, SPY로서 각각 「8」을 지정한다. 이들 데이터는 화상 처리장치(3)로 수취된 후, 화상 변환장치(2)로 출력되고, RAM(7)내의 고분해능의 화상(25)에서 상기 화소 P1을 기점으로 하여 X, Y 각축 방향 모두 8 화소마다 화소 데이터가 추출된다. 그 결과, 제7도의 (a)에 도시된 바와 같이, 고분해능의 화상(25) 전체가 저분해능으로 변환된 화상(26a)이 생성된다.When the high resolution image 25 is stored in the RAM 7 of the image conversion apparatus 2 according to the operation procedure of FIG. 5 described above, the operator uses the operation unit 5 as coordinates (0, The pixel P 1 at the position of 0) is specified, and "8" is specified as the sampling intervals SPX and SPY, respectively. These data are received by the image processing apparatus 3, and then output to the image conversion apparatus 2, and in both the X and Y axis directions in the high resolution image 25 in the RAM 7, starting from the pixel P 1 as a starting point. Pixel data is extracted for every eight pixels. As a result, as shown in Fig. 7A, an image 26a in which the entire high resolution image 25 is converted to low resolution is generated.

화상 처리장치(3)는 이러한 저분해능의 화상(26a)을 수취하고, QFP의 화상(27a)을 추출한 다음, 이러한 QFP의 화상(27a)에 대해, 예를 들면, 중심에 위치하는 화소 C0의 위치(Xc, Yc)를 산출한다. 이 화소 C0의 위치나 좌표는, 저분해능의 화상(26a)과 함께 모니터(4)에 표시된다.The image processing apparatus 3 receives such a low resolution image 26a, extracts the image 27a of the QFP, and then, for example, the pixel C 0 located at the center of the image 27a of the QFP. The positions Xc and Yc of are calculated. The position and coordinate of this pixel C 0 are displayed on the monitor 4 together with the low-resolution image 26a.

이러한 표시를 확인하면, 오퍼레이터는, 다음에 고분해능의 화상(25)내에서 특정하는 화소로서, 표시된 화소 C0에 대응하는 화소 F0를 선택하고, 이 화소 F0의 좌표(8·Xc, 8·Yc)를 조작부(5)에 의해 입력한다. 또한 오퍼레이터가, 샘플링 간격 SPX, SPY로서 각각 「1」을 입력하면, 제7도(b)에 도시된 바와 같이, 고분해능의 화상(25)으로부터 QFP의 우하반 분량의 화상을 포함하는 영역(R1)의 화상 데이터가 추출되고, 화상 처리장치(3)로 출력된다.Upon confirming such display, the operator next selects the pixel F 0 corresponding to the displayed pixel C 0 as the pixel to be identified in the high-resolution image 25, and coordinates (8 占 Xc, 8) of this pixel F 0 Yc) is input by the operation part 5. When the operator inputs "1" as the sampling intervals SPX and SPY, respectively, as shown in Fig. 7B, the region including the lower right half of the image of the QFP from the high resolution image 25 (R1 Image data is extracted and output to the image processing apparatus 3.

화상 처리장치(3)는, 이 화상(26b)을 수취함으로써, 영역 R1에 대한 전체 화상 데이터를 획득하고, 이 화상으로부터 QFP의 화상부분(27b)을 추출한 후, 핀의 화상 부분에 소정의 검사영역을 설정하여 상세한 검사를 실행한다. 이 검사 결과는, 변환후의 화상(26b)과 함께 모니터(4)에 표시된다.The image processing apparatus 3 acquires all the image data for the area R1 by receiving this image 26b, extracts the image portion 27b of the QFP from this image, and then inspects the predetermined portion of the image portion of the pin. Set up the area and execute detailed inspection. This inspection result is displayed on the monitor 4 together with the image 26b after conversion.

이러한 영역 R1에 대한 검사가 종료되면, 오퍼레이터는, 다음 특정 화소의 위치 데이터로서 좌표 (8·Xc-512, 8·Yc-484)를, 샘플링 간격 SPX, SPY 로서 각각 「1」을 입력한다. 이에 따라 제7도의 (C)에 도시된 바와 같이, 고분해능의 화상(25)으로부터 QFP의 좌상반 분량의 화상을 포함하는 영역 R2 의 화상 데이터가 추출된다.When the inspection about this area | region R1 is complete | finished, an operator inputs coordinates (8 * Xc-512, 8 * Yc-484) as position data of a next specific pixel, and inputs "1" as sampling intervals SPX and SPY, respectively. As a result, as shown in FIG. 7C, the image data of the region R2 including the image of the upper left half of the QFP is extracted from the image 25 of high resolution.

추출된 화상(26c)은, 화상 처리장치(3)로 출력되고, 상기와 동일한 검사가 행해진다.The extracted image 26c is output to the image processing apparatus 3, and the same inspection as above is performed.

이하 마찬가지로 하여, 특정 화소의 위치 데이터로서 좌표 (8·Xc, 8·Yc-484), 좌표(8·Xc-512, 8·Yc)의 각 좌표를, 샘플링 간격 SPX, SPY로서 각각 「1」을 지정함으로써, 제7도의 (d), (e)에 도시된 바와 같이, 각각 QFP의 우상반 분량 및 좌하반 분량의 화상을 포함하는 영역 R3, R4의 화상 데이터가 추출되어 화상(26d, 26e)이 생성되고 소정의 처리가 행해진다.In the same manner below, each coordinate of coordinates (8.Xc, 8.Yc-484) and coordinates (8.Xc-512, 8.Yc) is designated as the sampling interval SPX and SPY as position data of a specific pixel, respectively. By designating, as shown in Figs. 7D and 7E, the image data of the regions R3 and R4 including the images of the upper right half and lower left half of the QFP, respectively, are extracted to obtain images 26d and 26e. ) Is generated and predetermined processing is performed.

이와 같이, 우선 화상 전체를 저분해능의 화상으로 변환하여 화상 처리의 대상 영역을 정한 후, 이 화상 처리 대상 영역내의 전체 화소 데이터를 추출하고, 상세한 화상 처리를 행할 수 있게 된다. 이 방법에 따르면, 고분해능의 화상 데이터 전체를 처리 대상으로 할 필요가 없으므로, 처리가 고속화되고 비용을 삭감할 수 있다.In this manner, first, the entire image is converted into an image having a low resolution to determine an area for image processing, and then all pixel data in the image processing object area can be extracted and detailed image processing can be performed. According to this method, since the entire high resolution image data does not need to be processed, the processing can be speeded up and the cost can be reduced.

또한 본 실시예에서는, 특정 화소나 샘플링 간격에 관한 데이터를 조작부(5)로부터 입력하도록 하고 있지만, 이에 한하지 않고 미리 교시된 데이터에 기초하여, 화상 처리장치(3)로부터 화상 변환장치(2)에 자동적으로 지정 데이터를 송신하도록 구성할 수 있다.In addition, in this embodiment, although the data concerning a specific pixel or a sampling interval is input from the operation part 5, it is not limited to this, Based on the data previously taught, from the image processing apparatus 3, the image conversion apparatus 2 is carried out. Can be configured to automatically send specific data to the.

또한 본 실시예의 화상 처리 시스템은, 프린트 기판위에 장착된 부품을 검사하기 위한 것이지만, 기타, 극소 대상물이나 정밀기기 등의 검사에 적응할 수 있으며, 또한 검사 이외의 각종 목적에 응용할 수 있다.In addition, the image processing system of the present embodiment is for inspecting components mounted on a printed board, but can be adapted to inspection of other small objects and precision instruments, and can be applied to various purposes other than inspection.

[발명의 효과][Effects of the Invention]

본 발명은 상기와 같이, 고분해능의 화상내의 특정화소 및 소정 화소를 추출하기 위한 샘플링 간격을 지정함으로써, 고분해능의 화상 데이터로부터 화상 처리장치에서 처리할 수 있는 화소수의 화상 데이터를 추출하여 처리하도록 한 것이며, 고분해능의 화상으로부터 원하는 정밀도를 갖는 화상 데이터를 추출하여 종래의 화상처리를 이용하여 처리할 수 있게 되고, 종래의 장치 구성이나 소프트웨어를 그대로 사용하여 고분해능 화상을 처리할 수 있다.According to the present invention, by specifying a sampling interval for extracting a specific pixel and a predetermined pixel in a high resolution image, the image data of the number of pixels that can be processed by the image processing apparatus can be extracted and processed from the high resolution image data. The image data having the desired precision can be extracted from the high resolution image and processed using conventional image processing, and the high resolution image can be processed using the conventional device configuration or software as it is.

제2항 및 제3항의 발명에서는, 화상 변환장치로 고분해능의 화상을 수취하고, 화상 처리장치에서 고분해능의 화상내의 특정 화소와 소정 화소의 샘플링 간격을 지정함으로써, 화상 변환장치 내에서 화상 데이터의 추출 처리를 행하도록 했으므로, 고분해능 화상을 처리하기 위한 수단으로서 화상 변환장치만을 개발하면 족하며, 장치나 소프트웨어 개발을 위한 노력이나 비용을 대폭적으로 삭감할 수 있다.In the inventions of claims 2 and 3, the image conversion apparatus extracts image data in the image conversion apparatus by receiving a high resolution image and specifying a sampling interval of a specific pixel and a predetermined pixel in the high resolution image in the image processing apparatus. Since the processing is performed, it is only necessary to develop an image converting device as a means for processing a high resolution image, and the effort and cost for developing the device and software can be greatly reduced.

제4항의 발명에서는, 화상 변환장치에 있어서, 고분해능 화상의 각 화소의 화소 데이터를 순차적으로 추출하는 동시에, 각 화소 데이터에 대응하는 위치 데이터를 생성하고, 양쪽을 동시에 기억수단에 격납시키도록 했으므로, 화상 변환장치내에 촬상 장치로부터의 고분해능의 화상 데이터를 수취하여 화상 변환처리를 실시할 수 있게 된다.In the invention of claim 4, in the image conversion apparatus, the pixel data of each pixel of the high resolution image is sequentially extracted, the position data corresponding to each pixel data is generated, and both are simultaneously stored in the storage means. It is possible to receive the high resolution image data from the image pickup apparatus in the image conversion apparatus and perform image conversion processing.

제5항의 발명에서는, 화상 처리장치가 생성하는 동기 신호를 화상 변환장치에 제공하고, 화상 변환장치는, 이 동기신호에 따라 상기 특정 화소 및 샘플링 간격에 기초하여 각 화소의 위치 데이터를 순차적으로 생성하고, 각 위치 데이터에 의해 특정되는 화소 데이터를 순차적으로 추출하도록 했으므로, 화상 처리장치의 처리능력에 따른 화소수의 화상 데이터를 간단하게 추출할 수 있게 되고, 또한 화상 처리동작의 타이밍에 맞추어 각 화소 데이터를 순차적으로 입력하여 효율이 양호한 화상처리를 실행할 수 있다.In the invention of claim 5, a synchronization signal generated by the image processing apparatus is provided to the image conversion apparatus, and the image conversion apparatus sequentially generates position data of each pixel based on the specific pixel and the sampling interval in accordance with the synchronization signal. Since the pixel data specified by the respective position data are sequentially extracted, it is possible to easily extract the image data of the number of pixels corresponding to the processing capability of the image processing apparatus, and to adjust each pixel in accordance with the timing of the image processing operation. By sequentially inputting data, image processing with good efficiency can be executed.

제6항의 발명에서는, 프린트 기판위의 전자부품에 대해 고분해능의 화상을 생성하고, 종래의 화상 처리장치를 사용하여, 부품의 장착 상태를 상세하게 검사할 수 있게 된다.In the invention of claim 6, a high resolution image is generated for an electronic component on a printed board, and the mounting state of the component can be inspected in detail using a conventional image processing apparatus.

Claims (6)

소정 분해능의 화상을 처리하기 위한 화상 처리장치에 의해 상기 분해능 보다 고분해능의 화상을 처리하는 방법에 있어서, 상기 고분해능의 화상내의 특정 화소 및, 소정 화소를 추출하기 위한 샘플링 간격을 지정하고, 지정된 샘플링 간격에 기초하여 고분해능의 화상 데이터로부터 상기 특정 화소를 포함한는 동시에 상기 소정 분해능에 상당하는 화소수의 화상 데이터를 추출함으로써 획득된 화상을 상기 화상 처리장치에 의해 처리하는 것을 특징으로 하는 화상 처리방법.A method of processing an image having a higher resolution than the resolution by an image processing apparatus for processing an image having a predetermined resolution, the method comprising: specifying a specific pixel in the high resolution image and a sampling interval for extracting a predetermined pixel, and specifying a designated sampling interval And the image processing apparatus processes the image obtained by extracting the image data of the pixel number corresponding to the predetermined resolution while including the specific pixel from the high resolution image data. 소정 분해능을 갖는 화상을 처리하는 화상 처리장치와, 상기 분해능보다 고분해능의 화상 데이터로부터 상기 소정 분해능의 화상 데이터를 생성하여 화상 처리장치로 출력하는 화상 변환장치로 이루어진 화상 처리 시스템에 있어서, 상기 화상 처리장치는, 상기 고분해능의 화상내의 특정 화소 및, 소정 화소를 추출하기 위한 샘플링 간격을 지정하는 지정 수단을 구비하고, 상기 화상 변환장치는, 상기 고분해능의 화상을 수취하는 화상 입력수단과, 상기 화상 입력수단에 의해 수취된 고분해능의 화상을 기억하는 기억수단과, 상기 기억수단에 기억된 화상에 대해, 상기 화상 처리장치의 지정수단에 의해 지정된 샘플링 간격에 기초하여 상기 특정 화소를 포함하는 동시에 상기 소정 분해능에 상당하는 화소수의 화상 데이터를 추출함으로써, 처리대상의 화상을 생성하는 화상 변환수단과, 상기 화상 변환수단에서 생성된 화상을 화상 처리장치로 출력하는 화상 출력 수단을 구비하여 이루어지는 화상 처리 시스템.An image processing system comprising an image processing apparatus for processing an image having a predetermined resolution and an image converting apparatus for generating the image data having the predetermined resolution from the image data having a higher resolution than the resolution and outputting the image data to the image processing apparatus. The apparatus includes designation means for designating a specific pixel in the high resolution image and a sampling interval for extracting a predetermined pixel, and the image conversion device includes image input means for receiving the high resolution image, and the image input. A storage means for storing the high resolution image received by the means, and the specific pixel on the basis of the sampling interval specified by the designation means of the image processing apparatus for the image stored in the storage means and the predetermined resolution; By extracting the image data of the pixel number corresponding to An image processing system composed by including an image output means for outputting the image generated by the image conversion means, said image conversion means for generating an image to the image processing apparatus. 소정 분해능을 갖는 화상을 처리하는 화상 처리장치와, 상기 분해능보다 고분해능의 화상을 생성하는 촬상장치와, 상기 화상 처리장치와 촬상장치의 사이에 개재시킨 화상 변환장치로 이루어지는 화상 처리 시스템에 있어서, 상기 화상 처리장치는, 상기 촬상장치에 의해 획득된 화상내의 특정 화소 및, 소정 화소를 추출하기 위한 샘플링 간격을 지정하는 지정수단을 구비하고, 상기 화상 변환장치는, 상기 촬상장치보다 고분해능의 화상을 수취하는 화상 처리장치 입력수단과, 상기 화상 입력수단에 의해 수취된 고분해능의 화상을 기억하는 기억수단과, 상기 기억수단에 기억된 화상에 대해, 상기 화상 처리장치의 지정수단에 의해 지정된 샘플링 간격에 기초하여 상기 특정 화소를 포함하는 동시에 상기 소정 분해능에 상당하는 화소수의 화상 데이터를 추출함으로써, 처리대상의 화상을 생성하는 화상 변환수단과, 상기 화상 변환수단에서 생성된 화상을 화상 처리장치로 출력하는 화상 출력수단을 구비하여 이루어지는 화상 처리 시스템.An image processing system comprising an image processing device for processing an image having a predetermined resolution, an image pickup device for generating an image having a higher resolution than the resolution, and an image conversion device interposed between the image processing device and the image pickup device. The image processing apparatus includes designation means for designating a specific pixel in the image obtained by the imaging apparatus and a sampling interval for extracting a predetermined pixel, and the image conversion apparatus receives an image having a higher resolution than the imaging apparatus. Image processing apparatus input means, storage means for storing a high resolution image received by the image input means, and an image stored in the storage means based on a sampling interval specified by the designation means of the image processing apparatus. Image data including the specific pixel and corresponding to the predetermined resolution An image processing system composed by having a the image conversion means for generating an image to be processed and an image output means for outputting the image generated by the image conversion means to the image processing apparatus by extracting. 제3항에 있어서, 상기 화상 변환장치의 기억수단은, 상기 고분해능 화상의 각 화소에 대해, 화소 데이터와 화소 위치를 각각 대응시켜 기억하며, 상기 화상 입력수단은, 상기 촬상장치에 의해 생성된 고분해능의 화상으로부터 각 화소의 화소 데이터를 순차적으로 추출하는 화소 데이터 추출수단과, 상기 화소 데이터 추출수단의 추출 동작에 맞추어 각 화소의 위치 데이터를 생성하는 위치 데이터 생성수단과, 상기 화소 데이터 추출수단에 의해 추출된 화소 데이터와 상기 위치 데이터 생성수단에 의해 생성된 위치 데이터를 상기 기억수단에 동시에 출력하는 출력수단을 구비하여 이루어지는 화상 처리 시스템.4. The storage means according to claim 3, wherein the storage means of said image conversion apparatus stores pixel data and pixel positions in correspondence with each pixel of said high resolution image, and said image input means stores high resolution generated by said imaging device. Pixel data extracting means for sequentially extracting pixel data of each pixel from an image of?, Position data generating means for generating position data of each pixel in accordance with an extraction operation of the pixel data extracting means, and the pixel data extracting means; And output means for simultaneously outputting the extracted pixel data and the position data generated by the position data generating means to the storage means. 제3항 또는 제4항에 있어서, 상기 화상 처리장치는, 다시 수평, 수직 각 방향의 동기 신호를 생성하는 동기신호 생성수단을 구비하며, 상기 화상 변환장치의 화상 변환수단은, 상기 동기신호 생성수단에 의해 생성된 각 동기 신호를 수취하는 동기신호 입력수단과, 수취된 동기 신호에 따라 상기 지정수단에 의해 지정된 특정 화소 및 샘플링 간격에 기초하여 각 화소의 위치 데이터를 순차적으로 생성하는 위치 데이터 생성수단과, 생성된 각 위치 데이터에 기초하여 화소 데이터를 상기 기억수단으로부터 순차적으로 추출하는 화소 데이터 추출수단을 구비하여 이루어지는 화상 처리 시스템.5. The image processing apparatus according to claim 3 or 4, wherein the image processing apparatus further includes synchronization signal generating means for generating synchronization signals in horizontal and vertical directions, and the image conversion means of the image conversion apparatus generates the synchronization signal. Synchronizing signal input means for receiving each synchronizing signal generated by the means, and position data generation for sequentially generating position data of each pixel based on the specified pixel and sampling interval designated by the designating means in accordance with the received synchronizing signal; Means; and pixel data extraction means for sequentially extracting pixel data from the storage means based on the generated positional data. 제3항에 있어서, 상기 촬상장치, 화상 변환장치 및, 화상 처리장치는, 프린트 기판에 장착된 전자부품의 장착 상태를 검사하기 위한 기판 검사장치에 편입되어 이루어지는 화상 처리 시스템.The image processing system according to claim 3, wherein the imaging device, the image conversion device, and the image processing device are incorporated in a substrate inspection device for inspecting a mounting state of electronic components mounted on a printed board.
KR1019950037252A 1994-10-26 1995-10-26 Image processing method and processing system using the method KR100211004B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP28729694A JP3334021B2 (en) 1994-10-26 1994-10-26 Image processing method and image processing system using the method
JP94-287296 1994-10-26

Publications (2)

Publication Number Publication Date
KR960015324A KR960015324A (en) 1996-05-22
KR100211004B1 true KR100211004B1 (en) 1999-07-15

Family

ID=17715546

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950037252A KR100211004B1 (en) 1994-10-26 1995-10-26 Image processing method and processing system using the method

Country Status (3)

Country Link
US (1) US5642168A (en)
JP (1) JP3334021B2 (en)
KR (1) KR100211004B1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5978035A (en) * 1983-05-09 1999-11-02 Geshwind; David Michael Methods and devices for encoding high-definition signals by computing selection algorithms and recording in an off-line manner
US5739867A (en) * 1997-02-24 1998-04-14 Paradise Electronics, Inc. Method and apparatus for upscaling an image in both horizontal and vertical directions
US6782132B1 (en) 1998-08-12 2004-08-24 Pixonics, Inc. Video coding and reconstruction apparatus and methods
US6466624B1 (en) 1998-10-28 2002-10-15 Pixonics, Llc Video decoder with bit stream based enhancements
US7071992B2 (en) * 2002-03-04 2006-07-04 Macronix International Co., Ltd. Methods and apparatus for bridging different video formats
JP4084991B2 (en) * 2002-11-29 2008-04-30 富士通株式会社 Video input device
JP4775210B2 (en) * 2006-09-26 2011-09-21 株式会社日立製作所 Image signal processing apparatus, image resolution increasing method, image display apparatus, recording / reproducing apparatus
JP6331178B1 (en) * 2017-05-12 2018-05-30 パナソニックIpマネジメント株式会社 Image processing apparatus and image processing method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4449143A (en) * 1981-10-26 1984-05-15 Rca Corporation Transcodeable vertically scanned high-definition television system
US4660096A (en) * 1984-12-11 1987-04-21 Rca Corporation Dividing high-resolution-camera video signal response into sub-image blocks individually raster scanned
US4916525A (en) * 1988-08-29 1990-04-10 Hughes Aircraft Company High definition TV system
EP0414993A3 (en) * 1989-08-30 1992-07-29 Pioneer Electronic Corporation Video signal recording method
US5264939A (en) * 1992-05-29 1993-11-23 Eastman Kodak Company Apparatus and method for generating an interlaced viewing signal from the output signal of a non-interlaced camera system
US5530484A (en) * 1995-05-19 1996-06-25 Thomson Multimedia S.A Image scanning format converter suitable for a high definition television system

Also Published As

Publication number Publication date
KR960015324A (en) 1996-05-22
JP3334021B2 (en) 2002-10-15
US5642168A (en) 1997-06-24
JPH08125844A (en) 1996-05-17

Similar Documents

Publication Publication Date Title
JP3123095B2 (en) Screen defect detection method for display
KR19980071768A (en) CORNER DETECTION DEVICE AND CORNER DETECTION METHOD
KR100211004B1 (en) Image processing method and processing system using the method
US6330066B1 (en) Height measuring apparatus and method and testing apparatus using the height measuring apparatus
JP4477863B2 (en) Cell measurement support system and cell observation apparatus
JPH08292014A (en) Measuring method of pattern position and device thereof
US4984075A (en) Contour detecting apparatus
JP2000234915A (en) Method and device for inspection
JP2507988B2 (en) Printed circuit board inspection equipment
JPS6243635B2 (en)
WO2019239715A1 (en) Imaging device, imaging method, and program
JP2570650B2 (en) Substrate inspection device and substrate inspection method
KR100187207B1 (en) Window signal generating apparatus
JP2995930B2 (en) Image processing device
JPH03158710A (en) Image data generating device
JP3359446B2 (en) Appearance inspection equipment for electronic components
JPH05340889A (en) Method and device for displaying monitoring picture of object
JPH02264561A (en) Adjusting method for optical unit of image pickup element
JPS61206389A (en) Pattern discriminator
JPS63175707A (en) Printed circuit board inspecting instrument
JPS59186065A (en) Method and apparatus for extracting picture information
JPS6240870A (en) Method and device for processing printing plate making picture data
JPH0835813A (en) Shape measuring method and apparatus
JPH0797405B2 (en) Image recognition device
JPH05276438A (en) Image processor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20060420

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee