KR100977252B1 - Automatic localization method from identification numbers of slab image - Google Patents

Automatic localization method from identification numbers of slab image Download PDF

Info

Publication number
KR100977252B1
KR100977252B1 KR1020090066376A KR20090066376A KR100977252B1 KR 100977252 B1 KR100977252 B1 KR 100977252B1 KR 1020090066376 A KR1020090066376 A KR 1020090066376A KR 20090066376 A KR20090066376 A KR 20090066376A KR 100977252 B1 KR100977252 B1 KR 100977252B1
Authority
KR
South Korea
Prior art keywords
image
slab
string
management number
extracting
Prior art date
Application number
KR1020090066376A
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 KR1020090066376A priority Critical patent/KR100977252B1/en
Application granted granted Critical
Publication of KR100977252B1 publication Critical patent/KR100977252B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/40Extraction of image or video features
    • G06V10/46Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/02Preprocessing
    • G06F2218/04Denoising
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Character Input (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE: A method for automatically extracting a management number of slab image is provided to improve a success rate of slab management number extraction stage in a change of illumination and an environment of complex background. CONSTITUTION: A brightness image is extracted from a slab image(S110). A binary image is generated from the brightness image(S120). A boundary of horizontal direction is extracted from the binary image through horizontal border extraction filter of a prewit(S130). A boundary of vertical direction is extracted to coordinate-set image through a vertical border extraction filter of a prewit(S150). A final character string is selected through appropriate function among extracted candidate strings(S170). Accuracy of separate character division border is improved(S180).

Description

슬래브 영상의 관리번호 자동 추출 방법{AUTOMATIC LOCALIZATION METHOD FROM IDENTIFICATION NUMBERS OF SLAB IMAGE}Automatic extraction of control number of slab image {AUTOMATIC LOCALIZATION METHOD FROM IDENTIFICATION NUMBERS OF SLAB IMAGE}

본 발명은 슬래브 영상에서 관리번호 인식하는 방법에 관한 것으로, 더욱 상세하게는 문자의 위, 아래 경계를 찾고, 그 경계 안쪽에 있는 화소들의 정보를 이용해서 관리번호를 인식하는 슬래브 영상의 관리번호 자동 추출 방법에 관한 것이다.The present invention relates to a method for recognizing a management number in a slab image. More particularly, the management number of a slab image automatically finds an upper and lower boundary of a character and recognizes the management number by using information of pixels inside the boundary. It relates to an extraction method.

최근 들어, 제철소의 연주 및 분괴 공정 등에서 생산된 슬래브는 각각 고유의 관리번호로 구별된다.In recent years, slabs produced in the process of steel mill regeneration and the like, are each distinguished by a unique control number.

이러한 관리번호는 호스트 컴퓨터에서 보내 온 슬래브의 관리번호와 현재 들어온 슬래브에 기재되어 있는 관리번호의 일치 여부를 확인함으로써 생산된 슬래브의 혼동을 막을 수 있다. This management number can prevent confusion of the produced slab by checking whether the management number of the slab sent from the host computer matches the management number described in the currently-input slab.

이때 관리번호의 일치 여부의 확인은 관리자들의 육안에 의해 이루어지고 있다. At this time, the confirmation of whether the management numbers match is made by the manager's naked eye.

한편 슬래브 영상으로부터 자동으로 슬래브 관리번호를 인식하는 슬래브 관리번호 인식 시스템이 사용되기도 한다. Meanwhile, a slab management number recognition system that automatically recognizes a slab management number from a slab image is also used.

이와 같이 관리자가 육안으로 직접 확인하는 방법과 슬래브 관리번호 인식 시스템을 이용하는 방법을 병행하면 작업 효율이 향상되는 장점이 있다.In this way, when the administrator directly checks with the naked eye and uses the slab management number recognition system, the work efficiency is improved.

슬래브 관리번호 인식 시스템은 슬래브 생산 시 높은 열과 충격이 가해지는 특성 때문에 바코드나 알에프아이디(Radio Frequency IDentification, '이하 RFID') 등과 같은 것이 사용될 수는 없으며, 슬래브 영상을 촬영하여 관리번호를 인식하는 방식이 사용된다. The slab management number recognition system cannot be used for barcodes or radio frequency identification (RFID) because of the high heat and impact applied to slab production. This is used.

슬래브 영상은 두 가지 단계를 거쳐 슬래브 관리번호로 인식된다. 첫 번째 단계는 슬래브 영상으로부터 슬래브 관리번호 영역을 추출하는 단계이다. The slab image is recognized as the slab management number through two steps. The first step is to extract the slab management number area from the slab image.

이후 두 번째 단계에서는 추출된 슬래브 관리번호 영역에서 개별 관리번호 문자 영상을 분리하여 개별 관리번호를 인식한다. Subsequently, in the second step, the individual management number character image is separated from the extracted slab management number area to recognize the individual management number.

슬래브 영상의 배경이 되는 곳은 주로 제철소의 작업 현장으로 조명의 변화가 심하고 주변의 배경은 매우 복잡하다. The background of the slab image is mainly the work site of the steel mill, and the lighting is severely changed and the surrounding background is very complicated.

이러한 환경에서 슬래브 영상으로부터 관리번호 영역을 추출하는 것은 용이한 일이 아니며, 슬래브 영상으로부터 관리번호 영역을 추출하는 단계는 전체 슬래브 관리번호 인식 시스템의 효율에 큰 영향을 미친다. In this environment, it is not easy to extract the management number area from the slab image, and the step of extracting the management number area from the slab image has a great influence on the efficiency of the entire slab management number recognition system.

따라서 슬래브 영상으로부터 관리번호 영역을 추출하는 첫 번째 단계의 성공률을 높이는 것이 매우 중요하다.Therefore, it is very important to increase the success rate of the first step of extracting the management number region from the slab image.

두 번째로는, 앞서 추출한 영상을 이용해서 프로세서가 관리번호를 정확히 인식하게 만드는 것이다. Secondly, it uses the extracted image to make the processor correctly recognize the management number.

이때, 어떠한 알고리즘을 쓰느냐에 따라 정확도와 처리속도가 천차만별로 달 라진다. At this time, accuracy and processing speed vary depending on the algorithm.

만일, 다음 슬래브가 들어오기 전에 프로세서가 관리번호를 인식하지 못한다던가, 혹은 인식을 한다 하더라도 정확도가 떨어져서 제대로 인식을 하지 못한다면, 이는 제품으로써 그 기능을 다하지 못한 것과 마찬가지다. If the processor does not recognize the control number before the next slab enters, or if the processor does not recognize the correct number due to lack of accuracy, it is as if the product did not perform its function.

그렇기 때문에 프로세서가 얼마나 빠르게, 또 얼마나 정확하게 관리번호를 인식하는지 또한 결과 간과해서는 안 될 것이다.As a result, how quickly and how accurately the processor recognizes control numbers should not be overlooked.

일반적으로 문자열 영역을 추출하는 디지털 이미지 프로세싱(Digital Image Processing) 기법은 투영프로파일 분석법이 사용되고 있다. In general, projection image analysis is used as a digital image processing technique for extracting a string region.

이는 한정된 공간에서 강한 강도를 가지는 문자열에서 개별 문자를 분리하는 경우에 주로 사용하는 방법으로 다음과 같은 과정을 거친다.This method is mainly used to separate individual characters from a string having a strong strength in a limited space and goes through the following process.

먼저, 컬러 영상일 경우는 명도 영상으로 변환하고, 명도영상은 이진 영상으로 변환한다. First, a color image is converted into a brightness image, and a brightness image is converted into a binary image.

이어 이진 영상 데이터를 2차원 행렬로 간주하여, 수직 또는 수평 방향으로 데이터를 더하는데, 수직방향으로 더한 데이터 값은 수직투영프로파일(Vertical Projection Profile)을 나타내며 수평방향으로 더한 데이터 값은 수평투영프로파일(Horizontal Projection Profile)을 나타낸다.Next, the binary image data is regarded as a two-dimensional matrix, and the data is added in the vertical or horizontal direction. The data value added in the vertical direction represents a vertical projection profile, and the data value added in the horizontal direction is a horizontal projection profile ( Horizontal Projection Profile).

상기 수직투영프로파일(Vertical Projection Profile)과 수평투영프로파일(Horizontal Projection Profile)에서 급격히 변화하는 좌표값을 검출하여 특정 문자열 영역을 검출하게 된다.A specific character string area is detected by detecting a rapidly changing coordinate value in the vertical projection profile and the horizontal projection profile.

그런 후에, 검출된 영역에서 문자열을 개별 문자를 분리하게 된다. Then, the character string is separated from the character in the detected area.

이 과정에서 먼저 문자의 개수는 정해져 있고, 문자의 간격이 모두 일정하다는 가정을 한다.In this process, it is assumed that the number of characters is determined first, and that the intervals of the characters are all constant.

그리고 같은 넓이로 나누어서 한 개의 넓이 안에 하나의 글자만 들어온다고 보고, 그 문자를 인식하게 된다.And it divides into the same area and sees only one letter in one area and recognizes the letter.

그러나 제철소와 같이 주변 환경이 복잡하고 조명의 변화가 많은 장소에서 이러한 수직 투영 프로파일 방법 또는 수평 투영 프로파일 방법들을 사용하는 경우 문자열 영역을 추출하는데 적지 않은 어려움이 있다는 문제점이 있었다.However, when using such a vertical projection profile method or a horizontal projection profile method in a place where the environment is complicated and the lighting changes a lot, such as a steel mill, there is a problem in that it is difficult to extract a string region.

또한, 여러 잡음이 섞여 있는 상황에서 문자열로만 이루어진 영상이 들어온다는 보장을 받을 수 없다는 문제점도 있었다.In addition, there is a problem that can not be guaranteed that the image consisting of only a string coming in the situation where several noises are mixed.

본 발명은 상술한 바와 같은 종래기술의 문제점을 해결하기 위해 안출된 것으로서, 본 발명의 목적은, 특히 제철소와 같이 조명의 변화가 심하고 복잡한 주변 환경 속에서 조명의 변화에 민감하지 않은 경계영상과 경계영상에 인접한 주변 화소들의 정보를 이용하여 슬래브 영상으로부터 관리번호 영역을 효율적으로 추출하는 방법을 제공하고, 보다 신속 정확하게 문자열에서 개별 문자를 추출 및 인식 하기 위한 슬래브 영상의 관리번호 자동 추출 방법을 제공하는 것이다.The present invention has been made to solve the problems of the prior art as described above, the object of the present invention, especially in the steel environment, such as steel, the boundary image and the boundary which is not sensitive to the change of the lighting in a severe and complex surrounding environment Provides a method of efficiently extracting the management number area from the slab image by using the information of neighboring pixels adjacent to the image, and provides a method of automatically extracting the management number of the slab image for extracting and recognizing individual characters from a character string more quickly and accurately. will be.

이를 위해 본 발명에 따르는 슬래브 영상의 관리번호 자동 추출 방법은, 슬래브 영상의 관리번호 추출 방법에 있어서, 상기 슬래브 영상으로부터 명암도 영상을 생성하는 명암도 변환 과정과; 상기 명암도 변환된 영상으로부터 이진 영상을 생성하는 이진 변환 과정과; 상기 이진 변환된 영상으로부터 프리위트의 수평경계 추출 필터를 이용해 수평방향의 경계를 추출하는 수평경계 추출과정과; 상기 수평경계 추출된 영상을 수직으로 교차하는 2개의 직선을 이용하여 4개의 영역으로 설정하여 가로선과 세로선을 만드는 좌표 설정과정과; 상기 좌표 설정된 영상에 상기 4개의 영역별로 프리위트의 수직경계 추출 필터를 이용한 수직방향의 경계를 추출하는 수직경계 추출 과정과; 상기 수직경계 추출된 영상과 상기 가로선을 이용하여 잡음 제거 및 후보 문자열을 추출하는 후보 문자열 추출과정과; 상기 후보 문자열들 중에서 등간격의 분할선을 이용한 분산의 합과 평균의 합을 이용한 적합 함수의 최대값을 가지고 있는 상기 관리번호에 대응되는 문자열을 선택하는 최종 문자열 선택 과정과; 상기 최종 문자열에서 정확한 분할을 위하여 분할선의 분산과 분할선 좌우의 분산의 비교를 통해 개별 문자 분할 경계의 정확도를 향상시키는 정확한 분할 과정 및; 상기 정확도가 향상된 문자열로부터 문자열의 상하 뒤집힘 유무를 판별하는 상하 뒤집힘 유무 판별 과정을 포함한다.To this end, the method for automatically extracting a management number of a slab image according to the present invention includes a method of extracting a management number of a slab image, comprising: a contrast conversion process of generating a contrast image from the slab image; A binary conversion process of generating a binary image from the contrast-converted image; A horizontal boundary extracting step of extracting a horizontal boundary from the binary-converted image by using a horizontal boundary extracting filter of the presuite; A coordinate setting process of creating a horizontal line and a vertical line by setting the horizontal boundary extracted image into four regions by using two straight lines crossing vertically; A vertical boundary extraction process of extracting a boundary in a vertical direction using a vertical boundary extraction filter of a pre-suite for each of the four areas in the coordinated image; A candidate string extraction process of extracting noise and extracting a candidate string using the vertical boundary extracted image and the horizontal line; A final string selection process of selecting a character string corresponding to the control number having a maximum value of a fit function using a sum of variances and a sum of averages of the candidate strings from the candidate strings; An accurate division process of improving accuracy of individual character division boundaries by comparing variance of division lines and variance of right and left division lines for accurate division in the final character string; And a vertical flipping determination process for determining whether the string is flipped up and down from the string having improved accuracy.

본 발명에 따르는 슬래브 영상의 관리번호 자동 추출 방법에 따르면, 조명의 변화와 복잡한 배경의 환경 속에서 슬래브 관리번호 추출 단계의 성공률을 높일 수 있다는 효과가 있다.According to the method for automatically extracting the management number of the slab image according to the present invention, there is an effect that the success rate of the slab management number extraction step can be increased in the environment of a change in lighting and a complicated background.

또한, 본 발명에 따르면 각기 다른 문자열의 입력에도 불구하고, 보다 신속 정확하게 문자를 인식할 수 있어서 전체적인 슬래브 관리번호 인식률을 향상시킬 수 있다는 장점도 있다.In addition, according to the present invention, despite the input of different character strings, it is possible to recognize characters more quickly and to improve the overall slab management number recognition rate.

마지막으로 본 발명에 따르면, 슬래브 관리번호 인식 시스템의 인식률 향상으로 인하여 관리자들은 효율적으로 호스트 컴퓨터에서 보내 온 슬래브의 관리번호와 현재 들어온 슬래브에 기재되어 있는 관리번호의 일치 여부를 확인할 수 있는 장점도 있다. Finally, according to the present invention, due to the improved recognition rate of the slab management number recognition system, administrators can also efficiently check whether the management number of the slab sent from the host computer matches the management number described in the currently entered slab. .

이하에서는 첨부된 도면들을 참조하여 본 발명의 실시 예에 따르는 슬래브 관리번호 추출 방법을 상세히 설명한다.Hereinafter, a method for extracting a slab management number according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

본 발명을 설명함에 있어서, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단된 경우 그 상세한 설명은 생략한다.In describing the present invention, when it is determined that the detailed description of the related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

도 1은 본 발명의 실시 예에 따르는 슬래브 영상의 관리번호 자동 추출 방법을 보여주는 순서도이다.1 is a flowchart illustrating a method for automatically extracting a management number of a slab image according to an exemplary embodiment of the present invention.

도 1을 참조하면, 본 발명에 따르는 슬래브 관리번호 자동 추출 방법(100)은, 상기 슬래브 영상으로부터 명암도 영상을 추출하는 명암도 추출 과정(S110)과, 상기 추출된 명암도 영상으로부터 이진 영상을 생성하는 이진화 과정(S120)과, 상기 이진화된 영상으로부터 프리위트의 수평경계 추출 필터를 이용하여 수평방향의 경계를 추출하는 수평경계 추출과정(S130)과, 상기 수평경계 추출된 영상을 4개의 영역으로 나누어 가로축과 세로축을 만드는 좌표 설정과정(S140)과, 상기 좌표 설정된 영상에 상기 4개의 영역별로 프리위트의 수직경계 추출 필터를 이용한 수직방향의 경계를 추출하는 수직경계 추출과정(S150)과, 상기 수직경계 추출된 영상과 상기 가로선을 이용하여 잡음 제거 및 후보 문자열을 추출하는 후보 문자열 추출과정(S160)과, 상기 추출된 후보 문자열들 중에서 적합 함수를 이용해 가장 정확한 정보를 가지고 있는 문자열을 선택하는 최종 문자열 선택 과정(S170)과, 상기 최종 문자열에서 정확한 분할을 위하여 개별 문자 분할 경계의 정확도를 향상시키는 정확도 향상 과정(S180) 및, 상기 정확도가 향상된 문자열로부터 문자열의 상하 뒤집힘 유무를 판별하는 상하 뒤집힘 유무 판별 과정(S190)을 포함하여 구성된다.Referring to FIG. 1, the method for automatically extracting a slab management number 100 according to the present invention includes a lightness degree extraction process (S110) for extracting a brightness level image from the slab image, and a binarization for generating a binary image from the extracted brightness level image. A horizontal boundary extraction process (S130) for extracting a horizontal boundary from the binarized image by using a horizontal boundary extraction filter of the presuited image, and a horizontal axis by dividing the horizontal boundary extracted image into four regions And a coordinate setting process of creating a vertical axis (S140), a vertical boundary extraction process (S150) of extracting a vertical boundary using a vertical boundary extraction filter of a pre-suite for each of the four areas in the coordinated image, and the vertical boundary. A candidate string extracting process (S160) of extracting noise and extracting a candidate string using the extracted image and the horizontal line; A final string selection process (S170) for selecting a string having the most accurate information from the strings, an accuracy enhancement process (S180) for improving the accuracy of individual character division boundaries for accurate division in the final string, and And a vertical flipping determination process (S190) for determining whether the string is flipped up and down from the string having improved accuracy.

도 1과 같이 구성된 본 발명의 실시 예에 따르는 슬래브 영상의 관리번호 자동 추출 방법을 도 2 내지 도 12를 참조하여 설명하면 다음과 같다.A method of automatically extracting a management number of a slab image according to an exemplary embodiment of the present invention configured as shown in FIG. 1 will now be described with reference to FIGS. 2 to 12.

도 2 및 도 3은 본 발명의 실시 예에 따르는 슬래브 영상의 관리번호 자동 추출 방법을 위해 실제로 입력되는 영상을 보여주는 예시도이다.2 and 3 are exemplary views showing an image actually input for a method for automatically extracting a management number of a slab image according to an exemplary embodiment of the present invention.

도 2는 본 발명에 따르는 기계 또는 사람에 의해 실제 표기되어 입력되는 슬래브 영상들과 전체 영상에서 슬래브의 위치를 알려주는 영상을 보여주는 예시도이다.Figure 2 is an exemplary view showing the image showing the position of the slab in the slab images and the entire image that is actually marked and input by the machine or person according to the present invention.

도 2를 참조하면, 도 2의 (201) 내지 (206)은 서로 다른 표기 기계(Marking Machine)에 의해서 표기된 관리번호이다. 그리고 (207) 내지 (211)은 사람에 의해 표기된 관리번호이다. 또한, (212)는 실제 촬영되는 영상으로서 슬래브의 위치 및 대략적인 좌우상하 경계를 찾을 수 있도록 촬영한 실제 입력 영상이다.Referring to FIG. 2, reference numerals 201 to 206 of FIG. 2 denote management numbers marked by different marking machines. And (207) to (211) are control numbers marked by a person. In addition, 212 is an actual input image photographed so that the position of the slab and the approximate left and right upper and lower boundaries may be found.

도 3은 본 발명에 따르는 도 2의 관리번호들이 실제로 각종 잡음과 섞여 입력된 슬래브 영상을 보여주는 예시도이다. FIG. 3 is an exemplary view showing a slab image in which management numbers of FIG. 2 according to the present invention are actually mixed with various noises.

도 3을 참조하면, 각종 잡음이 섞여서 들어오는 슬래브 영상들 중 도 3의 (301) 내지 (303)은 열에 의해서 일부 문자열이 타 버린 경우이고, (304) 내지 (306)은 사진을 찍는 과정에서 번짐 현상이 생긴 것이며, (307) 내지 (309)는 불필요한 얇은 선들에 의해서 문자들이 연결된 것처럼 보이는 것이다. 상기 문자열은 상기 관리번호에 대응되는 문자열이다. Referring to FIG. 3, among the slab images mixed with various noises, 301 to 303 of FIG. 3 show a case in which some strings are burned by heat, and 304 to 306 are smeared in the process of taking a picture. A phenomenon has occurred, and 307 to 309 appear to be connected with letters by unnecessary thin lines. The character string is a character string corresponding to the management number.

이와 같이, 슬래브 영상의 관리번호는 표기 기계의 종류마다 조금씩 다르게 입력되지만, 몇 가지의 경우를 제외 하고는 대부분 유사한 모양을 가지고 있다. In this way, the management number of the slab image is input slightly differently for each type of marking machine, but most have a similar shape except for a few cases.

그러나 도 3을 참조하면 알 수 있듯이, 외부의 열, 먼지, 긁힘 등 각종 잡음이 다량으로 섞여 관리번호 문자가 손상을 입게 된다.However, as can be seen with reference to Figure 3, a variety of noises, such as heat, dust, scratches outside, mixed with a large number of the management number character is damaged.

도 4는 본 발명에 따르는 도 1에 도시한 본 발명에 따르는 슬래브 관리번호 자동 추출 방법(100)에서 도 2 및 도 3에 도시한 입력되는 슬래브 영상의 명암도 추출 과정(S110) 및 이진화 과정(S120)에 따르는 결과 영상의 실 예를 보여주는 예시도이다.FIG. 4 is a diagram illustrating an intensity extraction process (S110) and a binarization process (S110) of an input slab image shown in FIGS. 2 and 3 in the method 100 for automatically extracting a slab management number according to the present invention illustrated in FIG. 1 according to the present invention. This is an illustration showing an example of the resultant image according to).

먼저, 도 4를 참조하면, (401) 및 (402)는 실제 슬래브 영상을 보여주는 컬러 영상이다.First, referring to FIG. 4, reference numerals 401 and 402 are color images showing an actual slab image.

그리고 (403) 및 (404)는 본 발명에 따르는 슬래브 영상의 관리번호 자동 추출 방법(100)중 명암도 추출 과정(S110)을 거친 결과를 보여주는 영상이다.And 403 and 404 is an image showing the result of the contrast extraction process (S110) of the method 100 for automatically extracting the management number of the slab image according to the present invention.

즉, 입력되는 슬래브 영상은 컬러이므로 이진 변환하기 위해서는 명암도 추출 과정(S110)을 거쳐야한다.That is, since the input slab image is color, it is required to go through the contrast extraction process (S110) in order to perform binary conversion.

그 후, 상기 (403) 및 (404)는 이진화 과정(S120)을 거쳐 도 4에 도시한 (405) 및 (406)과 같은 영상으로 추출된다.Thereafter, the 403 and 404 are extracted to an image such as 405 and 406 shown in FIG. 4 through a binarization process S120.

바람직하게, 상기 이진화 과정(S120)은 상기 슬래브 명암도 영상(403, 404)을 오쓰(Otus) 방법을 적용하여 이진화한다.Preferably, the binarization process S120 binarizes the slab contrast images 403 and 404 by applying an Otus method.

바람직하게, 오쓰 방법을 적용한 이진화라는 것은 영상의 히스토그램을 이용해서 임계값을 기준으로 두 개의 부류로 나누는 것이다.Preferably, binarization using the Otsu method is divided into two classes based on a threshold using a histogram of an image.

히스토그램은 영상의 화소값이 0부터 255까지 분포를 가지고 명암도 영상에 구한다.The histogram is obtained from a contrast level image having pixel values of 0 to 255 distributed in the image.

영상 내에서 0부터 255까지의 각각의 화소값에 대해서 화소가 몇 개인지를 나타내는 도수분포표이다.A frequency distribution table indicating how many pixels there are for each pixel value from 0 to 255 in the image.

그래프에서 0부터 특정 임계값(T)까지의 화소 분포에 대한 분산과 특정 임계 값(T)부터 255까지의 화소 분포에 대한 분산의 합이 최소가 되게 하는 임계값(T)를 찾는다.In the graph, a threshold value T is set such that the sum of the variances of the pixel distributions from 0 to the specific threshold value T and the variances of the pixel distributions from the specific threshold values T to 255 is minimized.

이를 기준으로 해서 작으면 0, 크면 255로 이진화를 하는 것이다.Based on this, it is binarized to 0 if small and 255 if large.

도 4를 참조하면, (401), (403), (405)는 저온의 슬래브 영상이고, (402), (404), (406)는 고온의 슬래브 영상이기 때문에 이진 변환한 영상들은 차이를 갖는다.Referring to FIG. 4, since 401, 403, and 405 are low-temperature slab images, and 402, 404, and 406 are high-temperature slab images, binary-converted images have a difference. .

즉, 고온의 슬래브 영상이 이진화 과정(S120)을 거치면 저온의 슬래브 영상보다 더 많은 잡음을 가짐을 알 수 있다.That is, it can be seen that the high temperature slab image has more noise than the low temperature slab image when the binarization process S120 is performed.

도 5는 본 발명에 따르는 도 1에 도시한 본 발명에 따르는 슬래브 관리번호 자동 추출 방법(100)의 수평 경계 추출 과정(S130)에 따르는 결과 영상의 실 예를 보여주는 예시도이다.5 is an exemplary view showing an example of a result image according to the horizontal boundary extraction process (S130) of the slab management number automatic extraction method 100 according to the present invention shown in FIG. 1 according to the present invention.

도 5를 참조하면, (501)과 (503) 및 (505)는 도 4에서 언급한 저온의 슬래브 영상이며, (502)와 (504) 및 (506)은 고온의 슬래브 영상이다.Referring to FIG. 5, 501, 503, and 505 are the low temperature slab images mentioned in FIG. 4, and 502, 504, and 506 are the high temperature slab images.

도 5를 참조하면, (502)는 이진화 과정(S120) 후, 잡음으로 인해 해독이 불가능하게 되는 경우이다.Referring to FIG. 5, 502 is a case in which decryption is impossible due to noise after the binarization process S120.

반면에, (501)은 잡음이 거의 없이 깨끗한 슬래브 영상인 경우이다. On the other hand, 501 is a case of a clean slab image with little noise.

(501) ~ (504)의 슬래브 영상에는 노란색 선으로 각각의 수평투영프로파일의 평균값을 표시하였다. 이를 기준으로 해서 높은 값을 나타내는 영역은 남기고, 낮은 값을 나타내는 영역은 지워 버리게 된다.In the slab images (501) to (504), the average value of each horizontal projection profile is indicated by a yellow line. On the basis of this, the area showing a high value is left, and the area showing a low value is erased.

바람직하게, 영상은 가로×세로의 넓이를 갖는다.Preferably, the image has a width x height.

예를 들어 20×10의 넓이를 갖는 영상에서 10개의 세로축 각각에 해당하는 가로축에 대해서 20개의 화소값들을 모두 합하면 (503)이나 (504)의 빨간 그래프와 같이 하나의 도수분포표가 된다.For example, in an image having a width of 20 × 10, when all 20 pixel values are summed about the horizontal axis corresponding to each of the 10 vertical axes, one frequency distribution table is formed as shown in the red graph of 503 or 504.

이 도수분포표에서 평균을 구한 것이 노란색 선이다.The average of this frequency distribution table is the yellow line.

그런 후 노란색 선보다 높은 도수분포를 갖는 계급은 남기고, 노란색 선보다 낮은 도수분포를 갖는 계급은 지운다.The class with the frequency distribution higher than the yellow line is then left, and the class with the frequency distribution lower than the yellow line is deleted.

이것이 수평투영프로파일을 이용한 처리 과정이고, 영상처리에 널리 쓰는 방법이다.This is the processing process using the horizontal projection profile, and is a widely used method for image processing.

수평투영프로파일이라는 앞선 과정에서 이진화가 이루어진 영상에 대해 적용하면, 화소가 많은 영역은 남게 되고, 그렇지 않은 영역은 지워지게 된다.When applied to the binarized image in the previous process called a horizontal projection profile, an area with many pixels is left, and an area that is not is deleted.

이를 통해서 문자열의 상하경계를 구할 수 있습니다.This allows you to find the upper and lower bounds of a string.

전술한 수평 경계 추출 과정(S130)에 대해 보다 상세히 서술하면 다음과 같다.The above-described horizontal boundary extraction process (S130) will be described in more detail as follows.

우선, 이진화 수평투영프파일과 경계값 수평투영프로파일을 아래의 [수학식1]로 계산한다.First, the binarization horizontal projection profile and the boundary value horizontal projection profile are calculated by Equation 1 below.

Figure 112009044388651-pat00001
Figure 112009044388651-pat00001

Figure 112009044388651-pat00002
Figure 112009044388651-pat00002

다음으로, 경계가 되는 영역을 구하기 위해서 프로파일의 곱(product of profiles)을 계산하는데, 아래의 [수학식 2]로 계산한다.Next, a product of profiles is calculated in order to find a boundary area, which is calculated by Equation 2 below.

Figure 112009044388651-pat00003
Figure 112009044388651-pat00003

Figure 112009044388651-pat00004
Figure 112009044388651-pat00004

Figure 112009044388651-pat00005
Figure 112009044388651-pat00005

여기서 나온 프로파일의 곱을 가장 높게 올라가는 부분의 좌표를 선택하여 그 좌표에서 문자열이 충분히 보존될 수 있도록 적당한 마진을 두어 경계가 되는 영역을 선택한다. Select the coordinates of the part that raises the product of the profile to the highest level, and select the boundary area with appropriate margin so that the string can be sufficiently preserved in the coordinates.

도 6은 본 발명에 따르는 도 5의 수평 경계 추출 과정(S130)이 완료된 영상의 실 예를 보여주는 예시도이다.FIG. 6 is an exemplary view showing an example of an image in which the horizontal boundary extraction process S130 of FIG. 5 according to the present invention is completed.

도 6을 참조하면, (601) 및 (602)의 슬래브 영상은 조금의 마진도 없이 기준값 보다 작은 영역을 무조건 지워 버린 경우지만, (603)과 (604)의 슬래브 영상은 문자열 위와 아래로 어느 정도의 공간 마진을 둔 것이다. Referring to FIG. 6, the slab images of (601) and (602) are unconditionally erased an area smaller than the reference value without any margin, but the slab images of (603) and (604) are somewhat above and below the character string. Space margin.

그 후, 도 1에 도시된 좌표축 설정 과정(S140)이 행해진다.Then, the coordinate axis setting process S140 shown in FIG. 1 is performed.

여기서는 좌표축 설정 과정(S140)에서 적어도 하나 이상의 영역으로 분할하도록 설정되는 이유에 대해 간단히 서술한다.Here, the reason why it is set to divide into at least one area | region in the coordinate axis setting process S140 is briefly described.

만약, 전체 영상 영역을 하나의 영역으로 설정하여 경계값을 추출할 경우, 고온에 의해서 산화된 문자가 소실될 수 있기 때문이다. 하지만, 슬래브 영상을 복수 개(4개)의 영역으로 분할 설정하여 각각의 영역의 경계값을 추출하면 그런 소실을 막을 수 있다.If the boundary value is extracted by setting the entire image area to one area, the letters oxidized by the high temperature may be lost. However, if the slab image is divided into plural (four) regions and the boundary value of each region is extracted, such loss can be prevented.

따라서, 상기 좌표축 설정 과정(S140)은 상기 슬래브 영상을 4개의 구역으로 나누어 가로축과 세로축을 만드는 과정이다.Therefore, the coordinate axis setting process (S140) is a process of creating a horizontal axis and a vertical axis by dividing the slab image into four zones.

이는 도 7에서 확인 할 수 있다. This can be seen in FIG.

도 7은 본 발명에 따르는 수직 경계 추출 과정(S150)이 완료된 영상의 실 예를 보여주는 예시도이다.7 is an exemplary view illustrating an example of an image in which the vertical boundary extraction process S150 according to the present invention is completed.

도 7을 참조하면, (701)은 앞서 설명한 방법으로 수평경계를 찾은 다음 그것을 자른 영상들 가운데 하나인 명암도 슬래브 영상이다. Referring to FIG. 7, reference numeral 701 denotes a contrast slab image, which is one of images that find a horizontal boundary using the method described above and then cut it.

바람직하게, (701)은 수평경계에 의해서 잘려진 원영상이다.Preferably, 701 is the original image clipped by the horizontal boundary.

그리고 (702)와 (703)은 명암도 영상에서 경계값을 추출한 영상이다.Reference numerals 702 and 703 are images obtained by extracting boundary values from the contrast image.

즉, (702)의 슬래브 영상은 전 영역을 하나의 영역으로 설정하여 경계값을 추출한 영상이고, (703)의 슬래브 영상은 4개의 영역을 설정하여 각각의 영역에 대하여 수직 경계값을 추출한 수직경계 추출과정(S150)을 거친 영상이다. That is, the slab image of 702 is an image obtained by extracting a boundary value by setting the entire region as one region, and the slab image of 703 is a vertical boundary where vertical boundaries are extracted by setting four regions. It is an image that has undergone the extraction process (S150).

따라서 수직경계 추출과정(S150)은 상기 4개의 영역으로 설정된 각각의 영역 을 프리워트의 수직경계 추출 필터를 이용하여 수직방향의 경계를 추출한다.Therefore, the vertical boundary extraction process (S150) extracts the vertical boundary in each of the areas set as the four areas using the vertical boundary extraction filter of the prewart.

다음으로, 수직경계 추출과정(S150)을 거친 슬래브 영상에 대한 잡음을 제거하고, 후보 문자열을 추출하는 후보 문자열 추출 과정(S160)이 행해진다.Next, a candidate string extraction process (S160) is performed to remove noise for the slab image that has undergone the vertical boundary extraction process (S150) and extract a candidate string.

후보 문자열 추출 과정(S160)은 상술한 바와 같이 영상에 대한 4개 영역 분할을 할 때의 기준선을 이용한다. 가로 선을 기준으로 해서 이 선과 만나지 않는 성분들은 잡음으로 판단을 하고 지워 버린다. As described above, the candidate character string extraction process (S160) uses a reference line when the four regions are divided into four images. Based on the horizontal line, components that do not meet this line are judged by noise and erased.

상기 후보 문자열 추출 과정(S160)에 대한 실 예는 도 8에 도시하였다.An example of the candidate string extraction process S160 is illustrated in FIG. 8.

도 8은 본 발명에 따르는 도 1의 슬래브 관리번호 자동 추출 방법(100)에서 도시한 후보 문자열 추출 과정(S160)의 실 예를 보여주는 예시도이다.8 is an exemplary view showing an example of the candidate character string extraction process (S160) shown in the slab management number automatic extraction method 100 of FIG. 1 according to the present invention.

도 8을 참조하면, (801)의 컬러 슬래브 영상을 먼저 가로선(A)과 세로선(B)의 교차에 의해 4개의 영역으로 나눈 후, 이진 변환을 시키면 (802)의 슬래브 영상이 된다. Referring to FIG. 8, the color slab image of 801 is first divided into four regions by the intersection of the horizontal line A and the vertical line B, and then subjected to binary conversion results in a slab image of 802.

이 경우, 상기 슬래브 영상의 가로선(A)과 만나지 않는 부분을 잡음으로 간주하고 제거하면, (803)과 같은 깨끗한 후보군 영상을 얻게 된다. 여기서, 흰색의 성분들이 후보 문자가 되는 것이다.In this case, if the portion which does not meet with the horizontal line A of the slab image is regarded as noise and removed, a clean candidate group image such as 803 is obtained. Here, white components become candidate characters.

이어서 다음의 도 9를 참조하여, 상기 후보군의 문자 성분을 이용해서 성분별로 조합하는 방법에 대해 설명한다.Next, with reference to the following FIG. 9, the method of combining each component using the character component of the said candidate group is demonstrated.

도 9는 본 발명에 따르는 도 1의 슬래브 관리번호 자동 추출 방법(100)에서 도시한 문자성분 조합 과정(S170)을 보여주는 실 예이다.9 is an example showing the character component combining process (S170) shown in the slab management number automatic extraction method 100 of FIG. 1 according to the present invention.

한편, 도 10은 후보 문자성분들 간의 조합으로 좌우경계를 선택한 영상을 나타낸 도면이다.10 is a diagram illustrating an image in which a left and right boundary is selected as a combination of candidate character components.

도 9를 참조하면, 우선 성분별로 조합이 된 것을 이용해서 직각사각형을 만든다. 이 직각사각형의 가로와 세로의 비율이 특정범위에 만족을 하면 이 직각사각형 안에 있는 문자열들 중에 진짜 문자열이 된다.Referring to FIG. 9, first, a rectangular rectangle is formed by using a combination of components. If the ratio of the width and height of the rectangular rectangle satisfies a certain range, it becomes the real string among the strings in the rectangular rectangle.

여기서 직사각형의 가로와 세로의 특정 비율은 도 11을 참조하면, 표기 기계에서 기 설정된 표기하는 인쇄체 문자열을 기준으로 설정하게 된다.In this case, referring to FIG. 11, a specific ratio of the width and the height of the rectangle is set based on a printed character string that is preset in the marking machine.

실제 데이터를 가지고 여러 번의 실험을 한 결과 가로길이/세로길이의 값이 5~8정도 되는 것이 진짜 문자열을 가지고 있다.After several experiments with real data, the value of width / length is about 5 ~ 8 and it has a real string.

가로길이/세로길이의 특정 범위라는 것은 5~8정도의 값을 가르킨다.A specific range of length / length indicates a value of 5-8.

또한, 도 9를 참조하면, 성분별로 조합하면 도시한 붉은 색 직각사각형으로 조합된다. 이런 과정을 계속해서 도 10처럼 가로와 세로의 비율이 특정범위에 만족하는 후보 문자열을 찾게 된다. In addition, referring to FIG. 9, when the components are combined by components, the components are combined into a red rectangular rectangle as shown. This process continues, as shown in Figure 10 to find a candidate string that satisfies the specific range of the horizontal and vertical ratio.

이어서, 상기 후보 문자열들 중에서 적합 함수(fitness function)를 이용해 진짜 문자열을 찾게 되는 최종 문자열 선택 과정(S170)이 행해진다.Subsequently, a final string selection process S170 is performed in which a real string is found using a fitness function among the candidate strings.

바람직하게 상기 적합 함수는 문자열 내에 문자들은 인쇄체이므로 서로 같은 간격으로 되어 있다고 가정을 하고, 각각의 간격이 동일하면 이 방법을 적용하여 이에 적합하게 생성된 함수이다. Preferably, the fitting function assumes that the characters in the character string are equally spaced from each other because they are printed, and if the intervals are the same, this function is appropriately generated by applying this method.

도 11은 본 발명에 따르는 슬래브 영상의 관리번호를 표기한 기계의 인쇄체 구조를 나타낸 도면이다. 11 is a view showing the print structure of the machine noting the management number of the slab image according to the present invention.

상기 인쇄체를 도 11과 같이 동일한 간격으로 분할을 하게 되면 각각의 문자를 얻을 수 있게 되고, 이와 같은 방법을 적합 함수로 만들어 상기 후보 문자열에 적용을 다음의 도 12와 같이 된다.When the printed body is divided at equal intervals as shown in FIG. 11, each character can be obtained. The method is applied to the candidate character string as shown in FIG.

도 12는 좌우경계가 선택된 영상들을 이용해서 진짜 문자열을 찾는 과정을 보여주는 영상을 나타낸 도면이다.FIG. 12 is a diagram illustrating an image of a process of finding a real character string using images selected by a left and right boundary.

먼저, 도 12와 같이 각 후보 문자열을 대상으로 동일한 간격으로 분할을 하게 되면 상기 가정에 따라 분할선(l1~l9) 사이로만 문자가 존재하게 된다. 이 때, 상기 분할선 상에 있는 화소값들의 분산 9개(l1~l9)의 합을 구한다. 또한, 상기 분할선 사이의 영역(l1~l10)에 있는 화소값들의 평균 10개의 합을 구한다. 상기 분산과 평균을 이용하여 아래의 [수학식3]과 같이 적합 함수를 구한다.

Figure 112010007922915-pat00018

이 적합 함수 값이 가장 높게 나타나는 후보 문자열을 선택하면 그것이 진짜 문자열이 된다.First, as shown in FIG. 12, when the candidate strings are divided at equal intervals, characters exist only between the division lines l 1 to l 9 according to the assumption. In this case, the sum of nine variances (l 1 to l 9 ) of pixel values on the dividing line is obtained. In addition, an average of 10 sums of pixel values in the regions 1 1 to 10 between the dividing lines is obtained. Using the variance and the average, a fitness function is obtained as shown in Equation 3 below.
Figure 112010007922915-pat00018

If you select the candidate string with the highest value for this fitted function, it becomes a real string.

삭제delete

삭제delete

그 후, 정확한 분할 과정(S180)이 행해진다.Thereafter, an accurate division process S180 is performed.

마지막으로 선택된 진짜 문자열 영상의 보다 정확한 분할을 위해서 각각의 분할선의 좌우에 기존의 분할선의 분산보다 작은 분산을 가진다면 계속 분할선을 이동시킨다. 이 과정을 분할선의 분산이 분할선 좌우의 분산보다 작을 때까지 반복한다. 그리하여 정확한 분할을 위한 최종 분할선을 선택한다.Finally, for more accurate segmentation of the selected real character string image, if there is a variance smaller than the variance of the existing dividing line to the left and right of each dividing line, the dividing line is continuously moved. This process is repeated until the variance of the dividing line is smaller than the variance of the left and right of the dividing line. Thus, select the final dividing line for accurate division.

마지막으로, 상하 위치 구별 과정(190)이 행해진다.Finally, a vertical position discrimination process 190 is performed.

도 11을 참조하면, 빈 공간이 S7에 위치하였는지 아니면 S4에 위치하였는지에 따라서 진짜 문자열의 상하를 결정하게 된다.Referring to FIG. 11, the top and bottom of the real character string are determined according to whether the empty space is located at S 7 or S 4 .

즉 빈공간이 S7에 위치하면 위치가 올바른 것이고, S4에 위치하면 위치가 뒤집어 진 것이므로 바로잡아 준다.In other words, if the empty space is located at S 7 , the position is correct. If it is located at S 4 , the position is reversed.

상기한 방법은 경계영상과 경계영상에 인접한 주변 화소들의 정보를 이용함으로써 기존의 문자열 추출 방법에 비해 조명의 변화에 덜 민감하고 복잡한 배경에서도 문자열 추출 성공률이 높다는 장점이 있다. 더 나아가, 많은 잡음 속에서도 문자열 내의 문자를 정확히 분할할 수 있고, 높은 인식률을 보여주고 있다. The above method has the advantage that the string extraction success rate is high even in a complex background, which is less sensitive to the change in illumination than the existing string extraction method by using the information of the boundary image and the neighboring pixels adjacent to the boundary image. Furthermore, even in a lot of noise, it is possible to accurately divide characters in a string and show a high recognition rate.

이상과 같이 본 발명은 비록 한정된 실시 예와 도면에 의해 설명되었으나, 본 발명은 상기의 실시 예에 한정되는 것은 아니며, 본 발명이 속하는 분야에서 통상의 지식을 가진 자라면 이러한 기재로부터 다양한 수정 및 변형이 가능하다.As described above, although the present invention has been described with reference to the limited embodiments and the drawings, the present invention is not limited to the above embodiments, and those skilled in the art to which the present invention pertains various modifications and variations from such descriptions. This is possible.

그러므로 본 발명의 범위는 설명된 실시 예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined not only by the claims below but also by the equivalents of the claims.

도 1은 본 발명의 실시 예에 따르는 슬래브 영상의 관리번호 자동 추출 방법을 보여주는 순서도이다.1 is a flowchart illustrating a method for automatically extracting a management number of a slab image according to an exemplary embodiment of the present invention.

도 2는 본 발명에 따르는 기계 또는 사람에 의해 실제 표기되어 입력되는 슬래브 영상들을 보여주는 예시도이다.2 is an exemplary view showing slab images that are actually marked and input by a machine or a person according to the present invention.

도 3은 본 발명에 따르는 도 2의 관리번호들이 실제로 각종 잡음과 섞여 입력된 슬래브 영상을 보여주는 예시도이다. FIG. 3 is an exemplary view showing a slab image in which management numbers of FIG. 2 according to the present invention are actually mixed with various noises.

도 4는 본 발명에 따르는 도 1에 도시한 본 발명에 따르는 슬래브 관리번호 자동 추출 방법(100)에서 도 2 및 도 3에 도시한 입력되는 슬래브 영상의 명암도 변환 과정(S110) 및 이진 변환 과정(S120)에 따르는 결과 영상의 실 예를 보여주는 예시도이다. 4 is a contrast conversion process (S110) and a binary conversion process of an input slab image shown in FIGS. 2 and 3 in the method 100 for automatically extracting a slab management number according to the present invention shown in FIG. 1 according to the present invention. It is an exemplary view showing an example of the resultant image according to S120).

도 5는 도 1에 도시한 본 발명에 따르는 슬래브 영상의 관리번호 자동 추출 방법(100)의 수평 경계 추출 과정(S130)에 따르는 결과 영상의 실 예를 보여주는 예시도이다.5 is an exemplary view showing an example of a result image according to the horizontal boundary extraction process (S130) of the method 100 for automatically extracting the management number of the slab image according to the present invention shown in FIG.

도 6은 본 발명에 따르는 도 5의 수평 경계 추출 과정(S130)이 완료된 영상의 실 예를 보여주는 예시도이다.FIG. 6 is an exemplary view showing an example of an image in which the horizontal boundary extraction process S130 of FIG. 5 according to the present invention is completed.

도 7은 본 발명에 따르는 도 6의 수직 경계 추출 과정(S150)이 완료된 영상의 실 예를 보여주는 예시도이다.FIG. 7 is an exemplary view showing an example of an image in which the vertical boundary extraction process S150 of FIG. 6 according to the present invention is completed.

도 8은 본 발명에 따르는 도 1의 슬래브 관리번호 자동 추출 방법(100)에서 도시한 후보 문자열 추출 과정(S160)의 실 예를 보여주는 예시도이다.8 is an exemplary view showing an example of the candidate character string extraction process (S160) shown in the slab management number automatic extraction method 100 of FIG. 1 according to the present invention.

도 9는 본 발명에 따르는 도 1의 슬래브 관리번호 자동 추출 방법(100)에서 도시한 문자성분 조합 과정(S170)을 보여주는 실 예이다.9 is an example showing the character component combining process (S170) shown in the slab management number automatic extraction method 100 of FIG. 1 according to the present invention.

도 10은 후보 문자성분들 간의 조합으로 좌우경계를 선택한 영상을 나타낸 도면이다.10 is a diagram illustrating an image in which a left and right boundary is selected as a combination between candidate character components.

도 11은 본 발명에 따르는 슬래브 영상의 관리번호를 표기한 기계의 인쇄체 구조를 나타낸 도면이다. 11 is a view showing the print structure of the machine noting the management number of the slab image according to the present invention.

도 12는 좌우경계가 선택된 영상들을 이용해서 진짜 문자열을 찾는 과정을 보여주는 영상을 나타낸 도면이다.FIG. 12 is a diagram illustrating an image of a process of finding a real character string using images selected by a left and right boundary.

Claims (9)

슬래브 영상의 관리번호 자동 추출 방법에 있어서,In the method of automatically extracting the management number of the slab image, 상기 슬래브 영상으로부터 명암도 영상을 추출하는 명암도 추출 과정과;Contrast extraction step of extracting the contrast image from the slab image; 상기 명암도 추출된 영상으로부터 이진 영상을 생성하는 이진화 과정과;A binarization process of generating a binary image from the extracted contrast image; 상기 이진화된 영상으로부터 프리위트의 수평경계 추출 필터를 이용해 수평방향의 경계를 추출하는 수평경계 추출과정과;A horizontal boundary extracting process of extracting a horizontal boundary from the binarized image using a horizontal boundary extracting filter of the sweetener; 상기 수평경계 추출된 영상을 수직으로 교차하는 2개의 직선을 이용하여 4개의 영역으로 설정하여 가로선과 세로선을 만드는 좌표 설정과정과;A coordinate setting process of creating a horizontal line and a vertical line by setting the horizontal boundary extracted image into four regions by using two straight lines crossing vertically; 상기 좌표 설정된 영상에 상기 4개의 영역별로 프리위트의 수직경계 추출 필터를 이용한 수직방향의 경계를 추출하는 수직경계 추출 과정과;A vertical boundary extraction process of extracting a boundary in a vertical direction using a vertical boundary extraction filter of a pre-suite for each of the four areas in the coordinated image; 상기 수직경계 추출된 영상과 상기 가로선을 이용하여 잡음 제거 및 후보 문자열을 추출하는 후보 문자열 추출과정과;A candidate string extraction process of extracting noise and extracting a candidate string using the vertical boundary extracted image and the horizontal line; 상기 후보 문자열들 중에서 등간격의 분할선을 이용한 분산의 합과 평균의 합을 이용한 적합 함수의 최대값을 가지고 있는 상기 관리번호에 대응되는 문자열을 선택하는 최종 문자열 선택 과정과;A final string selection process of selecting a character string corresponding to the control number having a maximum value of a fit function using a sum of variances and a sum of averages of the candidate strings from the candidate strings; 상기 최종 문자열에서 정확한 분할을 위하여 각각의 분할선의 좌우로 이동하면서 분할선의 화소값들의 분산과 분할선 좌우의 화소값들의 분산의 비교를 통해 개별 문자 분할 경계의 정확도를 향상시키는 정확한 분할 과정 및;An accurate division process for improving the accuracy of individual character division boundaries by comparing the dispersion of pixel values of the division line and the dispersion of pixel values on the left and right of the division line while moving to the left and right of each division line for accurate division in the final character string; 상기 정확한 분할이 된 문자열로부터 문자열의 상하 뒤집힘 유무를 판별하는 상하 뒤집힘 유무 판별 과정을 포함하여 구성되는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.Method for automatically extracting the management number of the slab image, characterized in that it comprises the up and down flipping determination process for determining whether the string is upside down from the correct divided string. 제 1항에 있어서, 상기 수평경계 추출 과정은The method of claim 1, wherein the horizontal boundary extraction process 상기 명암도 추출 과정 및 상기 이진화 과정이 끝나 후의 슬래브 영상에 대해서 수평투영프로파일을 수행하는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.Method for automatically extracting the management number of the slab image, characterized in that for performing the horizontal projection profile for the slab image after the contrast extraction process and the binarization process. 제 2항에 있어서, 상기 수평투영프로파일은The method of claim 2, wherein the horizontal projection profile 수평경계 추출필터를 통해서 추출된 경계값들에 대해서 수평방향으로 합을 계산한 후, 상기 합을 이용해서 평균을 구하고, 상기 평균을 기준으로 평균 이하인 영상의 영역을 잘라내고, 상기 평균보다 큰 영상의 영역만을 남겨서 상하 경계를 선택하는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.After calculating the sum in the horizontal direction with respect to the boundary values extracted through the horizontal boundary extraction filter, the average is calculated using the sum, the area of the image below the average is cut out based on the average, and the image larger than the average is obtained. Method for automatically extracting the management number of the slab image, characterized in that for selecting the upper and lower boundaries leaving only the region of. 제 1항에 있어서, 상기 후보 문자열 추출과정은The method of claim 1, wherein the extracting of the candidate string is performed. 상기 좌표 설정 과정에서의 상기 가로선을 기준으로 그 가로선과 만나는 성분을 후보 문자로 선택을 하고, 만나지 않는 것을 잡음으로 선택하여 삭제하고 후보군의 좌우경계를 결정짓는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.The control number of the slab image is automatically selected based on the horizontal line in the coordinate setting process, selecting a component that meets the horizontal line as a candidate character, selecting and deleting those not meeting as noise, and determining left and right boundaries of the candidate group. Extraction method. 제 4항에 있어서, 상기 좌우경계 결정은The method of claim 4, wherein the left and right boundary determination 상기 후보 문자로 선택한 성분들의 조합으로 만들 수 있는 모든 문자열들 중에 가로와 세로의 비율이 상기 슬래브 영상의 관리번호를 표기하는 기계가 인쇄한 문자열의 가로와 세로의 비율을 이용해서 후보 문자열이 결정되는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.Among all character strings that can be created by the combination of components selected as the candidate character, the ratio of the width and height is determined by using the ratio of the width and length of the string printed by the machine indicating the management number of the slab image. Method for automatically extracting the management number of the slab image, characterized in that. 제 1항에 있어서, 상기 최종 문자열 선택 과정은The method of claim 1, wherein the final string selection process is performed. 상기 후보 문자열들 중에서 등간격의 분할선을 만든 후, 상기 분할선 상에 있는 화소값들의 분산의 합과 분할선 사이에 있는 화소값들의 평균의 합을 이용해서 적합 함수를 만들고, 상기 적합 함수값이 최대가 되는 후보 문자열을 진짜 문자열이라고 결정짓는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.After making the division lines of equal intervals among the candidate character strings, a fitting function is made using the sum of the variance of the pixel values on the dividing line and the average of the pixel values between the dividing lines, and the fitting function value. A method for automatically extracting a management number of a slab image, wherein the maximum candidate string is determined to be a real string. 제 6항에 있어서, 상기 최종 문자열 선택 과정은The method of claim 6, wherein the final string selection process is performed. 동일 간격으로 있는 각각의 분할선을 좌우로 이동하면서 분할선 상의 화소값들의 분산을 구하고, 그 분산들간의 크기 비교를 통해서 최소의 분산을 갖는 분할선을 찾는 과정을 통해서 개별 문자 분할의 정확도를 향상시키는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.Improve the accuracy of individual character segmentation by finding the variance of pixel values on the dividing line by moving each dividing line at the same interval to the left and right, and finding the dividing line with the smallest variance by comparing the variances between the variances. Method for automatically extracting the management number of the slab image, characterized in that. 삭제delete 제 1항에 있어서, 상기 상하 뒤집힘 유무 판별 과정은 According to claim 1, wherein the up and down flipping determination process 상기 관리번호의 기 설정된 형식에서 빈 공간이라고 정의한 영역에 문자가 위치하면, 상기 문자열을 180도 회전시키는 것을 특징으로 하는 슬래브 영상의 관리번호 자동 추출 방법.If the character is located in the area defined as the empty space in the predetermined format of the management number, the management number automatic extraction method of the slab image, characterized in that for rotating the character string 180 degrees.
KR1020090066376A 2009-07-21 2009-07-21 Automatic localization method from identification numbers of slab image KR100977252B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090066376A KR100977252B1 (en) 2009-07-21 2009-07-21 Automatic localization method from identification numbers of slab image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090066376A KR100977252B1 (en) 2009-07-21 2009-07-21 Automatic localization method from identification numbers of slab image

Publications (1)

Publication Number Publication Date
KR100977252B1 true KR100977252B1 (en) 2010-08-23

Family

ID=42759879

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090066376A KR100977252B1 (en) 2009-07-21 2009-07-21 Automatic localization method from identification numbers of slab image

Country Status (1)

Country Link
KR (1) KR100977252B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08212297A (en) * 1995-02-07 1996-08-20 Toshiba Corp Character reader
JPH0981676A (en) * 1995-09-14 1997-03-28 Hitachi Eng Co Ltd Character segmentation device and character segmentation method
KR20050065883A (en) * 2003-12-26 2005-06-30 재단법인 포항산업과학연구원 Apparatus for recognizing number plate by using color image control

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08212297A (en) * 1995-02-07 1996-08-20 Toshiba Corp Character reader
JPH0981676A (en) * 1995-09-14 1997-03-28 Hitachi Eng Co Ltd Character segmentation device and character segmentation method
KR20050065883A (en) * 2003-12-26 2005-06-30 재단법인 포항산업과학연구원 Apparatus for recognizing number plate by using color image control

Similar Documents

Publication Publication Date Title
CN107093172B (en) Character detection method and system
KR100625755B1 (en) Character recognition apparatus, character recognition method, medium processing method and computer readable recording medium having character recognition program
CN104298982B (en) A kind of character recognition method and device
KR100927528B1 (en) Electronic watermark embedding device and detection device
CN101615252B (en) Method for extracting text information from adaptive images
JP6080259B2 (en) Character cutting device and character cutting method
CN105488492B (en) A kind of color image preprocess method, roads recognition method and relevant apparatus
JP2002133426A (en) Ruled line extracting device for extracting ruled line from multiple image
CN1312625C (en) Character extracting method from complecate background color image based on run-length adjacent map
KR101035768B1 (en) Method for setting lip region for lip reading and apparatus for the same
JP6115388B2 (en) License plate recognition device and license plate recognition method
KR101549495B1 (en) An apparatus for extracting characters and the method thereof
CN111461131A (en) Identification method, device, equipment and storage medium for ID card number information
JP7433887B2 (en) Devices, programs, and image processing methods for processing images
Çavdaroğlu et al. A character segmentation method to increase character recognition accuracy for Turkish number plates
KR100383858B1 (en) Character extracting method and device
US20080304746A1 (en) Method and apparatus for character string recognition
KR100977252B1 (en) Automatic localization method from identification numbers of slab image
CN102682308B (en) Imaging processing method and device
KR100995973B1 (en) Method for extracting adminstration number region from slab image
JP4244692B2 (en) Character recognition device and character recognition program
KR100954137B1 (en) Edge-based text localization and segmentation algorithms for automatic slab information recognition
JP2000357287A (en) Method and device for number plate recognition
CN109086766B (en) Multi-threshold fusion crown word number extraction method based on integral graph
KR100447268B1 (en) Method for eye detection from face images by searching for an optimal binarization threshold

Legal Events

Date Code Title Description
A201 Request for examination
A302 Request for accelerated examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee