KR100299725B1 - Character recognition apparatus and character recognition method - Google Patents

Character recognition apparatus and character recognition method Download PDF

Info

Publication number
KR100299725B1
KR100299725B1 KR1019980007800A KR19980007800A KR100299725B1 KR 100299725 B1 KR100299725 B1 KR 100299725B1 KR 1019980007800 A KR1019980007800 A KR 1019980007800A KR 19980007800 A KR19980007800 A KR 19980007800A KR 100299725 B1 KR100299725 B1 KR 100299725B1
Authority
KR
South Korea
Prior art keywords
stroke
character
strokes
correspondence
linear
Prior art date
Application number
KR1019980007800A
Other languages
Korean (ko)
Other versions
KR19990006359A (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 KR19990006359A publication Critical patent/KR19990006359A/en
Application granted granted Critical
Publication of KR100299725B1 publication Critical patent/KR100299725B1/en

Links

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/32Digital ink
    • 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/142Image acquisition using hand-held instruments; Constructional details of the instruments
    • G06V30/1423Image acquisition using hand-held instruments; Constructional details of the instruments the instrument generating sequences of position coordinates corresponding to handwriting
    • 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
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Abstract

본 발명은 온 라인으로 입력한 손으로 쓴 문자를 판독 출력하는 손으로 쓴 문자 인식에 있어서, 필순, 획수가 변동된 입력문자인 경우에도 인식 대상 문자를 고정밀도, 고속 순으로 인식하는 것을 목적으로 하는 것으로서, 입력수단(1)으로 손으로 쓴 문자(입력패턴)을 입력하고, 입력된 손으로 쓴 문자를 구성하는 스트로크의 특징을 스트로크 추출수단(2)으로 추출하여, 이 특징에 근거하여 스트로크 분류수단(4)으로 스트로크를 직선 스트로크, 비직선 스트로크, 연속 문자 스트로크로 분류하며, 분류된 각 스트로크의 특징을 직선 스트로크 대응 부가 수단(5), 비직선 스트로크 대응 부가 수단(7), 연속문자 스트로크 대응 부가 수단(8)으로 스트로크 특징 사전(3)에 격납되어 있는 인식대상 문자(표준패턴)의 스트로크 특징과 대응 부가를 행하고, 이 결과에 근거하여 문자평가수단(10)에서 손으로 쓴 문자를 인식하도록 구성하고, 연속 문자 스트로크 대응부가 수단(8)은 직선 스트로크 대응부가 수단(5) 또는 비직선 스트로크 대응부가 수단(7)에 의해 대응 부가된 인식 대상 문자에 관해 대응 부가를 행하는 것이다.The present invention relates to a handwritten character recognition method and apparatus for recognizing handwritten characters inputted on-line in a high-precision and high-speed order, (Input pattern) is inputted to the input means 1, the stroke extracting means 2 extracts the feature of the stroke constituting the input hand-written character, and based on this feature, The classifying means 4 classifies the stroke into a linear stroke, a non-linear stroke, and a continuous character stroke, and characterizes each of the classified strokes by means of the linear stroke corresponding means 5, the non-linear stroke corresponding means 7, The stroke feature corresponding to the character to be recognized (standard pattern) stored in the stroke feature dictionary 3 is associated with the stroke feature by the stroke correspondence adding means 8, And the character string evaluating means (10) is adapted to recognize the handwritten character and the continuous character stroke correspondence adding means (8) corresponds to the linear stroke correspondence adding means (5) or the nonlinear stroke correspondence adding means And performs correspondence addition with respect to the added recognition target character.

Description

문자 인식 장치 및 문자 인식 방법Character recognition apparatus and character recognition method

본 발명의 태블릿상에 펜으로 필기된 손으로 쓴 문자를 읽어들인 손으로 쓴 문자 인식에 관한 것으로서, 손으로 쓴 문자에 대해 문자를 구성하는 각 스트로크로 분류하고, 분류된 스트로크의 특징에 근거하여 인식 대상 문자를 인식하는 문자 인식 장치 및 문자 인식 방법에 관한 것이다.The present invention relates to hand-written character recognition that reads handwritten characters written with a pen on a tablet of the present invention. The handwritten characters are classified into respective strokes constituting a character, and based on the characteristics of the classified strokes To a character recognition apparatus and a character recognition method for recognizing a character to be recognized.

종래의 필순 변동 및 획수 변동의 양쪽을 흡수하는 온라인 수기(손으로 쓴) 문자 인식 장치는, 손으로 쓴 문자의 스트로크를 특징점 열로 기술하고, 스트로크 결합은 필순대로 생긴다는 가정에 의거하여, 과잉 대응 해소형과 부족 대응 해소형과 같은 2개의 상보적인 최적 대응 부가 알고리즘에 의해, 필순·획수 변동을 포함한 손으로 쓴 문자 패턴의 스트로크와 필순·획수가 바른 해서체에 의한 표준 문자 패턴의 스트로크를 1 대 1로 대응 부가함으로써 필순 변동을 흡수하고, 미대응의 스트로크에 관해서는 전후의 스트로크에 결합된 경우에 가장 작은 거리가 되는 대응부가에 의해 획수 변동을 흡수하며, 문자 인식을 행하였다(스트로크 대응 부가에 의한 온라인 수기 한자 인식, NTT R & D Vol. 45 No.11 1996).An on-line handwriting (handwritten) character recognition apparatus that absorbs both of the conventional handwriting fluctuation and the stroke number fluctuation describes the strokes of handwritten characters as feature point arrays, and based on the assumption that stroking occurs in the order of strokes, The two complementary optimal correspondence addition algorithms, such as solving type and lacking correspondence solving type, allow strokes of a handwritten character pattern including a stroke and a stroke count variation, strokes of a standard character pattern by a handwritten stroke number 1, and the stroke corresponding to the stroke corresponding to the strokes is absorbed by the corresponding portion having the smallest distance in the case where the strokes are combined with the strokes before and after the strokes, On-line handwritten Chinese character recognition, NTT R & D Vol. 45 No.11 1996).

예를 들면, 도 34는 종래 예에 예시된 필순·획수 변동을 흡수하는 종래 장치의 구성을 도시한 블럭도이다. 도 34에 있어서, 201은 태블릿상에 펜으로 필기한 손으로 쓴 문자인 입력 패턴을 입력하는 입력수단, 202는 입력 패턴의 표본화, 위치, 크기 등의 정규화를 행하는 전처리 수단, 203은 입력 패턴을 구성하는 각 스트로크를 등간격으로 새긴 점을 특징점으로서 추출하는 특징점 추출 수단, 204는 정확한 필순·획수로 필기된 다수의 해서 문자로 작성된 평균적인 문자 패턴인 표준 패턴을 격납한 표준 패턴 사전, 205는 입력 패턴의 스트로크와 표준 패턴의 스트로크의 스트로크간 거리를 계산하는 스트로크간 거리 계산 수단, 206은 2종류의 상보적인 탐색 알고리즘에 의해 입력 패턴의 스트로크와 표준 패턴의 스트로크와의 1 대 1의 대응 부가에 의해 필순 변동을 흡수하는 1 대 1 스트로크 대응부가 수단, 207은 표준 패턴 중의 미대응 스트로크를 전후의 스트로크에 결합함으로써 획수 변동을 흡수하는 선택적 스트로크 결합수단, 208은 대응부가 결과를 토대로 패턴간 거리를 산출하는 패턴간 거리 산출 수단, 209는 각 수단을 제어하는 제어수단이다.For example, FIG. 34 is a block diagram showing the configuration of a conventional apparatus for absorbing the fluctuation in the number of strokes and strokes exemplified in the conventional example. In Fig. 34, reference numeral 201 denotes input means for inputting an input pattern which is a handwritten character written on the tablet with a pen, reference numeral 202 denotes a preprocessing means for performing normalization such as sampling, position and size of an input pattern, 204 is a standard pattern dictionary storing a standard pattern which is an average character pattern written in a plurality of letters written in correct stroke order and stroke count, 205 is a standard pattern dictionary storing a standard pattern, A stroke calculation means 206 for calculating a distance between a stroke of the input pattern and a stroke of the standard pattern stroke, 206 denotes a one-to-one correspondence between the strokes of the input pattern and the strokes of the standard pattern by two types of complementary search algorithms One-stroke countermeasure adding means 207 for absorbing the fluctuation of the peeling order by the reference numeral 207, By selectively combining the stroke engagement means for absorbing the fluctuation of strokes, 208 is a pattern distance calculating means for calculating a distance between the pattern based on the corresponding additional results, 209 is a control means for controlling the respective means.

도 34의 블럭도를 참조하여 종래 예의 동작을 설명한다. 먼저, 제어수단(209)은 입력수단에 지시하고, 입력 패턴을 입수한다.The operation of the conventional example will be described with reference to the block diagram of FIG. First, the control means 209 instructs the input means to obtain an input pattern.

다음에, 제어수단(209)은 입력수단(201)에 의해 입력된 입력 패턴을 전처리 수단(202)으로 이송하고, 표본화, 위치·크기의 정규화를 행한다.Next, the control means 209 transfers the input pattern input by the input means 201 to the preprocessing means 202, and performs sampling, normalization of the position and size.

제어수단(209)은 전처리 후의 입력패턴을 특징점 추출수단(203)으로 이송하고, 입력패턴을 입력패턴의 각 스트로크상을 등간격으로 새긴 특징점 열로 변환한다.The control means 209 transfers the pre-processed input pattern to the feature point extracting means 203, and converts the input pattern into feature point rows formed at regular intervals on each stroke of the input pattern.

제어수단(209)은 입력패턴의 특징점 열을 1 대 1 스트로크 대응부가 수단(206)으로 보낸다. 1 대 1 스트로크 대응부가 수단(206)은 입력 패턴과 표준 패턴 사전(204)의 표준 패턴을 스트로크 수가 적은 쪽의 스트로크를 기준으로 각 특징점을 과잉의 대응부가 없도록 대응부가를 행한다(과잉 대응 해소형의 대응부가 알고리즘).The control means 209 sends the feature point sequence of the input pattern to the one-to-one stroke correspondence adding means 206. The one-to-one stroke countermeasure adding means 206 performs the correspondence addition so that the input pattern and the standard pattern of the standard pattern dictionary 204 are such that there is not an excessive correspondence portion of each feature point on the basis of the stroke with the smallest stroke number (the over- A corresponding addition algorithm of FIG.

다음에, 1 대 1 스트로크 대응부가 수단(206)은 입력패턴과 표준 패턴 사전(204)의 표준 패턴을 스트로크 수가 많은 쪽의 스트로크를 기준으로 각 특징점을 부족한 대응부가가 없도록 대응부가를 행한다(부족 대응 해소형의 대응 부가 알고리즘).Next, the one-to-one stroke countermeasure adding means 206 performs counterparting so that the input pattern and the standard pattern of the standard pattern dictionary 204 have no corresponding portion lacking each characteristic point based on the stroke of the larger stroke number A corresponding solution type of the corresponding solution type).

상기 2개의 대응 부가 알고리즘에 의해 얻어진 대응 부가 결과 중, 거리가 작은 결과를 최종적인 1 대 1 스트로크 대응 부가 수단(206)에서 얻은 결과로 한다.A result obtained by the final one-to-one-stroke countermeasure adding means 206 as a result of the smallest distance among the corresponding addition results obtained by the two counterpart attachment algorithms.

여기에서, 대응 부가시에 스트로크간 거리 산출 수단(205)에서 산출하는 거리에는 개시점간 및 종료점 간의 거리의 합을 2로 나눈 값인 끝점 매칭 거리, 점수가 적은 쪽의 스트로크의 점을 점수가 많은 쪽의 스트로크의 선두점으로부터 순서대로 대응 부가하여 점간 거리의 합을 산출하여 점수비를 곱한 값인 부분 매칭을 사용한다.Here, the distance calculated by the inter-stroke distance calculating means 205 at the time of the corresponding addition is calculated by dividing the sum of the distances between the start points and the end points by 2, that is, the end point matching distance, The partial matching is a value obtained by multiplying the point ratio by calculating the sum of the point-to-point distances corresponding to the starting point of the stroke on the side of the stroke.

다음에, 선택적 스트로크 결합수단(207)은 1 대 1 스트로크 대응 부가 수단(206)에 의해 대응 부가된 스트로크를 스트로크가 많은 쪽의 필순에 맞추어 나열한다. 1 대 1 스트로크 대응부가 수단(206)으로 대응 부가된 스트로크에 관해서는「스트로크의 결합은 필순대로 생긴다」라는 가정에 근거하여 스트로크의 결합을 행한다.Next, the selective stroke combining means 207 arranges the strokes corresponding to one another by the one-stroke corresponding means 206 in accordance with the stroke order of the many strokes. With respect to the strokes corresponding to each other by the one-to-one stroke countermeasure adding means 206, the strokes are combined based on the assumption that the engagement of the strokes occurs in the order of the strokes.

구체적으로는 1 대 1 스트로크 대응 부가 수단(206)에 의해 대응 부가된 스트로크의 선두 스트로크 보다 먼저 필기된 미대응의 스트로크에 관해서는 선두 스트로크에 필순대로 결합된다. 마찬가지로 최종 스트로크보다 뒤에 필기된 미대응의 스트로크에 관해서는 최종 스트로크에 필순대로 결합된다. 그외의 미대응 스트로크는 1 대 1 스트로크 대응 부가 수단(206)으로 대응 부가된 스트로크 중의 어느 하나의 스트로크 사이에 존재하기 때문에, 미대응의 스트로크를 전후의 스트로크와 일단 결합시키고, 2개의 스트로크간 거리가 최소로 되는 곳에서 절단됨으로써 2개의 스트로크로 나눈다.Concretely, the non-corresponding strokes written before the leading strokes of the strokes corresponding to each other by the one-to-one stroke countermeasure means 206 are joined in the order of the leading strokes. Similarly, with respect to unstable strokes written after the final strokes, the strokes are concatenated in the order of the final strokes. Since the other non-corresponding strokes exist between any one of the strokes corresponding to the one-to-one stroke corresponding means 206, it is possible to combine the non-corresponding strokes with the front and rear strokes once, Is cut to the minimum, thereby dividing into two strokes.

여기서, 선택적 스트로크 결합수단(207)에서는 점수가 많은 쪽의 스트로크의 점을 등간격으로 솎아내어 적은 쪽의 점수에 맞추어 순서대로 대응 부가하여 점간 거리의 합을 산출하고, 적은 쪽의 점수로 나눈 값인 전체 매칭 거리를 사용한다. 다만, 고속화를 위해 큰 분류 처리에서는 끝점 매칭 거리를 사용한다.Here, the selective stroke combining means 207 calculates the sum of the distances between the points on the side having the higher score at regular intervals, corresponding to the score of the smaller one, and dividing the sum by the score Use the entire matching distance. However, the endpoint matching distance is used in the large classification process for high speed.

마지막으로, 대응 부가된 결과에서, 결합 스트로크에 관해서는 적당한 거리의 정규화를 행하여, 최종적인 거리를 산출하고, 가장 거리가 작은 문자를 인식결과로 한다.Finally, with respect to the combined stroke, a proper distance is normalized to calculate the final distance, and the character having the smallest distance is determined as the recognition result.

상술한 바와 같이 종래 예의 필순· 획수 변동을 흡수하는 문자 인식장치에서는 손으로 쓴 문자의 각 스트로크를 등간격으로 새긴 특징점 열을 사용하여, 스트로크간 거리를 구하고 있기 때문에, 붓끝을 위로 치켜 올리는 필법에 의한 글씨, 억누름 등의 잡음성분이나 스트로크의 변형, 위치 어긋남에 의한 특징점의 좌표치의 어긋남이 스트로크 거리에 영향을 주게 되어, 오판독의 원인이 되는 문제점이 있었다.As described above, in the conventional character recognition apparatus for absorbing fluctuation in the order of strokes and the number of strokes, the distance between strokes is obtained by using the feature point row in which each stroke of the handwritten character is equally spaced. Therefore, A distortion of a stroke or a noise component such as a character or a distortion of a stroke caused by a positional shift, and a shift of a coordinate value of a minutiae due to a positional shift affect the stroke distance.

또한, 한자 등의 획수가 많은 문자에서는 개개의 스트로크는 단순한 직선 스트로크로 구성되는 것이 많기 때문에, 스트로크내의 특징점은 중요한 정보를 포함하지 않음에도 불구하고, 특징점 레벨로 대응부가를 행하기 때문에, 대응 부가에 시간이 걸리며, 좌표치의 어긋남의 영향을 쉽게 받는다는 문제점이 있었다.In the case of a character with many strokes such as Chinese characters, individual strokes are often composed of simple straight strokes. Therefore, even though the minutiae in the stroke do not contain important information, And it is easily affected by the deviation of the coordinate values.

또한, 획수 변동 흡수시에, 계산량을 감소하기 위해서「스트로크의 결합은 필순대로 생긴다」라는 가정을 사용하고 있고, 획수 변동이 필순대로 생기지 않는 변동에는 대응할 수 없다고 하는 문제점이 있었다.In order to reduce the amount of calculation in absorbing the stroke variation, there is a problem in that the assumption that "the combination of strokes occurs in the order of stroke" is used, and that the stroke variation can not cope with fluctuations that do not occur in the order of the strokes.

본 발명은 상기한 바와 같은 문제점을 해결하기 위해서 이루어진 것으로서, 필순·획수가 변동된 손으로 쓴 문자의 스트로크와 스트로크 사전의 스트로크의 대응부가를 완전히 행할 수 있어, 스트로크가 국소적인 변형이나 위치 어긋남의 영향을 받기 어려운 고정도(高精度)의 오차를 실현함과 동시에, 고속으로 문자 인식이 가능한 문자 인식 장치 및 문자 인식 방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned problems, and it is an object of the present invention to provide a stroke control device and a stroke control method, It is an object of the present invention to provide a character recognition apparatus and a character recognition method capable of achieving high-precision errors that are difficult to be affected and capable of character recognition at high speed.

제 1 발명은, 손으로 쓴 문자를 온 라인으로 입력하는 입력수단과, 다수의 인식 대상 문자에 대하여 각 인식 대상 문자를 구성하는 직선 스트로크 및 비직선 스트로크의 특징이 이미 격납된 스트로크 특징 사전과, 상기 입력수단에 의해 입력된 상기 손으로 쓴 문자로부터 이 손으로 쓴 문자를 구성하는 스트로크의 특징을 추출하는 스트로크 특징 추출수단과, 상기 스트로크 특징 추출 수단에 의해 추출된 특징에 근거하여, 상기 손으로 쓴 문자의 각 스트로크를, 상기 직선 스트로크, 상기 비직선 스트로크 또는 상기 인식 대상 문자를 구성하는 스트로크와의 대응부가가 불가능한 연속 문자 스트로크 중의 어느 하나로 분류하는 스트로크 분류수단과, 상기 스트로크 분류 수단에 의해 분류된 직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크의 특징의 대응 부가를 행하는 직선 스트로크 대응 부가 수단과, 상기 스트로크 분류 수단에 의해 분류된 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 비직선 스트로크의 특징의 대응부가를 행하는 비직선 스트로크 대응 부가 수단과, 상기 스트로크 분류 수단에 의해 분류된 연속 문자 스트로크를, 상기 직선 스트로크 또는 상기 비직선 스트로크로 분할하여, 이 분할된 직선 스트로크 또는 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크 또는 비직선 스트로크의 특징의 대응부가를 행하는 연속 문자 스트로크 대응 부가 수단과, 상기 직선 스트로크 대응 부가 수단, 상기 비직선 스트로크 대응부가 수단 또는 상기 연속 문자 스트로크 대응 부가 수단에 의해 얻어진 대응 부가 결과에 의거하여, 상기 손으로 쓴 문자를 인식하는 문자 평가 수단을 구비하며, 상기 연속 문자 스트로크 대응 부가 수단은, 상기 직선 스트로크 대응 부가 수단 또는 상기 비직선 스트로크 대응 부가 수단에 의해 대응 부가된 상기 인식 대상 문자에 대하여 대응 부가를 행하는 것이다.A stroke feature dictionary in which features of straight stroke and non-straight stroke constituting respective recognition target characters for a plurality of recognition target characters are already stored; A stroke feature extraction means for extracting a feature of a stroke constituting the handwritten character from the handwritten character inputted by the input means, and a stroke feature extraction means for extracting, based on the feature extracted by the stroke feature extraction means, Stroke classifying means for classifying each stroke of the written character into one of the straight stroke, the non-linear stroke, or a continuous character stroke in which the corresponding character can not be matched with the stroke constituting the recognition target character; And the stroke characteristics are stored in advance. Linear stroke correspondence adding means for adding a feature of a linear stroke constituting a character to be expressed to a character string to be recognized and a nonlinear stroke characterizing means for characterizing a nonlinear stroke characterized by the stroke classifying means and a non- Linear strokes corresponding to the characteristics of the straight strokes; and a nonlinear stroke corresponding addition means for assigning the characteristics of the linear strokes so as to correspond to the characteristics of the straight stroke or the nonlinear stroke, Continuous stroke correspondence adding means for adding a feature of a stroke and a feature of a straight stroke or a non-straight stroke constituting a recognition target character stored in advance in the stroke feature, Additional means or phase And a character evaluation means for recognizing the handwritten character based on a result of the correspondence result obtained by the consecutive character stroke correspondence adding means, wherein the continuous character stroke correspondence adding means comprises: And the correspondence is added to the character to be recognized corresponding thereto by the linear stroke correspondence adding means.

제 2 발명은, 손으로 쓴 문자를 온라인으로 입력하는 입력 단계와, 상기 입력 단계에 의해 입력된 상기 손으로 쓴 문자로부터 이 손으로 쓴 문자를 구성하는 스트로크의 특징을 추출하는 스트로크 특징 추출 단계과, 이 스트로크 특징 추출 단계에 의해 추출된 특징에 근거하여, 상기 손으로 쓴 문자의 각 스트로크를, 상기 직선 스트로크, 상기 비직선 스트로크 또는 상기 인식 대상 문자를 구성하는 스트로크와의 대응 부가가 불가능한 연속 문자 스트로크 중의 어느 하나로 분류하는 스트로크 분류 단계과, 이 스트로크 분류 단계에 의해 분류된 직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크의 특징의 대응 부가를 행하는 직선 스트로크 대응 부가 단계과, 상기 스트로크 분류 단계에 의해 분류된 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 비직선 스트로크의 특징의 대응 부가를 행하는 비직선 스트로크 대응 부가 단계과, 상기 스트로크 분류 단계에 의해 분류된 연속 문자 스트로크를, 상기 직선 스트로크 또는 상기 비직선 스트로크로 분할하여, 이 분할된 직선 스트로크 또는 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크 또는 비직선 스트로크의 특징의 대응 부가를 행하는 연속 문자 스트로크 대응 부가 단계과, 상기 직선 스트로크 대응 부가 단계, 상기 비직선 스트로크 대응 부가 단계 또는 상기 연속 문자 스트로크 대응 부가 단계에 의해 얻어진 대응 부가 결과에 의거하여, 상기 손으로 쓴 문자를 인식하는 문자 평가 단계을 구비하는 것이다.A second aspect of the present invention is a stroke characterizing method comprising the steps of: inputting a handwritten character on-line; extracting a stroke character constituting the handwritten character from the handwritten character input by the inputting step; Wherein each stroke of the handwritten character is divided into a plurality of consecutive character strokes that can not be matched with the stroke constituting the straight stroke, the non-straight stroke, or the character to be recognized, based on the feature extracted by the stroke feature extracting step A linear stroke correspondence adding step of performing correspondence between the characteristics of the straight stroke classified by the stroke classification step and the characteristics of the straight stroke constituting the recognition target character stored in the stroke characteristic dictionary; Wherein the stroke classification step A nonlinear stroke correspondence addition step of performing a correspondence between a characteristic of a straight stroke and a characteristic of a nonlinear stroke constituting a recognition target character stored in advance in the stroke characteristic; Stroke strokes and the nonlinear strokes, and the character string is divided into a non-linear stroke and a non-linear stroke, and a continuous character or a non-linear stroke constituting the recognition target character stored in the stroke characteristic dictionary, And a character evaluation step of recognizing the handwritten character based on the stroke corresponding addition step, the linear stroke corresponding addition step, the nonlinear stroke corresponding addition step or the corresponding addition result obtained by the continuous character stroke corresponding addition stepA.

제 3 발명은, 상기 연속 문자 스트로크 대응 부가 단계는, 상기 직선 스트로크 대응 부가 단계 또는 상기 비직선 스트로크 대응 부가 단계에 의해 대응 부가된 상기 인식 대상 문자에 관해 대응 부가를 행하는 것이다.According to a third aspect of the present invention, the step of adding the continuous character strokes corresponds to the step of responding to the character to be recognized, to which the step corresponding to the straight stroke corresponds or the step corresponding to the nonlinear stroke.

도 1은 실시예 1의 문자인식 장치의 구성도.1 is a configuration diagram of a character recognition apparatus according to a first embodiment;

도 2는 실시예 1의 문자인식 장치의 처리 흐름을 도시한 흐름도.2 is a flowchart showing a process flow of the character recognition apparatus according to the first embodiment;

도 3은 실시예 1의 입력수단(1)에 필기된 입력 패턴「亞」을 도시한 도면.Fig. 3 shows an input pattern " region " written in the input means 1 of Embodiment 1. Fig.

도 4는 실시예 1의 스트로크 특징 추출수단(2)에서 추출된 입력패턴의 스트로크 특징을 도시한 도면.4 is a diagram showing stroke characteristics of an input pattern extracted by the stroke feature extracting means 2 of the first embodiment;

도 5는 실시예 1의 스트로크 특징 중의 스트로크의 방향, 가상 스트로크의 방향을 16 방향으로 양자화하기 위한 방향의 할당을 도시한 도면.Fig. 5 is a view showing allocation of directions of strokes in the stroke characteristics of Embodiment 1, and directions for quantizing the directions of virtual strokes in 16 directions. Fig.

도 6은 실시예 1의 스트로크 분류수단의 처리의 흐름을 도시한 흐름도.6 is a flow chart showing the flow of processing of the stroke classifying means according to the first embodiment;

도 7은 실시예 1의 스트로크 분류수단이 방향 성분 분포를 구할 때에 사용하는 8방향 성분 분포를 도시한 도면.Fig. 7 is a view showing an 8-way component distribution used when the stroke classifying means of the first embodiment obtains a direction component distribution; Fig.

도 8은 실시예 1의 직선 스트로크 대응 부가 수단(5)의 처리 흐름을 도시한 흐름도.8 is a flowchart showing the processing flow of the linear stroke corresponding means 5 of the first embodiment;

도 9a 및 도 9b는 실시예 1의 스트로크 대응 부가 가능영역 결정수단(6)이 직선 스트로크의 대응부가의 경우에 사용하는 영역 분할을 도시한 도면.Figs. 9A and 9B are diagrams showing area division used when the stroke correspondence attachable area determining means 6 of the first embodiment is a corresponding portion of a straight stroke. Fig.

도 10은 실시예 1의 스트로크 대응 부가 가능영역 결정수단(6)이 사용하는 대응 부가 영역 결정을 위한 정보를 도시한 도면.10 is a view showing information for determining a corresponding supplementary area used by the stroke correspondence addition possible area determining means 6 of the first embodiment;

도 11은 실시예 1의 입력 스트로크의 대응 부가 가능 영역을 도시한 도면.11 is a diagram showing a correspondence attachable area of the input stroke of the first embodiment;

도 12는 실시예 1의 스트로크 특징 사전 중의 문자「亞」의 표준 패턴의 스트로크열 을 도시한 도면.12 is a diagram showing a stroke column of a standard pattern of the character " a " in the stroke feature dictionary of the embodiment 1. Fig.

도 13은 실시예 1의 스트로크 특징 사전 중의 문자「亞」의 표준 패턴에 있어서의 스트로크 특징을 도시한 도면.Fig. 13 is a diagram showing stroke characteristics in a standard pattern of the character " a " in the stroke feature dictionary of the first embodiment; Fig.

도 14는 실시예 1의 직선 스트로크 대응 부가 수단(5), 비직선 스트로크 대응 부가 수단(7), 연속문자 스트로크 대응 부가 수단(8)에서 사용하는 스트로크 형상에 따라서 대응부가의 가부를 나타내는 도면.Fig. 14 is a diagram showing the corresponding portion according to the stroke shape used in the linear stroke corresponding means 5, the non-linear stroke corresponding means 7 and the continuous character stroke corresponding means 8 of the first embodiment;

도 15는 실시예 1의 직선 스트로크 대응 부가 수단(5)에 있어서의 후보 스트로크의 압축의 형태를 도시한 도면.15 is a diagram showing a form of compression of candidate strokes in the linear stroke corresponding means 5 of the first embodiment;

도 16은 실시예 1의 비직선 스트로크 대응 부가 수단(7)의 처리 흐름을 도시한 흐름도.16 is a flowchart showing the processing flow of the nonlinear stroke countermeasure adding means 7 of the first embodiment;

도 17은 실시예 1의 연속문자 스트로크 대응 부가 수단(8)의 처리의 흐름을 도시한 흐름도.17 is a flowchart showing the flow of processing of the continuous character stroke corresponding means 8 of the first embodiment;

도 18은 실시예 1의 스트로크 대응 부가 가능 영역 결정수단(6)이 직선 스트로크 이외의 대응부가의 경우에 사용하는 영역 분할을 도시한 도면.18 is a diagram showing a region division used in the case where the stroke corresponding area determining means 6 of the first embodiment is a corresponding portion other than the linear stroke;

도 19는 실시예 1의 입력패턴의 각 스트로크가 스트로크 대응 부가 가능영역 결정수단(6)에서 사용하는 영역의 어디에 존재하고 있는가를 도시한 도면.Fig. 19 is a diagram showing where the respective strokes of the input pattern of the first embodiment exist in the area used by the stroke-area-addition possible region determining means 6. Fig.

도 20은 실시예 1의 단계 S54 처리의 상세한 처리의 흐름을 도시한 흐름도.20 is a flowchart showing a flow of detailed processing in step S54 in the first embodiment;

도 21은 실시예 1의 표준 패턴의 스트로크에 있어서의 특징점을 도시한 도면.Fig. 21 is a diagram showing characteristic points in the stroke of the standard pattern of the first embodiment; Fig.

도 22는 실시예 1의 입력패턴의 스트로크를 일정 간격으로 샘플링한 샘플링점을 도시한 도면.22 is a view showing sampling points obtained by sampling the strokes of the input pattern according to the first embodiment at regular intervals;

도 23은 실시예 1의 표준 패턴의 특징점과, 입력 패턴의 샘플링 점과의 대응 부가 결과를 도시한 도면.23 is a diagram showing the result of adding the minutiae point of the standard pattern of the first embodiment and the sampling point of the input pattern.

도 24는 실시예 1의 입력패턴을 표준 패턴의 스트로크에 함유시켜 분단한 스트로크를 도시한 도면.24 is a diagram showing a stroke in which the input pattern of Embodiment 1 is divided into strokes of a standard pattern.

도 25는 실시예 1의 입력수단(1)에 필기된 문자「言」의 각 스트로크를 도시한 도면.25 is a diagram showing each stroke of a character " WORD " written in the input means 1 of the first embodiment;

도 26은 실시예 1의 입력패턴의 각 스트로크가 스트로크 대응 부가 가능영역결정수단(6)에서 사용하는 영역의 어디에 존재하고 있는가를 도시한 도면.26 is a diagram showing where each stroke of the input pattern of the first embodiment exists in the area used by the stroke-corresponding addition area determining means 6. Fig.

도 27은 실시예 1의 스트로크 특징 사전(3) 중의 문자「言」의 표준 패턴을 도시한 도면.27 is a view showing a standard pattern of a character " word " in the stroke feature dictionary (3) according to the first embodiment;

도 28은 실시예 1의 부분 스트로크의 대응부가의 상세한 처리의 흐름을 도시한 흐름도.28 is a flow chart showing the flow of detailed processing of the corresponding portion of partial strokes of Embodiment 1. Fig.

도 29는 실시예 1의 입력패턴의 연속문자 스트로크의 분단 후보점을 도시한 도면.29 is a diagram showing division candidate points of consecutive character strokes of the input pattern according to the first embodiment;

도 30은 실시예 1의 부분 스트로크를 도시한 도면.30 is a view showing a partial stroke of the first embodiment;

도 31은 도 28의 단계 S72 처리의 상세한 흐름을 도시한 흐름도.FIG. 31 is a flowchart showing a detailed flow of the process of step S72 of FIG. 28; FIG.

도 32는 도30의 부분 스트로크에서 얻어진 분단 스트로크를 도시한 도면.32 is a view showing the division stroke obtained in the partial stroke of FIG. 30;

도 33은 부분 스트로크에서 얻어진 분단 스트로크를 도시한 도면.33 is a view showing the division stroke obtained in the partial stroke;

도 34는 종래의 온 라인 문자 인식 장치의 구성도.34 is a configuration diagram of a conventional on-line character recognition apparatus.

* 도면의 주요 부분에 대한 부호의 설명*Description of the Related Art [0002]

1: 입력수단 2: 스트로크 특징 추출 수단1: Input means 2: Stroke feature extracting means

3: 스트로크 특징 사전 4: 스트로크 분류수단3: stroke characteristic dictionary 4: stroke classification means

5: 직선 스트로크 대응 부가 수단5: means for adding a linear stroke

6: 스트로크 대응 부가 가능영역 결정수단6: stroke correspondence attachable area determining means

7: 비직선 스트로크 대응 부가 수단7: Non-linear stroke countermeasure attachment means

8: 연속문자 스트로크 대응부가 수단8: Continuous character stroke countermeasure adding means

9: 부분 스트로크 추출수단 10: 문자평가 수단9: partial stroke extracting means 10: character evaluation means

11: 제어수단11: Control means

(실시예 1)(Example 1)

이하, 실시예 1을 도면을 참조하여 설명한다.Hereinafter, Embodiment 1 will be described with reference to the drawings.

도 1은 본 발명의 문자 인식 장치의 구성도이고,1 is a configuration diagram of a character recognition apparatus according to the present invention,

도면에 있어서, 1은 태블릿형 입력장치에 문자를 손으로 써서 입력하는 입력수단, 2는 입력수단(1)에 의해 입력된 손으로 쓴 문자로부터 이 손으로 쓴 문자를 구성하는 스트로크의 특징을 추출하는 스트로크 특징 추출 수단, 3은 복수의 인식 대상 문자에 대하여, 정확한 필순대로 기록된 각 인식 대상 문자인 표준 패턴을 구성하는 직선 스트로크 및 비직선 스트로크의 스트로크 특징이 미리 격납된 스트로크 특징 사전, 4는 스트로크 특징 추출 수단(2)에 의해 추출된 특징에 의거하여, 손으로 쓴 문자의 각 스트로크를, 직선 스트로크, 비직선 스트로크, 연속 문자 스트로크 중의 어느 하나로 분류하는 스트로크 분류 수단이다.In the figure, reference numeral 1 denotes an input means for inputting a character by hand to the tablet type input device, 2 denotes a feature extracting means for extracting a feature of a stroke constituting the handwritten character from the handwritten character input by the input means 1 3 is a stroke feature dictionary in which stroke characteristics of linear strokes and non-linear strokes constituting a standard pattern, which are each character to be recognized, recorded in correct pilt order, are stored in advance in a plurality of recognition target characters; Stroke stroke classifying means for classifying each stroke of a handwritten character into one of a linear stroke, a non-linear stroke, and a continuous character stroke based on the characteristic extracted by the stroke characteristic extracting means (2).

5는 상기 스트로크 분류 수단(4)으로 분류된 직선 스트로크의 특징과 스트로크 특징 사전(3)에 격납된 표준 패턴을 구성하는 직선 스트로크의 특징의 대응 부가를 행하는 직선 스트로크 대응 부가 수단, 6은 스트로크 특징 추출 수단(2)에 의해 추출된 특징에 근거하여, 손으로 쓴 문자의 각 스트로크의 존재 영역을 결정하는 스트로크 대응 부가 영역 결정 수단, 7은 스트로크 분류 수단(4)에 의해 분류된 비직선 스트로크의 특성과 스트로크 특징과 스트로크 특징 사전(3)에 격납된 표준 패턴을 구성하는 비직선 스트로크의 특징의 대응 부가를 행하는 비직선 스트로크 대응 부가 수단, 8은 스트로크 분류 수단에 의해 분류된 연속 문자 스트로크를, 직선 스트로크 또는 비직선 스트로크로 분할하여 이 분할된 직선 스트로크 또는 비직선 스트로크의 특징과 스트로크 특징 사전(3)에 격납된 표준 패턴을 구성하는 직선 스트로크 또는 비직선 스트로크의 특징의 대응 부가를 행하는 연속 문자 스트로크 대응 부가 수단, 9는 연속 문자 스트로크로부터 부분 스트로크를 작성하는 부분 스트로크 작성 수단이다.Reference numeral 5 denotes a linear stroke correspondence adding means for performing correspondence between the features of the linear stroke classified by the stroke classifying means 4 and the features of the linear strokes constituting the standard pattern stored in the stroke feature dictionary 3, A stroke corresponding additional area determining means 7 for determining a present area of each stroke of the handwritten character based on the feature extracted by the extracting means 2, A nonlinear stroke correspondence adding means for performing correspondence of the characteristics of the nonlinear stroke constituting the standard pattern stored in the stroke characteristic dictionary 3 and the nonlinear stroke correspondence means constituting the standard pattern stored in the dictionary dictionary 3, 8 a continuous character stroke classified by the stroke classifying means, It is divided into a straight stroke or a non-straight stroke, and the characteristics of this divided straight stroke or non- A character string correspondence adding means 9 for performing correspondence of characteristics of a linear stroke or a non-linear stroke constituting the standard pattern stored in the lock feature dictionary 3, and 9 is a partial stroke creating means for creating a partial stroke from a continuous character stroke .

10은 직선 스트로크 대응 부가 수단(5), 비직선 스트로크 대응 부가 수단(7), 연속 문자 스트로크 대응 부가 수단(8)에 의해 얻어진 대응 부가 결과로부터 문자의 평가치를 구하여, 손으로 쓴 문자를 인식하는 문자 평가 수단, 11은 각 수단을 제어하는 제어 수단이다.Reference numeral 10 denotes a character recognition unit which obtains an evaluation value of a character from the result of the correspondence result obtained by the linear stroke correspondence adding unit 5, the nonlinear stroke correspondence adding unit 7, and the continuous character stroke correspondence adding unit 8, Character evaluation means, and 11 is control means for controlling each means.

도 2는 도 1에 도시된 문자 인식 장치의 처리의 흐름을 도시한 흐름도이다.Fig. 2 is a flowchart showing the flow of processing of the character recognition apparatus shown in Fig. 1. Fig.

도 2의 문자 인식 장치의 처리의 흐름을 도시한 흐름도를 참조하여, 처리순서의 예를 설명한다.An example of the processing procedure will be described with reference to a flowchart showing the processing flow of the character recognition apparatus in Fig.

먼저, 단계 Sl에서 입력수단(1)에 의해 태블릿형 입력장치에 펜으로 문자를 손으로 써서 입력한다.First, in step S1, the input means 1 writes characters to the tablet type input device with a pen.

도 3은 입력수단(1)에 입력한 손으로 쓴 문자의 입력패턴「亞」를 도시한 것으로, 60 내지 65는 시간적으로 순서대로 입력된 스트로크이다. 이 예에서는 필순, 획수와 함께 정규가 아닌 필기를 하고 있고, 6개의 스트로크로 구성되어 있다.Fig. 3 shows an input pattern " region " of a handwritten character inputted to the input means 1, and numerals 60 to 65 are strokes inputted in order in time. In this example, the handwriting is not regular, with stroke and stroke count, and consists of six strokes.

단계 S2로 진행하여 스트로크 특징 추출 수단(2)에서, 손으로 쓴 문자의 입력 패턴을 구성하는 각 스트로크의 특징을 추출한다. 이 예에서는 도 3의 입력패턴의 스트로크(60 내지 65)의 스트로크 특징을 추출한다.The flow advances to step S2 and the stroke feature extracting means 2 extracts the feature of each stroke constituting the input pattern of handwritten characters. In this example, the stroke characteristics of the strokes 60 to 65 of the input pattern of Fig. 3 are extracted.

도 4는 스트로크 특징 추출 수단(2)에서 추출한 입력 패턴의 스트로크 특징이고, 도 3의 입력 패턴의 스트로크(60 내지 65)로부터 얻게 된 스트로크 특징을 도시하고 있다. 상기의 스트로크 특징 중에서, 스트로크의 방향 및 1 개의 스트로크와 다음 스트로크를 연결하는 실제로는 필기되지 않은 가상 스트로크의 방향은 도 5에 도시된 스트로크를 16 방향으로 양자화하기 위해서 방향 할당을 한 16방향 분포도를 사용하여 구한다.4 is a stroke characteristic of the input pattern extracted by the stroke characteristic extracting means 2 and shows the stroke characteristic obtained from the strokes 60 to 65 of the input pattern of Fig. Among the above stroke characteristics, the directions of the strokes and the directions of the virtual strokes that are actually untouched, which connect one stroke to the next, are a 16-way distribution diagram in which the directions are assigned to quantize the stroke shown in Fig. .

다음에, 단계 S3으로 진행하여, 스트로크 분류수단(4)은 입력 패턴의 스트로크를 그 형상에 따라 분류한다.Next, proceeding to step S3, the stroke classifying means 4 classifies the stroke of the input pattern according to the shape thereof.

도 6은 스트로크 분류 수단(4)의 처리량의 흐름을 도시한 흐름도이다. 스트로크 분류 수단(4)의 동작을 도 6의 흐름도를 참조하여 상세하게 설명한다.Fig. 6 is a flowchart showing the flow of the processing amount of the stroke classifying means 4. Fig. The operation of the stroke classifying means 4 will be described in detail with reference to the flowchart of FIG.

먼저, 도 6의 단계 S10에서, 스트로크 분류 수단(4)은 선두 스트로크로부터 순서대로 현재의 스트로크가 직선 스트로크인지가 판정되고, 직선 스트로크인 경우는 단계 S11로, 그 이외인 경우는 단계 S13으로 진행한다. 도 3의 입력 패턴에서는 도 4의 스트로크 특징의 형상으로부터 5 개의 스트로크(60, 61, 62, 63, 65)가 직선 스트로크로 판정되어, 단계 S11로 진행한다.First, in step S10 of FIG. 6, the stroke classification means 4 determines whether the current stroke is a linear stroke in order from the first stroke. If the stroke is a straight stroke, the stroke classification means 4 proceeds to Step S11. Otherwise, it proceeds to Step S13 do. In the input pattern of Fig. 3, five strokes (60, 61, 62, 63, 65) are determined as straight strokes from the shape of the stroke feature of Fig.

단계 S11에서, 스트로크 분류 수단(4)은 스트로크의 방향 성분 분포를 추출한다. 스트로크의 방향 성분 분포는 입력 스트로크를 적당한 간격으로 샘플링한 점 사이를 직선으로 연결한 각 직선의 방향분포에 의해 구한다. 여기에서, 스트로크 분류 수단(4)이 방향 분포를 구할 때에는 도 7에 도시된 8 방향 성분 분포를 사용한다.In step S11, the stroke classification means 4 extracts the direction component distribution of the stroke. The direction component distribution of the stroke is obtained by the direction distribution of each straight line connecting points sampled at appropriate intervals of the input stroke. Here, the 8-way component distribution shown in Fig. 7 is used when the stroke classification means 4 obtains the direction distribution.

단계 S12로 진행하여, 스트로크 분류수단(4)은 구해진 방향 성분이 일정방향만인지를 확인하여, 일정 방향만인 경우는 단계 S15로 진행하여 직선 스트로크라고 판정하고, 그 이외는 단계 S13으로 진행한다. 도 3의 입력 패턴의 예에서는 모든 직선 스트로크가 일정방향 성분만을 갖기 때문에, 단계 S15로 진행하여 직선 스트로크로 판정된다.The flow advances to step S12. In step S12, the stroke classifying means 4 determines whether the directional component obtained is all in a predetermined direction. If the directional component is only a predetermined direction, the stroke classification means 4 proceeds to step S15 and determines that the stroke is a straight stroke. In the example of the input pattern in Fig. 3, since all the linear strokes have only components in a certain direction, the process proceeds to step S15, where the linear strokes are determined.

방향 성분이 일정 방향만이 아닌 경우는 단계 S13에서, 스트로크 분류 수단(4)은 다방향 성분을 갖는 직선 스트로크 및 직선 이외의 스트로크에 관해, 스트로크 특징 사전(3)에 존재하는 스트로크 형상인가를 체크하여 사전 내에 존재하지 않는 스트로크인 경우는 단계 S16으로 진행하여 연속 문자 스트로크로 판정한다. 사전내에 존재하는 스트로크인 경우는 단계 S14로 진행하여 비직선 스트로크로 판정한다. 도 3의 입력 패턴의 예에서는 미지의 스트로크(64)는 사전내에 존재하지 않는 스트로크이기 때문에, 단계 S16으로 진행하여, 연속 문자 스트로크로 판정된다.If the direction component is not the only direction, the stroke classification means 4 checks whether or not the stroke shape exists in the stroke feature dictionary 3 with respect to the straight stroke having the multi-directional component and the stroke other than the straight line in step S13 If the stroke is not present in the dictionary, the process advances to step S16 to determine a continuous character stroke. If the stroke is present in the dictionary, the flow advances to step S14 to determine a non-linear stroke. In the example of the input pattern in Fig. 3, since the unknown stroke 64 is a stroke that does not exist in the dictionary, the process proceeds to step S16 to determine a continuous character stroke.

다음에, 도 2의 단계 S4로 진행하고, 제어수단(11)은 스트로크 분류 수단(4)에서 직선 스트로크로 판정된 스트로크를 직선 스트로크 대응 부가 수단(5)으로 이송하고, 입력 패턴의 직선 스트로크와 스트로크 특징 사전(3)의 표준 패턴의 직선 스트로크의 대응 부가를 행한다. 도 3에 도시된 입력 패턴의 예에서는 직선 스트로크(60, 61, 62, 63, 65)가 직선 스트로크 대응 부가 수단(5)으로 이송된다.2, the control means 11 transfers the stroke determined by the stroke classification means 4 to the linear stroke to the linear stroke corresponding means 5, and the linear stroke of the input pattern The strok feature dictionary 3 corresponding to the linear strokes of the standard pattern. In the example of the input pattern shown in Fig. 3, the linear strokes 60, 61, 62, 63 and 65 are transferred to the linear stroke corresponding means 5.

도 8은 직선 스트로크 대응 부가 수단의 처리의 흐름을 도시한 흐름도이다. 도 8의 흐름도를 참조하여, 직선 스트로크 대응 부가 수단(5)의 동작을 설명한다.8 is a flowchart showing the flow of the process of the linear stroke correspondence adding means. The operation of the linear stroke corresponding means 5 will be described with reference to the flowchart of Fig.

먼저, 직선 스트로크 대응 부가 수단(5)은 단계 S21에서 각 직선 스트로크를 길이에 따라 3종류(긴, 중간, 짧은)로 분류한다. 스트로크의 길이는 스트로크의 개시점, 종료점의 유클리드 거리에 의해 구한다. 이 예에서는 긴 스트로크를 70이상, 짧은 스트로크를 30이하, 그 중간을 중간 스트로크로 정의한다. 도 4의 입력 패턴의 스트로크 특징에 예시된 입력 스트로크의 길이 정보로부터 스트로크(60, 61, 62, 65)가 긴 스트로크, 스트로크(63)가 짧은 스트로크로서 분류된다.First, the linear stroke correspondence adding means 5 classifies each linear stroke into three kinds (long, medium, and short) according to the length in step S21. The stroke length is determined by the Euclidean distance of the start point and the end point of the stroke. In this example, a long stroke is defined as 70 or more, a short stroke is defined as 30 or less, and an intermediate stroke is defined as an intermediate stroke. The strokes 60, 61, 62 and 65 are classified as long strokes, and the strokes 63 are classified as short strokes from the input stroke length information illustrated in the stroke characteristic of the input pattern of Fig.

단계 S22로 진행하여, 직선 스트로크 대응 부가 수단(5)은 스트로크 대응 부가 가능 영역 결정 수단(6)에서 스트로크의 방향, 스트로크의 시종(始終)점 좌표, 스트로크의 길이로부터, 스트로크의 존재 영역을 결정한다.The routine proceeds to step S22 where the linear stroke correspondence adding means 5 determines the existence area of the stroke from the stroke direction, the start and end point coordinates of the stroke, and the stroke length in the stroke correspondence region determining means 6 do.

도 9a 및 도 9b는 직선 스트로크의 대응 부가에 있어서 사용하는 영역 분할의 일례를 도시한 것이다. 여기에서는 문자를 외부 접속 직사각형으로 수평방향, 수직방향 각각으로 4 분할된 영역에 의한 스트로크의 존재 영역을 결정하는 경우의 예를 도시한다.9A and 9B show an example of area division used in the corresponding portion of the linear stroke. Here, there is shown an example of the case where the area where the strokes exist is determined by four divided areas in the horizontal direction and the vertical direction, respectively, in which the character is an externally connected rectangle.

도 10은 스트로크 대응 부가 가능 영역 결정 수단(6)에서 사용하는 영역결정을 위한 정보를 나타낸 것이다. 도 10중의 스트로크 방향은 스트로크의 개시점에서 종료점으로의 방향을, 도 5의 16 방향 분포도로 방향을 양자화한 값을 나타내고 있다. 예를 들면, 도 10의 수평직선 스트로크에 관해서는 스트로크 방향은 4, 5, 6, 12, 13, 14의 방향의 표준 패턴의 수평 스트로크와 대응 부가 가능성이 있는 것을 나타낸다. 또한, 영역(1)에 존재하는 수평 직선 스트로크는 영역(1), 영역(2)에 존재하는 수평직선 스트로크와 대응 부가할 가능성이 있는 것을 나타낸다.Fig. 10 shows information for area determination used in the stroke correspondence addition region determining means 6. Fig. The stroke direction in Fig. 10 represents a direction obtained by quantizing the direction from the start point to the end point of the stroke to the 16-direction distribution diagram in Fig. For example, with respect to the horizontal straight stroke of FIG. 10, the stroke direction indicates that there is a possibility of corresponding to the horizontal stroke of the standard pattern in the directions of 4, 5, 6, 12, 13, The horizontal straight stroke existing in the region 1 indicates that there is a possibility of corresponding to the horizontal straight stroke existing in the region 1 and the region 2. [

도 10에 도시된 바와 같이, 스트로크 대응 부가 가능 영역 결정 수단(6)은 입력 패턴의 스트로크 방향과 수직 방향의 거리적인 변동은 적어 비교적 안정하다고 판단하고, 인접하는 영역까지를 존재영역으로 한다. 단, 다수의 영역에 걸친 경우는 그 다수 영역에 대한 인접 영역을 존재영역으로 한다.As shown in Fig. 10, the stroke corresponding area determining means 6 determines that the stroke of the input pattern is relatively stable because the variation in the distance in the vertical direction is relatively small, and the area up to the adjacent area is the existing area. However, in a case where the data is spread over a plurality of regions, the adjacent region for the plurality of regions is defined as the existing region.

도 11은 도 3의 입력패턴에 대한 스트로크의 존재영역 및 대응 부가 가능 영역을 도시한 것이다.Fig. 11 shows the existence area of the stroke and the correspondence addition area with respect to the input pattern of Fig. 3. Fig.

단계 S23으로 진행하여, 직선 스트로크 대응 부가 수단(5)은 입력패턴의 스트로크에 대하여, 대응 부가 대상이 되는 스트로크 특징 사전(3)의 표준 패턴의 스트로크를 결정한다.The routine proceeds to step S23 where the linear stroke correspondence adding means 5 determines the stroke of the standard pattern of the stroke feature dictionary 3 to which the correspondence is to be added, with respect to the stroke of the input pattern.

도 12는 스트로크 특징 사전(3)에 격납되어 있는 문자「亞」의 표준 패턴의 스트로크를 도시한 것이다. 도 13은 스트로크 특징 사전(3)에 격납되어 있는 도 12의 표준 패턴의 스트로크 특징이다.12 shows a stroke of a standard pattern of the character " A " stored in the stroke feature dictionary 3. [ 13 is a stroke characteristic of the standard pattern of Fig. 12 stored in the stroke feature dictionary 3. Fig.

대응 부가 가능한 조건으로서는 1) 스트로크 형상 조건, 2) 스트로크의 길이 조건, 3) 스트로크의 대응 부가 가능 영역 조건의 3개에 의해 대응 부가 대상이 되는 표준 패턴의 스트로크를 결정한다.The corresponding conditions of the correspondence are determined based on three types of stroke conditions: 1) stroke condition; 2) stroke length condition; and 3) stroke condition correspondence addition condition.

도 14는 스트로크 형상에 따른 대응 부가의 여부를 도시한 것으로, 직선 스트로크 대응 부가 수단(5), 비직선 스트로크 대응 부가 수단(7), 연속 문자 스트로크 대응 부가 수단(8)으로 사용하는 스트로크형상에 따른 대응부의 가부를 결정하는 것이다.Fig. 14 shows whether or not the corresponding portion is added in accordance with the stroke shape. The stroke shape used for the linear stroke corresponding means 5, the non-linear stroke corresponding means 7, and the continuous character stroke corresponding means 8 And determines whether or not the corresponding part according to the present invention is appropriate.

구체적으로는 스트로크의 형상 조건은, 도 14에 도시된 대응관계로 입력패턴의 스트로크 형상과 표준 패턴의 스트로크 형상에서, ○이 부가 되어 있는 대응 부가를 대응 부가 가능으로 하고, ×는 대응부가되지 않는 것으로 한다.More specifically, the shape conditions of the strokes are such that the corresponding portions to which a circle is added in the stroke shape of the input pattern and the stroke pattern of the standard pattern in the correspondence relationship shown in Fig. 14, .

또한, 스트로크의 길이 조건은 긴 스트로크는 긴 스트로크 혹은 중간 스트로크와 대응 부가 가능하고, 중간 스트로크는 긴 스트로크 및 짧은 스트로크와도 대응 부가 가능하며, 짧은 스트로크는 중간 스트로크 혹은 짧은 스트로크와 대응 부가 가능하게 한다. 또한, 스트로크의 대응 부가 가능 영역 조건은 스트로크 대응 부가 가능영역 결정수단(6)의 결과를 이용한다.The length of the stroke can be set to correspond to the long stroke or the intermediate stroke, the intermediate stroke can correspond to the long stroke and the short stroke, and the short stroke makes it possible to correspond to the intermediate stroke or the short stroke . In addition, the condition of the region in which the stroke can be corresponded uses the result of the stroke correspondence attachable region determining means 6.

이 예에서는 도 12의 표준 패턴에 대하여 도 13의 스트로크 특징이 스트로크 특징 사전(3)에 격납되어 있다. 이 스트로크 특징에 근거하여, 입력패턴의 각 스트로크에 대하여, 대응 부가 가능한 표준 패턴의 스트로크를 결정한다.In this example, the stroke characteristic shown in Fig. 13 is stored in the stroke characteristic dictionary 3 with respect to the standard pattern shown in Fig. Based on this stroke characteristic, a stroke of a standard pattern corresponding to each stroke of the input pattern is determined.

본 실시예에서는 도 3의 입력패턴의 각 스트로크에 대하여, 대응 부가 가능한 표준 패턴의 스트로크를 결정한다.In this embodiment, for each stroke of the input pattern shown in Fig. 3, the strokes of the standard patterns corresponding to each other are determined.

도 15는 스트로크 형상 조건, 스트로크의 대응 부가 가능 영역 조건, 스트로크의 길이 조건에 의해, 대응 부가 가능한 표준 패턴의 스트로크가 압축되는 모양을 도시한 것이다. 여기에서, 각 조건에 의한 압축은 그것까지로 압축된 것만을 대상으로 순차 행한다.Fig. 15 shows a state in which a stroke of a standard pattern corresponding to a stroke shape condition, a stroke correspondence attachable area condition, and a stroke length condition is compressed. Here, compression based on each condition is sequentially performed on only those compressed to that extent.

도 15에서, 스트로크(60)는 스트로크(70, 73)로, 스트로크(61)는 스트로크(74, 75)로, 스트로크(62)는 스트로크(75)로, 스트로크(63)는 스트로크(71)로, 스트로크(65)는 스트로크(73, 76)로 압축된다. 여기에서, 1개로 압축된 스트로크에 관해서는 그것 이외의 대응은 존재하지 않기 때문에, 1개로 압축된 좌표 스트로크는 다른 입력 스트로크의 대응 부가에 이용할 수 없다. 여기에서는 스트로크(71, 75)가 1개로 압축되어 있기 때문에, 그 밖의 입력 스트로크의 후보 스트로크로부터 스트로크(71, 75)를 제외한다. 이것에 의해, 스트로크(61)가 스트로크(74)에 압축되고, 최종적으로 스트로크(60), 스트로크(65)에만, 2 개의 스트로크의 후보가 존재한다.15, the stroke 60 corresponds to the strokes 70 and 73, the stroke 61 corresponds to the strokes 74 and 75, the stroke 62 corresponds to the stroke 75, the stroke 63 corresponds to the stroke 71, , The stroke 65 is compressed to the strokes 73 and 76. As shown in Fig. Here, since there is no other correspondence with respect to the stroke compressed by one, the coordinate stroke compressed by one can not be used for the corresponding addition of the other input strokes. Here, since the strokes 71 and 75 are compressed to one, the strokes 71 and 75 are excluded from the candidate strokes of other input strokes. Thereby, the stroke 61 is compressed to the stroke 74, and finally, there are only two strokes candidates in the stroke 60 and the stroke 65 only.

다음에, 단계 S24로 진행하여, 직선 스트로크 대응 부가 수단(5)은 입력패턴의 스트로크에 대하여, 표준 패턴의 후보 스트로크와의 대응 부가를 상세하게 행하여, 대응 부가가 성공한 결과를 모두 직선 스트로크의 대응 부가 결과로 한다.Next, in step S24, the linear stroke correspondence adding means 5 performs in detail the correspondence of the stroke of the input pattern to the candidate stroke of the standard pattern, As an addition result.

여기에서, 상세한 대응 부가의 체크에는 스트로크의 방향, 스트로크의 폭, 스트로크의 높이, 스트로크의 시종점의 좌표치에 대하여, 미리 정해진 대응부가의 한계치와 비교하여, 대응 부가가 가능한지의 여부를 체크한다. 이 때, 표준 패턴의 연속되는 스트로크에 대하여 입력 스트로크가 대응 부가되는 경우는 가상 스트로크의 대응 부가 결과도 사용하여 대응부가의 검정을 행한다.Here, in the check of the corresponding counterpart, it is checked whether or not the correspondence is possible by comparing the stroke direction, the stroke width, the stroke height, and the coordinate value of the stroke stop point with the threshold value of the predetermined counterpart. At this time, when the input strokes correspond to the consecutive strokes of the standard pattern, the corresponding portions of the virtual strokes are also used to perform the verification of the corresponding portions.

또한, 입력패턴 필순 변동을 흡수하기 위해서, 입력패턴이 표준 패턴의 필순과 다른 경우에도 스트로크의 대응 부가를 행할 수 있도록, 각 입력패턴의 스트로크와 대응 부가가 가능한 표준 패턴의 스트로크의 모든 후보 스트로크에 관해 대응 부가를 행한다.In addition, in order to absorb the input pattern peeling order variation, it is preferable that all the candidate strokes of the strokes of the standard pattern, which correspond to the strokes of the input patterns, so that the input patterns can be assigned to the strokes even when the input patterns are different from those of the standard patterns A countermeasure is added.

구체적으로는 도 4의 입력패턴의 스트로크 특징과 도 13의 표준 패턴의 스트로크 특징으로 비교한다.More specifically, the stroke characteristic of the input pattern of FIG. 4 is compared with the stroke characteristic of the standard pattern of FIG.

이 예에서는 입력패턴의 스트로크(61, 62, 63)에 관해서는 이미 대응부가의 후보가 1개로 압축되어 있고, 어느쪽의 스트로크도 정확한 대응 부가로 되어 있기 때문에, 대응 부가는 성공한다. 스트로크(60, 65)에 관해서는 2개의 후보가 존재하기 때문에, 각각의 입력패턴의 스트로크에 대하여 표준 패턴의 후보 스트로크를 대응 부가한다. 즉, 입력패턴의 스트로크(60)에는 표준 패턴의 스트로크(70) 및 스트로크(73), 스트로크(65)에 대해서는 스트로크(73) 및 스트로크(76)를 대응 부가한다.In this example, as for the strokes 61, 62, and 63 of the input pattern, the candidates for the corresponding portions are already compressed to one, and since both strokes are correct correspondent portions, the corresponding portions succeed. Since there are two candidates for the strokes 60 and 65, the candidate strokes of the standard pattern are corresponded to the strokes of the respective input patterns. That is, the stroke 70 of the standard pattern and the stroke 73 correspond to the stroke 60 of the input pattern, and the stroke 73 and the stroke 76 correspond to the stroke 65, respectively.

먼저, 입력패턴의 스트로크(60)의 대응 부가 처리에 관해 설명한다. 스트로크(60)와 표준 패턴의 스트로크(70, 73)의 대응 부가를 행한다. 여기에서, 스트로크(60)와 스트로크(73)를 대응 부가한 경우는 시종점의 Y 좌표치의 차가 커진다. 또한, 스트로크 간의 위치관계를 나타내는 가상 스트로크를 이용하여 대응 부가 결과를 체크하면, 스트로크(73)의 경우는 다음 스트로크(74)로의 가상 스트로크의 방향은 도 13으로부터「16」으로 된다. 스트로크(60)의 경우 사전의 표준 스트로크(74)에 대응 부가되어 있는 입력패턴의 스트로크는 스트로크(61)이기 때문에, 스트로크(60)의 가상 스트로크의 방향은 스트로크(60)의 종료점에서 스트로크(61)의 개시점의 방향이 되어,「13」으로 된다. 따라서, 가상 스트로크 방향의 차는 16-13=3이 된다.First, the correspondence processing of the stroke 60 of the input pattern will be described. The strokes 60 and the strokes 70 and 73 of the standard pattern are made to correspond to each other. Here, when the stroke 60 and the stroke 73 correspond to each other, the difference between the Y coordinate values of the continuous point is increased. If the result of the correspondence is checked by using the virtual stroke indicating the positional relationship between the strokes, the direction of the virtual stroke to the next stroke 74 in the case of the stroke 73 becomes "16" from FIG. The direction of the virtual stroke of the stroke 60 is the same as the direction of the stroke 61 at the end point of the stroke 60 because the stroke of the input pattern corresponding to the standard stroke 74 in the case of the stroke 60 is the stroke 61. [ , And becomes " 13 ". Therefore, the difference in the virtual stroke direction becomes 16-13 = 3.

한편, 스트로크(60)와 스트로크(70)의 대응 부가에서는 시종점 좌표치의 차가 작고, 가상 스트로크의 방향의 차도 작고 (대응 부가 결과의 거리가 작다), 정확한 대응 부가이다.On the other hand, in the corresponding part of the stroke 60 and the stroke 70, the difference in the point coordinate values is small, and the difference in the direction of the virtual stroke is small (the distance of the corresponding result is small).

다음에, 스트로크(65)와 표준 패턴의 스트로크(73, 76)와의 대응 부가를 행한다. 스트로크(65)와 스트로크(73)를 대응 부가한 경우는 시종점의 좌표치의 차(스트로크 특징의 차)가 커진다. 한편, 스트로크(65)와 스트로크(76)를 대응 부가한 경우는 스트로크 특징의 차가 작고 정확한 대응 부가이다.Then, the strokes 65 and the strokes 73 and 76 of the standard pattern are corresponded to each other. When the stroke 65 corresponds to the stroke 73, the difference in the coordinate value of the continuous point (the difference in the stroke characteristic) increases. On the other hand, when the stroke 65 and the stroke 76 are added to each other, the difference in the stroke characteristic is small and an accurate counterpart.

이 결과, 직선 스트로크의 대응 부가는 입력패턴의 스트로크(60)가 표준 패턴의 스트로크(70)에, 스트로크(61)가 스트로크(74)에, 스트로크(62)가 스트로크(75)에, 스트로크(63)가 스트로크(71)에, 스트로크(65)가 스트로크(76)에 대응이 부가되어, 1 대 1의 대응 부가로 압축된다.As a result, the corresponding portion of the linear strokes corresponds to the stroke 60 of the input pattern, the stroke 61 of the standard pattern, the stroke 62, the stroke 75, 63 are added to the stroke 71 and the stroke 65 is added to the stroke 76 to be compressed in a one-to-one correspondence.

상기의 예와 같이, 상기 대응 부가 처리에 의해 입력패턴의 스트로크의 필순은 표준 패턴의 필순과 다른 경우에도 대응 부가가 가능하게 된다.As in the above example, even if the stroke order of the input pattern is different from the stroke order of the standard pattern by the corresponding addition processing, the corresponding addition can be performed.

단계 S25로 진행하여, 직선 스트로크 대응 부가 수단(5)은 입력패턴의 직선 스트로크가 표준 패턴의 스트로크 중의 어느 하나에 대응하고 있는 경우는 단계S27으로 진행하여 대응부가를 가능(OK)하게 하고, 1 개라도 미대응의 스트로크가 존재하는 경우는 단계 S28로 진행하며, 현재의 표준 패턴과의 대응 부가를 불가능(NG)으로 한다.When the linear stroke of the input pattern corresponds to any one of the strokes of the standard pattern, the process proceeds to step S25, where the linear stroke correspondence adding means 5 proceeds to step S27 to make the corresponding addition possible (OK) If there is a non-conforming stroke, the process proceeds to step S28, and the addition of the correspondence with the current standard pattern is made impossible (NG).

이 예에서는 모든 입력패턴의 직선 스트로크가 표준 패턴의 스트로크와 정확하게 대응 부가가 이루어졌다.In this example, the linear strokes of all the input patterns were exactly matched with the strokes of the standard pattern.

다음에, 도 2의 단계 S5로 진행하여, 제어수단(11)은 직선 스트로크 대응 부가 결과를 체크하여, 대응 부가가 불가능(NG)한 경우는 단계 S8로 진행하고, 다음 표준 패턴과의 대응 부가를 행한다. 또한, 대응 부가가 성공한 경우에는 단계 S6으로 진행하며, 비직선 스트로크와의 대응 부가를 행한다.Next, the process proceeds to step S5 of FIG. 2, where the control means 11 checks the result of adding the linear stroke, and if the corresponding addition is impossible (NG), the process proceeds to step S8, . If the counterpart attachment is successful, the process proceeds to step S6, and the non-linear strokes are added.

도 16은 비직선 스트로크 대응 부가 수단(7)의 처리의 흐름을 도시한 흐름도이다. 도 16의 흐름도를 참조하여, 비직선 스트로크 대응 부가 수단(7)의 동작을 상세하게 설명한다.FIG. 16 is a flowchart showing the flow of processing of the nonlinear stroke countermeasure adding means 7; FIG. The operation of the nonlinear stroke countermeasure adding means 7 will be described in detail with reference to the flowchart of FIG.

단계 S30에서, 비직선 스트로크 대응 부가 수단(7)은, 직선 스트로크인 경우와 마찬가지로 비직선 스트로크에 대하여 스트로크 대응 부가 가능영역 결정수단(6)으로, 입력패턴의 스트로크와 대응 부가되는 표준 패턴의 스트로크를 결정한다. 이 대응 부가는 직선 스트로크 대응 부가와 같이 도 10의 영역 결정을 위한 정보도를 참조한다.In step S30, the nonlinear stroke correspondence adding means 7, as in the case of the linear stroke, sets the stroke correspondence addition possible region determining means 6 with respect to the nonlinear stroke, . This correspondence section refers to the information diagram for determining the area in Fig. 10 like the portion corresponding to the linear stroke.

여기에서, 입력패턴의 비직선 스트로크와 표준 패턴의 스트로크의 대응 부가는 상기 직선 스트로크 대응 부가 수단(5)으로 대응 부가된 직선 스트로크가 존재하는 표준 패턴에 한해서 행해진다.Here, the correspondence between the non-linear strokes of the input pattern and the strokes of the standard pattern is made only for the standard pattern in which the linear strokes corresponding to the linear stroke corresponding means 5 are present.

단계 S31로 진행하여, 비직선 스트로크 대응 부가 수단(7)은 입력패턴의 스트로크 형상별로 표준 패턴의 해당 스트로크와의 대응 부가를 행한다.The routine proceeds to step S31 where the nonlinear stroke countermeasure adding means 7 performs the correspondence with the corresponding stroke of the standard pattern for each stroke shape of the input pattern.

먼저, 단계 S30의 처리에서 구한 입력패턴의 각 스트로크에 대한 표준 패턴의 대응 부가 가능한 스트로크에 대하여, 스트로크 형상에 의한 대응 부가의 체크를 행한다. 스트로크 형상의 대응부가의 규칙은 도 14의 스트로크 형상에 따른 대응 부가의 가부를 도시한 도를 참조한다.First, a check is made to determine whether or not the stroke corresponding to the standard pattern corresponds to each stroke of the input pattern obtained in the process of step S30 by the stroke shape. The rule of the corresponding part of the stroke shape refers to the diagram showing the corresponding part of the corresponding part in accordance with the stroke shape in Fig.

다음에, 대응 부가가 가능하면 판독된 스트로크는 직선 스트로크와 동일하게 상세한 스트로크의 대응 부가의 체크를 행한다.Next, when the counterpart can be attached, the read stroke is checked for the corresponding portion of the detailed stroke in the same manner as the linear stroke.

단계 S32로 진행하여, 비직선 스트로크 대응 부가 수단(7)은 입력패턴의 스트로크가 표준 패턴의 스트로크 중의 어느 하나와 대응 부가되었다고 판정된 경우는 단계 S34로 진행하여 대응 부가가 성공했다고 판정한다. 여기에서, 대응 부가되지 않은 경우는 표준 패턴의 스트로크에 일치하는 것이 없는 것으로 간주하고, 단계 S33로 진행하여, 연속 문자 스트로크로 판정한다.The routine proceeds to step S32. In the case where it is determined that the stroke of the input pattern corresponds to any one of the strokes of the standard pattern, the nonlinear stroke correspondence adding means 7 proceeds to step S34 and determines that the corresponding addition succeeds. If no corresponding portion is found, it is regarded that there is no match with the stroke of the standard pattern, and the process proceeds to Step S33 to determine the continuous character stroke.

단계 S35로 진행하여, 비직선 스트로크 대응 부가 수단(7)은 모든 비직선 표준 스트로크에 대하여 대응 부가를 행하였는지를 조사하고, 행하지 않았으면 단계 S30으로 진행하고, 다음 비직선 스트로크의 대응 부가를 행한다. 또한, 모든 대응 부가가 종료된 경우는 비직선 스트로크 대응 부가 수단(7)의 대응 부가를 종료한다.The routine proceeds to step S35. In step S35, the nonlinear stroke countermeasure adding means 7 checks whether all nonlinear standard strokes have corresponded to each other. If not, the routine proceeds to step S30, and the next nonlinear stroke counter is added. In addition, when all the corresponding portions have been terminated, the corresponding portion of the non-linear stroke corresponding means 7 is terminated.

다음에, 도 2의 단계 S7로 진행하며, 제어수단(11)은 연속문자 스트로크 대응 부가 수단(8)으로 연속문자 스트로크의 대응 부가를 행한다.Next, the process proceeds to step S7 in Fig. 2, and the control means 11 performs the correspondence of the continuous character strokes to the continuous character stroke correspondence adding means 8.

도 17은 연속문자 스트로크 대응 부가 수단(8)의 처리의 흐름을 도시한 흐름도이다. 이하, 도 17의 흐름도를 참조하여, 연속 문자 스트로크 대응 부가 수단(8)의 동작을 설명한다.17 is a flowchart showing the flow of processing of the continuous character stroke correspondence adding means 8; Hereinafter, the operation of the continuous character stroke correspondence adding means 8 will be described with reference to the flowchart of Fig.

먼저, 단계 S50에서, 연속문자 스트로크 대응 부가 수단(8)은 스트로크 대응 부가 가능영역 결정수단(6)에서 입력패턴의 연속문자 스트로크의 대응 부가 가능영역을 결정하여, 입력패턴의 연속 문자 스트로크에 대응 부가 가능한 표준 패턴의 스트로크 후보를 구한다.First, in step S50, the continuous character stroke correspondence adding means 8 determines the correspondence addition capable area of the input character string of the input pattern by the stroke correspondence addition possible region determining means 6, and corresponds to the continuous character stroke of the input pattern A stroke candidate of a standard pattern that can be added is obtained.

여기에서, 입력패턴의 연속문자 스트로크 대응 부가는 상기 직선 스트로크 대응 부가 수단(5), 상기 비직선 스트로크 대응 부가 수단(7)에서 대응 부가된 직선 스트로크, 비직선 스트로크가 존재하는 표준 패턴에 한해서 행해진다.Here, the continuous character stroke correspondence portion of the input pattern is determined only for the standard pattern in which the linear stroke correspondence means 5, the linear stroke corresponding to the nonlinear stroke correspondence means 7, and the nonlinear stroke exist All.

도 18은 스트로크 대응 부가 가능영역 결정수단(6)이 직선 스트로크 이외의 대응부가인 경우에 사용하는 영역분할의 일례를 도시한 도이다. 스트로크 대응 부가 가능영역 결정수단(6)은 도 10의 대응 부가 가능영역 결정을 위한 정보도에 도시된 스트로크 이외의 경우는 도 18의 영역분할을 사용하여 스트로크 대응 부가 가능영역을 결정한다. 스트로크 대응 부가 가능영역은 입력패턴의 스트로크의 외부 접속 직사각형이 포함된 영역의 1개 외측의 영역까지를 대상으로 한다. 도 3의 입력패턴의 예에서는 스트로크(64)가 연속문자 스트로크로 판단되고, 도 10에 도시된 스트로크 형상이 아니기 때문에, 우선 스트로크(64)가 포함되는 영역을 결정한다.18 is a diagram showing an example of area division used when the stroke correspondence addition possible region determination means 6 is a corresponding portion other than the linear stroke. In the case other than the stroke shown in the information diagram for determining the correspondence addition possible region in Fig. 10, the stroke correspondence attachable region determining means 6 determines the stroke correspondence attachable region using the region dividing in Fig. The stroke correspondence attachable area is intended to extend to one area outside the area including the external connection rectangle of the stroke of the input pattern. In the example of the input pattern of Fig. 3, since the stroke 64 is determined as a continuous character stroke and is not the stroke shape shown in Fig. 10, the region in which the stroke 64 is included is determined first.

도 19는 도 3의 입력패턴을 도 18의 영역분할로 분할하여, 스트로크(64)의 외부접속 직사각형(80)을 구한 예이고, 입력패턴의 각 스트로크가 스트로크 대응 부가 가능영역 결정수단(6)에서 사용하는 영역의 어디에 존재하고 있는지를 나타내는 도면이다. 이 도면에서, 스트로크(64)의 외부접속 직사각형(80)은 영역(A 내지 H)에 포함되어 있는 것을 알 수 있고, 스트로크의 대응 부가 가능영역은 영역(A 내지 L)으로 한다.Fig. 19 is an example in which the input pattern of Fig. 3 is divided into regions of Fig. 18 to obtain the external connection rectangle 80 of the stroke 64, and each stroke of the input pattern corresponds to the stroke- Which is used in FIG. In this drawing, it can be seen that the external connection rectangle 80 of the stroke 64 is included in the areas A to H, and the areas in which strokes can be corresponded to are areas A to L, respectively.

다음에, 연속문자 스트로크 대응 부가 수단(8)은 결정된 대응 부가 가능영역에 존재하는 표준 패턴의 스트로크를 구한다. 도 12에 도시된 표준 패턴의 스트로크의 예의 경우, 영역(A 내지 L)에 포함되는 것은 스트로크(70, 71, 72, 73)의 4개의 예인 경우, 직선 스트로크 대응 부가 수단(5)과 비직선 스트로크 대응 부가 수단(7)에 의해 입력 스트로크와 1 대 1로 대응 부가된 표준 패턴의 스트로크는 대응 부가가 확정되어 있기 때문에 제외한다. 따라서, 이 예에서는 스트로크(70, 71)가 직선 스트로크 대응 부가 수단으로 확정되어 있기 때문에 제외된다. 이 결과, 스트로크(72, 73)가 후보 스트로크로서 선택된다.Next, the continuous character stroke correspondence adding means 8 obtains a stroke of the standard pattern existing in the determined correspondence addition enabling area. In the case of the stroke example of the standard pattern shown in Fig. 12, in the case of four examples of the strokes 70, 71, 72 and 73 included in the areas A to L, the linear stroke corresponding means 5 and the non- The strokes of the standard patterns corresponding to the input strokes in one-to-one correspondence by the stroke corresponding means 7 are excluded because the corresponding portions are determined. Therefore, in this example, the strokes 70 and 71 are excluded because they are fixed by the linear stroke corresponding means. As a result, the strokes 72 and 73 are selected as the candidate strokes.

단계 S57로 진행하여, 연속문자 스트로크 대응 부가 수단(8)은 모든 연속문자 스트로크에 대하여 대응 부가 가능영역을 결정했는지의 여부를 체크하여, 결정되어 있으면 단계 S51로 진행하고, 결정되어 있지 않으면 단계 S50으로 되돌아간다.The process proceeds to step S57, and the continuous character stroke correspondence adding unit 8 checks whether or not the correspondence addition possible area has been determined for all consecutive character strokes. If the determination result is YES, the process proceeds to step S51. If not, .

도 3의 입력패턴에서는 연속문자 스트로크는 1 개밖에 없기 때문에, 단계 S51로 진행하며, 입력패턴의 연속문자 스트로크의 개시 스트로크, 종료 스트로크가 되는 표준 패턴의 후보 스트로크를 결정한다.Since there is only one continuous character stroke in the input pattern of Fig. 3, the process proceeds to step S51, and the candidate strokes of the standard pattern which are the start strokes and the end strokes of the continuous character strokes of the input pattern are determined.

구체적으로는 먼저 입력패턴의 연속문자 스트로크의 연속점에 대해서 그 시종점이 존재하는 영역을 도 18의 영역분할로 구하여, 존재영역의 1 개 외측까지의 영역을 대응 부가 가능영역으로 한다.Concretely, first, the region where the dot is present for the consecutive points of the continuous character strokes of the input pattern is determined by region dividing in FIG. 18, and the area up to one outside of the existing region is set as a correspondence attachable region.

다음에, 입력패턴의 연속문자 스트로크의 개시점이 존재하는 대응 부가 가능영역에 대응하는 표준 패턴의 스트로크로 시점이 포함되는 스트로크를 개시 스트로크의 후보로서 선택한다. 동일하게, 입력의 연속 문자 스트로크의 종료점이 존재하는 대응 부가 가능영역에 대응하는 표준 패턴의 스트로크로 종료점이 포함되는 스트로크를 종료 스트로크의 후보로서 선택한다.Next, a stroke in which the start point is included in the stroke of the standard pattern corresponding to the correspondence possible area where the start point of the continuous character stroke of the input pattern is present is selected as the candidate of the start stroke. Similarly, a stroke whose end point is included in the stroke of the standard pattern corresponding to the correspondence addition area in which the end point of the continuous character stroke of the input is present is selected as the candidate of the end stroke.

도 19에 도시된 예의 경우, 입력패턴의 연속문자 스트로크(64)의 시점은 영역(A)에 존재하기 때문에, 시점의 대응부가 가능영역은 영역(A, B, E, F)으로 된다. 단계 S50의 처리에서 구한 표준 패턴의 후보인 스트로크(72, 73)의 시점은 모두 이 영역에 포함되기 때문에, 개시 스트로크의 후보는 스트로크(72, 73)의 2 개가 된다. 동일하게, 연속문자 스트로크(64)의 종료점은 영역(H)에 존재하기 때문에, 대응부가 가능영역은 영역(C, D, G, H, K, L)으로 된다. 이것에 의해, 종료점 스트로크의 후보도 스트로크(72, 73)로 된다.In the example shown in Fig. 19, since the start point of the continuous character stroke 64 of the input pattern exists in the area A, the area in which the corresponding part of the start point can correspond is the area A, B, E, F. Since all the time points of the strokes 72 and 73, which are candidates of the standard pattern obtained in the process of step S50, are included in this area, two strokes 72 and 73 are candidates for the start strokes. Similarly, since the end point of the continuous character stroke 64 exists in the area H, the corresponding addable area becomes the area C, D, G, H, K, L. As a result, the candidates of the end point strokes become strokes 72 and 73 as well.

단계 S52로 진행하여, 연속문자 스트로크 대응 부가 수단(8)은 단계 S51에서 구한 시종점 후보의 스트로크 수의 합계(단, 동일한 스트로크는 중복하여 카운트하지 않는다)가 3 개 이하로 되는지를 조사하여, 3 개 이하인 경우는 단계 S54로 진행하고, 3 개 이상인 경우는 단계 S53으로 진행한다. 도 3의 연속문자 스트로크인 경우는 후보 스트로크 수는 2개이기 때문에, 단계 S54로 진행한다.The process proceeds to step S52, and the continuous character stroke correspondence adding unit 8 checks whether the sum of the number of strokes of the continuous point candidates obtained in step S51 (however, the same strokes are not repeatedly counted) becomes three or less, If the number is three or less, the process proceeds to step S54, and if the number is three or more, the process proceeds to step S53. In the case of the continuous character stroke in Fig. 3, since the number of candidate strokes is two, the flow proceeds to step S54.

단계 S54에서 입력패턴의 연속문자 스트로크와 표준 패턴의 후보 스트로크의 대응 부가를 행한다. 도 20은 단계 S54의 대응 부가 처리의 흐름을 도시한 흐름도이다. 도 20의 흐름도를 참조하여, 연속문자 스트로크의 대응 부가를 상세하게 설명한다.The correspondence between the continuous character strokes of the input pattern and the candidate strokes of the standard pattern is made in step S54. 20 is a flowchart showing the flow of the counterpart attachment process in step S54. With reference to the flowchart of Fig. 20, corresponding portions of continuous character strokes will be described in detail.

먼저, 단계 S60에서, 연속문자 스트로크 대응 부가 수단(8)은 표준 패턴의 후보 스트로크의 필순을 결정한다. 여기에서, 단계 S60에서는 표준 패턴의 후보 스트로크 수는 반드시 3 개 이하로 압축된다. 연속문자 스트로크는 최저 2 개의 스트로크로 구성되기 때문에, 표준 패턴의 스트로크의 후보가 3 개의 경우의 필순의 조합은 3C2×P2+P3=12 종류가 된다.First, in step S60, the continuous character stroke corresponding means 8 determines the order of the candidate strokes of the standard pattern. Here, in step S60, the number of candidate strokes of the standard pattern is necessarily compressed to three or less. Since the consecutive character strokes are composed of at least two strokes, the combination of the strokes of the standard pattern in the case of three strokes is 12 types of 3C2 x P2 + P3.

마찬가지로 표준 패턴의 후보 스트로크가 2 개인 경우는 2 종류가 된다.Likewise, when there are two candidate strokes of the standard pattern, there are two types.

최악의 케이스에서 12 종류로 되기 때문에, 충분히 실시간으로 처리 가능한 조합이지만, 다시 이하의 2개의 제약조건에 의해 조합수를 제한한다.In the worst case, the number of combinations is limited to twelve, so that the combination can be sufficiently processed in real time.

1) 단계 S51에서 결정한 개시 스트로크의 후보, 종료 스트로크의 후보에 의한 제약1) The constraint by the candidates of the start stroke and the end stroke determined in step S51

2) 삭제불능 스트로크에 의한 제약2) Restriction by non-erasable stroke

여기에서, 소거불능 스트로크란, 현재의 입력패턴의 스트로크 후보 외엔 대응하지 않는 표준 패턴의 스트로크인 것을 가리킨다. 단계 S50의 처리에서 각 입력패턴의 스트로크에 대응 부가 가능한 표준 패턴 스트로크의 후보가 결정되어 있기 때문에, 소거 스트로크는 이 정보에 의해 결정된다.Here, erasable non-stroking refers to a stroke of a standard pattern not corresponding to the stroke candidate of the current input pattern. Since the candidates of the standard pattern strokes corresponding to the strokes of the input patterns are determined in the process of step S50, the erase strokes are determined by this information.

입력패턴의 스트로크(64)인 경우는 후보 스트로크 수는 2 개 존재하고, 어떤 스트로크도 개시 스트로크, 종료 스트로크의 후보로 되어 있고, 소거 스트로크에도 없기 때문에, 2 종류의 필순으로 된다. 이 예에서는 우선 스트로크(72, 73)와 같은 필순으로 대응 부가를 행한다.In the case of the stroke 64 of the input pattern, there are two candidate strokes, and any of the strokes is a candidate for the start stroke and the end stroke, and the strokes do not exist in the erase stroke. In this example, first, the strokes 72 and 73 are made to correspond to each other in the same order as the strokes.

단계 S61로 진행하여, 연속 문자 스트로크 대응 부가 수단(8)은 입력패턴의 연속문자 스트로크와 표준 패턴의 스트로크의 대응 부가를 행한다. 대응 부가는 특징점 레벨로 행하여, 표준 패턴의 스트로크 특징점 정보는 직선 스트로크인 경우는 개시점, 종료점만, 직선 스트로크 이외는 개시점, 종료점 및 스트로크의 굴곡점 주변에 특징점이 존재하기 때문에, 스트로크 특징 사전(3)에 격납되어 있는 이 특징점도 사용한다. 또한, 입력패턴의 스트로크 특징점 정보는 전처리 후에 적당한 간격으로 표현된 샘플링점으로 한다.The flow advances to step S61, and the continuous character stroke correspondence adding unit 8 performs the correspondence between the continuous character stroke of the input pattern and the stroke of the standard pattern. Since the stroke feature point information of the standard pattern is a start point and end point only when the stroke is a standard stroke, and the feature point exists around the start point, end point, and bending point of the stroke other than the linear stroke, The feature point stored in the memory 3 is also used. Also, the stroke minutia information of the input pattern is a sampling point expressed at an appropriate interval after the preprocessing.

도 13의 표준 패턴의 스트로크 특징에서, 스트로크(72)의 특징점 정보는 개시점, 스트로크 중의 특징점, 종료점의 3점 존재하고, 스트로크(73)의 특징점 정보는 개시점, 종료점의 2점이 존재하는 것을 알 수 있다. 따라서, 표준 패턴의 스트로크 특징점은 5점 존재한다. 얻어진 표준 패턴의 스트로크 특징점을 도 21중의 ○표로 나타낸다. 또한, 입력패턴의 연속문자 스트로크(64)의 특징점을 도 22중의 ○표로 나타낸다.13, there are three points of the starting point, the minutiae point and the ending point in the stroke, and the minutiae point information of the stroke 73 includes two points of the starting point and the ending point Able to know. Therefore, there are five stroke feature points of the standard pattern. Stroke minutiae points of the obtained standard patterns are indicated by marks in Fig. The characteristic points of the continuous character strokes 64 of the input pattern are indicated by a circle in Fig.

다음에 연속문자 스트로크 대응 부가 수단(8)은 입력패턴의 스트로크 특징점과 표준 패턴의 스트로크 특징점의 거리가 최소가 되는 대응 부가를 행한다. 일반적으로, 입력패턴의 스트로크(A)와 표준 패턴의 스트로크(B)의 대응 부가는 입력패턴의 스트로크(A)의 특징점의 요소열의 집합{0, 1, …, I}에서 표준 패턴의 스트로크(B)의 특징점의 요소열의 집합{0, 1, …, J}으로의 사상Next, the continuous character stroke correspondence adding means 8 performs a correspondence addition where the distance between the stroke feature point of the input pattern and the stroke feature point of the standard pattern becomes minimum. In general, the correspondence between the stroke A of the input pattern and the stroke B of the standard pattern corresponds to the set of elementary columns of the feature point of the stroke A of the input pattern {0, 1, ... , I}, the set of elementary columns of the feature points of the stroke (B) of the standard pattern {0, 1, ... , J}

ω: {0, 1, 2,…, I}→{0, 1, 2,…, J}ω: {0, 1, 2, ... , I} → {0, 1, 2, ... , J}

을 제공하는 것에 의해 결정된다.≪ / RTI >

여기에서, ω는 스트로크(A)와 스트로크(B)의 양끝점을 일치시키는 사상으로, ω(0)=:0, ω(I)=j(즉 개시점, 종료점은 일치한다)를 만족하고, 구성요소의 순서는 역회전을 허용하지 않는 단조로운 사상이기 때문에, 신축(伸縮)사상이라고 불린다. 또한, 스트로크(A)의 i번째의 요소를 ai, 스트로크(B)의 j번째의 요소를 bj, ai와 bj의 거리를 d(ai, bj): 특징점(ai 와 bj) 사이의 유클리드 거리, 스트로크(A)의 i번째의 요소, 스트로크(B)의 j번째의 요소까지의 누적 거리를 g(i, j)로 하면, 점화식(漸化式)Here, ω is an event in which both ends of the stroke (A) and the stroke (B) are coincident with each other and satisfies ω (0) = 0 and ω (I) = j , The order of the components is called a stretch (contraction) thought because it is a monotonous idea that does not allow a reverse rotation. The i-th element of the stroke A is ai, the j-th element of the stroke B is bj, the distance of ai and bj is d (ai, bj): the Euclidean distance between the feature points (ai and bj) Assuming that the cumulative distance from the i-th element of the stroke A to the j-th element of the stroke B is g (i, j)

1≤i≤I, 0≤j≤J에 대하여,1? I? I, 0? J? J,

g(i, j)=d(ai, bj) +min {g(i-1, k)|0≤k≤j}g (i, j) = 0 (k, j)

단, g(0, 0)=d(a0, b0), g(0, j) =∞ (j>0일 때)가 성립한다.However, g (0, 0) = d (a0, b0) and g (0, j) = ∞ (when j> 0) are established.

이것에 의해, 입력패턴의 스트로크(A)와 표준 패턴의 스트로크(B)의 대응부가의 정보를 얻게된다. 여기에서 min{g(i-1, k)|0≤k≤j)을 제공하는 k의 값을 기록해 두면, 특징점간의 최적의 대응 부가의 정보를 얻게 된다. 즉, 표준 패턴의 스트로크의 각 특징점이 입력패턴의 연속 문자 스트로크 등의 특징점에 대응하고 있는가를 알 수 있다.Thus, the information of the corresponding part of the stroke A of the input pattern and the stroke B of the standard pattern is obtained. Here, if the value of k providing min {g (i-1, k) | 0? K? J) is recorded, information of the optimum corresponding portion between the minutiae points is obtained. That is, whether or not each feature point of the stroke of the standard pattern corresponds to a feature point such as a continuous character stroke of the input pattern.

도 21의 표준 패턴의 스트로크의 특징점과, 도 22의 입력패턴의 스트로크 특징점(샘플링점)의 대응 부가를 동적 계획법에 의해 행하면, 대응부가의 평가치와 도 23의 화살표로 나타내는 대응 부가 결과를 얻게 된다.When the feature point of the stroke of the standard pattern in Fig. 21 and the corresponding feature of the stroke feature point (sampling point) of the input pattern in Fig. 22 are performed by the dynamic programming method, do.

단계 S62로 진행하여, 연속 문자 스트로크 대응 부가 수단(8)은 얻어진 대응 부가 결과로부터 분단 스트로크의 스트로크 특징을 스트로크 특징 추출수단(2)에서 구한다. 스트로크 특징을 구하기 위해서, 먼저, 입력패턴의 연속문자 스트로크를 표준 패턴의 스트로크의 시종점에 대응 부가된 특징점에 의해 분단하여, 시종점에 끼워진 스트로크를 분단 스트로크로서 추출한다.The flow advances to step S62, and the continuous character stroke corresponding section 8 obtains the stroke characteristic of the division stroke from the obtained result of the corresponding addition part by the stroke feature extraction section 2. [ In order to obtain the stroke characteristic, first, the continuous character stroke of the input pattern is divided by the feature point added to the stroke point of the standard pattern, and the stroke sandwiched by the return point is extracted as the division stroke.

다음에, 스트로크 특징 추출수단(2)에서, 분단 스트로크의 스트로크 특징을 추출한다. 도 24는 입력패턴의 스트로크(64)로부터 분단 스트로크(130, 131)를 구한 예이다.Next, the stroke characteristic extracting means 2 extracts the stroke characteristic of the division stroke. 24 shows an example in which the division strokes 130 and 131 are obtained from the stroke 64 of the input pattern.

단계 S63으로 진행하여, 연속 문자 스트로크 대응 부가 수단(8)은 현재의 후보 스트로크에 대하여, 모든 필순에 관해 입력패턴의 연속문자 스트로크와의 대응 부가를 행하였는지를 체크한다. 체크 결과, 모든 스트로크에서의 조합에 의한 대응 부가를 행하지 않는 경우는 단계 S60으로 진행하여, 그 외의 필순에 대하여 대응 부가를 행한다.The process proceeds to step S63, and the continuous character stroke correspondence adding unit 8 checks whether or not the correspondence addition with the continuous character stroke of the input pattern is performed with respect to the current candidate stroke. As a result of the check, if the corresponding addition is not performed in all the strokes, the flow advances to step S60 to perform the correspondence addition for the other stroke orders.

입력패턴의 스트로크(64)인 경우는 단계 S60으로 진행하여, 스트로크(73, 72)라고 하는 필순으로 대응 부가를 행한다. 대응 부가 처리는 스트로크(72, 73)인 경우와 마찬가지이기 때문에, 여기에서는 설명을 생략한다.In the case of the stroke 64 of the input pattern, the flow advances to step S60 to perform the correspondence in the order of strokes 73 and 72 in the order of the strokes. Since the corresponding addition process is the same as that in the case of the strokes 72 and 73, description thereof is omitted here.

여기에서는 스트로크(72, 73)의 경우가, 입력패턴의 스트로크 특징점과 표준 패턴의 스트로크 특징점과의 거리가 작아지는 것이므로, 정확한 부분 스트로크의 대응 부가 결과로서 선택된다.In this case, since the distances between the stroke minutiae points of the input pattern and the stroke minutiae points of the standard pattern become smaller in the case of the strokes 72 and 73, the corresponding partial strokes are selected as a result.

연속문자 스트로크 대응 부가 수단(8)은 현재의 입력패턴의 연속 문자 스트로크에 대하여, 모든 필순의 대응 부가가 종료하면, 도 17의 단계 S56으로 진행하고, 모든 연속문자 스트로크에 대하여 대응 부가를 행하였는지를 체크하여, 대응 부가를 종료하고 있는 경우는 연속 문자 스트로크에 대한 대응 부가 수단(8)의 처리를 종료하여, 도 2의 단계 S8로 진행한다. 대응 부가가 종료하지 않은 경우는 도 17의 단계 S51로 복귀된다. 도 3의 입력패턴에서는 연속 문자 스트로크는 1개이기 때문에 여건이 만족되어, 단계 S8로 진행한다.The continuous character stroke correspondence adding means 8 proceeds to step S56 in FIG. 17 when the correspondence of all the consecutive character strokes to the continuous character strokes of the current input pattern is completed, and judges whether or not the correspondence is added for all the consecutive character strokes If it is determined that the correspondence has been completed, the process of the correspondence adding unit 8 for the continuous character stroke is terminated and the process proceeds to step S8 in Fig. When the counterpart attachment has not been completed, the process returns to step S51 of FIG. In the input pattern of Fig. 3, since the number of consecutive character strokes is one, the condition is satisfied and the process proceeds to step S8.

단계 S8에서, 제어수단(11)은 스트로크 특징 사전(3)의 모든 표준 패턴에 대하여, 매칭을 행하였는의 여부를 체크하여, 종료되어 있는 경우는 단계 S9로 진행하고, 종료되지 않은 경우는 단계 S4로 진행하여, 다음 표준 패턴과의 대응 부가를 행한다.In step S8, the control means 11 checks whether all the standard patterns of the stroke feature dictionary 3 have been matched, and if so, the process proceeds to step S9. If not, the process proceeds to step S4 To perform the correspondence with the next standard pattern.

도 3의 입력패턴에 관해서는 모든 표준 패턴과의 대응 부가가 종료하였기 때문에, 단계 S9로 진행한다.With respect to the input pattern in Fig. 3, since the correspondence with all the standard patterns has been completed, the process proceeds to step S9.

단계 S9에서, 제어 수단(11)은 직선 스트로크 대응 부가 수단(5), 비직선 스트로크 대응 부가 수단(7), 연속문자 스트로크 대응 부가 수단(8)에서 얻어진 대응 부가 결과를 문자평가 수단(10)에 보낸다.The control means 11 sets the correspondence result obtained in the linear stroke correspondence adding means 5, the nonlinear stroke correspondence adding means 7 and the continuous character stroke correspondence adding means 8 to the character evaluation means 10, Lt; / RTI >

문자평가수단(10)은 이송된 대응 부가 결과에 근거하여, 문자의 평가치를 구하여, 가장 거리가 작은 인식대상문자(표준 패턴)를 최종적인 인식결과로서 선택한다.The character evaluation means 10 obtains the evaluation value of the character based on the result of the transferred correspondence portion, and selects the recognition target character (standard pattern) having the smallest distance as the final recognition result.

문자의 평가치(D)는 이하의 수학식 3에서 구한다.The evaluation value (D) of the character is obtained by the following expression (3).

D=(Wd×Dd+Ww×Dw+Wh×DhD = (Wd x Dd + Ww x Dw + Wh x Dh

+Wvw×Dvw+Wvh×Dvh+Wvd×Dvd )/k+ Wvw x Dvw + Wvh x Dvh + Wvd x Dvd) / k

여기에서, 스트로크 방향의 정규화 후의 거리(Dd), 스트로크 폭의 정규화 후의 거리(Dw), 스트로크 높이의 정규화 후의 거리(Dh), 가상 스트로크 폭의 정규화 후의 거리(Dvw), 가상 스트로크 높이의 정규화 후의 거리(Dvh), 가상 스트로크 방향의 정규화 후의 거리(Dvd), Wd는 스트로크 방향의 가중, Ww는 스트로크 폭의 가중, Wh는 스트로크 높이의 가중, Wvw는 가상 스트로크 폭의 가중, Wvh는 가상스트로크 높이의 가중, Wvd는 가상 스트로크 방향의 가중, k는 현재의 표준 패턴의 획수를 나타낸다. 또한,Here, the distance Dd after normalization in the stroke direction, the distance Dw after normalization of the stroke width, the distance Dh after normalization of the stroke height, the distance Dvw after the normalization of the virtual stroke width, Wv is the weight of the stroke width, Wv is the weight of the stroke width, Wvh is the weight of the stroke width, Wh is the weight of the stroke width, Wv is the weight of the stroke width, Wvh is the weight of the virtual stroke width, Wvh is the virtual stroke height Wvd represents the weight of the virtual stroke direction, and k represents the number of strokes of the current standard pattern. Also,

Wd+Ww+Wh+Wvw+Wvh+Wvd=1Wd + Ww + Wh + Wvw + Wvh + Wvd = 1

로 한다..

단, 직선 스트로크, 비직선 스트로크 및 연속문자 스트로크의 대응 부가 결과가 복수 존재하는 경우는, 입력패턴 중의 어느쪽의 스트로크에도 대응부가 없는 미대응의 표준 패턴의 스트로크가 존재하는 것이나, 1개의 표준 패턴의 스트로크가 복수의 입력패턴의 스트로크에 대응하는 것의 모순이 생기지 않도록 고려한다.However, when there are a plurality of corresponding addition results of the linear strokes, the non-linear strokes, and the continuous character strokes, it is determined that there is a non-corresponding standard pattern stroke without any corresponding portion in any of the input patterns, So that the contradiction of the strokes of the plurality of input patterns corresponding to the strokes of the plurality of input patterns does not occur.

다음에, 부분 스트로크 추출수단(9)에 대하여 설명한다. 도 25는 7획의 문자「言」을 4획으로 필기한 연속문자 스트로크를 포함하는 입력패턴의 예이다.Next, the partial stroke extracting means 9 will be described. 25 is an example of an input pattern including consecutive character strokes written with four strokes of the character "word" of seven strokes.

이하, 도 25의 입력패턴을 예로, 부분 스트로크 추출수단(9)의 동작을 설명한다. 이 예에서, 스트로크(141, 142, 143)는 직선 스트로크 대응 부가 수단(5) 및 비직선 스트로크 대응 부가 수단(7)에 의해 대응 부가되어 있는 것으로 하고, 그 설명은 생략한다.Hereinafter, the operation of the partial stroke extracting means 9 will be described taking the input pattern of Fig. 25 as an example. In this example, it is assumed that the strokes 141, 142, and 143 correspond to each other by the linear stroke corresponding means 5 and the non-linear stroke corresponding means 7, and a description thereof will be omitted.

스트로크(140)는 연속문자 스트로크이기 때문에, 도 2의 단계 S7로 진행하여, 연속문자 스트로크 대응 부가 수단(8)으로 대응 부가가 행해진다.Since the stroke 140 is a continuous character stroke, the process advances to step S7 in Fig. 2, and the corresponding portion is added to the continuous character stroke correspondence adding means 8. Fig.

먼저, 도 17의 단계 S50으로 진행하여, 연속문자 스트로크 대응 부가 수단(8)은 스트로크 대응 부가 가능영역 결정수단(6)으로 입력패턴의 연속문자 스트로크의 대응 부가 가능영역을 결정하여, 연속문자 스트로크에 대응 부가 가능한 표준 패턴의 스트로크 후보를 구한다.17, the continuous character stroke correspondence adding means 8 determines the correspondence addition region of the input character string to the stroke correspondence addition possible region determining means 6, A stroke candidate of a standard pattern corresponding to the stroke candidate is obtained.

스트로크 대응 부가 가능영역 결정수단(6)은 도 18의 영역분할 정보를 사용하여, 대응 부가 가능영역을 결정한다. 대응 부가 가능영역은 입력패턴의 스트로크의 외부접속 직사각형이 포함되는 영역의 1개 외측의 영역까지를 대상으로 한다. 도 26은 도 25의 입력패턴에 대하여 도 18에 도시된 영역분할을 행한 예이다. 도 26에서 스트로크(140)의 외부접속 직사각형(144)은 영역(A 내지 L)이 포함되는 것을 알 수 있다. 이 결과, 스트로크(140)의 스트로크 대응 부가 가능영역은 모든 영역(A 내지 P)이 된다.The stroke correspondence attachable area determining means 6 uses the area segment information shown in Fig. 18 to determine a correspondence attachable area. The correspondence attachable area is intended to extend to one area outside the area including the external connection rectangle of the stroke of the input pattern. Fig. 26 shows an example in which the area division shown in Fig. 18 is performed for the input pattern in Fig. It can be seen in Figure 26 that the outer connecting rectangle 144 of the stroke 140 includes the areas A through L. [ As a result, the stroke-corresponding area of the stroke 140 becomes all the areas A to P.

연속문자 스트로크 대응 부가 수단(8)은 결정된 대응 부가 가능영역에 존재하는 표준 패턴의 스트로크를 구한다. 도 27은 문자「言」의 표준 패턴에 있어서, 영역(A 내지 P)에 포함되는 것은 모든 스트로크이지만, 이중 직선 스트로크 대응 부가 수단(5)과 비직선 스트로크 대응 부가 수단(7)에 의해 입력패턴의 스트로크와 1 대 1로 대응 부가된 표준 패턴의 스트로크는 대응 부가가 확정되어 있기 때문에 제외한다. 이 예에서는 스트로크(154, 156)가 직선 스트로크 대응 부가 수단(5)에서 확정하고, 스트로크(155)가 비직선 스트로크 대응 부가 수단(7)에서 확정되어 있기 때문에 제외된다. 이 결과, 스트로크(50, 151, 152, 153)의 4개가 후보 스트로크로서 선택된다.The continuous character stroke correspondence adding means 8 obtains a stroke of a standard pattern present in the determined correspondence addition enabling area. 27 is a diagram showing the relationship between the input pattern and the input pattern in the standard pattern of the character " word " The strokes of the standard patterns corresponding to each other in a one-to-one correspondence are excluded because the corresponding portions are determined. This example is excluded because the strokes 154 and 156 are determined by the linear stroke corresponding means 5 and the stroke 155 is determined by the non-linear stroke corresponding means 7. As a result, four of the strokes 50, 151, 152, and 153 are selected as the candidate strokes.

다음에, 연속문자 스트로크 대응 부가 수단(8)은 도 17의 단계 S57로 진행하여, 모든 연속 문자 스트로크에 대하여 대응 부가 가능 영역이 결정되었는지의 여부를 체크하여, 결정되어 있으면 단계 S51로 진행하고, 결정되어 있지 않으면 단계 S50으로 진행한다. 도 25의 입력 패턴에서는 연속문자 스트로크는 1개밖에 존재하지 않기 때문에, 단계 S51로 진행하며, 연속문자 스트로크의 개시 스트로크, 종료 스트로크로 되는 표준 패턴의 후보 스트로크를 결정한다.Next, the continuous character stroke correspondence adding means 8 proceeds to step S57 in FIG. 17 to check whether or not the correspondence addition possible area has been determined for all continuous character strokes. If the determination result is YES, If not, the flow advances to step S50. Since there is only one continuous character stroke in the input pattern of Fig. 25, the flow advances to step S51 to determine the candidate strokes of the standard pattern which are the start strokes and the end strokes of the continuous character strokes.

도 26에서, 입력패턴의 스트로크(140)의 개시점은 영역 B에 존재하기 때문에, 대응 부가 가능영역은 영역(A, B, C, E, F, G)으로 되어, 이 영역에 개시점이 포함되는 표준 패턴의 스트로크(150, 151, 152)가 개시 스트로크의 후보가 된다. 마찬가지로, 스트로크(152, 153)가 종료 스트로크의 후보가 된다.26, since the start point of the stroke 140 of the input pattern exists in the region B, the corresponding addable region becomes the region A, B, C, E, F, G, Strokes 150, 151, and 152 of the standard pattern become candidates for the start stroke. Likewise, the strokes 152 and 153 are candidates for the end stroke.

단계 S52에 진행하여, 연속 문자 스트로크 대응 부가수단(8)은 표준 패턴의 스트로크 후보수를 체크하는데, 이 예에서는 후보 스트로크 수는 4개이기 때문에 단계 S53으로 진행한다.Proceeding to step S52, the continuous character stroke correspondence adding means 8 checks the number of strokes of the standard pattern. In this example, the number of candidate strokes is four, and thus the process proceeds to step S53.

단계 S53에서, 연속문자 스트로크 대응 부가 수단(8)은 부분 스트로크 추출수단(9)에 의해, 입력패턴의 연속문자 스트로크로부터 부분 스트로크를 추출한다.In step S53, the continuous character stroke correspondence adding means 8 extracts the partial strokes from the continuous character strokes of the input pattern by the partial stroke extracting means 9. [

도 28은 단계 S53의 부분 스트로크의 대응 부가 처리의 흐름을 도시한 흐름도이다.Fig. 28 is a flowchart showing the flow of the process of adding the partial strokes in step S53.

도 28에 도시된 흐름도를 참조하여, 부분 스트로크 추출 수단(9)의 동작을 설명한다.The operation of the partial stroke extracting means 9 will be described with reference to the flowchart shown in Fig.

단계 S70에서, 부분 스트로크 추출 수단(9)은 입력패턴의 스트로크의 굴곡점을 부분 스트로크 분단 후보점으로서 추출하여, 부분 스트로크의 개시점을 입력패턴의 스트로크의 개시점으로 한다.In step S70, the partial stroke extracting means 9 extracts the inflection point of the stroke of the input pattern as a partial stroke dividing candidate point, and sets the starting point of the partial stroke as the starting point of the stroke of the input pattern.

도 29는 입력패턴의 연속문자 스트로크의 분단점 후보를 도시한 도이다. 도 29에 있어서, 160 내지 165는 입력패턴의 스트로크(140)의 부분 스트로크 분단후보점, 166은 부분 스트로크의 개시점, 167은 부분 스트로크의 종료점이다.FIG. 29 is a diagram showing candidate points of division of consecutive character strokes of input patterns. FIG. 29, reference numerals 160 to 165 denote partial stroke division candidate points of the stroke 140 of the input pattern, 166 denotes the start point of the partial stroke, and 167 denotes the end point of the partial stroke.

단계 S71로 진행하여, 부분 스트로크 추출 수단(9)은 입력패턴의 스트로크의 종료점에서 분단점을 역방향으로 더듬어가고, 현재의 부분 스트로크의 개시점에서 분단점까지의 스트로크의 후보 스트로크 수가 3개 이하가 되는 분단점을 구하고, 그 분단점을 부분 스트로크의 종료점으로 한다. 도 29의 예에서는 우선 개시점(166)으로부터 분단 후보점(160, 161, 162, 163, 164, 165)까지의 부분 스트로크가 선택되지만, 이 부분 스트로크는 영역(A, B, C, D, E, F, G, I, J, K)에 존재하기 때문에, 대응 부가 가능 영역은 모든 영역이 되며, 후보 스트로크 수는 4 개인 채이기 때문에, 분단 후보점(165) 전의 분단 후보점(164)으로 진행한다. 마찬가지로, 순차 분단점을 개시점 방향으로 이동하고, 부분 스트로크를 구하여, 그 후보 스트로크를 추출한다. 이 예에서는 개시점(166)으로부터 분단 후보점(160,161, 162)까지의 부분 스트로크의 후보 스트로크 수가 3 개가 되기 때문에, 이 스트로크를 부분 스트로크로서 선택한다.The process proceeds to step S71 so that the partial stroke extracting means 9 follows the dividing point backward at the end point of the stroke of the input pattern and determines that the number of candidate strokes of the stroke from the starting point of the current partial stroke to the dividing point is 3 or less , And the dividing point is determined as the end point of the partial stroke. The partial strokes from the starting point 166 to the division candidate points 160, 161, 162, 163, 164 and 165 are selected in the example of FIG. 29, The number of candidate strokes is four. Therefore, the number of candidate strokes is four (4), and therefore, the number of candidate strokes is four Go ahead. Likewise, the sequential dividing point is moved in the starting direction, a partial stroke is obtained, and the candidate stroke is extracted. In this example, since the number of candidate strokes of the partial strokes from the starting point 166 to the division candidate points 160, 161, and 162 becomes three, this stroke is selected as the partial stroke.

단계 S72로 진행하여, 연속 문자 스트로크 대응 부가 수단(8)은 얻어진 부분 스트로크와 후보 스트로크의 대응 부가를 행한다.The process proceeds to step S72, and the continuous character stroke correspondence adding unit 8 performs the correspondence between the obtained partial strokes and the candidate strokes.

도 31은 단계 S72의 처리의 흐름을 도시한 흐름도이다. 단계 S72의 처리를 도 31의 흐름도를 참조하여 설명한다.31 is a flowchart showing the flow of the process of step S72. The processing of step S72 will be described with reference to the flowchart of Fig.

단계 S80에서, 부분 스트로크의 외부 접속 직사각형과 각 후보 스트로크의 외부접속 직사각형에 의해, 대응 부가 가능한 후보를 압축한다. 구체적으로는 부분 스트로크의 외부 접속 직사각형을 소정의 한계치로 확장된 영역에, 외부 접속 직사각형이 포함되는 후보 스트로크를 선택한다. 도 30의 180이, 확장된 부분 스트로크의 외부 접속 직사각형이다. 이 예에서는 후보의 스트로크(150, 151, 152) 중 스트로크(152)가 후보에서 제외된다.In step S80, candidates capable of corresponding to each other are compressed by the external connection rectangle of the partial stroke and the external connection rectangle of each candidate stroke. More specifically, a candidate stroke including an external connection rectangle is selected in an area extending from the external connection rectangle of the partial stroke to a predetermined limit value. 180 in Fig. 30 is an externally connected rectangle of an extended partial stroke. In this example, the stroke 152 of the candidate strokes 150, 151, 152 is excluded from the candidate.

단계 S81로 진행하여, 연속문자 스트로크 대응 부가 수단(8)은 후보 스트로크 수가 3개 이하인 경우와 마찬가지로, 표준 패턴의 후보 스트로크의 필순을 결정한다.The process proceeds to step S81, and the continuous character stroke correspondence adding unit 8 determines the order of the candidate strokes of the standard pattern as in the case where the number of candidate strokes is three or less.

여기에서, 필순의 조합의 결정은 현재의 부분 스트로크가 입력패턴의 연속 문자 스트로크의 개시점을 포함하는 경우는 개시 스트로크의 후보, 종료점을 포함하는 경우는 종료 스트로크의 후보인 정보도 사용한다. 현재의 부분 스트로크의 후보 스트로크 수는 2개 존재하며, 어느쪽의 스트로크도 개시 스트로크의 조건을 만족하고 있기 때문에, 2 종류의 필순으로 된다.Here, the determination of the combination of the paylines is also a candidate of the start stroke if the current partial stroke includes the start point of the consecutive character strokes of the input pattern, or information that is the candidate of the end stroke when the end portion includes the end point. There are two candidate strokes of the current partial stroke, and since both strokes satisfy the condition of the start stroke, two types of strokes are selected.

여기에서는 먼저, 스트로크(150, 151)와 같은 필순에서의 대응 부가를 행한다.Here, the strokes 150 and 151 are first subjected to the corresponding strokes in the order of stroke.

단계 S82로 진행하며, 연속문자 스트로크 대응 부가 수단(8)은 부분 스트로크와 표준 패턴의 후보 스트로크의 대응 부가를 행한다. 대응부가의 방법은 도 20의 단계 S61과 마찬가지(상기 연속 문자 스트로크의 대응부가의 경우와 동일)이다. 도 20의 단계 S61에서, 스트로크(150, 151)는 공통으로 직선 스트로크이기 때문에, 각각의 개시점 종료점이 특징점으로 되며, 부분 스트로크의 특징점과의 대응 부가를 동적 계획법에 의해 구한다.The flow proceeds to step S82, in which the continuous character stroke correspondence adding means 8 performs the correspondence between the partial strokes and the candidate strokes of the standard pattern. The method of counterparting is the same as that of step S61 in Fig. 20 (the same as in the case of the corresponding portion of the continuous character stroke). In the step S61 in Fig. 20, since the strokes 150 and 151 are common linear strokes, each starting point end point becomes a minutiae point, and a portion corresponding to the minutiae point of the partial stroke is obtained by the dynamic programming method.

단계 S83으로 진행하고, 연속 문자 스트로크 대응부가 수단(8)은 얻어진 대응부가 결과로부터 부분 스트로크를 분단하여, 그 분단된 스트로크의 스트로크 특징을 스트로크 특징 추출 수단(2)으로 구한다. 도 32는 도 30의 부분 스트로크로부터 분단 스트로크(190, 191)를 구한 예이다.The flow advances to step S83, and the continuous character stroke correspondence adding unit 8 divides the partial stroke from the obtained result of the corresponding addition, and obtains the stroke characteristic of the divided stroke by the stroke characteristic extracting unit 2. Fig. 32 is an example in which the dividing strokes 190 and 191 are obtained from the partial strokes of Fig.

단계 S84으로 진행하여, 연속 문자 스트로크 대응부가 수단(8)은 현재의 후보 스트로크에 대하여 모든 필순에 관한 입력 패턴의 부분 스트로크와의 대응부가를 행하였는가를 체크한다. 체크결과, 모든 조합에 관해 행하지 않은 경우는 단계 S81로 진행하여, 다른 필순에 관해 대응부가를 행한다.The process proceeds to step S84, and the continuous character stroke correspondence adding unit 8 checks whether or not the correspondence addition with the partial strokes of the input pattern concerning all the writing order is performed for the current candidate strokes. As a result of the check, if all the combinations are not performed, the flow advances to step S81 to perform the correspondence with respect to the different writing order.

이 예에서는 단계 S81로 진행하며, 스트로크(151, 150)와 같은 다른 필순에서의 대응 부가를 행한다. 대응부가 처리는 스트로크(151, 150)의 경우와 마찬가지이기 때문에, 설명을 생략한다. 여기에서는 스트로크(150, 151)의 필순인 경우가 입력패턴의 스트로크 특징점과 표준 패턴의 스트로크의 대응부가 결과로서 채용된다.In this example, the flow advances to step S81 to perform a correspondence in another stroke order such as the strokes 151 and 150. Since the correspondence addition process is the same as that in the case of the strokes 151 and 150, a description thereof will be omitted. In this case, the case where the strokes 150 and 151 are pincushions is adopted as a result of the correspondence between the stroke characteristic points of the input pattern and the strokes of the standard pattern.

다음에, 연속 문자 스트로크 대응부가 수단(8)은 도 28의 단계 S73으로 진행하며, 현재의 연속 문자 스트로크의 대응부가가 종료했는가를 판정하고, 종료된 경우는 단계 S75, 종료하지 않은 경우는 단계 S74로 진행한다.Next, the continuous character stroke correspondence adding means 8 proceeds to step S73 in Fig. 28 and judges whether or not the correspondence of the current continuous character strokes is completed. If it is judged that the correspondence of the current continuous character strokes has ended, Proceed to S74.

도 29의 예에서는 종료되어 있지 않기 때문에, 단계 S74로 진행한다. 단계 S74에서는 현재의 부분 스트로크의 종료점을 다음 부분 스트로크의 개시점으로 한다. 여기에서는 도 29의 분단 후보점(162)이 다음 부분 스트로크의 개시점으로 된다.Since it has not been completed in the example of FIG. 29, the process proceeds to step S74. In step S74, the end point of the current partial stroke is set as the start point of the next partial stroke. Here, the division candidate point 162 in Fig. 29 becomes the start point of the next partial stroke.

단계 S71로 진행하며, 연속 문자 스트로크 대응부가 수단(8)은 부분 스트로크 추출수단(9)을 이용하여 다음의 부분 스트로크를 작성한다. 구체적으로는 부분 스트로크 추출수단(9)은 새로운 부분 스트로크에 관해, 부분 스트로크의 종료점으로부터 분단점을 역방향으로 더듬어가고, 현재의 부분 스트로크의 개시점으로부터 분단점까지의 스트로크의 후보 스트로크 수가 3개 이하로 되는 분단점을 구하여, 그 분단점을 부분 스트로크의 종료점으로 한다.The process proceeds to step S71, and the continuous character stroke correspondence adding means 8 uses the partial stroke extracting means 9 to create the next partial stroke. Specifically, the partial stroke extracting means 9 refers to the new partial stroke in the reverse direction from the end point of the partial stroke, and determines whether the number of candidate strokes of the stroke from the starting point of the current partial stroke to the dividing point is 3 or less , And the dividing point is defined as the end point of the partial stroke.

도 29의 예에서는 이미 확정된 스트로크(150, 151)를 후보로부터 제외하기 때문에, 후보로서는 스트로크(152, 153) 중의 어느 하나가 된다. 따라서, 분단 후보점(162, 163, 164, 165)과 부분 스트로크의 종료점(167)으로 구성되는 나머지 모든 부분 스트로크가 선택된다.In the example of FIG. 29, since the already determined strokes 150 and 151 are excluded from the candidates, the candidates are any of the strokes 152 and 153. Therefore, all the remaining partial strokes constituted by the division candidate points 162, 163, 164, and 165 and the end point 167 of the partial stroke are selected.

단계 S72로 진행하여, 연속문자 스트로크 대응 부가 수단(8)은 얻어진 부분 스트로크와 후보 스트로크의 대응 부가를 행한다.The process proceeds to step S72, and the continuous character stroke correspondence adding unit 8 performs the correspondence between the obtained partial strokes and the candidate strokes.

도 31의 흐름도를 이용하여, 부분 스트로크의 대응부가의 동작을 설명한다.The operation of the corresponding addition of partial strokes will be described with reference to the flowchart of Fig.

단계 S80에서, 부분 스트로크의 외부 접속 직사각형과 각 후보 스트로크의 외부 접속 직사각형에 의해, 대응 부가 가능한 후보를 압축한다. 이 예에서는 후보 스트로크(152, 153)는 양쪽 모두 조건을 만족하는 대응부가의 대상이 된다.In step S80, candidates capable of corresponding to each other are compressed by the external connection rectangle of the partial stroke and the external connection rectangle of each candidate stroke. In this example, both of the candidate strokes 152 and 153 are the objects of the corresponding part satisfying the condition.

다음에, 단계 S81로 진행하여, 연속문자 스트로크 대응 부가 수단(8)은 필순을 결정한다. 현재의 부분 스트로크의 후보 스트로크 수는 2개 존재하여, 어느쪽의 스트로크도 종료 스트로크의 조건을 만족하고 있기 때문에, 2가지의 필순이 된다.Next, proceeding to step S81, the continuous character stroke correspondence adding means 8 determines the order of writing. Since there are two candidate strokes of the present partial stroke, and both strokes satisfy the condition of the ending stroke, there are two order of strokes.

여기에서는 우선, 스트로크(152, 153)와 같은 필순으로의 대응 부가를 행한다.First, the strokes 152 and 153 are assigned in the same order as the strokes.

단계 S82로 진행하여, 연속 문자 스트로크 대응 부가 수단(8)은 부분 스트로크와 표준 패턴의 후보 스트로크의 대응 부가를 행한다. 대응부가의 방법은 도 20의 단계 S61과 같고, 스트로크(52, 153)는 동시에 직선 스트로크이기 때문에, 각각의 시종점이 특징점으로 되고, 부분 스트로크의 특징점과의 대응 부가를 동적 계획법에 의해 행한다.The flow advances to step S82, and the continuous character stroke correspondence adding unit 8 performs the correspondence between the partial stroke and the candidate stroke of the standard pattern. 20, and since the strokes 52 and 153 are linear strokes at the same time, the respective turning points become the characteristic points, and the corresponding portions of the partial strokes are matched by the dynamic programming method.

여기에서, 현재의 부분 스트로크의 개시점(162)은 그 점까지의 부분 스트로크의 종료점과 일치하기 때문에, 그 동안에 스트로크와 스트로크 간의 실제로는 필기되지 않은 가상 스트로크 성분이 존재하는 경우가 있다. 따라서, 분단 후보점(162)을 개시점으로 하는 대응 부가와 다음 분단 후보점(163)을 개시점으로 하는 대응부가의 양쪽을 행하여, 직사각형이 작은 쪽을 최종적인 결과로 한다. 이 예에서는 분단 후보점(163)을 개시점으로 하는 대응 부가가 선택된다.Here, since the starting point 162 of the current partial stroke coincides with the end point of the partial stroke up to that point, there may actually be an untwisted virtual stroke component between the stroke and the stroke during that time. Therefore, both the corresponding portion with the division candidate point 162 as the starting point and the corresponding portion with the next division candidate point 163 as the starting point are performed, and the smaller the rectangle is determined as the final result. In this example, the corresponding part with the division candidate point 163 as the starting point is selected.

단계 S83으로 진행하여, 연속 문자 스트로크 대응부가 수단(8)은 얻어진 대응부가 결과로부터 부분 스트로크를 분단하고, 그 스트로크 특징을 스트로크 특징 추출수단(2)에서 구한다. 도 33은 부분 스트로크로부터 분단 스트로크(192, 193)를 구한 예이다.The process proceeds to step S83, in which the continuous character stroke corresponding section 8 divides the partial stroke from the obtained result of the corresponding part and obtains the stroke characteristic from the stroke characteristic extracting section 2. 33 shows an example in which the dividing strokes 192 and 193 are obtained from the partial strokes.

단계 S84로 진행하여, 연속문자 스트로크 대응부가 수단(8)은 현재의 후보 스트로크에 대해, 모든 필순에 관해 입력 패턴의 부분 스트로크와의 대응부가를 행했는지의 여부를 체크한다. 체크 결과, 모든 조합에 관해 행하지 않은 경우는 단계 S81로 진행하여, 다른 필순에 관해 대응부가를 행한다.The process proceeds to step S84 and the continuous character stroke correspondence adding unit 8 checks whether or not the correspondence addition with the partial strokes of the input pattern is performed with respect to the current candidate strokes in all the writing order. As a result of the check, if all the combinations are not performed, the flow advances to step S81 to perform the correspondence with respect to the different writing order.

상기의 예에서는 단계 S81로 진행하며, 스트로크(153, 152)와 같은 필순으로 대응부가를 행한다. 대응부가 처리는 스트로크(152, 153)의 경우와 마찬가지이기 때문에 설명을 생략한다. 여기에서는 스트로크(152, 153)의 필순인 경우가 입력 패턴의 스트로크 특징점과 표준 패턴의 스트로크 특징점과의 거리가 작기 때문에, 올바른 부분 스트로크의 대응부가 결과로서 채용된다.In the above example, the process proceeds to step S81, and the corresponding parts are added in the same order as the strokes 153 and 152. Corresponding addition processing is the same as in the case of the strokes 152 and 153, and a description thereof will be omitted. In this case, since the distances between the stroke minutiae points of the input patterns and the stroke minutiae points of the standard pattern are small in the case of the strokes 152 and 153, the corresponding portion of the right partial strokes is adopted as a result.

다음에, 도 28의 단계 S73으로 진행하고, 연속 문자 스트로크 대응부가 수단(8)은 현재의 연속 문자 스트로크의 대응 부가가 종료했는지를 판정하고, 종료된 경우는 단계 S75, 종료되지 않은 경우는 단계 S74로 진행한다. 상기의 예에서는 종료되었기 때문에, 단계 S75로 진행한다.Next, the process proceeds to step S73 in Fig. 28, and the continuation character stroke correspondence adding unit 8 determines whether or not the correspondence of the current continuous character stroke is completed. If it is finished, the step S75, Proceed to S74. Since the process has been completed in the above example, the process proceeds to step S75.

단계 S75에서, 연속 문자 스트로크 대응부가 수단(8)은 각각의 부분 스트로크의 대응부가 결과로부터 연속 문자 스트로크의 대응부가 결과를 구한다. 여기에서는 각각의 부분 스트로크에 2개씩 표준 패턴의 스트로크가 대응 부가되어 있기 때문에, 양쪽을 부분 스트로크의 순으로 나열한 것을 최종적인 연속문자 스트로크로서 채용한다.In step S75, the continuous character stroke correspondence adding means 8 obtains the result of the corresponding addition of the continuous character strokes from the result of the corresponding addition of each partial stroke. In this case, since two strokes of the standard pattern correspond to each of the partial strokes, the arrangement in which the two strokes are arranged in the order of the partial strokes is adopted as the final continuous character stroke.

이 예의 경우, 표준 패턴의 스트로크 중에 대응 부가되지 않은 스트로크는 존재하지 않았지만, 대응 부가되지 않은 스트로크가 존재하는 경우는 연속되는 부분 스트로크를 연결한 스트로크와의 대응 부가를, 대응 부가되지 않은 스트로크를 포함하여 행하고, 대응 부가의 거리가 작게 되는 경우는 그 스트로크를 채용한다. 이 때, 각 부분 스트로크 사이에 삽입하는 표준 패턴의 스트로크 수는 1개만으로 한다.In the case of this example, there is no corresponding stroke in the stroke of the standard pattern, but when there is a stroke not corresponding to the stroke, the portion corresponding to the stroke connected with the continuous partial stroke is referred to as a stroke not corresponding to the stroke , And when the distance of the corresponding portion becomes small, the stroke is adopted. At this time, the number of strokes of the standard pattern inserted between the partial strokes is only one.

이상의 처리에 의해, 연속문자 스트로크로부터 부분 스트로크를 추출하여 스트로크 대응 부가가 종료되고, 문자평가수단(10)에서 최종적인 문자의 평가치를 계산하여, 인식결과가 확정된다.With the above processing, the partial stroke is extracted from the continuous character stroke, the stroke corresponding portion is ended, and the character evaluation means 10 calculates the final character evaluation value, and the recognition result is determined.

또, 본 실시예에서는 연속문자 스트로크의 대응 부가 특징점의 좌표 정보를 사용하였지만, 스트로크를 일정 간격으로 샘플링하여, 그 샘플점 간의 방향 코드를 사용하여 대응 부가를 행하여도 된다.In the present embodiment, the coordinate information of the corresponding feature point of the continuous character stroke is used, but the stroke may be sampled at regular intervals and the corresponding addition may be performed using the direction code between the sample points.

또한, 본 실시예에서는 스트로크 대응 부가 가능영역을 결정하기 위해서, 문자를 4×1, 1×4, 4×4로 분할한 영역(각각, 수평방향×수직 방향의 분할영역을 나타낸다)을 사용하였지만, 분할수는 임의의 수라도 무방하다.In the present embodiment, in order to determine an area capable of adding strokes, an area obtained by dividing a character into 4 × 1, 1 × 4, and 4 × 4 (each representing a divided area in the horizontal direction × vertical direction) , And the number of divisions may be any number.

또한, 본 실시예에서는 연속 문자 스트로크의 분단 후보점을 굴곡점으로 하였지만, 일정 간격으로 샘플링된 점을 사용하여도 무방하다.In the present embodiment, the division candidate points of the continuous character strokes are taken as the bending points, but it is also possible to use points sampled at regular intervals.

이상과 같이, 본 실시예에 의하면, 계속해서 필기되지 않은 스트로크에 관해서는 스트로크 특징점에서만 대응 부가를 행하고, 또한, 최종적으로 스트로크 특징만을 사용하여 평가를 행하기 때문에, 고속으로 문자인식이 가능함과 동시에, 문자의 변형에 강한 인식방식을 실현할 수 있다.As described above, according to the present embodiment, with respect to the strokes that are not yet written yet, only the strok characteristic points are subjected to the corresponding addition, and the evaluation is performed using only the stroke characteristic finally, , It is possible to realize a recognition method which is resistant to deformation of characters.

또한, 계속하여 필기되지 않은 스트로크만이 아니고, 계속하여 필기된 스트로크에 대하여도 필순의 대응 부가를 행하도록 하였기 때문에, 획수, 필순의 양방향이 변동된 패턴도 고정밀도로 문자인식이 가능하다.In addition, not only the strokes that have not been continuously written but also the written strokes that are subsequently written correspond to the strokes in the order in which they are written. Therefore, the pattern in which both the strokes and the strokes are varied can be recognized with high accuracy.

또한, 극단적으로 계속해서 필기된 스트로크에 관하여는 부분 스트로크로 분할하여 대응 부가를 행하도록 하였기 때문에, 처리시간을 늘리는 것이 아니고, 필순 변동을 고려한 대응 부가가 가능하다.In addition, since the extremely long strokes are divided into partial strokes so as to correspond to each other, it is possible not to increase the processing time but to add the strokes in consideration of the strokes.

또한, 손으로 쓴 문자인 입력 스트로크를 직선 스트로크, 비직선 스트로크 또는 연속문자 스트로크로 분류하여, 직선 스트로크 대응 부가, 비직선 스트로크 대응 부가, 연속문자 스트로크 대응부가의 순서로 대응 부가를 행하여, 각각의 대응 부가로 대응 부가가 실패한 표준 패턴에 대해서는 그것 이후의 대응 부가의 처리를 행하지 않도록 하였기 때문에, 정답과 다른 표준 패턴과의 대응 부가는 행하지 않고, 효율성 있게 대응 부가 처리를 할 수 있어, 고속으로 문자인식이 가능하다.In addition, input strokes that are handwritten characters are classified into a linear stroke, a non-linear stroke, or a continuous character stroke, and correspondence is performed in the order of a portion corresponding to a straight stroke, a portion corresponding to a nonlinear stroke, It is possible to efficiently carry out the correspondence addition processing without performing the correspondence addition between the correct answer and the other standard pattern, Recognition is possible.

또한, 연속 문자 스트로크의 대응 부가를 스트로크의 개시점, 종료점 레벨의 특징점에서 행하도록 하였기 때문에, 대응 부가가 고속으로 가능하고, 또한 스트로크 특징 사전의 용량을 작게 억제하는 것이 가능하다.In addition, since the correspondence of the continuous character strokes is made at the feature points of the start and end points of the stroke, it is possible to cope with high speed and to suppress the capacity of the stroke feature dictionary to a small degree.

본 발명은 상술한 바와 같이 구성되어 있기 때문에, 이하와 같은 효과를 발휘한다.Since the present invention is configured as described above, the following effects are exhibited.

제 1 또는 제 2 발명에서는 태블릿상에 필기된 손으로 쓴 문자(입력패턴) 스트로크의 형상으로부터 스트로크를 직선 스트로크, 비직선 스트로크, 연속 문자 스트로크로 분류하여, 각각의 스트로크 특징을 표준 패턴(인식 대상 문자)의 스트로크 특징과 대응 부가되도록 하였기 때문에, 필순, 획수가 변동된 입력 패턴에 관해서도, 고속으로 또한 고정밀도로 문자인식을 할 수 있다.In the first or second invention, strokes are classified into a linear stroke, a non-linear stroke, and a continuous character stroke from the shape of a handwritten character (input pattern) stroke written on the tablet, and each stroke characteristic is classified into a standard pattern Characters), it is possible to perform character recognition at high speed and with high accuracy with respect to input patterns whose stroke and stroke counts have changed.

제 1 또는 제 3 발명은 입력 패턴의 각 스트로크의 표준 패턴의 스트로크의 대응부가를 직선 스트로크에 대응 부가하고, 비직선 스트로크로 대응 부가된 표준 패턴에 대하여 행하도록 하였기 때문에, 고속으로 문자 인식이 가능하다.The first or third invention is characterized in that the corresponding portion of the stroke of the standard pattern of each stroke of the input pattern is assigned to the standard stroke corresponding to the linear stroke, Do.

Claims (3)

손으로 쓴 문자를 온라인으로 입력하는 입력수단과,An input means for inputting handwritten characters on-line, 다수의 인식 대상 문자에 대해 각 인식 대상 문자를 구성하는 직선 스트로크 및 비직선 스트로크의 특징이 미리 격납된 스트로크 특징 사전과,A stroke feature dictionary in which the characteristics of straight stroke and non-straight stroke constituting each recognition target character are stored in advance for a plurality of recognition target characters, 상기 입력 수단에 의해 입력된 상기 손으로 쓴 문자로부터 상기 손으로 쓴 문자를 구성하는 스트로크의 특징을 추출하는 스트로크 특징 추출 수단과,Stroke feature extraction means for extracting a feature of a stroke constituting the handwritten character from the handwritten character inputted by the input means, 상기 스트로크 특징 추출 수단에 의해 추출된 특징에 근거하여, 상기 손으로 쓴 문자의 각 스트로크를, 상기 직선 스트로크, 상기 비직선 스트로크 또는 상기 인식 대상 문자를 구성하는 스트로크와의 대응 부가가 불가능한 연속 문자 스트로크 중의 어느 하나로 분류하는 스트로크 분류 수단과,Wherein each stroke of the handwritten character is divided into a continuous character stroke which can not be matched with the stroke constituting the linear stroke, the nonlinear stroke, or the recognition target character, based on the characteristic extracted by the stroke characteristic extraction means A stroke classifying means for classifying the stroke into any one of the stroke classifying means, 상기 스트로크 분류수단에 의해 분류된 직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크의 특징의 대응 부가를 행하는 직선 스트로크 대응 부가 수단과,Linear stroke correspondence adding means for performing correspondence between the characteristics of the straight stroke classified by the stroke classification means and the characteristics of the straight stroke constituting the recognition target character stored in the stroke characteristic dictionary; 상기 스트로크 분류수단에 의해 분류된 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 비직선 스트로크의 특징의 대응 부가를 행하는 비직선 스트로크 대응 부가 수단과,Linear stroke correspondence adding means for performing correspondence between characteristics of nonlinear strokes classified by said stroke classifying means and characteristics of nonlinear strokes constituting recognition target characters stored in said stroke characteristic dictionary; 상기 스트로크 분류 수단에 의해 분류된 연속 문자 스트로크를, 상기 직선 스트로크 또는 상기 비직선 스트로크로 분할하고, 이 분할된 직선 스트로크 또는 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크 또는 비직선 스트로크의 특징과의 대응 부가를 행하는 연속 문자 스트로크 대응 부가 수단과,Wherein the continuous character stroke classified by the stroke classifying means is divided into the linear stroke or the non-linear stroke, and the characteristic of the divided linear stroke or non-linear stroke and the character to be recognized stored in the stroke characteristic dictionary A continuous character stroke correspondence adding means for performing correspondence between a feature of a straight line stroke and a nonlinear stroke, 상기 직선 스트로크 대응 부가 수단, 상기 비직선 스트로크 대응 부가 수단 또는 상기 연속 문자 스트로크 대응 부가 수단에 의해 얻어진 대응부가 결과에 근거하여, 상기 손으로 쓴 문자를 인식하는 문자 평가 수단을 구비하고 있고,And character evaluation means for recognizing the handwritten character based on the result of the corresponding portion obtained by the linear stroke corresponding means, the nonlinear stroke corresponding means or the continuous character stroke corresponding means, 상기 연속 문자 스트로크 대응 부가 수단은, 상기 직선 스트로크 대응 부가 수단 또는 상기 비직선 스트로크 대응 부가 수단에 의해 대응 부가된 상기 인식 대상 문자에 대하여 대응 부가를 행하는 것을 특징으로 하는 문자 인식 장치.Wherein said continuous character stroke correspondence adding means performs a correspondence addition to said character to be recognized corresponding thereto by said linear stroke corresponding means or said non-linear stroke corresponding means. 복수의 인식 대상 문자에 대하여 각 인식 대상 문자를 구성하는 직선 스트로크 및 비직선 스트로크의 특징이 미리 격납된 스트로크 특징 사전을 구비한 문자 인식 방법에 있어서,A character recognition method provided with a stroke feature dictionary in which features of straight stroke and non-straight stroke constituting each recognition target character for a plurality of recognition target characters are stored in advance, 손으로 쓴 문자를 온라인으로 입력하는 입력 단계와,An input step of inputting a handwritten character online, 상기 입력 단계에 의해 입력된 상기 손으로 쓴 문자로부터 상기 손으로 쓴 문자를 구성하는 스트로크의 특징을 추출하는 스트로크 특징 추출 단계과,A stroke feature extraction step of extracting a feature of a stroke constituting the handwritten character from the handwritten character input by the input step; 상기 스트로크 특징 추출 단계에 의해 추출된 특징에 근거하여, 상기 손으로 쓴 문자의 각 스트로크를, 상기 직선 스트로크, 상기 비직선 스트로크 또는 상기 인식 대상 문자를 구성하는 스트로크의 대응 부가가 불가능한 연속 문자 스트로크 중의 어느 하나로 분류하는 스트로크 분류 단계와,Wherein each of the strokes of the handwritten character is divided into a plurality of stroke strokes in a continuous character stroke in which the corresponding strokes constituting the rectilinear stroke, A stroke classification step of classifying the stroke classification into any one, 상기 스트로크 분류 단계에 의해 분류된 직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크의 특징의 대응 부가를 행하는 직선 스트로크 대응 부가 단계와,A linear stroke corresponding step of performing a correspondence between the characteristics of the linear stroke classified by the stroke classification step and the characteristics of the linear stroke constituting the recognition target character stored in the stroke characteristic dictionary; 상기 스트로크 분류 단계에 의해 분류된 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 비직선 스트로크의 특징의 대응 부가를 행하는 비직선 스트로크 대응 부가 단계와,A nonlinear stroke correspondence adding step of performing a correspondence between the characteristics of the nonlinear strokes classified by the stroke classification step and the characteristics of the nonlinear strokes constituting the recognition target character stored in the stroke characteristic dictionary; 상기 스트로크 분류 단계에 의해 분류된 연속 문자 스트로크를, 상기 직선 스트로크 또는 상기 비직선 스트로크로 분할하고, 이 분할된 직선 스트로크 또는 비직선 스트로크의 특징과 상기 스트로크 특징 사전에 격납된 인식 대상 문자를 구성하는 직선 스트로크 또는 비직선 스트로크의 특징과의 대응 부가를 행하는 연속 문자 스트로크 대응 부가 단계와,Wherein the stroke characterizing step divides the continuous character stroke classified by the stroke classification step into the linear stroke or the non-linear stroke, and forms the recognition target character stored in the stroke characteristic dictionary and the character of the divided linear stroke or non- A continuous character stroke correspondence addition step of performing correspondence between the feature of the straight line stroke and the nonlinear stroke, 상기 직선 스트로크 대응 부가 단계, 상기 비직선 스트로크 대응 부가 단계 또는 상기 연속 문자 스트로크 대응 부가 단계에 의해 얻은 대응 부가 결과에 근거하여, 상기 손으로 쓴 문자를 인식하는 문자 평가 단계를 구비한 것을 특징으로 하는 문자 인식 방법.And a character evaluation step of recognizing the handwritten character based on the result of the addition corresponding to the linear stroke, the nonlinear stroke corresponding addition step or the result of the corresponding addition obtained by the continuous character stroke corresponding addition step Character recognition method. 제 2 항에 있어서,3. The method of claim 2, 상기 연속 문자 스트로크 대응 부가 단계는, 상기 직선 스트로크 대응 부가 단계 또는 상기 비직선 스트로크 대응 부가 단계에 의해 대응 부가된 상기 인식 대상 문자에 대해 대응 부가를 행하는 것을 특징으로 하는 문자 인식 방법.Wherein the step of adding the continuous character strokes corresponds to the step of performing the correspondence addition to the character to be recognized corresponding to by the step of adding the linear stroke or the step of adding to the non-linear stroke.
KR1019980007800A 1997-06-05 1998-03-10 Character recognition apparatus and character recognition method KR100299725B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP14763497A JP3419251B2 (en) 1997-06-05 1997-06-05 Character recognition device and character recognition method
JP97-147634 1997-06-05

Publications (2)

Publication Number Publication Date
KR19990006359A KR19990006359A (en) 1999-01-25
KR100299725B1 true KR100299725B1 (en) 2001-11-30

Family

ID=15434776

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980007800A KR100299725B1 (en) 1997-06-05 1998-03-10 Character recognition apparatus and character recognition method

Country Status (4)

Country Link
JP (1) JP3419251B2 (en)
KR (1) KR100299725B1 (en)
CN (1) CN1093966C (en)
TW (1) TW385414B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100930802B1 (en) * 2007-06-29 2009-12-09 엔에이치엔(주) Browser control method and system using images
US8094941B1 (en) 2011-06-13 2012-01-10 Google Inc. Character recognition for overlapping textual user input
JP6797869B2 (en) * 2018-08-08 2020-12-09 シャープ株式会社 Book digitization device and book digitization method

Also Published As

Publication number Publication date
CN1093966C (en) 2002-11-06
CN1201955A (en) 1998-12-16
JP3419251B2 (en) 2003-06-23
KR19990006359A (en) 1999-01-25
JPH10334187A (en) 1998-12-18
TW385414B (en) 2000-03-21

Similar Documents

Publication Publication Date Title
US7437001B2 (en) Method and device for recognition of a handwritten pattern
Wakahara et al. On-line handwriting recognition
US7369702B2 (en) Template-based cursive handwriting recognition
EP1971957B1 (en) Methods and apparatuses for extending dynamic handwriting recognition to recognize static handwritten and machine generated text
US5787197A (en) Post-processing error correction scheme using a dictionary for on-line handwriting recognition
EP0689153A2 (en) Character recognition
JP3761937B2 (en) Pattern recognition method and apparatus, and computer control apparatus
CN103927535A (en) Recognition method and device for Chinese character writing
US5659633A (en) Character recognition method utilizing compass directions and torsion points as features
KR100299725B1 (en) Character recognition apparatus and character recognition method
KR0126800B1 (en) Hand-written korean character, on-line recognizing apparatus and its method
JP3817281B2 (en) Information processing apparatus and method
JP2671985B2 (en) Information recognition method
JP3470028B2 (en) Handwritten character recognition device and program storage medium
JP2671984B2 (en) Information recognition device
JPH0210473B2 (en)
JP3290097B2 (en) Stroke determination method and determination device
KR940001048B1 (en) On-line hand written character recognition method
JP3198218B2 (en) Online handwriting recognition method
Hsieh et al. Handwritten Chinese characters recognition by greedy matching with geometric constraint
Xie On the recognition of handwritten mathematical symbols
KR19980079762A (en) Online character recognition device
JPH06162266A (en) Method for recognizing on-line handwritten character and device therefor
Pao et al. An approximate string matching algorithm for on-line Chinese character recognition
JP2664624B2 (en) Feature point detection method for handwritten character recognition

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: 20050610

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee