KR20100118829A - Method and apparatus for calculating formula - Google Patents

Method and apparatus for calculating formula Download PDF

Info

Publication number
KR20100118829A
KR20100118829A KR1020090037730A KR20090037730A KR20100118829A KR 20100118829 A KR20100118829 A KR 20100118829A KR 1020090037730 A KR1020090037730 A KR 1020090037730A KR 20090037730 A KR20090037730 A KR 20090037730A KR 20100118829 A KR20100118829 A KR 20100118829A
Authority
KR
South Korea
Prior art keywords
character
input
region
input character
valid region
Prior art date
Application number
KR1020090037730A
Other languages
Korean (ko)
Other versions
KR101069843B1 (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 울산대학교 산학협력단
Priority to KR1020090037730A priority Critical patent/KR101069843B1/en
Publication of KR20100118829A publication Critical patent/KR20100118829A/en
Application granted granted Critical
Publication of KR101069843B1 publication Critical patent/KR101069843B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Mathematical Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Algebra (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Character Discrimination (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PURPOSE: A method and an apparatus for calculating a formula are provided to recognize a formula inputted by hand writing or photographing methods, thereby easily providing an operation result of the formula. CONSTITUTION: A character recognition unit(120) recognizes an input character. An effective area setting unit(130) determines whether the input character is included according to whether the set effective area is adjacent to the input character in order to set a final effective area. A formula recognition unit(140) uses a character within the final effective area to recognize a formula. An interface unit computes the formula and displays an operation result.

Description

수식 연산 방법 및 장치{Method and apparatus for calculating formula}Method and apparatus for calculating formula

본 발명은 수식 연산 방법 및 장치에 관한 것으로, 보다 상세하게는 문자의 최상위 좌표 및 최하위 좌표를 이용하여 수식을 인식하는 수식 연산 방법 및 장치에 관한 것이다.The present invention relates to a mathematical calculation method and apparatus, and more particularly, to a mathematical calculation method and apparatus for recognizing a mathematical expression using the highest coordinate and the lowest coordinate of the character.

전자계산장치를 사용하면, 각종 연산자와 숫자로 이루어진 수식의 연산 결과를 빠르고 정확하게 얻을 수 있다. 전자계산장치는 전자 계산을 위한 그 단독 장치일 수도 있으나, 최근에는 컴퓨터를 비롯하여 PDA, 휴대폰, 및 전자 사전과 같은 휴대용 단말 장치에 전자 계산 기능이 구비되어 사용되고 있는 추세이다.By using the electronic calculator, it is possible to quickly and accurately obtain the calculation result of a mathematical expression consisting of various operators and numbers. The electronic calculator may be the sole device for the electronic calculation, but recently, the electronic calculation function is provided in a portable terminal device such as a PDA, a mobile phone, and an electronic dictionary.

하지만, 기본적인 연산자만이 사용된 수식을 계산할 경우에는 전자계산장치의 종류에 관계없이 수식을 입력함에 있어 어려움이 없으나, 복잡한 연산자가 포함된 수식, 특히, 공학 계통에서 사용하는 수식에는 가감승제의 사칙연산 이외에 시그마, 인테그랄, 및 루트와 같은 복잡한 연산자가 많이 사용되기 때문에, 해당 수식을 입력하기가 쉽지 않다.However, when calculating formulas using only basic operators, there is no difficulty in entering the formulas regardless of the type of electronic calculator.However, the formulas containing complex operators, especially those used in engineering systems, are arithmetic and arithmetic. In addition, since many complicated operators such as sigma, integral, and root are used, it is not easy to input the formula.

일 예로, 키패드 형식의 공학용 전자계산장치를 살펴보면, 키패드에는 많은 연산자에 대응하는 입력키를 구비하여야 하기 때문에, 각 입력키의 사이즈가 매우 작으며, 많은 입력키를 구비함에 따라 사용자가 입력하고자 하는 연산자를 찾기도 쉽지 않다.For example, in the case of a keypad-type engineering electronic calculator, since a keypad must have input keys corresponding to many operators, the size of each input key is very small, and as the user has many input keys, Finding operators is not easy.

더욱이, 전자계산장치의 제조사별로 각기 다른 사용법을 이용하여야 하기 때문에, 해당 제조사별 사용법을 인지하지 못한 경우 전자계산장치를 사용함에 있어 더욱 어려움을 느끼게 된다.In addition, since the different usage of each manufacturer of the electronic calculator should be used, if the manufacturer does not recognize the usage of the electronic calculator, it is more difficult to use the electronic calculator.

본 발명의 목적은 수기 입력 혹은 촬상 방식에 의해 입력되는 하나 이상의 수식을 인식함으로써, 보다 손쉽게 하나 이상의 수식에 대한 연산 결과를 제공받을 수 있는 수식 연산 방법 및 장치를 제공하고자 하는데 있다.An object of the present invention is to provide a mathematical calculation method and apparatus that can be easily provided with the calculation result for one or more mathematical expressions by recognizing one or more mathematical expressions input by handwriting or imaging method.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 수식 연산 방법은, 입력된 문자를 인식하는 단계, 입력된 문자와 기설정된 유효영역의 인접 여부에 따라 입력된 문자의 기설정된 유효영역으로의 포함 여부를 결정하는 단계, 및 결정된 포함 여부를 반영하여 최종 유효영역을 설정하는 단계, 설정된 최종 유효영역 내의 문자를 이용하여 수식을 인식하는 단계 및 인식된 수식을 연산하여 연산 결과를 디스플레이하는 단계를 포함한다.In accordance with an embodiment of the present invention for achieving the above object, the mathematical calculation method, the step of recognizing the input character, according to whether the input character and the predetermined effective area adjacent to the preset valid region Determining whether to include, and setting a final valid region reflecting the determined inclusion, recognizing a formula using characters in the set final valid region, and displaying a result of a calculation by calculating a recognized formula. Include.

바람직하게, 수기 입력 또는 촬상 방식으로 문자를 입력받는 단계를 더 포함할 수 있다.Preferably, the method may further include receiving a character by handwriting or imaging.

또한 바람직하게, 인식하는 단계는, 입력된 문자의 최상위 좌표, 최하위 좌 표, 최우측 좌표, 및 최좌측 좌표를 이용하여 입력된 문자를 포함하는 후보영역을 설정하는 단계, 및 설정된 후보영역 내의 문자를 인식하는 단계를 포함할 수 있다.Also preferably, the recognizing may include setting a candidate region including the input characters using the highest coordinates, the lowest coordinates, the rightmost coordinates, and the leftmost coordinates of the input characters, and the characters within the set candidate regions. It may include the step of recognizing.

또한 바람직하게, 기설정된 유효영역은, 최초로 입력된 문자의 후보영역, 및 이전에 설정된 유효영역 중 어느 하나일 수 있다.Also, preferably, the preset valid region may be any one of a candidate region of the first input character and a previously set valid region.

또한 바람직하게, 최종 유효영역을 설정하는 단계는, 입력된 문자와 기설정된 유효영역이 서로 인접하면, 입력된 문자의 후보영역을 기설정된 유효영역에 포함시키고, 입력된 문자와 기설정된 유효영역이 인접하지 않으면, 입력된 문자의 후보영역을 새로운 유효영역으로 설정할 수 있다.Also, preferably, in the setting of the final valid region, when the input character and the preset valid region are adjacent to each other, the candidate region of the input character is included in the preset valid region, and the input character and the preset valid region are included. If not adjacent, the candidate area of the input character can be set as a new valid area.

또한 바람직하게, 문자를 인식하는 단계에서, 입력된 문자의 최상위 좌표와 최하위 좌표의 차이가 제1 범위 이내이고, 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하는 것으로 판단되면, 입력된 문자를 분수 기호로 인식할 수 있다.Also, in the step of recognizing the character, if it is determined that the difference between the highest coordinate and the lowest coordinate of the input character is within the first range and other characters exist within the second range in the up and down direction of the input character, Characters can be recognized as fractional symbols.

또한 바람직하게, 후보영역을 설정하는 단계에서, 입력된 문자가 분수 기호로 인식되면, 이전에 입력된 문자들의 평균 높이를 기준으로 분수 기호의 상하 방향으로 후보영역을 설정할 수 있다.Also, in the setting of the candidate region, when the input character is recognized as the fractional symbol, the candidate region may be set in the vertical direction of the fractional symbol based on the average height of the previously inputted characters.

또한 바람직하게, 분수 기호의 상하 방향으로 설정되는 후보영역은, 분수 기호의 상하 방향 각각으로 이전에 입력된 문자들의 평균 높이의 1.5배에 해당하는 크기로 설정될 수 있다.Also, preferably, the candidate area set in the vertical direction of the fractional sign may be set to a size corresponding to 1.5 times the average height of characters previously input in the vertical direction of the fractional sign.

또한 바람직하게, 복수의 수식을 입력받는 단계를 더 포함하고, 최종 유효영역을 설정하는 단계는, 입력받은 복수의 수식에 대하여 복수의 유효영역을 설정하 며, 수식을 인식하는 단계는, 설정된 복수의 유효영역 각각에서 수식을 인식할 수 있다.The method may further include receiving a plurality of formulas, and setting the final valid region may include setting a plurality of valid regions for the plurality of input formulas, and recognizing the formulas. The equations can be recognized in each of the effective areas of.

또한 바람직하게, 디스플레이하는 단계는, 복수의 유효영역 각각에서 인식된 복수의 수식을 각각 연산하여 복수의 연산 결과를 동시에 디스플레이할 수 있다.In addition, the displaying may include displaying a plurality of calculation results simultaneously by calculating a plurality of expressions recognized in each of the plurality of valid areas.

한편, 본 발명의 일 실시예에 따른 수식 연산 장치는, 입력된 문자를 인식하는 문자 인식부, 입력된 문자와 기설정된 유효영역의 인접 여부에 따라 입력된 문자의 기설정된 유효영역으로의 포함 여부를 결정하고, 결정된 포함 여부를 반영하여 최종 유효영역을 설정하는 유효영역 설정부, 설정된 최종 유효영역 내의 문자를 이용하여 수식을 인식하는 수식 인식부, 및 인식된 수식을 연산하여 연산 결과를 디스플레이하는 인터페이스부를 포함한다.On the other hand, the mathematical expression calculation apparatus according to an embodiment of the present invention, a character recognition unit for recognizing the input character, whether or not to include the input character into the predetermined valid region according to whether the input character and the preset valid region adjacent An effective area setting unit for setting a final valid area by reflecting the determined inclusion, a formula recognition unit for recognizing an equation using characters in the set final effective area, and displaying the operation result by calculating the recognized equation. It includes an interface unit.

바람직하게, 인터페이스부는, 수기 입력 방식으로 상기 문자를 입력받을 수 있다Preferably, the interface unit may receive the character by a manual input method.

또한 바람직하게, 촬상 방식으로 상기 문자를 입력받는 카메라부를 더 포함할 수 있다.Also preferably, the method may further include a camera unit for receiving the text in an imaging manner.

또한 바람직하게, 문자 인식부는, 입력된 문자의 최상위 좌표, 최하위 좌표, 최우측 좌표, 및 최좌측 좌표를 이용하여 입력된 문자를 포함하는 후보영역을 설정하고, 설정된 후보영역 내의 문자를 인식할 수 있다.Also, preferably, the character recognition unit may set a candidate region including the input characters using the highest coordinates, the lowest coordinates, the rightmost coordinates, and the leftmost coordinates of the input characters, and recognize the characters within the set candidate regions. have.

또한 바람직하게, 기설정된 유효영역은, 최초로 입력된 문자의 후보영역, 및 이전에 설정된 유효영역 중 어느 하나일 수 있다.Also, preferably, the preset valid region may be any one of a candidate region of the first input character and a previously set valid region.

또한 바람직하게, 문자 인식부는, 입력된 문자와 기설정된 유효영역이 서로 인접하면, 입력된 문자의 후보영역을 기설정된 유효영역에 포함시키고, 입력된 문자와 기설정된 유효영역이 인접하지 않으면, 입력된 문자의 후보영역을 새로운 유효영역으로 설정할 수 있다.Also, preferably, the character recognition unit includes a candidate region of the input character in the preset valid region when the input character and the preset valid region are adjacent to each other, and inputs the input character and the preset valid region when the input character and the preset valid region are not adjacent. The candidate area of the written character can be set as a new valid area.

또한 바람직하게, 문자 인식부는, 입력된 문자의 최상위 좌표와 최하위 좌표의 차이가 제1 범위 이내이고, 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하는 것으로 판단되면, 입력된 문자를 분수 기호로 인식할 수 있다.Also, preferably, if the difference between the highest coordinate and the lowest coordinate of the input character is within the first range and it is determined that another character exists within the second range in the up and down direction of the input character, the character recognition unit may input the input character. Can be recognized as a fraction symbol.

또한 바람직하게, 문자 인식부는, 입력된 문자가 분수 기호로 인식되면, 이전에 입력된 문자들의 평균 높이를 기준으로 분수 기호의 상하 방향으로 후보영역을 설정할 수 있다.Also, preferably, when the input character is recognized as a fractional symbol, the character recognition unit may set a candidate area in the vertical direction of the fractional symbol based on the average height of the previously inputted characters.

또한 바람직하게, 분수 기호의 상하 방향으로 설정되는 후보영역은, 분수 기호의 상하 방향 각각으로 이전에 입력된 문자들의 평균 높이의 1.5배에 해당하는 크기로 설정될 수 있다.Also, preferably, the candidate area set in the vertical direction of the fractional sign may be set to a size corresponding to 1.5 times the average height of characters previously input in the vertical direction of the fractional sign.

또한 바람직하게, 인터페이스부는, 복수의 수식에 대한 연산결과를 디스플레이할 수 있다.Also preferably, the interface unit may display calculation results for a plurality of equations.

본 발명에 따른 수식 연산 방법 및 장치는 키패드를 조작할 필요 없이 수기 입력 방식 혹은 촬상 방식으로 수식을 입력하므로, 번거로운 수식 입력 방식을 인지하거나 혹은 키패드에서 원하는 연산 기호를 찾기 위한 노력을 해소할 수 있으며, 복잡한 수식도 손쉽게 입력할 수 있는 효과가 있다.Since the mathematical calculation method and apparatus according to the present invention input a mathematical expression by a manual input method or an imaging method without manipulating a keypad, it is possible to solve a cumbersome mathematical input method or to find a desired arithmetic symbol on the keypad. For example, complex formulas can be easily entered.

또한, 사용자가 복수의 수식을 입력한 경우에도 각 수식을 구분하여 인식하 고, 각각을 연산하여 그 결과를 동시에 제공함에 따라, 복수의 수식에 대하여도 신속하게 연산 결과를 제공받을 수 있는 효과가 있다.In addition, even when a user inputs a plurality of formulas, each formula is recognized and recognized, and each operation is performed to provide the results at the same time, so that the calculation results can be provided quickly for the plurality of formulas. have.

이하에서는 도면을 참조하여 본 발명을 보다 상세하게 설명한다.Hereinafter, with reference to the drawings will be described the present invention in more detail.

도 1은 본 발명의 일 실시예에 따른 수식 연산 장치의 블럭도이다.1 is a block diagram of a mathematical operation device according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 수식 연산 장치(100)는 인터페이스부(110), 문자 인식부(120), 유효영역 설정부(130), 수식 인식부(140), 연산부(150), 카메라부(160), 저장부(170) 및 제어부(180)를 포함한다. 본 수식 연산 장치(100)는 수식 연산을 위한 전용 장치일 수 있고, 혹은 휴대폰, PDA, 및 전자 사전과 같이 연산 기능을 구비한 장치일 수도 있다.Referring to FIG. 1, the mathematical expression calculating apparatus 100 according to an embodiment of the present invention includes an interface unit 110, a character recognition unit 120, an effective area setting unit 130, a mathematical expression recognition unit 140, and an operation unit. 150, a camera unit 160, a storage unit 170, and a controller 180. The mathematical calculation apparatus 100 may be a dedicated device for mathematical calculations, or may be a device having a calculation function such as a mobile phone, a PDA, and an electronic dictionary.

인터페이스부(110)는 수식 연산 장치(100)와 사용자간의 인터페이스를 지원한다. 인터페이스부(110)는 태블릿(Tablet) 형태로 사용자가 직접 입력하는 정보를 입력받거나 혹은 수식 연산 장치(100)에서 사용자에게 제공하고자 하는 정보를 디스플레이한다.The interface unit 110 supports an interface between the mathematical operation device 100 and the user. The interface unit 110 receives information directly input by the user in the form of a tablet or displays information to be provided to the user in the mathematical operation apparatus 100.

수식 연산 장치(100)에서 사용자에게 제공하고자 하는 정보는 수식 연산 장치(100)의 조작을 위해 사용되는 각종 메뉴를 포함할 수 있으며, 이러한 메뉴는 터치 스크린(Touch screen) 형태로 제공될 수 있다.The information to be provided to the user in the mathematical calculation apparatus 100 may include various menus used for the operation of the mathematical calculation apparatus 100, and the menu may be provided in the form of a touch screen.

본 실시예에서, 인터페이스부(110)는 사용자가 직접 입력하는 방식 즉, 수기 입력 방식으로 하나 이상의 수식을 입력받는다. 또한, 인터페이스부(110)는 사용자가 수기 입력 방식으로 입력한 수식에 대한 연산 결과를 디스플레이한다.In the present embodiment, the interface unit 110 receives one or more formulas by a user's direct input method, that is, a manual input method. In addition, the interface unit 110 displays a result of the calculation for the equation inputted by the user by handwriting.

문자 인식부(120)는 인터페이스부(110)를 통해 사용자로부터 입력되는 문자를 인식한다. 이때, 문자 인식부(120)는 문자의 최상위 좌표, 최하위 좌표, 최우측 좌표, 및 최좌측 좌표를 이용하여 문자를 포함하는 최소 사이즈의 후보영역을 설정하고, 설정된 후보영역 내에서 문자를 인식한다.The character recognition unit 120 recognizes a character input from the user through the interface unit 110. At this time, the character recognition unit 120 sets a candidate area of the minimum size including the character by using the highest coordinate, the lowest coordinate, the rightmost coordinate, and the leftmost coordinate of the character, and recognizes the character within the set candidate region. .

사용자는 인터페이스부(110)를 통해 하나 이상의 수식을 입력하는데, 여기서 수식을 구성하는 숫자, 연산 기호 등을 모두 문자라 한다. 문자 인식부(120)는 인터페이스부(110)를 통해 하나의 문자가 입력될 때마다 실시간으로 해당 문자를 인식한다.The user inputs one or more formulas through the interface unit 110, where all numbers, arithmetic symbols, etc. constituting the formulas are referred to as characters. The character recognition unit 120 recognizes the character in real time whenever one character is input through the interface unit 110.

예를 들면, 사용자가 "2+3"을 입력한다고 하면, 일반적으로 사용자는 인터페이스부(110)에 순차적으로 "2", "+", "3"을 입력하게 된다. 이때, 수식의 마지막 문자인 "3"이 입력되는 순간에는 문자 인식부(120)는 숫자 "2"와 덧셈 기호인 "+"는 이미 인식한 상태에서 숫자 "3"을 인식하게 된다.For example, when a user inputs "2 + 3", the user generally inputs "2", "+", and "3" to the interface unit 110 sequentially. At this time, the character recognition unit 120 recognizes the number "3" in the state where the number "2" and the plus sign "+" are already recognized at the moment when the last character of the formula "3" is input.

문자 인식부(120)에서 문자를 인식할 때, 대부분의 숫자 및 연산기호들은 크게 문제가 되지 않으나, 분수 기호와 뺄셈 기호는 그 형태가 유사하여 그 각각을 구분하여야 할 필요가 있다.When the character recognizer 120 recognizes a character, most numbers and arithmetic symbols are not a big problem, but the fraction and subtraction symbols are similar in form and need to be distinguished from each other.

분수 기호 및 뺄셈 기호는 가로 방향으로 직선 형태이므로, 최상위 좌표와 최하위 좌표가 동일하거나 혹은 거의 유사한 값을 갖는다. 그러므로, 문자 인식부(120)에서는 입력된 문자의 최상위 좌표와 최하위 좌표의 차이가 제1 범위 이내이면 현재 문자는 분수 기호 혹은 뺄셈 기호로 판단한다. 여기서, 제1 범위는 가로 방향으로 직선 형태를 갖는 기호를 식별하기 위한 것이므로, 매우 작은 범위로 설 정된다.Since the fraction and subtraction symbols are straight in the horizontal direction, the most significant coordinate and the least significant coordinate have the same or almost similar values. Therefore, when the difference between the highest coordinate and the lowest coordinate of the input character is within the first range, the character recognition unit 120 determines that the current character is a fraction symbol or a subtraction symbol. Here, since the first range is for identifying a symbol having a straight form in the horizontal direction, it is set to a very small range.

또한, 분수 기호의 경우에는 분수 기호의 상하 방향에 다른 문자가 존재하게 되나, 뺄셈 기호의 경우에는 뺄셈 기호의 상하 방향에 다른 문자가 존재하지 않는다. 이를 이용하여, 문자 인식부(120)에서는 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하는 것으로 판단되면, 현재 문자를 분수 기호로 인식한다.In the case of the fraction symbol, another character exists in the up and down direction of the fraction symbol, but in the case of the subtraction symbol, no other character exists in the up and down direction of the subtraction symbol. Using this, if it is determined that another character exists within the second range in the vertical direction of the input character, the character recognition unit 120 recognizes the current character as a fractional symbol.

즉, 문자 인식부(120)는 입력된 문자의 최상위 좌표와 최하위 좌표의 차이가 제1 범위 이내이고, 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하면, 현재 입력된 문자는 분수 기호로 판단한다. 또한, 문자 인식부(120)는 입력된 문자의 최상위 좌표와 최하위 좌표의 차이가 제1 범위 이내이고, 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하지 않으면, 현재 입력된 문자는 뺄셈 기호로 판단한다.That is, if the difference between the highest coordinates and the lowest coordinates of the input characters is within the first range and other characters exist within the second range in the up and down direction of the input characters, the character recognition unit 120 may select a fraction. Judge by preference. In addition, if the difference between the highest coordinate and the lowest coordinate of the input character is within the first range and no other character exists within the second range in the up and down direction of the input character, the character recognition unit 120 currently inputs the character. Determined by the minus sign.

유효영역 설정부(130)는 입력된 문자와 기설정된 유효영역의 인접 여부에 따라 그 문자의 기설정된 유효영역으로의 포함 여부를 결정하고, 결정된 포함 여부를 반영하여 최종 유효영역을 설정한다.The effective area setting unit 130 determines whether the character is included in the preset valid area according to whether the input character and the preset valid area are adjacent, and sets the final valid area by reflecting the determined inclusion.

보다 구체적으로, 유효영역 설정부(130)는 문자 인식부(120)에 의해 현재 설정된 후보영역이 기설정된 유효영역과 인접할 경우에는 현재 설정된 후보영역을 기설정된 유효영역에 포함시킨다. 또한, 유효영역 설정부(130)는 문자 인식부(120)에 의해 현재 설정된 후보영역이 기설정된 유효영역과 인접하지 않을 경우에는 현재 설정된 후보영역을 새로운 유효영역으로 설정한다. 여기서, 기설정된 유효영역은 최초로 입력된 문자의 후보영역 및 이전에 설정된 유효영역 중 어느 하나일 수 있다.More specifically, the effective area setting unit 130 includes the currently set candidate area in the preset valid area when the candidate area currently set by the character recognition unit 120 is adjacent to the preset valid area. In addition, the valid area setting unit 130 sets the currently set candidate area as a new valid area when the candidate area currently set by the character recognition unit 120 is not adjacent to the preset valid area. Here, the preset valid area may be any one of a candidate area of the first input character and a valid area previously set.

유효영역 설정부(130)에 의해 설정된 하나의 유효영역 내에 포함되는 문자들은 하나의 수식을 구성하는 문자가 된다. 사용자가 복수의 수식을 동시에 입력한 경우, 유효영역 설정부(130)에 의해 복수의 최종 유효영역이 설정된다. 예를 들면, 사용자가 3개의 수식을 동시에 입력하였다면, 유효영역 설정부(130)에 의해 3개의 최종 유효영역이 설정된다.Characters included in one valid region set by the valid region setting unit 130 become characters constituting one formula. When the user inputs a plurality of equations at the same time, the effective area setting unit 130 sets a plurality of final valid areas. For example, if the user inputs three equations at the same time, the effective area setting unit 130 sets three final valid areas.

수식 인식부(140)는 유효영역 설정부(130)에 의해 설정된 최종 유효영역 내의 문자들을 이용하여 수식을 인식한다. 유효영역 설정부(130)에 의해 복수의 최종 유효영역이 설정된 경우, 수식 인식부(140)는 복수의 최종 유효영역에서 각각의 수식을 인식한다.The equation recognition unit 140 recognizes the equation using the characters in the last valid area set by the effective area setting unit 130. When a plurality of final valid regions are set by the valid region setting unit 130, the mathematical expression recognition unit 140 recognizes each mathematical formula in the plurality of final valid regions.

연산부(150)는 수식 인식부(140)에 의해 인식된 하나 혹은 복수의 수식들을 각각 연산한다. 연산부(150)에서는 가감승제와 같은 기본적인 연산기호를 사용한 수식뿐만 아니라, 공학 계통에서 사용하는 연산기호를 사용한 수식까지 연산이 가능하다. 연산부(150)는 수식에 대한 연산이 완료되면, 그 연산 결과를 제어부(180)로 제공하여 연산 결과가 인터페이스부(110)를 통해 디스플레이될 수 있도록 한다.The calculator 150 calculates one or a plurality of equations recognized by the equation recognizer 140, respectively. In the operation unit 150, not only an expression using a basic operation symbol such as an addition or subtraction system, but also an expression using an operation symbol used in an engineering system can be calculated. When the calculation for the equation is completed, the calculation unit 150 provides the calculation result to the controller 180 so that the calculation result can be displayed through the interface unit 110.

카메라부(160)는 통상의 카메라 장치와 같이 이미지를 촬영하는 것으로, 여기에서는 수식이 인쇄되어 있는 도서 등에서 연산하고자 하는 수식의 이미지를 촬영한다. 카메라부(160)에 의해 촬영된 수식의 이미지는 사용자가 인터페이스부(110)를 통해 입력한 수식과 동일한 절차에 의해 인식될 수 있으며, 이에 따라 그 연산 결과를 얻을 수 있다. 즉, 카메라부(160)는 촬상 방식으로 문자를 입력받는다.The camera unit 160 captures an image like a normal camera device, and captures an image of a mathematical formula to be calculated in a book or the like on which a mathematical expression is printed. The image of the equation photographed by the camera unit 160 may be recognized by the same procedure as the equation input by the user through the interface unit 110, and thus the calculation result may be obtained. That is, the camera unit 160 receives a character by the imaging method.

저장부(170)는 수식 연산 장치(100)의 동작에 필요한 정보들을 저장한다. 일 예로, 저장부(170)는 사용자가 수식을 입력할 때, 문자 인식부(120)는 실시간으로 입력되는 문자를 인식하게 되는데, 수식의 연산이 완료될 때까지 실시간으로 인식된 문자를 저장할 수 있다. 또한, 저장부(170)는 문자 인식부(120)에서 분수 기호와 뺄셈 기호를 구분하기 위하여 사용하는 제1 범위 및 제2 범위의 크기를 저장할 수 있다.The storage unit 170 stores information necessary for the operation of the mathematical operation device 100. For example, when the user inputs a formula, the storage unit 170 recognizes a character input in real time, and may store the recognized character in real time until the calculation of the formula is completed. have. In addition, the storage unit 170 may store the sizes of the first range and the second range used to distinguish the fractional sign and the subtraction sign from the character recognizer 120.

제어부(180)는 수식 연산 장치(100)의 전반적인 기능을 제어하는 것으로, 인터페이스부(110), 문자 인식부(120), 유효영역 설정부(130), 수식 인식부(140), 연산부(150), 및 저장부(170)들간의 신호 입출력을 제어한다.The controller 180 controls the overall functions of the math operation apparatus 100, and includes an interface unit 110, a character recognition unit 120, an effective area setting unit 130, a mathematical recognition unit 140, and an operation unit 150. , And control the signal input and output between the storage unit 170.

제어부(180)는 수식 인식부(140)에 의해 하나 이상의 수식이 인식되면, 인식된 수식이 올바른지 사용자가 판단할 수 있도록 하기 위하여, 인터페이스부(110)에 인식된 수식을 표시하도록 제어할 수 있다. 또한, 제어부(180)는 연산부(150)에 의해 사용자가 입력한 수식의 연산이 완료되면, 그 연산 결과를 인터페이스부(110)에 표시하도록 제어할 수 있다.When one or more equations are recognized by the equation recognition unit 140, the controller 180 may control to display the recognized equations on the interface unit 110 so that a user can determine whether the recognized equations are correct. . In addition, the controller 180 may control to display the calculation result on the interface unit 110 when the calculation of the equation input by the user is completed by the calculator 150.

도 2는 본 발명의 일 실시예에 따른 후보영역 및 유효영역 설정 방법을 설명하기 위한 도면이다.2 is a diagram for describing a candidate region and an effective region setting method according to an embodiment of the present invention.

사용자가

Figure 112009026145382-PAT00001
를 연산하고자 하는 경우, 일 예로, 사용자가 루트 기 호(√)를 먼저 입력하고 다음에 "2+5"를 입력했다고 가정한다. 즉, 도 2에 예시한 수식에서 문자의 입력 순서는 "√", "2", "+", "5"의 순서라고 가정한다.User
Figure 112009026145382-PAT00001
For example, suppose that the user inputs a root symbol (√) first and then enters "2 + 5". That is, in the equation illustrated in FIG. 2, it is assumed that the order of input of characters is an order of "√", "2", "+", and "5".

문자의 입력순서에 따라 문자 인식부(120)는 각 문자를 인식한다. 구체적으로, 문자 인식부(120)는 "√"가 입력되면, 입력된 "√"의 최상위 좌표(P1), 최하위 좌표(P2), 최우측 좌표, 및 최좌측 좌표를 이용하여 후보영역을 설정하고, 설정된 후보영역 내에서 "√"를 인식한다. 이때, 본 수식 연산 장치(100)에 "√"가 최초로 입력된 문자이므로, 유효영역 설정부(130)는 "√"의 후보영역(A1)을 유효영역으로 설정한다.The character recognition unit 120 recognizes each character according to the input order of the characters. In detail, when "√" is input, the character recognition unit 120 sets a candidate area using the highest coordinate P1, the lowest coordinate P2, the rightmost coordinate, and the leftmost coordinate of the input "√". And recognizes "√" within the set candidate area. At this time, since "√" is first input to the mathematical expression calculating apparatus 100, the effective area setting unit 130 sets the candidate area A1 of "√" as an effective area.

이후, 문자 인식부(120)는 문자의 입력 순서에 따라 "2", "+", "5"의 후보영역(A2 내지 A4)를 설정한다. 문자 인식부(120)에 의해 "2", "+", "5"의 후보영역(A2 내지 A4)이 설정되면, 유효영역 설정부(130)는 "2", "+", "5"의 후보영역(A2 내지 A4)이 "√"의 후보영역(A1)과 인접하는지 여부를 판단한다.Thereafter, the character recognition unit 120 sets candidate areas A2 to A4 of "2", "+", and "5" in the order of input of the characters. When the candidate areas A2 to A4 of "2", "+", and "5" are set by the character recognition unit 120, the effective area setting unit 130 is "2", "+", "5". It is determined whether or not candidate areas A2 to A4 are adjacent to candidate area A1 of " √ ".

도 2에서 "2", "+", "5"의 후보영역(A2 내지 A4)은 "√"의 후보영역(A1) 내에 모두 포함된다. 그러므로, "√", "2", "+", "5"의 문자가 하나의 유효영역 내에 존재하게 되며, 이후 수식 인식부(140)에 의해

Figure 112009026145382-PAT00002
의 수식이 인식될 수 있다.In FIG. 2, candidate regions A2 to A4 of "2", "+", and "5" are all included in the candidate region A1 of "√". Therefore, the characters "√", "2", "+", and "5" are present in one valid area, and then by the mathematical recognition unit 140.
Figure 112009026145382-PAT00002
Can be recognized.

다른 예로, "2+5"를 먼저 입력하고, 다음에 루트 기호(√)를 입력했다고 가정한다. 즉, 하나의 수식에서 문자의 입력 순서가 "2", "+", "5", "√" 순서로 입력된 것으로 가정한다.As another example, assume that "2 + 5" is entered first, followed by the root symbol (√). In other words, it is assumed that characters are input in the order of "2", "+", "5", and "√" in one formula.

문자의 입력 순서 즉, "2", "+", "5", "√" 순으로 문자 인식부(120)는 각 문자를 인식한다. 또한, 후보영역 설정부(130)는 각 문자별 후보영역(A1 내지 A4)를 설정한다. 여기서는, 문자의 입력 순서가 "2", "+", "5", "√" 순이기 때문에, 후보영역 설정부(130)에서는 숫자 "2"의 후보영역(A2), 연산기호 "+"의 후보영역(A3), 및 숫자 "5"의 후보영역(A4), 및 연산기호 "√"의 후보영역(A1)의 순서로 4개의 후보영역을 각각 설정한다.The character recognition unit 120 recognizes each character in the order of inputting the characters, that is, "2", "+", "5", and "√". In addition, the candidate region setting unit 130 sets candidate regions A1 to A4 for each character. In this case, since the characters are input in the order of "2", "+", "5", and "√", the candidate area setting unit 130 stores the candidate area A2 of the number "2" and the operation symbol "+". Four candidate areas are set in the order of the candidate area A3 of ", " the candidate area A4 of the number " 5 ", and the candidate area A1 of the operation symbol " √ ".

이때, 유효영역 설정부(130)는 최초 입력된 문자인 "2"의 후보영역(A2)을 유효영역으로 설정한다. 이후, 유효영역 설정부(130)는 다음에 설정되는 "+"의 후보영역(A3)이 기설정된 유효영역 즉, "2"의 후보영역(A2)과 인접하는지의 여부에 따라 두 영역(A2, A3)이 인접할 경우 "+"의 후보영역(A3)을 포함하도록 유효영역을 확장한다. 이러한 과정은 마지막 문자까지 반복된다. 최종적으로는, "√"의 후보영역을 포함하도록 유효영역이 확장된다.At this time, the effective area setting unit 130 sets the candidate area A2 of “2” which is the first input character as the effective area. Subsequently, the effective area setting unit 130 determines two areas A2 depending on whether the candidate area A3 of " + " If A3 is adjacent to each other, the effective area is expanded to include the candidate area A3 of "+". This process is repeated until the last character. Finally, the effective area is extended to include the candidate area of "√".

상술한 바와 같이, 하나의 수식을 입력할 때, 그 수식을 구성하는 문자들의 입력 순서에는 상관없이 동일한 유효영역이 설정된다. 그러므로, 사용자가 수식을 입력함에 있어 그 입력순서에 제약 없이 편리하게 입력할 수 있다. 도시한 바와 같이, 후보영역(A1 내지 A4) 및 유효영역은 사각형 형상으로 설정되는 것이 바람직하다.As described above, when one formula is input, the same effective area is set regardless of the input order of the characters constituting the formula. Therefore, when a user inputs a formula, the user can conveniently input the formula without restriction. As shown, the candidate areas A1 to A4 and the effective area are preferably set in a rectangular shape.

도 3은 본 발명의 다른 실시예에 따른 후보영역 및 유효영역 설정 방법을 설명하기 위한 도면이다.3 is a diagram for describing a candidate region and an effective region setting method according to another embodiment of the present invention.

도 3에서는 분수 형태의 수식이 입력되었을 때의 후보영역과 유효영역의 설 정 방법을 살펴본다. 도시한 바와 같이,

Figure 112009026145382-PAT00003
의 수식을 예로 들어 설명한다.3 illustrates a method for setting candidate and valid regions when a formula of a fraction type is input. As shown,
Figure 112009026145382-PAT00003
The following formula will be described as an example.

상기 수식에서 분수 기호를 먼저 입력하고, 나머지 문자들을 입력하는 것을 예로 들어 설명한다. 분수 기호가 입력되면, 문자 인식부(120)는 입력된 문자가 분수 기호인지 혹은 뺄셈 기호인지를 먼저 판단하여야 한다. 문자 인식부(120)는 분수 기호와 뺄셈 기호의 구분 방식으로 그 문자의 상하 방향에 다른 문자가 존재하는지의 여부로 결정할 수 있다.In the above formula, the fractional sign is input first and the remaining characters are described as an example. When the fractional symbol is input, the character recognition unit 120 must first determine whether the input character is a fractional symbol or a subtraction symbol. The character recognition unit 120 may determine whether another character exists in the up and down direction of the character by a division method of the fraction symbol and the subtraction symbol.

문자 인식부(120)는 입력된 문자의 최상위 좌표(P3)와 최하위 좌표(P4)의 차이가 제1 범위 이내이고, 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하는 것으로 판단되면, 이 문자를 분수 기호로 인식한다.If the difference between the highest coordinate P3 and the lowest coordinate P4 of the input character is within the first range and the character recognition unit 120 determines that there are other characters within the second range in the up and down direction of the input character, , Recognize this character as a fraction symbol.

여기서, 최상위 좌표(P3)와 최하위 좌표(P4)의 차이가 제1 범위 이내에 속하는지를 판단하는 이유는, 분수 기호와 뺄셈 기호는 가로 방향의 직선 형태이므로, 최상위 좌표(P3)와 최하위 좌표(P4)의 차이가 없거나 혹은 약간의 차이만이 있기 때문이다. 그러므로, 작은 크기의 제1 범위를 설정하여 최상위 좌표(P3)와 최하위 좌표(P4)의 차이가 제1 범위 이내에 속할 경우는 그 문자가 분수 기호 혹은 뺄셈 기호인 것으로 판단할 수 있다.Here, the reason for determining whether the difference between the most significant coordinate P3 and the least significant coordinate P4 is within the first range is that since the fraction and subtraction symbols are in the form of a horizontal straight line, the most significant coordinate P3 and the least significant coordinate P4 are used. There is no difference or only slight difference. Therefore, when the smallest first range is set and the difference between the most significant coordinate P3 and the least significant coordinate P4 falls within the first range, it can be determined that the character is a fractional sign or a subtraction sign.

이후, 분수 기호와 뺄셈 기호를 구분하여야 하는데, 뺄셈 기호의 경우 그 상하 방향에 다른 문자가 존재할 가능성이 없다. 그러므로, 그 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하는 것으로 판단될 경우 해당 문자를 분수 기호로 판단한다.Subsequently, the fraction symbol and the subtraction symbol should be distinguished. In the case of the subtraction symbol, there is no possibility that another character exists in the up and down direction. Therefore, when it is determined that another character exists within the second range in the vertical direction of the character, the character is determined as a fractional sign.

문자 인식부(120)는 입력된 문자가 분수 기호인 것으로 인식되면, 이전에 입력된 문자들의 평균 높이를 기준으로 분수 기호의 상하 방향으로 소정 크기의 후보영역을 설정한다. 이때, 분수 기호의 상하 방향으로 설정되는 후보영역은 분수 기호의 상하 방향 각각으로 이전에 입력된 문자들의 평균 높이의 1.5배에 해당하는 크기로 설정될 수 있다. 혹은, 문자 인식부(120)는 입력된 문자가 분수 기호인 것으로 인식되었을 경우, 분수 기호에 대하여는 기설정된 크기의 후보영역을 설정할 수도 있다. If it is recognized that the input character is a fractional symbol, the character recognition unit 120 sets a candidate area having a predetermined size in the vertical direction of the fractional symbol based on the average height of the previously inputted characters. In this case, the candidate area set in the vertical direction of the fractional sign may be set to a size corresponding to 1.5 times the average height of characters previously input in the vertical direction of the fractional sign. Alternatively, when it is recognized that the input character is a fractional symbol, the character recognition unit 120 may set a candidate area having a predetermined size for the fractional symbol.

문자 인식부(120)는 분수 기호가 인식되면, 분수 기호를 중심으로 그 상하 방향으로 소정 크기의 분수 기호에 대한 후보영역(B1)을 설정한다. 이후, 분수 기호를 제외한 다른 문자들이 더 입력되고, 이 각각의 문자들에 대하여도 후보영역(B2 내지 B8)이 설정된다.When the fractional sign is recognized, the character recognition unit 120 sets a candidate area B1 for the fractional sign having a predetermined size in the vertical direction around the fractional sign. Thereafter, other characters except for the fractional sign are further input, and candidate areas B2 to B8 are also set for each of these characters.

여기서, 문자 인식부(120)에 의해 인식된 분수 기호는 최초 입력된 문자일 수 있고, 혹은 그렇지 않을 수 있다. 만약, 분수 기호가 최초 입력된 문자일 경우, 유효영역 설정부(130)는 분수 기호의 후보영역(B1)을 유효영역으로 설정한다. 또한, 분수 기호가 최초 입력된 문자가 아닐 경우, 유효영역 설정부(130)는 분수 기호의 후보영역(B1)을 기설정된 유효영역과 인접하는지를 비교하고, 분수 기호의 후보영역(B1)이 기설정된 유효영역과 인접할 경우에는 분수 기호가 기설정된 유효영역에 포함되도록 기설정된 유효영역을 확장하고, 인접하지 않을 경우에는 분수 기 호의 후보영역(B1)을 새로운 유효영역으로 설정한다. 본 실시예에서는 분수 기호의 후보영역(B1)은 기설정된 유효영역과 인접하지 않는 것으로 가정한다.Here, the fraction symbol recognized by the character recognition unit 120 may or may not be a character initially input. If the fractional symbol is the first input character, the valid region setting unit 130 sets the candidate region B1 of the fractional symbol as the valid region. In addition, when the fractional sign is not the first input character, the effective area setting unit 130 compares whether the candidate area B1 of the fractional sign is adjacent to the preset valid area, and the candidate area B1 of the fractional sign is preliminary. When adjacent to the set valid region, the predetermined valid region is extended so that the fractional symbol is included in the preset valid region. If not, the candidate region B1 of the fractional symbol is set as a new valid region. In the present embodiment, it is assumed that the candidate area B1 of the fractional sign is not adjacent to the preset valid area.

그런데, 도시한 바와 같이, 분수 기호에 대한 후보영역(B1)의 범위 내에 다른 문자들에 대한 후보영역(B2 내지 B8)이 모두 포함되어 있다. 그러므로, 유효영역 설정부(130)는 이전에 설정된 유효영역을 확장할 필요가 없다.However, as shown in the drawing, all of the candidate areas B2 to B8 for other characters are included in the range of the candidate area B1 for the fractional sign. Therefore, the effective area setting unit 130 does not need to extend the previously set valid area.

여기에서는 분수 기호가 가장 먼저 입력되고 그 이후에 다른 문자들이 입력된 상태를 예시하였으나, 도 3에서 설명한 바와 같이 하나의 수식을 구성하는 문자들의 입력순서는 수식 인식에 영향을 주지 않는다. 그러므로, 사용자는 입력 순서에 제한 없이 편하게 수식을 입력할 수 있다.Here, although the fractional symbol is input first and other characters are input afterwards, as illustrated in FIG. 3, the input order of the characters constituting one expression does not affect the recognition of the expression. Therefore, the user can easily enter a formula without limiting the input order.

도 4는 본 발명의 일 실시예에 따른 수식 연산 장치에서 수식 연산 결과를 보여주는 상태를 예시한 도면이다.4 is a diagram illustrating a state of a mathematical calculation result in the mathematical calculation device according to an embodiment of the present invention.

도 4는 본 수식 연산 장치(100)에서 사용자가 입력한 수식과 함께 그 수식의 연산 결과를 보여주는 화면을 예시한 것이다. 사용자는 인터페이스부(110)를 통해 3개의 수식을 입력하였으며, 사용자가 입력한 3개의 수식이 입력창(111)에 표시되었다.4 illustrates a screen showing the calculation result of the equation together with the equation input by the user in the equation calculation device 100. The user inputs three formulas through the interface unit 110, and the three formulas input by the user are displayed on the input window 111.

이후, 문자 인식부(120), 유효영역 설정부(130), 수식 인식부(140), 및 연산부(150)의 동작에 의해 3개의 수식에 대한 연산 결과 창(112)이 입력창(111)의 일측에 표시된다.Subsequently, the operation result window 112 for the three equations is operated by the operation of the character recognition unit 120, the effective area setting unit 130, the equation recognition unit 140, and the operation unit 150. It is displayed on one side of.

입력창(111)의 하부에는 사용자가 입력한 수식을 문자 인식부(120), 유효영역 설정부(130), 및 수식 인식부(140)의 동작에 의해 인식한 결과를 보여주는 수식 인식 결과 창(113)이 표시될 수 있다. 이를 통해, 사용자는 연산 동작을 수행하도록 하기 이전에 자신이 입력한 수식이 정확하게 인식되었는지를 판단하고, 잘못된 경우 정정할 수 있다.In the lower portion of the input window 111, a mathematical expression recognition result window showing a result of recognizing a mathematical expression input by a user by operations of the character recognition unit 120, the effective area setting unit 130, and the mathematical expression recognition unit 140 ( 113 may be displayed. In this way, the user may determine whether the equation inputted by the user is correctly recognized before the calculation operation is performed, and correct if it is wrong.

수식 인식 결과 창(113)의 하부에는 사용자가 수식에 대한 연산 동작을 요청하기 위한 "Calculation" 버튼(114)과 다른 메뉴 사용을 요청하기 위한 "Menu" 버튼(115)이 구비될 수 있다.The lower part of the equation recognition result window 113 may be provided with a "Calculation" button 114 for requesting a calculation operation for a formula and a "Menu" button 115 for requesting the use of a different menu.

"Calculation" 버튼(114)은 입력창(111)에 입력한 수식에 대한 연산을 요청할 때 사용된다. 또한, "Menu" 버튼(115)은 수식 인식 결과 창(113)에 표시된 수식이 잘못 인식되었을 경우 재인식을 요청하는 메뉴를 조작하거나 혹은 수식 연산 동작 이외의 다른 기능을 요청하기 위해 사용될 수 있다.The "Calculation" button 114 is used to request a calculation for the formula entered in the input window 111. In addition, the "Menu" button 115 may be used to manipulate a menu requesting re-recognition when a formula displayed in the formula recognition result window 113 is erroneously recognized or to request a function other than a mathematical operation.

사용자가 입력창(111)에 연산하고자 하는 하나 이상의 수식을 입력하면, 수식 인식 결과 창(113)에 수식 연산 장치(100)의 수식 인식 결과가 표시되고, 사용자는 수식 인식 결과 창(113)을 통해 자신이 입력한 수식이 올바르게 인식되었다면, "Calculation" 버튼(114)을 클릭하여 수식에 대한 연산을 요청한다.When the user inputs one or more equations to be calculated in the input window 111, the equation recognition result of the equation calculating device 100 is displayed in the equation recognition result window 113, and the user opens the equation recognition result window 113. If the formula entered by the user through the correct recognition, click the "Calculation" button 114 to request the calculation for the formula.

이러한 동작에 의해, 입력창(111)의 일측에는 연산 결과 창(112)이 오버랩 형태로 표시될 수 있다. 도시한 바와 같이, 연산 결과 창(112)에는 3개의 수식에 대한 연산 결과가 모두 표시된다. 이때, 연산 결과 창(112)에는 복수의 수식이 입력창(111)에 표시된 순서에 따라 그 연산 결과가 표시되는 것이 바람직하다.By this operation, the calculation result window 112 may be displayed in an overlap form on one side of the input window 111. As shown, the calculation result window 112 displays all the calculation results for the three equations. In this case, it is preferable that the calculation result is displayed in the calculation result window 112 in the order in which the plurality of formulas are displayed in the input window 111.

도 5는 본 발명의 일 실시예에 따른 수식 연산 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a mathematical calculation method according to an embodiment of the present invention.

여기에서는 도 1 내지 도 5를 참조하여 본 발명의 일 실시예에 따른 수식 연산 방법을 설명한다.Here, the mathematical calculation method according to an embodiment of the present invention will be described with reference to FIGS. 1 to 5.

본 수식 연산 장치(100)를 이용하여 수식을 연산하고자 하는 경우, 사용자는 인터페이스부(110)의 입력창(111)에 연산하고자 하는 수식을 직접 입력한다(S201). 이때, 입력창(111)에 입력되는 수식은 하나 혹은 그 이상이다.When the formula is to be calculated using the formula calculating apparatus 100, the user directly inputs the formula to be calculated in the input window 111 of the interface unit 110 (S201). In this case, one or more formulas inputted to the input window 111 may be used.

문자 인식부(120)는 입력창(111)에 입력되는 순서에 따라 후보영역을 설정하고(S203), 후보영역 내에서 문자를 인식한다(S205).The character recognition unit 120 sets a candidate region according to the order input to the input window 111 (S203), and recognizes a character in the candidate region (S205).

유효영역 설정부(130)는 기설정된 유효영역과 현재 설정된 후보영역이 서로 인접하는지 여부를 판단한다(S207). S207 단계에서, 유효영역 설정부(130)는 두 영역이 서로 인접하는 것으로 판단되면, 두 영역이 동일 수식 범위에 속하는 것으로 판단하여 현재 설정된 후보영역을 기설정된 유효영역에 포함시키고(S209), 두 영역이 서로 인접하지 않는 것으로 판단되면, 두 영역이 다른 수식 범위에 속하는 것으로 판단하여 현재 설정된 후보영역을 새로운 유효영역으로 설정한다(S211). 이러한 절차는 입력된 모든 문자에 대하여 반복 수행된다.The valid area setting unit 130 determines whether the preset valid area and the currently set candidate area are adjacent to each other (S207). In operation S207, when it is determined that the two regions are adjacent to each other, the valid region setting unit 130 determines that the two regions belong to the same formula range, and includes the currently set candidate region in the preset valid region (S209). If it is determined that the regions are not adjacent to each other, it is determined that the two regions belong to different formula ranges and the currently set candidate region is set as a new valid region (S211). This procedure is repeated for every character entered.

유효영역 설정부(130)에 의해 최종 유효영역이 설정되면, 수식 인식부(140)는 최종 유효영역 내의 문자를 이용하여 수식을 인식한다. 이때, 사용자에 의해 입력된 수식이 복수이면, 수식 인식부(140)에 의해 복수의 수식이 인식된다(S213).When the final valid region is set by the valid region setting unit 130, the mathematical expression recognition unit 140 recognizes the mathematical expression by using the characters in the final valid region. In this case, when there are a plurality of equations input by the user, a plurality of equations are recognized by the equation recognition unit 140 (S213).

연산부(150)는 수식 인식부(140)에 의해 인식된 하나 혹은 복수의 수식을 연산하고(S215), 연산부(150)에 의해 연산된 수식 연산 결과는 인터페이스부(110)의 입력창(111)의 일측에 표시된다(S217).The calculation unit 150 calculates one or a plurality of equations recognized by the equation recognition unit 140 (S215), and the result of the calculation operation calculated by the calculation unit 150 is the input window 111 of the interface unit 110. It is displayed on one side of (S217).

상술한 바와 같이, 사용자는 키패드를 조작할 필요 없이 필기하듯이 입력창(111)에 연산하고자 하는 수식을 입력하여 손쉽게 수식의 연산 결과를 얻을 수 있다.As described above, the user can easily obtain the calculation result of the equation by inputting the equation to be calculated in the input window 111 as if writing without the need to operate the keypad.

이상에서는 본 발명의 바람직한 실시예에 대하여 도시하고 설명하였지만, 본 발명은 상술한 특정의 실시예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 당해 발명이 속하는 기술분야에서 통상의 지식을 가진자에 의해 다양한 변형실시가 가능한 것은 물론이고, 이러한 변형 실시예들은 본 발명의 기술적 사상이나 전망으로부터 개별적으로 이해되어서는 안될 것이다.While the above has been shown and described with respect to preferred embodiments of the present invention, the present invention is not limited to the specific embodiments described above, it is usually in the technical field to which the invention belongs without departing from the spirit of the invention claimed in the claims. Various modifications can be made by those skilled in the art, and these modifications should not be individually understood from the technical spirit or the prospect of the present invention.

도 1은 본 발명의 일 실시예에 따른 수식 연산 장치의 블럭도,1 is a block diagram of a mathematical operation device according to an embodiment of the present invention;

도 2는 본 발명의 일 실시예에 따른 후보영역 및 유효영역 설정 방법을 설명하기 위한 도면,2 is a view for explaining a candidate region and a valid region setting method according to an embodiment of the present invention;

도 3은 본 발명의 다른 실시예에 따른 후보영역 및 유효영역 설정 방법을 설명하기 위한 도면,3 is a view for explaining a candidate region and a valid region setting method according to another embodiment of the present invention;

도 4는 본 발명의 일 실시예에 따른 수식 연산 장치에서 수식 연산 결과를 보여주는 상태를 예시한 도면, 그리고,4 is a view illustrating a state showing a result of a mathematical calculation in the mathematical calculation device according to an embodiment of the present invention, and

도 5는 본 발명의 일 실시예에 따른 수식 연산 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a mathematical calculation method according to an embodiment of the present invention.

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

100 : 수식 연산 장치 110 : 인터페이스부100: mathematical operation unit 110: interface unit

120 : 문자 인식부 130 : 유효영역 설정부120: character recognition unit 130: effective area setting unit

140 : 수식 인식부 150 : 연산부140: equation recognition unit 150: arithmetic unit

160 : 카메라부 170 : 저장부160: camera unit 170: storage unit

180 : 제어부180: control unit

Claims (20)

입력된 문자를 인식하는 단계;Recognizing input characters; 상기 입력된 문자와 기설정된 유효영역의 인접 여부에 따라 상기 입력된 문자의 상기 기설정된 유효영역으로의 포함 여부를 결정하는 단계;Determining whether to include the input character into the preset valid region according to whether the input character is adjacent to the preset valid region; 상기 결정된 포함 여부를 반영하여 최종 유효영역을 설정하는 단계;Setting a final valid region by reflecting the determined inclusion; 상기 설정된 최종 유효영역 내의 문자를 이용하여 수식을 인식하는 단계; 및Recognizing a formula using a character in the set last valid region; And 상기 인식된 수식을 연산하여 연산 결과를 디스플레이하는 단계;를 포함하는 것을 특징으로 하는 수식 연산 방법.And calculating the recognized expression to display a result of the calculation. 제 1 항에 있어서,The method of claim 1, 수기 입력 또는 촬상 방식으로 문자를 입력받는 단계;를 더 포함하는 것을 특징으로 하는 수식 연산 방법.Receiving a character input by handwriting or imaging method; Formula operation method further comprising. 제 1 항에 있어서,The method of claim 1, 상기 인식하는 단계는,Recognizing the step, 상기 입력된 문자의 최상위 좌표, 최하위 좌표, 최우측 좌표, 및 최좌측 좌표를 이용하여 상기 입력된 문자를 포함하는 후보영역을 설정하는 단계; 및Setting a candidate area including the input characters using the highest coordinates, the lowest coordinates, the rightmost coordinates, and the leftmost coordinates of the input characters; And 상기 설정된 후보영역 내의 문자를 인식하는 단계;를 포함하는 것을 특징으로 하는 수식 연산 방법.And recognizing a character in the set candidate area. 제 3 항에 있어서,The method of claim 3, wherein 상기 기설정된 유효영역은, 최초로 입력된 문자의 후보영역, 및 이전에 설정된 유효영역 중 어느 하나인 것을 특징으로 하는 수식 연산 방법.And the predetermined valid region is any one of a candidate region of a character first input and a previously set valid region. 제 3 항에 있어서,The method of claim 3, wherein 상기 최종 유효영역을 설정하는 단계는,Setting the final valid area, 상기 입력된 문자와 상기 기설정된 유효영역이 서로 인접하면, 상기 입력된 문자의 후보영역을 상기 기설정된 유효영역에 포함시키고, 상기 입력된 문자와 상기 기설정된 유효영역이 인접하지 않으면, 상기 입력된 문자의 후보영역을 새로운 유효영역으로 설정하는 것을 특징으로 하는 수식 연산 방법.If the input character and the preset valid region are adjacent to each other, the candidate region of the input character is included in the preset valid region, and if the input character and the preset valid region are not adjacent, the inputted region is included. A mathematical operation method comprising setting a candidate area of a character to a new valid area. 제 3 항에 있어서,The method of claim 3, wherein 상기 문자를 인식하는 단계에서, 상기 입력된 문자의 상기 최상위 좌표와 상기 최하위 좌표의 차이가 제1 범위 이내이고, 상기 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하는 것으로 판단되면, 상기 입력된 문자를 분수 기호로 인식하는 것을 특징으로 하는 수식 연산 방법.In the step of recognizing the character, if it is determined that the difference between the highest coordinate and the lowest coordinate of the input character is within the first range, and other characters exist within the second range in the up and down direction of the input character, And the input character is recognized as a fraction symbol. 제 6 항에 있어서,The method of claim 6, 상기 후보영역을 설정하는 단계에서, 상기 입력된 문자가 상기 분수 기호로 인식되면, 이전에 입력된 문자들의 평균 높이를 기준으로 상기 분수 기호의 상하 방향으로 후보영역을 설정하는 것을 특징으로 하는 수식 연산 방법.In the setting of the candidate region, when the input character is recognized as the fractional symbol, a mathematical expression operation is set in a vertical direction of the fractional symbol based on the average height of previously input characters. Way. 제 7 항에 있어서,The method of claim 7, wherein 상기 분수 기호의 상하 방향으로 설정되는 후보영역은, 상기 분수 기호의 상하 방향 각각으로 상기 이전에 입력된 문자들의 평균 높이의 1.5배에 해당하는 크기로 설정되는 것을 특징으로 하는 수식 연산 방법.The candidate region set in the vertical direction of the fractional sign is set to a size corresponding to 1.5 times the average height of the previously input characters in the vertical direction of the fractional sign. 제 1 항에 있어서,The method of claim 1, 복수의 수식을 입력받는 단계;를 더 포함하고,And receiving a plurality of formulas; 상기 최종 유효영역을 설정하는 단계는, 상기 입력받은 복수의 수식에 대하여 복수의 유효영역을 설정하며,In the setting of the final valid region, a plurality of valid regions are set for the plurality of input equations, 상기 수식을 인식하는 단계는, 상기 설정된 복수의 유효영역 각각에서 수식을 인식하는 것을 특징으로 하는 수식 연산 방법.Recognizing the formula, formula operation method characterized in that for recognizing the formula in each of the plurality of the set effective area. 제 7 항에 있어서,The method of claim 7, wherein 상기 디스플레이하는 단계는, 상기 복수의 유효영역 각각에서 인식된 복수의 수식을 각각 연산하여 복수의 연산 결과를 동시에 디스플레이하는 것을 특징으로 하는 수식 연산 방법.The displaying may include calculating a plurality of mathematical expressions recognized in each of the plurality of valid regions, and simultaneously displaying a plurality of calculation results. 입력된 문자를 인식하는 문자 인식부;A character recognition unit that recognizes an input character; 상기 입력된 문자와 기설정된 유효영역의 인접 여부에 따라 상기 입력된 문자의 상기 기설정된 유효영역으로의 포함 여부를 결정하고, 상기 결정된 포함 여부를 반영하여 최종 유효영역을 설정하는 유효영역 설정부;A valid region setting unit which determines whether to include the input character into the preset valid region according to whether the input character is adjacent to the preset valid region and sets a final valid region by reflecting the determined inclusion; 상기 설정된 최종 유효영역 내의 문자를 이용하여 수식을 인식하는 수식 인식부; 및A mathematical expression recognition unit for recognizing mathematical expressions using characters in the set last valid region; And 상기 인식된 수식을 연산하여 연산 결과를 디스플레이하는 인터페이스부;를 포함하는 것을 특징으로 하는 수식 연산 장치.And an interface unit configured to calculate the recognized equation and display a result of the calculation. 제 11 항에 있어서,The method of claim 11, 상기 인터페이스부는, 수기 입력 방식으로 상기 문자를 입력받는 것을 특징으로 하는 수식 연산 장치.And the interface unit receives the character through a handwriting input method. 제 11 항에 있어서,The method of claim 11, 촬상 방식으로 상기 문자를 입력받는 카메라부;를 더 포함하는 것을 특징으로 하는 수식 연산 장치.And a camera unit for receiving the text in an imaging manner. 제 11 항에 있어서,The method of claim 11, 상기 문자 인식부는, 상기 입력된 문자의 최상위 좌표, 최하위 좌표, 최우측 좌표, 및 최좌측 좌표를 이용하여 상기 입력된 문자를 포함하는 후보영역을 설정하 고, 상기 설정된 후보영역 내의 문자를 인식하는 것을 특징으로 하는 수식 연산 장치.The character recognition unit sets a candidate area including the input character by using the highest coordinate, the lowest coordinate, the rightmost coordinate, and the leftmost coordinate of the input character, and recognizes a character in the set candidate area. Equation computing device, characterized in that. 제 14 항에 있어서,The method of claim 14, 상기 기설정된 유효영역은, 최초로 입력된 문자의 후보영역, 및 이전에 설정된 유효영역 중 어느 하나인 것을 특징으로 하는 수식 연산 장치.And the predetermined valid region is any one of a candidate region of a first input character and a previously set valid region. 제 14 항에 있어서,The method of claim 14, 상기 유효영역 설정부는, 상기 입력된 문자와 상기 기설정된 유효영역이 서로 인접하면, 상기 입력된 문자의 후보영역을 상기 기설정된 유효영역에 포함시키고, 상기 입력된 문자와 상기 기설정된 유효영역이 인접하지 않으면, 상기 입력된 문자의 후보영역을 새로운 유효영역으로 설정하는 것을 특징으로 하는 수식 연산 장치.If the input character and the preset valid region are adjacent to each other, the valid region setting unit includes a candidate region of the input character in the preset valid region, and the input character and the preset valid region are adjacent to each other. Otherwise, the candidate region of the input character is set as a new valid region. 제 14 항에 있어서,The method of claim 14, 상기 문자 인식부는, 상기 입력된 문자의 상기 최상위 좌표와 상기 최하위 좌표의 차이가 제1 범위 이내이고, 상기 입력된 문자의 상하 방향으로 제2 범위 이내에 다른 문자가 존재하는 것으로 판단되면, 상기 입력된 문자를 분수 기호로 인식하는 것을 특징으로 하는 수식 연산 장치.If it is determined that a difference between the highest coordinate and the lowest coordinate of the input character is within a first range and another character exists within a second range in an up and down direction of the input character, the character recognizer is inputted. A mathematical expression device, characterized in that to recognize a character as a fraction symbol. 제 17 항에 있어서,The method of claim 17, 상기 문자 인식부는, 상기 입력된 문자가 상기 분수 기호로 인식되면, 이전에 입력된 문자들의 평균 높이를 기준으로 상기 분수 기호의 상하 방향으로 후보영역을 설정하는 것을 특징으로 하는 수식 연산 장치.And the character recognizing unit sets a candidate area in an up and down direction of the fraction symbol based on an average height of previously input characters when the input character is recognized as the fraction symbol. 제 18 항에 있어서,The method of claim 18, 상기 분수 기호의 상하 방향으로 설정되는 후보영역은, 상기 분수 기호의 상하 방향 각각으로 상기 이전에 입력된 문자들의 평균 높이의 1.5배에 해당하는 크기로 설정되는 것을 특징으로 하는 수식 연산 장치.And a candidate region set in the up-down direction of the fractional sign is set to a size corresponding to 1.5 times the average height of the previously input characters in the up-down direction of the fractional sign. 제 11 항에 있어서,The method of claim 11, 상기 인터페이스부는, 복수의 수식에 대한 연산결과를 디스플레이하는 것을 특징으로 하는 수식 연산 장치.And the interface unit displays arithmetic results for a plurality of mathematical expressions.
KR1020090037730A 2009-04-29 2009-04-29 Method and apparatus for calculating formula KR101069843B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090037730A KR101069843B1 (en) 2009-04-29 2009-04-29 Method and apparatus for calculating formula

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090037730A KR101069843B1 (en) 2009-04-29 2009-04-29 Method and apparatus for calculating formula

Publications (2)

Publication Number Publication Date
KR20100118829A true KR20100118829A (en) 2010-11-08
KR101069843B1 KR101069843B1 (en) 2011-10-04

Family

ID=43405015

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090037730A KR101069843B1 (en) 2009-04-29 2009-04-29 Method and apparatus for calculating formula

Country Status (1)

Country Link
KR (1) KR101069843B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9460044B2 (en) 2012-12-20 2016-10-04 Samsung Electronics Co., Ltd. Formula calculation method and electronic device therefor

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102058455B1 (en) * 2012-08-08 2019-12-23 삼성전자 주식회사 Method and apparatus for performing calculations in character input mode
KR101593791B1 (en) 2014-04-18 2016-02-15 전양숙 Scientific calculator using a Charge Coupled Device sensor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9460044B2 (en) 2012-12-20 2016-10-04 Samsung Electronics Co., Ltd. Formula calculation method and electronic device therefor

Also Published As

Publication number Publication date
KR101069843B1 (en) 2011-10-04

Similar Documents

Publication Publication Date Title
KR100823083B1 (en) Apparatus and method for correcting document of display included touch screen
KR100856203B1 (en) User inputting apparatus and method using finger mark recognition sensor
US9916044B2 (en) Device and method for information processing using virtual keyboard
EP2725458B1 (en) Information processing device, input control method, and input control program
US9323437B2 (en) Method for displaying scale for enlargement and reduction operation, and device therefor
EP2237230B1 (en) Graph display control apparatus and graph display control method
CN102750003B (en) The method and apparatus of text input
JP5522755B2 (en) INPUT DISPLAY CONTROL DEVICE, THIN CLIENT SYSTEM, INPUT DISPLAY CONTROL METHOD, AND PROGRAM
TW201305925A (en) Handwritten character input device and handwritten character input method
KR20110104620A (en) Apparatus and method for inputing character in portable terminal
JP2014041391A (en) Touch panel device
EP2775384A2 (en) Electronic apparatus having software keyboard function and method of controlling electronic apparatus having software keyboard function
KR101069843B1 (en) Method and apparatus for calculating formula
CN102999295A (en) Electronic device provided with touch screen and method for selecting characters
CN104699409A (en) Information inputting method and information inputting system for mobile terminal of touch screen
JP2011076173A (en) Character input device, character input method and character input program
US20170229039A1 (en) Abacus calculation type mental arithmetic learning support device, abacus calculation type mental arithmetic learning support program, and abacus calculation type mental arithmetic learning support method
CN109478120B (en) Input method and system of electronic equipment
US11244138B2 (en) Hologram-based character recognition method and apparatus
JP6373664B2 (en) Electronic device, method and program
JP6318794B2 (en) Information processing apparatus and information processing program
KR20140020108A (en) Method for recognizing touch pen and an electronic device thereof
KR20130128143A (en) Apparatus and method for controlling interface using hand gesture and computer-readable recording medium with program therefor
CN107422880B (en) Input method, device and system based on touch pad and input device
JP2017187923A (en) Document processing device, document processing method, terminal, and method

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20150825

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20160923

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee