KR101053486B1 - Automatic channel splitter for color sorter - Google Patents
Automatic channel splitter for color sorter Download PDFInfo
- Publication number
- KR101053486B1 KR101053486B1 KR1020110021953A KR20110021953A KR101053486B1 KR 101053486 B1 KR101053486 B1 KR 101053486B1 KR 1020110021953 A KR1020110021953 A KR 1020110021953A KR 20110021953 A KR20110021953 A KR 20110021953A KR 101053486 B1 KR101053486 B1 KR 101053486B1
- Authority
- KR
- South Korea
- Prior art keywords
- channel
- scan data
- line scan
- pixel number
- chute
- Prior art date
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B07—SEPARATING SOLIDS FROM SOLIDS; SORTING
- B07C—POSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
- B07C5/00—Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
- B07C5/34—Sorting according to other particular properties
- B07C5/342—Sorting according to other particular properties according to optical properties, e.g. colour
- B07C5/3425—Sorting according to other particular properties according to optical properties, e.g. colour of granular material, e.g. ore particles, grain
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B07—SEPARATING SOLIDS FROM SOLIDS; SORTING
- B07C—POSTAL SORTING; SORTING INDIVIDUAL ARTICLES, OR BULK MATERIAL FIT TO BE SORTED PIECE-MEAL, e.g. BY PICKING
- B07C5/00—Sorting according to a characteristic or feature of the articles or material being sorted, e.g. by control effected by devices which detect or measure such characteristic or feature; Sorting by manually actuated devices, e.g. switches
- B07C5/34—Sorting according to other particular properties
- B07C5/342—Sorting according to other particular properties according to optical properties, e.g. colour
- B07C5/3422—Sorting according to other particular properties according to optical properties, e.g. colour using video scanning devices, e.g. TV-cameras
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)
Abstract
Description
본 발명은 색채 선별기의 자동 채널 분리장치에 관한 것으로서, 보다 상세하게는 간단한 지그 장치를 이용하여 카메라의 라인 스캔 데이터에서 각 채널의 시작 픽셀 위치들을 용이하게 산출함으로써 카메라의 라인 스캔 데이터를 각 채널별 데이터로 분리하여 출력할 수 있도록 하는 기술에 관한 것이다.
The present invention relates to an automatic channel separator of a color sorter, and more particularly, by using a simple jig device to easily calculate the start pixel positions of each channel from the line scan data of the camera, the line scan data of the camera is calculated for each channel. The present invention relates to a technique for outputting data separately from data.
색채 선별기는 선별 대상 곡물의 색채를 분석하여 선별 대상 곡물에 포함된 불량미나 이물질 등을 선별하여 분리하는 장치로서, 도 1에는 일반적인 곡물용 색채 선별기 내부 구성이 개략적으로 도시되어 있다.The color sorter is a device for sorting and separating defects or foreign substances contained in the selected crop by analyzing the color of the selected crop, and the internal configuration of the color sorter for a general grain is schematically illustrated in FIG. 1.
도 1에 도시된 바와 같이, 종래 곡물용 색채 선별기는 선별 대상 곡물(G)을 하방으로 배출하는 슈트(100)와 촬상을 위한 가시광선 및 적외선을 제공하기 위한 형광등(200)과 할로겐 램프(300), 곡물(G)을 촬상하는 CCD 카메라(400) 및 적외선 카메라(500)를 포함하여 구성된다. 여기서 적외선 카메라(500)는 반드시 요구되는 것은 아니고 선택적으로 사용될 수 있다.As shown in Figure 1, the conventional color sorter for
CCD 카메라(400) 및 적외선 카메라(500)에서 촬상된 곡물(G)의 영상 신호는 미도시된 영상 처리장치에 의해 분석되고, 분석 결과 촬상된 곡물(G)이 불량미 또는 이물질로 판단된 경우 에어 노즐(600)을 작동시켜 불량미 또는 이물질을 제거하게 된다.When the image signals of the grains G captured by the
슈트(100)는 곡물(G)을 하방으로 슬라이딩 시키기 위한 일종의 미끄럼판으로서 상면에 다수 개의 채널(예를 들면 64채널)이 형성되어 곡물(G)이 각 채널을 따라 슬라이딩 하강하게 되고, 카메라(400)는 슈트(100)를 스캔한 영상에서 각 채널의 데이터를 분석하여 양품을 판정하게 된다.The
도 2는 곡물 영상 스캔을 위한 스캔 시스템의 구조의 일례를 도시한 것으로서, 슈트(100)는 64개의 채널로 구성되고, 2048 픽셀을 갖는 CCD 센서(420)가 렌즈(410)를 통해 슈트(100)에서 낙하하는 물체를 실시간으로 스캔하고 있는 형태이다. 2 shows an example of a structure of a scanning system for scanning a grain image, in which the
일반적으로 모서리 부분의 영상 왜곡이나 렌즈 주변부의 광량 저하로 촬영된 사진의 모서리나 외곽 부분이 어두워지거나 검게 가려지는 비네팅(Vignetting) 현상을 최소화하기 위해 렌즈(410)의 가장 자리에 맺히는 영상은 사용하지 않으므로 CCD 센서(420)가 렌즈(410)를 통해 보는 시야각이 슈트(100)의 폭 보다 크게 된다.In general, images that are formed at the edges of the
따라서, CCD 센서(420)에 의해 촬영된 스캔 데이터(430)의 첫 번째 픽셀이 첫 번째 채널의 시작 픽셀이 아닌 것이 되고 마지막 채널의 픽셀 번호 또한 2048이 아니게 된다.Therefore, the first pixel of the
따라서, 스캔 데이터 분석을 위해서는 각 채널의 시작점과 끝점의 픽셀 번호를 알아내어 라인 스캔 데이터를 채널별로 분리하는 채널 분리장치가 요구된다.Accordingly, for scan data analysis, a channel separation apparatus for separating line scan data for each channel by finding pixel numbers of start and end points of each channel is required.
종래에는 64채널을 식별할 수 있도록 슬릿 또는 마킹이 형성된 지그를 슈트(100)에 장착하고 스캔을 한 후 스캔 데이터에서 채널의 시작점과 끝점의 픽셀 번호를 확인하여 각 채널별 시작 픽셀 번호와 끝 픽셀 번호를 도출한 후 FPGA 프로그램에 입력해서 칩에 기록하는 방식이나 모든 카메라의 채널 할당 픽셀 번호를 동일하게 설정한 후 기구적으로 슈트의 채널과 일치시켜 주는 방식을 사용하고 있다.Conventionally, after mounting a jig in which a slit or marking is formed on the
이러한 방법으로 각 채널의 시작점과 끝점의 픽셀 번호를 알아내면 도 3의 채널 분리장치를 이용하여 입력되는 라인 스캔 데이터를 각 채널 데이터로 분리하여 출력하게 된다. 도 3의 방식에서는 각 채널의 시작점과 끝점의 픽셀 번호가 미리 도출되어 있어야 한다.In this way, when the pixel numbers of the start and end points of each channel are found, the line scan data input by using the channel separator of FIG. 3 is separated into each channel data and output. In the scheme of FIG. 3, the pixel numbers of the start point and the end point of each channel should be derived in advance.
그러나, 종래 2가지 방식의 경우 모두 각 채널의 시작점과 끝점의 픽셀 번호들을 모두 알아야 하므로 시간이 많이 소요되고 번거로운 문제점이 있다.
However, in the conventional two methods, since both the pixel number of the start point and the end point of each channel must be known, it is time-consuming and cumbersome.
본 발명은 상기와 같은 문제점을 해결하기 위해 안출된 것으로서, 본 발명의 목적은 매우 간단한 지그장치를 이용하여 채널 1의 시작 픽셀 번호를 알아낸 후, 시작 픽셀 번호와 채널 픽셀 폭을 입력하면 자동으로 각 채널의 시작 및 종료 픽셀 번호를 생성하여 각 채널별 데이터를 분리하여 출력할 수 있도록 함으로써 작업 시간이 현저하게 감소하고 카메라의 변경, 카메라와 슈트의 정렬 오차, 시야각 변경 등에 효과적으로 대처할 수 있도록 하는 것이다.
The present invention has been made to solve the above problems, and an object of the present invention is to find out the starting pixel number of
상기와 같은 목적을 달성하기 위한 본 발명의 일 측면에 따르면, 다수 개의 채널이 형성되어 각 채널별로 선별 대상 곡물을 슬라이딩시켜 하방으로 낙하시키는 슈트와 상기 슈트 상의 곡물들을 스캔하는 CCD 센서를 포함하는 곡물 색채 선별기에서 CCD 센서를 통해 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 방법에 있어서, 슈트의 폭에 대응되는 길이로 형성되고 길이 방향을 따라 미리 설정된 패턴이 형성된 지그를 슈트 상에 장착하는 단계, 상기 지그 상에 형성된 패턴에 대응되는 배경 패턴이 형성되어 있는 디스플레이 화면 상에 상기 CCD 센서가 상기 지그를 촬상하여 얻어지는 라인 스캔 데이터를 중첩적으로 표시하는 단계, 사용자의 입력 또는 미리 설정된 프로그램에 따라 상기 라인 스캔 데이터와 상기 배경 패턴이 일치할 때까지 상기 라인 스캔 데이터를 시프트시키는 단계, 상기 라인 스캔 데이터의 시프트 거리에 기초하여 첫 번째 채널의 시작 픽셀 번호를 산출하는 단계 및 산출된 첫 번째 채널의 시작 픽셀 번호와 기 설정된 채널 픽셀 폭 정보에 기초하여 CCD 센서로부터 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 단계를 포함하는 것을 특징으로 하는 색채 선별기의 자동 채널 분리방법이 제공된다.According to an aspect of the present invention for achieving the above object, a plurality of channels are formed grains including a chute for sliding down the screening grain for each channel to drop down and a CCD sensor for scanning the grains on the chute A method of separating and outputting line scan data input through a CCD sensor for each channel in a color sorter, the jig having a length corresponding to the width of the chute and a predetermined pattern formed along the length direction are mounted on the chute. Step of superimposing the line scan data obtained by imaging the jig by the CCD sensor on a display screen on which a background pattern corresponding to the pattern formed on the jig is formed, on a user input or a preset program Until the line scan data and the background pattern match. Shifting the line scan data; calculating a start pixel number of the first channel based on the shift distance of the line scan data; and based on the calculated start pixel number of the first channel and preset channel pixel width information. And separating and outputting the line scan data input from the CCD sensor for each channel, thereby providing an automatic channel separation method of the color sorter.
상기와 같은 목적을 달성하기 위한 본 발명의 다른 일 측면에 따르면, 다수 개의 채널이 형성되어 각 채널별로 선별 대상 곡물을 슬라이딩시켜 하방으로 낙하시키는 슈트와 상기 슈트 상의 곡물들을 스캔하는 CCD 센서를 포함하는 곡물 색채 선별기에서 CCD 센서를 통해 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 장치에 있어서, 슈트의 폭에 대응되는 길이로 형성되고 길이 방향을 따라 미리 설정된 패턴이 형성되며 상기 슈트와 CCD 채널의 정렬동작시 상기 슈트 상에 장착되는 지그, 채널의 픽셀 폭 정보 및 상기 지그 상에 형성된 패턴에 대응되는 배경 패턴 데이터가 저장되는 메모리, 상기 메모리로부터 독출된 상기 배경패턴 데이터와 상기 CCD 센서의 라인 스캔 데이터를 중첩적으로 화면에 표시하고, 사용자의 입력 또는 미리 설정된 프로그램에 따라 상기 라인 스캔 데이터와 상기 배경 패턴이 일치할 때까지 상기 라인 스캔 데이터를 시프트시켜, 상기 라인 스캔 데이터의 시프트 거리에 기초하여 첫 번째 채널의 시작 픽셀 번호를 산출하는 정렬 유닛 및 산출된 첫 번째 채널의 시작 픽셀 번호와 기 설정된 채널 픽셀 폭 정보에 기초하여 CCD 센서로부터 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 채널 분리 유닛을 포함하는 것을 특징으로 하는 색채 선별기의 자동 채널 분리장치가 제공된다.
According to another aspect of the present invention for achieving the above object, a plurality of channels are formed to include a chute for sliding down the screening grains for each channel to drop downward and a CCD sensor for scanning the grains on the chute A device for separating and outputting line scan data input through a CCD sensor for each channel in a grain color sorter, wherein the pattern is formed in a length corresponding to the width of the chute and a predetermined pattern is formed along a length direction. A jig mounted on the chute, a pixel width information of a channel, and a background pattern data corresponding to a pattern formed on the jig are stored during the alignment operation of the chute, and the background pattern data read from the memory and the line of the CCD sensor. Scan data is superimposed on the screen and input or preset by the user An alignment unit for calculating the starting pixel number of the first channel based on the shift distance of the line scan data by shifting the line scan data until the line scan data and the background pattern match according to a program And a channel separation unit for separating and outputting line scan data input from the CCD sensor for each channel based on the start pixel number of the first channel and the predetermined channel pixel width information. Is provided.
본 발명에 따르면, CCD 센서와 슈트 간의 정렬 작업이 매우 간단해지므로 정렬 소요 시간이 현저하게 단축될 수 있으며, 그에 따라 시스템 운반과 설치 시에 빈번하게 발생하는 카메라와 슈트 간의 정렬 오차에 능동적으로 대처할 수 있는 효과가 있다.According to the present invention, the alignment operation between the CCD sensor and the chute becomes very simple, so that the alignment time can be significantly shortened, thereby actively coping with the misalignment between the camera and the chute frequently occurring during system transportation and installation. It can be effective.
또한, 채널 픽셀 파라미터를 카메라마다 개별적으로 생성 및 백업할 필요가 없고, 시야각이 변경되는 경우에도 채널 픽셀 폭의 조정만으로 조정이 가능한 장점이 있다.
In addition, there is no need to separately generate and back up channel pixel parameters for each camera, and even when the viewing angle is changed, the channel pixel parameters can be adjusted only by adjusting the channel pixel width.
도 1은 곡물 색채 선별기의 기본적인 원리를 도시하기 위한 주요 구성도이다.
도 2는 곡물 영상 스캔을 위한 스캔 시스템의 구조의 일례를 도시한 것이다.
도 3은 종래 채널 분리장치의 개념도이다.
도 4는 본 발명에 따른 채널 분리장치의 구성도이다.
도 5는 도 4의 정렬 유닛의 내부 구성을 도시한 세부 블럭도이다.
도 6은 본 발명에서 사용되는 지그장치의 구조를 도시한 것이다.
도 7은 도 4의 채널 분리유닛의 내부 구성을 도시한 세부 블록도이다.
도 8 및 도 9는 색채 선별기의 디스플레이부 화면으로서, 지그장치를 이용하여 채널 1의 시작 픽셀 번호를 알아내는 방법을 도시한 것이다.1 is a main configuration diagram for showing the basic principle of the grain color sorter.
2 shows an example of the structure of a scan system for scanning grain images.
3 is a conceptual diagram of a conventional channel separator.
4 is a block diagram of a channel separation apparatus according to the present invention.
5 is a detailed block diagram illustrating an internal configuration of the alignment unit of FIG. 4.
Figure 6 shows the structure of the jig device used in the present invention.
FIG. 7 is a detailed block diagram illustrating an internal configuration of the channel separation unit of FIG. 4.
8 and 9 illustrate screens of a color selector and a method of determining a start pixel number of
이하에서는 첨부된 도면을 참조하여 본 발명의 바람직한 일 실시예를 상세하게 설명하기로 한다.
Hereinafter, with reference to the accompanying drawings will be described in detail a preferred embodiment of the present invention.
도 4는 본 발명에 따른 채널 분리장치의 구성도이다.4 is a block diagram of a channel separation apparatus according to the present invention.
도 4에 도시된 바와 같이, 본 발명에 따른 채널 분리장치는 메모리(1), CCD 센서(2), 컨트롤러(3), 채널 분리유닛(4) 및 정렬유닛(5)을 포함하여 구성된다.As shown in FIG. 4, the channel separating apparatus according to the present invention includes a
메모리(1)는 CCD 센서(2)가 장착된 카메라의 사양정보, 사용되는 카메라 사양에 대응되는 채널의 픽셀 폭 정보 및 후술하는 지그 상에 형성된 패턴과 동일한 형태의 배경 패턴 데이터 등이 저장되는 부분이다.The
CCD 센서(2)는 빛을 전기적 신호로 변환하는 장치로서 2048픽셀을 갖는 소자가 사용될 수 있으며, 상술한 바와 같이 2048개의 픽셀 중 양측 가장자리 부분의 픽셀들은 왜곡이나 비네팅 현상 등으로 인해 사용되지 않는 영역이 존재한다.As the device for converting light into an electrical signal, the
컨트롤러(3)는 메모리(1)에 저장된 데이터 및 CCD 센서(2)로부터 출력되는 라인 스캔 데이터를 채널 분리유닛(4)과 정렬 유닛(5)으로 전송하고, 정렬 제어신호와 채널분리 제어신호를 생성하여 정렬 유닛(5)과 채널 분리유닛(4)으로 각각 전송하여 정렬 동작 및 채널 분리동작이 수행되도록 제어한다.The
정렬유닛(5)은 메모리(1)로부터 독출된 배경패턴 데이터와 CCD 센서(2)가 후술하는 지그를 촬상하여 얻어지는 라인 스캔 데이터를 중첩적으로 화면에 표시하고, 사용자의 입력 또는 미리 설정된 프로그램에 따라 라인 스캔 데이터와 배경 패턴이 일치할 때까지 라인 스캔 데이터를 시프트시켜, 라인 스캔 데이터의 시프트 거리에 기초하여 첫 번째 채널의 시작 픽셀 번호를 산출하는 것으로서, 세부 구조에 대해서는 도 5에서 상세하게 설명하기로 한다.The
채널 분리유닛(4)은 산출된 첫 번째 채널의 시작 픽셀 번호와 기 설정된 채널 픽셀 폭 정보에 기초하여 CCD 센서(2)로부터 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 것으로서, 64채널을 갖는 색채 선별기의 경우 라인 스캔 데이터를 64개의 채널로 분리하여 각 채널별 픽셀 데이터를 출력한다.
The
도 5는 도 4의 정렬 유닛의 내부 구성을 도시한 세부 블럭도이고, 도 6은 본 발명에서 사용되는 지그장치의 구조를 도시한 것이다.FIG. 5 is a detailed block diagram showing the internal configuration of the alignment unit of FIG. 4, and FIG. 6 shows the structure of the jig device used in the present invention.
우선, 지그장치(60)는 도 6에 도시된 바와 같이, 사각형 링 형태로서 슈트(100) 상에 안착되는 몸체(61)와 몸체(61)의 하단에 슈트(100)의 폭에 대응되는 길이로 형성되고 길이 방향을 따라 미리 설정된 패턴(64)이 형성되는 수평바(62)를 포함하여 구성되며, 수평바(62)의 양단에는 지그장치(60)를 슈트(100) 하단에 고정하기 위한 체결부(63)가 형성되어 있다.First, as shown in FIG. 6, the
수평바(62)는 패턴(64)과 구별이 용이하도록 전체적으로 백색 등의 밝은 색상으로 도색되는 것이 바람직하며, 수평바(62) 상에 형성되는 패턴(64)은 어두운 계통의 색상으로 마킹을 하고 마킹의 중앙 부분에 백색 점을 표시하는 형태로 형성되어 패턴 부분이 촬상 시에 어둡게 표시되어 촬상 영상에서 패턴(64)이 용이하게 표출될 수 있도록 되어 있다.The
도 6에는 패턴(64)이 5개의 마킹부로 형성되는 경우를 예시하였으나, 마킹부의 개수 및 형태는 다양하게 변형이 가능하다.
6 illustrates a case in which the
도 5에 도시된 바와 같이, 정렬 유닛(5)은 배경패턴 생성부(51), 디스플레이부(53), 스캔 데이터 시프트부(52) 및 영상 분석부(54)를 포함하여 구성된다.As shown in FIG. 5, the
배경패턴 생성부(51)는 메모리(1)로부터 독출된 배경 패턴 데이터에 기초하여 배경패턴을 생성하는 부분이다. 배경패턴은 지그장치(60)에서 패턴을 구성하는 슬릿이나 홀의 위치에 대응되는 위치에 동일한 형상의 슬릿, 홀 등의 형상이 표시되거나 해당 위치에 특정 식별표시가 형성되도록 한 것이다. The
디스플레이부(53)는 배경패턴 생성부(51)에서 생성된 배경패턴과 CCD 센서(2)가 지그장치(60)를 촬상하여 얻어지는 라인 스캔 데이터를 중첩적으로 화면에 표시한다. 만일, CCD 센서(2)와 슈트(100)가 정렬이 정확하게 되어 있는 상태라면 배경패턴에서 특정 식별표시가 형성된 위치와 상기 라인 스캔 데이터에서 음의 펄스(다른 부분보다 크게 어두운 부분)의 위치가 동일할 것이나 일반적으로 설치시의 오차나 운반 등에 따른 정렬 오차로 인해 2 개의 패턴이 일치하지 않는 것이 일반적이다.The
스캔 데이터 시프트부(52)는 배경패턴과 라인 스캔 데이터의 스캔 패턴이 일치할 때까지 라인 스캔 데이터를 1픽셀씩 시프트시키는 것이다. 여기서, 패턴의 일치라 함은 배경패턴에서 특정 식별표시가 형성된 위치와 상기 라인 스캔 데이터에서 음의 펄스(다른 부분보다 크게 어두운 부분)의 위치가 상호 일치하는 것을 의미한다. 이러한 라인 스캔 데이터의 시프트 동작은 사용자의 조작 신호 입력에 의한 경우와 영상 분석부(54)의 영상 분석에 따른 제어에 의거하여 이루어지는 경우 모두 가능하다.The scan data shift
영상 분석부(54)는 배경패턴과 라인 스캔 데이터의 스캔 패턴이 일치하는지 여부를 판단하여 불일치하는 경우 스캔 데이터 시프트부(52)를 구동제어하고, 양자가 일치하는 경우 라인 스캔 데이터의 시프트 거리에 기초하여 첫 번째 채널의 시작 픽셀 번호를 산출한다.
The
도 7은 도 4의 채널 분리유닛의 내부 구성을 도시한 세부 블록도이다.FIG. 7 is a detailed block diagram illustrating an internal configuration of the channel separation unit of FIG. 4.
도 7에 도시된 바와 같이, 채널 분리유닛(4)은 비교기(41), 카운터(42) 및 디코더(43)를 포함하여 구성된다.As shown in FIG. 7, the
비교기(41)는 CCD 센서(2)로부터 직렬적으로 입력되는 라인 스캔 데이터의 픽셀번호와 정렬 유닛(5)에서 산출된 첫 번째 채널의 시작 픽셀 번호를 비교하여 라인 스캔 데이터의 픽셀번호가 첫 번째 채널의 시작 픽셀 번호 이하인 경우까지는 디스에이블된 상태로 있다가, 라인 스캔 데이터의 픽셀번호가 첫 번째 채널의 시작 픽셀 번호 이상인 경우에 활성화되어 인에이블 신호를 카운터(42)로 출력한다.The
카운터(42)는 인에이블 신호에 의해 구동되고, 연속적으로 입력된 라인 스캔 데이터의 개수가 채널 픽셀폭과 동일한 경우마다 카운트값을 증가시켜 출력한다.The
디코더(43)는 카운터(42)의 카운트값에 기초하여 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력한다. The
예를 들어, 채널 픽셀 폭이 30인 경우 카운터(42)는 30번마다 카운트값을 증가시켜 디코더(43)의 제어단자로 입력하고, 디코더(43)는 제어단자의 카운트값에 따라 라인 스캔 데이터가 해당 채널의 출력 단자를 통해 출력되도록 한다.
For example, when the channel pixel width is 30, the
도 8 및 도 9는 색채 선별기의 디스플레이부 화면으로서, 지그장치를 이용하여 채널 1의 시작 픽셀 번호를 알아내는 방법을 도시한 것이다.8 and 9 illustrate screens of a color selector and a method of determining a start pixel number of
도 8에 도시된 바와 같이, 배경 패턴은 디스플레이 화면의 배경 그림으로 표시되고, 배경 패턴 상에 CCD 센서(2)에 의해 촬상된 라인 스캔 데이터(지그장치를 촬상한 영상 데이터)가 중첩적으로 표시된다. As shown in Fig. 8, the background pattern is displayed as the background picture of the display screen, and the line scan data (image data photographing the jig device) imaged by the
이때, CCD 센서(2)와 슈트(100) 간의 정렬 오차로 인해 도 8과 같이, 양 패턴이 불일치하게 되는데, 수동방식의 경우 사용자가 좌,우 시프트 버튼을 조작하여 라인 스캔 데이터를 시프트시켜 도 9와 같이, 라인 스캔 데이터와 배경 패턴이 일치하는 경우 시프트 거리에 따라 첫 번째 채널의 픽셀번호가 결정된다. 자동방식의 경우에는 프로그램적으로 패턴 비교 동작과 시프트 동작이 자동적으로 이루어지면서 양 패턴이 일치할 때의 시프트 거리를 연산하여 첫 번째 채널의 픽셀번호를 산출하게 된다.
At this time, due to the alignment error between the
비록 본 발명이 상기 언급된 바람직한 실시예와 관련하여 설명되어졌지만, 발명의 요지와 범위로부터 벗어남이 없이 다양한 수정이나 변형을 하는 것이 가능하다. 따라서 첨부된 특허청구의 범위는 본 발명의 요지에서 속하는 이러한 수정이나 변형을 포함할 것이다.
Although the present invention has been described in connection with the above-mentioned preferred embodiments, it is possible to make various modifications or variations without departing from the spirit and scope of the invention. Accordingly, the appended claims will cover such modifications and variations as fall within the spirit of the invention.
1 : 메모리 2 : CCD 센서
3 : 컨트롤러 4 : 채널 분리유닛
5 : 정렬유닛 41 : 비교기
42 : 카운터 43 : 디코더
51 : 배경패턴 생성부 52 : 스캔 데이터 시프트부
53 : 디스플레이부 54 : 영상 분석부1: memory 2: CCD sensor
3: controller 4: channel separation unit
5: alignment unit 41: comparator
42: counter 43: decoder
51: background pattern generator 52: scan data shift unit
53: display unit 54: image analysis unit
Claims (5)
슈트의 폭에 대응되는 길이로 형성되고 길이 방향을 따라 미리 설정된 패턴이 형성된 지그를 슈트 상에 장착하는 단계;
상기 지그 상에 형성된 패턴에 대응되는 배경 패턴과 상기 CCD 센서가 상기 지그를 촬상하여 얻어지는 라인 스캔 데이터를 화면에 중첩적으로 표시하는 단계;
사용자의 입력 또는 미리 설정된 프로그램에 따라 상기 라인 스캔 데이터와 상기 배경 패턴이 일치할 때까지 상기 라인 스캔 데이터를 시프트시키는 단계;
상기 라인 스캔 데이터의 시프트 거리에 기초하여 첫 번째 채널의 시작 픽셀 번호를 산출하는 단계; 및
산출된 첫 번째 채널의 시작 픽셀 번호와 기 설정된 채널 픽셀 폭 정보에 기초하여 CCD 센서로부터 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 단계를 포함하는 것을 특징으로 하는 색채 선별기의 자동 채널 분리방법.
The channel scan data input through the CCD sensor in the grain color sorter including a chute for forming a plurality of channels and sliding down the grain to be sorted for each channel to fall downward, and a CCD sensor for scanning the grains on the chute for each channel. In the method of outputting separately,
Mounting a jig formed on the chute having a length corresponding to the width of the chute and having a predetermined pattern formed along the longitudinal direction;
Displaying a background pattern corresponding to the pattern formed on the jig and line scan data obtained by capturing the jig by the CCD sensor on the screen;
Shifting the line scan data until the line scan data and the background pattern match according to a user input or a preset program;
Calculating a starting pixel number of a first channel based on the shift distance of the line scan data; And
And separating and outputting the line scan data input from the CCD sensor for each channel based on the calculated start pixel number of the first channel and preset channel pixel width information. .
상기 산출된 첫 번째 채널의 시작 픽셀 번호와 기 설정된 채널 픽셀 폭 정보에 기초하여 CCD 센서로부터 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 단계는
입력되는 라인 스캔 데이터의 픽셀번호와 상기 산출된 첫 번째 채널의 시작 픽셀 번호를 비교하는 단계;
라인 스캔 데이터의 픽셀번호가 첫 번째 채널의 시작 픽셀 번호 이상인 경우부터 입력되는 라인 스캔 데이터를 카운트하여 카운트 수가 채널 픽셀 폭에 해당하는 경우 채널 변경 신호를 출력하는 단계; 및
상기 채널 변경 신호에 기초하여 입력되는 라인 스캔 데이터를 각 채널별 데이터로 분리하여 출력하는 단계를 포함하는 것을 특징으로 하는 색채 선별기의 자동 채널 분리방법.
The method of claim 1,
Separating and outputting line scan data input from the CCD sensor for each channel based on the calculated start pixel number of the first channel and preset channel pixel width information
Comparing the pixel number of the input line scan data with the calculated start pixel number of the first channel;
Counting input line scan data from the case where the pixel number of the line scan data is equal to or greater than the start pixel number of the first channel and outputting a channel change signal when the count number corresponds to the channel pixel width; And
And separating and outputting line scan data input based on the channel change signal into data for each channel.
슈트의 폭에 대응되는 길이로 형성되고 길이 방향을 따라 미리 설정된 패턴이 형성되며 상기 슈트와 CCD 채널의 정렬동작시 상기 슈트 상에 장착되는 지그;
채널의 픽셀 폭 정보 및 상기 지그 상에 형성된 패턴에 대응되는 배경 패턴 데이터가 저장되는 메모리;
상기 메모리로부터 독출된 상기 배경패턴 데이터와 상기 CCD 센서의 라인 스캔 데이터를 중첩적으로 화면에 표시하고, 사용자의 입력 또는 미리 설정된 프로그램에 따라 상기 라인 스캔 데이터와 상기 배경 패턴이 일치할 때까지 상기 라인 스캔 데이터를 시프트시켜, 상기 라인 스캔 데이터의 시프트 거리에 기초하여 첫 번째 채널의 시작 픽셀 번호를 산출하는 정렬 유닛; 및
산출된 첫 번째 채널의 시작 픽셀 번호와 기 설정된 채널 픽셀 폭 정보에 기초하여 CCD 센서로부터 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 채널 분리 유닛을 포함하는 것을 특징으로 하는 색채 선별기의 자동 채널 분리장치.
The channel scan data input through the CCD sensor in the grain color sorter including a chute for forming a plurality of channels and sliding down the grain to be sorted for each channel to fall downward, and a CCD sensor for scanning the grains on the chute for each channel. In a separate output device,
A jig formed to have a length corresponding to the width of the chute, a preset pattern is formed along the longitudinal direction, and mounted on the chute during alignment of the chute and the CCD channel;
A memory storing pixel width information of a channel and background pattern data corresponding to a pattern formed on the jig;
The background pattern data read out from the memory and the line scan data of the CCD sensor are superimposed on the screen, and the line is scanned until the line scan data and the background pattern match according to a user input or a preset program. An alignment unit for shifting scan data to calculate a starting pixel number of a first channel based on the shift distance of the line scan data; And
And a channel separation unit for separating and outputting line scan data input from the CCD sensor for each channel based on the calculated start pixel number of the first channel and preset channel pixel width information. Separator.
상기 정렬 유닛은
상기 메모리로부터 독출된 배경 패턴 데이터에 기초하여 배경패턴을 생성하는 배경패턴 생성부;
상기 배경패턴 생성부에서 생성된 배경패턴과 상기 CCD 센서의 라인 스캔 데이터를 중첩적으로 화면에 표시하는 디스플레이부;
상기 배경패턴과 라인 스캔 데이터의 스캔 패턴이 일치할 때까지 라인 스캔 데이터를 시프트시키는 스캔 데이터 시프트부; 및
상기 배경패턴과 라인 스캔 데이터의 스캔 패턴이 일치하는지 여부를 판단하여 불일치하는 경우 상기 스캔 데이터 시프트부를 구동제어하고, 일치하는 경우 상기 라인 스캔 데이터의 시프트 거리에 기초하여 첫 번째 채널의 시작 픽셀 번호를 산출하는 영상 분석부를 포함하는 것을 특징으로 하는 색채 선별기의 자동 채널 분리장치.
The method of claim 3, wherein
The alignment unit
A background pattern generator configured to generate a background pattern based on the background pattern data read from the memory;
A display unit displaying the background pattern generated by the background pattern generator and the line scan data of the CCD sensor on the screen in a superimposed manner;
A scan data shifter for shifting line scan data until the background pattern and the scan pattern of line scan data coincide with each other; And
It is determined whether or not the background pattern and the scan pattern of the line scan data coincide. If there is a mismatch, driving control of the scan data shift unit is performed, and if there is a match, the start pixel number of the first channel is determined based on the shift distance of the line scan data. Automatic channel separator of a color sorter, characterized in that it comprises an image analysis unit for calculating.
상기 채널 분리유닛은
입력되는 라인 스캔 데이터의 픽셀번호와 상기 산출된 첫 번째 채널의 시작 픽셀 번호를 비교하여 라인 스캔 데이터의 픽셀번호가 첫 번째 채널의 시작 픽셀 번호 이상인 경우에 인에이블 신호를 출력하는 비교기;
상기 인에이블 신호에 의해 구동되고, 연속적으로 입력된 라인 스캔 데이터의 개수가 채널 픽셀폭과 동일한 경우마다 카운트값을 증가시켜 출력하는 카운터; 및
상기 카운트값에 기초하여 입력되는 라인 스캔 데이터를 각 채널별로 분리하여 출력하는 디코더를 포함하는 것을 특징으로 하는 색채 선별기의 자동 채널 분리장치.The method of claim 4, wherein
The channel separation unit
A comparator for comparing the pixel number of the input line scan data with the calculated start pixel number of the first channel and outputting an enable signal when the pixel number of the line scan data is equal to or greater than the start pixel number of the first channel;
A counter which is driven by the enable signal and increments and outputs a count value whenever the number of continuously input line scan data is equal to the channel pixel width; And
And a decoder for separating and outputting line scan data input for each channel based on the count value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110021953A KR101053486B1 (en) | 2011-03-11 | 2011-03-11 | Automatic channel splitter for color sorter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020110021953A KR101053486B1 (en) | 2011-03-11 | 2011-03-11 | Automatic channel splitter for color sorter |
Publications (1)
Publication Number | Publication Date |
---|---|
KR101053486B1 true KR101053486B1 (en) | 2011-08-03 |
Family
ID=44932738
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020110021953A KR101053486B1 (en) | 2011-03-11 | 2011-03-11 | Automatic channel splitter for color sorter |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101053486B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05100748A (en) * | 1991-10-08 | 1993-04-23 | Fuji Elelctrochem Co Ltd | Positioning method by picture processing |
JPH09108638A (en) * | 1995-10-17 | 1997-04-28 | Yamamoto Mfg Co Ltd | Grain sorter |
KR20040029964A (en) * | 2001-01-18 | 2004-04-08 | 페드랄 엑스프레스 코포레이션 | Reading and decoding information on packages |
KR100800291B1 (en) | 2007-07-13 | 2008-02-01 | 주식회사에이멕스 | Sorting method using size of grain |
-
2011
- 2011-03-11 KR KR1020110021953A patent/KR101053486B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05100748A (en) * | 1991-10-08 | 1993-04-23 | Fuji Elelctrochem Co Ltd | Positioning method by picture processing |
JPH09108638A (en) * | 1995-10-17 | 1997-04-28 | Yamamoto Mfg Co Ltd | Grain sorter |
KR20040029964A (en) * | 2001-01-18 | 2004-04-08 | 페드랄 엑스프레스 코포레이션 | Reading and decoding information on packages |
KR100800291B1 (en) | 2007-07-13 | 2008-02-01 | 주식회사에이멕스 | Sorting method using size of grain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3171588B1 (en) | Image processing method and image processing apparatus executing that image processing method | |
JP4882529B2 (en) | Defect detection method and defect detection apparatus | |
CN109100363B (en) | Method and system for distinguishing defects of attached foreign matters from dust | |
JP6250793B2 (en) | Method and apparatus for removing character background from color image | |
TWI590725B (en) | Detecting device and detecting method of appearance of printed circuit board | |
KR20160087742A (en) | Test system for conveyed objects and conveying apparatus | |
JP2008032491A (en) | Inspection system, test method, inspection program, and computer-readable storage medium | |
US7909471B2 (en) | Rear projection type display apparatus | |
KR101056393B1 (en) | Micro Vision Inspection System for PCC defect inspection | |
EP1639545A2 (en) | Inspection system for and method of inspecting deposits printed on workpieces | |
JP2006133196A (en) | Detection method of pixel uneveness defection, detection device for pixel uneveness defection, detection program for pixel uneveness defection, and recording medium with the program stored | |
KR101053486B1 (en) | Automatic channel splitter for color sorter | |
EP0443062A1 (en) | Device for inspecting quality of printed matter and method thereof | |
JP6792283B2 (en) | Visual inspection equipment | |
KR100807249B1 (en) | Camera test unit and camera inspection method using the same | |
CN110148141A (en) | A kind of silk-screen optical filter small pieces detection method of counting and equipment | |
JP4753019B2 (en) | Neck ring inspection device and neck ring inspection method | |
JP4195980B2 (en) | Appearance inspection method and appearance inspection apparatus using color image | |
JP2556894B2 (en) | Print quality inspection device and method | |
JPH028893A (en) | Automatic image clearness adjustment for image pickup tube | |
JP2005147911A (en) | Method and apparatus for pixel evaluation of display panel | |
JPH0735699A (en) | Method and apparatus for detecting surface defect | |
KR101056392B1 (en) | Surface inspection method and device | |
CN111757002B (en) | Image processing method, output control method, image acquisition device and display device | |
JP2001083474A (en) | Method for inspecting liquid crystal display panel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
A302 | Request for accelerated examination | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20140724 Year of fee payment: 4 |
|
FPAY | Annual fee payment |
Payment date: 20150824 Year of fee payment: 5 |
|
FPAY | Annual fee payment |
Payment date: 20160711 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20170809 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20180704 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20190611 Year of fee payment: 9 |