Handwritten information processing apparatus and method

Abstract: Handwritten/input stroke data is compared with a gesture dictionary. If the data coincides with a specific gesture, it is checked whether the gesture is completed, and the stroke data is stored. After the meaning of the gesture command is analyzed by using the gesture dictionary, an image stroke data group which does not coincide with any gesture, and an icon group replacing stroke data which coincides with a gesture appears on the display screen. In this state, when the user taps icons having functions as gestures he/she wants to execute, the corresponding gesture commands are executed.

Description: BACKGROUND OF THE INVENTION FIELD OF THE INVENTION The present invention relates to an information processing apparatus and a method therefor capable of inputting information by operating a pen. DESCRIPTION OF THE RELATED ART In, for example, a conventional electronic information apparatus for inputting information by operating a pen, two types of input methods are employed: an information input method of inputting characters and symbols by using a means for recognizing handwritten characters; and a method of inputting commands called "gestures" in the apparatus body by operating a pen. In an electronic information apparatus equipped with a word processor application for displaying characters on the display screen, when handwritten characters are input to arbitrarily positions as shown in, e.g., Figs. 8A and 8B, recognition processing for the characters is performed, and the recognition results are displayed at the positions where the handwriting input operation was performed. In this case, when the mark "X" as a "gesture" indicating a delete command is handwritten on a word of a displayed character string as shown in Figs. 9A and 9B, recognition processing of the gesture is performed, and the gesture serves as a command for deleting the word on which it is handwritten. Similarly, with the preparation of gestures, as commands, having various functions required for the word processor application, an edit operation environment is provided as well as the function of inputting characters by only operating a pen. In the electronic information apparatus having the above arrangement, however, the following problem is posed when the apparatus is equipped with an application, e.g., DTP (desktop publishing, which allows input of not only characters but also graphic patterns arbitrarily drawn by handwriting. When a graphic pattern identical to a graphic pattern prepared as a gesture is drawn, the conventional electronic information apparatus cannot discriminate them at all. In order to avoid the above situation, the operator may switch the current mode to a special input mode. Alternatively, every time graphic patterns cannot be discriminated, the operator may perform confirmation. In either case, an extra operation load is repetitively imposed on the operator in a data input operation. An electronic information apparatus based on the above described state of the art can be found in EP-A-0 565 872 (IBM), 20 Oktober 1993, column 2, line 47 - coloumn 3, line 29 SUMMARY OF THE INVENTION The present invention has been made in consideration of the above problem, and has as its object to provide an electronic information apparatus which can easily identify a handwritten graphic pattern and a graphic pattern as a gesture. In order to achieve the above object, according to the present invention, there is provided an information processing apparatus and a method therefor capable of processing handwritten information input through a display screen, comprising means for storing gesture strokes associated with a plurality of gesture commands in advance, means for inputting handwritten image stroke data, determination means for determining whether the handwritten image stroke data includes a stroke identical to one of the gesture strokes, means for, when the determination means determines the presence of an identical stroke, analyzing a gesture operation indicated by the stroke, means for displaying a predetermined symbol corresponding to the gesture operation on the display screen in accordance with the analysis, judging means for judging the presence/absence of an access to the displayed predetermined symbol, and selection means for selecting, in accordance with the presence/absence of the access, whether to execute the gesture operation. Another aspect of the invention is a method as defined in claim 10. Other embodiments of the invention are specified in the respective dependent claims. Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing the schematic arrangement of an information processing apparatus according to an embodiment of the present invention; Fig. 2 is a block diagram showing the schematic arrangement of a handwritten stroke processing unit constituting an input device according to the embodiment; Fig. 3 is a flow chart showing a sequence in the handwritten stroke in Fig. 2; Fig. 4A is a view showing an example of stroke data of a Japanese kana character which is sequentially drawn with time; Fig. 4B is a view showing an example of stroke data of an English letter which is sequentially drawn with time; Fig. 5 is a view showing an example of stroke data, which is sequentially drawn with time, after the execution of a gesture command; Fig. 6 is a view showing an example of stroke data having undergone re-display processing; Fig. 7 is a view showing the contents of a gesture dictionary 111 according to the embodiment; Figs. 8A and 8B are views showing display samples in a conventional electronic information apparatus; and Figs. 9A and 9B are view showing display samples in a conventional electronic information apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the accompanying drawings. Fig. 1 is a block diagram showing the schematic arrangement of an information processing apparatus according to an embodiment of the present invention. Referring to Fig. 1, reference numeral 1 denotes a CPU (central processing unit) for controlling the overall apparatus. The CPU 1 performs various processes in accordance with programs stored in a ROM 2. A control program, an error processing program, a program based on a flow chart to be described later, and the like are stored in the ROM 2. Reference numeral 3 denotes a RAM used as work areas for various programs and a save area in error processing. Various data such as dictionary and stroke string data used for recognition processing (to be described later) are stored in the RAM 3. Reference numeral 4 denotes an input device serving as a coordinate input unit having a transparent coordinate input board (not shown) and a pen (not shown) for designating the position of a coordinate point with respect to the coordinate input board. This input unit uses a scheme based on electromagnetic induction or ultrasonic vibration in detecting a coordinate point. Reference numeral 5 denotes a VIDEO RAM (to be referred to as a VRAM hereinafter) having memory areas in one-to-one correspondence with the coordinate points of the coordinate input board (not shown) and serving to store bit information of an input coordinate point of the coordinate input board or bit information of a dot (to be described later) calculated on the basis of a coordinate point; and 6, a display unit for displaying a bit image on the basis of bit information stored in the VRAM 5. In this case, as the display device 6, an LCD is used. However, a display scheme based on an EL device or a CRT may be used. Stroke string information is displayed on the display device 6. Fig. 2 is a block diagram showing the schematic arrangement of a handwritten stroke processing unit 10 constituting the input device 4 in Fig. 1. Referring to Fig. 2, reference numeral 101 denotes a coordinate input means for inputting a handwritten stroke; 102, a stroke storage means for storing stroke string data obtained by the coordinate input means 101; and 103, a gesture stroke group detection means for comparing the stroke string data stored in the stroke storage means 102 with gesture stroke data by a conventional character recognition method such as pattern matching on the basis of a gesture dictionary 111. Reference numeral 104 denotes a gesture command analysis means for analyzing the gesture recognized/detected by the gesture stroke group detection means 103 on the basis of the gesture dictionary 111 to determine the type of command; and 105, a display means for outputting the stroke string data stored in the stroke storage means 102 to the display device. Reference numeral 106 denotes an icon display means for displaying the gesture command analyzed by the gesture stroke group detection means 103 and the gesture command analysis means 104 as an icon; 107, a command execution means for executing a command corresponding to the icon displayed on the icon display means 106 on the basis of the analysis result obtained by the gesture command analysis means 104; and 108, a gesture stroke re-display means for restoring a stroke group icon to the stroke group and displaying it. Reference numeral 109 denotes a control means of the information processing apparatus of this embodiment. The control means 109 performs control to notify the gesture stroke re-display means 108 of the timings of storage and printing of document data with respect to handwritten stroke processing. Reference numeral 110 denotes a stroke output means for performing an output operation in the stroke processing unit 10 with respect to an application. The gesture dictionary 111 stores data used to detect a gesture stroke in the gesture stroke group detection means 103 and establish correlation between a gesture stroke and a command in the gesture command analysis means 104. Fig. 2 shows only the stroke processing unit 10 associated with the information processing apparatus according to this embodiment. Since a means for a handwriting input operation, other input/output means, a gesture recognition means, and installed applications are not directly associated with the present invention, an illustration and description thereof will be omitted. Assume that stroke data is input by the coordinate input means 101 shown in Fig. 2 in the information processing apparatus according to this embodiment. An operation to be performed in this case will be described in detail below. Fig. 3 is a flow chart showing an actual procedure in the stroke processing unit 10 having the arrangement shown in Fig. 2. Figs. 4A, 4B, 5, and 6 show examples of stroke data input to the input device of the information processing apparatus of this embodiment, with each stroke data being sequentially drawn with time. Fig. 4A shows an example of stroke data of a Japanese kana character. Fig. 4B shows an example of stroke data of an English letter. When a stroke input operation is performed by the coordinate input means 101 in Fig. 2 as indicated by reference numeral 301 in Fig. 4A or reference numeral 351 in Fig. 4B, the stroke input processing routine shown in Fig. 3 is started (step S201). In this case, data of a newly added stroke (a stroke 308 in Fig. 4A or 358 in Fig. 4B) is loaded as one-stroke data in step S203 after a temporary memory (not shown) is cleared in step S202. In step S204, the data is output as it is drawn. As a result, stroke data like the one indicated by the uppermost portion in Fig. 4A or 4B is displayed. Fig. 7 shows the contents of the gesture dictionary 111 according to this embodiment as simplified and visualized data. In this dictionary, standard data 902 to 904 of the respective strokes of each gesture (901) and a corresponding meaning 905 of the gesture are written. In step S205 in Fig. 3, as described above, the stroke data is compared with the registered contents of the gesture dictionary 111 which are shown in Fig. 7. If it is determined in step S205, upon comparison with this gesture dictionary, that the stroke data 308 in Fig. 4A (or the stroke data 358 in Fig. 4B) is not part of a gesture, a tap on (selection of) an icon is checked in step S212. If it is determined in step S212 that the icon is selected, the flow advances to step S214 after gesture command processing is performed in step S213. If it is determined in step S212 that no icon is selected, the presence/absence of a state change (to be described later) is checked in step S214. If it is determined in step S214 that no state change has occurred, the flow returns to step S203 to load the next stroke data. That is, after the same processing as that for the stroke data 308 (358) is performed for stroke data 309 and 310 (359 and 360 in Fig. 4B) shown in Fig. 4A, stroke data 311 (361) is loaded. In step S205, it is determined upon comparison with the gesture dictionary 111 that the stroke data 311 (361) coincides with part of "the cross out gesture" (denoted by reference numeral 906) shown in Fig. 7. Therefore, the flow advances to step S206. In step S206, it is checked whether the gesture is completed. That is, with only the stroke data 311 (361), it is determined that the gesture is not completed. For this reason, NO is obtained in step S206. In step S207, the stroke data 311 (361) is stored in the temporary stroke memory. In step S203, stroke data 312 (362) is loaded. The stroke data is compared with a stroke 907 following the stroke 906 in the gesture dictionary 111. Thereafter, the flow advances to step S206, as in the above case. In this step, it is determined in accordance with the gesture dictionary 111 that the stroke data 311 and 312 in Fig. 4A (361 and 362 in Fig. 4B) are completed as one gesture. In step S208, the meaning of the gesture command is analyzed by using the gesture dictionary 111. In step S209, the stroke data 311 and 312 (361 and 362 in Fig. 4B) displayed in step S204 are deleted. In step S210, an icon having the meaning "delete" (908) shown in Fig. 7 is displayed. In step S211, the contents of the temporary stroke memory are correlated with the data of a meaning icon (denoted by reference numeral 905 in Fig. 7), and the resultant data is stored in the memory. The flow then returns to step S202 to clear the temporary stroke memory. As a result, on the display screen, an image like the one indicated by the lowermost portion in Fig. 4A (Fig. 4B) is displayed. The above operation/processing is repeated. As a result, on the display screen, an image stroke data group which does not coincide with any gesture appears, together with an icon group replacing stroke data which coincide with gestures. In this state, when the operator taps an icon having a function as a gesture he/she wants to execute, the corresponding gesture command is executed in step S213 on the basis of the data stored in step S211. As a result, for example, a blank is displayed, as indicated by reference numeral 404 in Fig. 5. Assume that the image stroke data on the display screen is to be transferred to an application, or a state change such as the formation of a file or a printing operation occurs (YES in step S214). In this case, in step S215, re-display processing for the image stroke data is performed by using the icon replacing the gesture on the basis of the stroke data stored in step S211 (see Fig. 6). Thereafter, the stroke input processing routine is terminated. With the above-described arrangement, both image strokes and gestures can be used and identified with the minimum number of operations performed by the user independently of the type of application installed in the apparatus capable of a handwriting input operation. In addition, re-display processing for image stroke data is performed in accordance with a predetermined state change. Therefore, during or at the end of a handwriting input operation, a desired operation can be performed by only operating only identification symbols indicating necessary gesture operations separately or together, of the identification symbols displayed on the screen and indicating gesture operations. [First Modification] A modification of the above embodiment will be described below. In the above embodiment, when both an image stroke group and an icon group replacing image stroke data identified as gestures are present, a state change such as the formation of a file or a printing operation is used as a condition for re-displaying the icon group as the image stroke group. That is, such a state change is used as a trigger. The present invention, however, is not limited to this. For example, a timer may be started when image stroke data is replaced with an icon, and the icon may be automatically converted into the image stroke data again to be displayed if no operation is performed with respect to the icon for a predetermined period of time. This will save the user a lot of time and labor to provide a more comfortable operation environment. Alternatively, when both an image stroke group and an icon group replacing image stroke data identified as gestures are present, all the icon group may be regarded as gestures, and the corresponding gesture commands may be executed at once instead of re-converting the icon group into the image stroke data in response to a trigger such as a timer. With this arrangement, if the user can determine that all input image stroke data which can be identified as gestures are gestures, a cumbersome operation of manipulating each icon can be omitted. In addition to commands for operating the respective icons, a command for re-converting all the existing icon group into image stroke data, a command for executing an icon as a gesture command, and the like may be prepared. [Second Modification] In the above embodiment, icons are used as identification symbols of image stroke data which can be identified as gestures so as to allow the user to identify them. However, symbols other than icons may be used as symbols for identifying input image stroke data as gestures. For example, a portion of image stroke data which can be identified as a gesture may be identified by the user by changing the type or color of line on the display. With this arrangement, the portion which can be identified as the gesture is not obscured by a symbol such as an icon so that the user can visually check the image stroke data exactly as it is drawn. This allows the user to easily determine whether he/she has input data as a gesture. Note that the present invention may be applied to a system constituted by a plurality of devices or an apparatus constituted by one device. As is apparent, the present invention can also be applied to a case wherein the above-described function is realized by supplying programs to a system or an apparatus. As has been described above, according to the present invention, no special mode switching is required to input data as image stroke data and input data as gesture commands, and image stroke data and gestures can be easily identified. In addition, since an improvement in device operability is attained, a comfortable operation environment can be provided. Handwritten/input stroke data is compared with a gesture dictionary. If the data coincides with a specific gesture, it is checked whether the gesture is completed, and the stroke data is stored. After the meaning of the gesture command is analyzed by using the gesture dictionary, an image stroke data group which does not coincide with any gesture, and an icon group replacing stroke data which coincides with a gesture appears on the display screen. In this state, when the user taps icons having functions as gestures he/she wants to execute, the corresponding gesture commands are executed.

Claims: An information processing apparatus (Fig.1) capable of processing handwritten information input through a display screen (6), comprising: means (111-Fig.2) for storing gesture strokes associated with a plurality of gesture commands in advance; means (4, 10-Fig.1) for inputting handwritten image stroke data; determination means (103-Fig.2) for determining whether the handwritten image stroke data includes a stroke identical to one of the gesture strokes; means (104-Fig.2) for, when said determination means determines the presence of an identical stroke, analyzing a gesture operation indicated by the stroke; characterized by comprising means (6-Fig.1, 106-Fig.2) for displaying a predetermined symbol corresponding to the gesture operation on the display screen in accordance with the analysis; judging means (1-Fig.1, 109-Fig.2) for judging the presence/absence of an access to the displayed predetermined symbol; and selection means (1-Fig.1, 109-Fig.2) for selecting, in accordance with the presence/absence of the access, whether to execute the gesture operation. The apparatus according to claim 1, further comprising means (108) for performing re-display processing for the handwritten image stroke data, wherein said selection means (1-Fig.1, 109-Fig.2) performs a selecting operation to execute the gesture operation when said judging means (1-Fig.1, 109-Fig.2) judges the presence of the access to the predetermined symbol, and to perform restoration to the re-display processing when said judging means (1-Fig.1, 109-Fig.2) judges the absence of the access to the predetermined symbol. The apparatus according to claim 2, wherein said selection means (1-Fig.1, 109-Fig.2) performs the selecting operation, at once, with respect to each of detection positions where the identical stroke is detected on the display screen. The apparatus according to claim 3, wherein the predetermined symbol is displayed at the detection position on the display screen. The apparatus according to claim 2, wherein the restoration to the re display processing for the handwritten image stroke data is performed on the basis of a predetermined state change. The apparatus according to claim 5, wherein the predetermined state change includes at least a state in which the access is not made for a predetermined period of time, transfer of the handwritten image stroke data to application processing on the display screen, formation of a predetermined file, and a printing operation. The apparatus according to claim 6, wherein the gesture operation is executed with respect to all the displayed predetermined symbols when the access is not made for said predetermined period of time. The apparatus according to claim 1, wherein the predetermined symbol is an icon. The apparatus according to claim 8, wherein a predetermined symbol representing the handwritten image stroke data which can identified as the gesture operation is attached to the icon. An information processing method capable of processing handwritten information input through a display screen, comprising the steps of: determining (S205-Fig.3) whether handwritten image stroke data includes a stroke identical to one of a plurality of gesture strokes which are stored in advance; analyzing (S205, S206, S208-Fig.3) a gesture operation indicted by the stroke when the presence of an identical stroke is determined at said determining step; characterized by comprising displaying (S209, S210-Fig.3) a predetermined symbol corresponding to the gesture operation on the display screen in accordance with the analysis; judging (S212-Fig.3) the presence/absence of an access to the displayed predetermined symbol; and selecting (S214-Fig.3), in accordance with the presence/absence of the access, whether to execute the gesture operation. The method according to claim 10, further comprising the step of performing (S215-Fig.3) re-display processing for the handwritten image stroke data, wherein said selection step (S214-Fig.3) performs a selecting operation to execute the gesture operation when said judging step (S212-Fig.3) judges the presence of the access to the predetermined symbol, and to perform restoration to the re-display processing when said judging step (S212-Fig.3) judges the absence of the access to the predetermined symbol. The method according to claim 11, wherein said selection step (S214-Fig.3) performs the selecting operation, at once, with respect to each of detection positions where the identical stroke is detected on the display screen. The method according to claim 12, wherein the predetermined symbol is displayed at the detection position on the display screen. The method according to claim 11, wherein the restoration to the re-display processing for the handwritten image stroke data is performed on the basis of a predetermined state change. The method according to claim 14, wherein the predetermined state change includes at least a state in which the access is not made for a predetermined period of time, transfer of the handwritten image stroke data to application processing on the display screen, formation of a predetermined file, and a printing operation. The method according to claim 15, wherein the gesture operation is executed with respect to all the displayed predetermined symbols when the access is not made for said predetermined period of time. The method according to claim 10, wherein the predetermined symbol is an icon. The method according to claim 17, wherein a predetermined symbol representing the handwritten image stroke data which can identified as the gesture operation is attached to the icon.

Inventors: FUKUDA RYOJI, HARADA TAKASHI, MATSUBAYASHI KAZUHIRO, MORI SHIGEKI, NAGASAKI KATSUHIKO, SHIMADA KAZUTOSHI, SUNAKAWA SHINICHI, TATSUMI EISAKU, FUKUDA, RYOJI, HARADA, TAKASHI, MATSUBAYASHI, KAZUHIRO, MORI, SHIGEKI, NAGASAKI, KATSUHIKO, SHIMADA, KAZUTOSHI, SUNAKAWA, SHINICHI, TATSUMI, EISAKU, FUKUDA, RYOJI, C/O CANON K.K., HARADA, TAKASHI, C/O CANON K.K., MATSUBAYASHI, KAZUHIRO, C/O CANON K.K., MORI, SHIGEKI, C/O CANON K.K., NAGASAKI, KATSUHIKO, C/O CANON K.K., SHIMADA, KAZUTOSHI, C/O CANON K.K., SUNAKAWA, SHINICHI, C/O CANON K.K., TATSUMI, EISAKU, C/O CANON K.K.
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1995
Main classification: G06F3
IPC codes: G06F3, G06K9