TOUCH DRAWING DISPLAY APPARATUS AND OPERATION METHOD THEREOF, IMAGE DISPLAY APPARATUS ALLOWING TOUCH-INPUT, AND CONTROLLER FOR THE DISPLAY APPARATUS
An electronic blackboard includes a display panel and a touch-panel, draws a line corresponding to a track formed by movement of the touched position on the displayed image, and erases an erroneously drawn line corresponding to a track specifying an operation other than drawing. In another aspect, an electronic blackboard includes a touch screen, a scroll unit for scrolling an image on the display screen when positions of multi-touch move in one same direction, and a page switching unit for detecting, after detection of multi-touch input, that a finger is moved away, and executing a process of returning the image on the display screen to a state before scrolling or a process of switching the image by one page in accordance with the moving direction of multi-touch positions, depending on whether the amount of movement of touch inputs is equal to or smaller than a threshold value.
This nonprovisional application claims priority under 35 U.S.C. §119(a) on Patent Applications No. 2011-027236 and No. 2011-027237 filed in Japan on Feb. 10, 2011, the entire contents of which are hereby incorporated by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates to an image display apparatus having a display device and an input device integrated together, allowing touch-input. More specifically, the present invention relates to a touch drawing display apparatus that has functions of drawing operation and other operation regarding touch operations, and operation method thereof, as well as to an image display apparatus switching images page by page by touching and sliding images with a plurality of fingers and the like and a controller for the display apparatus.
2. Description of the Background Art
As an image display apparatus allowing touch-input, a so-called electronic blackboard having a display device with a large screen, allowing drawing of an image or other processes upon detection of touching of the display device by the user has been known. The electronic blackboard is useful when summarizing opinions of participants or finding a preferable solution to a problem, for example, at a meeting. Electronic blackboards having various configurations have come to be practically used, and one configured as a computer system having a combination of a display device with a large display screen and an input device for detecting two-dimensional position coordinates such as a touch-panel has been used.
Generally, an electronic blackboard apparatus successively reads pieces of information related to position coordinates designated by a pen or a finger and pieces of information related to amount of movement, and displays a track of inputs on the display device based on the read pieces of information. Consequently, the apparatus can realize operations as an electronic blackboard such as handwriting input.
Regarding the touch operation, Japanese Patent Laying-Open No. 6-175776 (hereinafter denoted as '776 Reference) discloses a projection type presentation device allowing drawing on a displayed screen image using touch operation. There is a problem that recognition of an original image becomes difficult when writing is repeated on the same screen image. In order to solve this problem, in the device disclosed in this reference, drawing is done while touch operation is continued in an image forming area, and when the touch operation in the image forming area once ends and then a touch operation in the image forming area is detected next, the former image is automatically deleted.
If a specific function other than drawing is allocated to a touch operation different from a simple touch operation for drawing in an electronic blackboard, while an image is being drawn in a drawing mode, it takes some time until a touch operation is determined to be the one for executing the specific function. Typically in an electronic blackboard, drawing is done immediately after the touching, so as not to cause any time lag between the touch operation and drawing. Any time lag is stressful for the user. Such a configuration sometimes leads to an erroneous drawing not intended by the user. By way of example, it is often the case that an operation of flicking with multi-touch (touching a plurality of points simultaneously) is allocated to an operation of scrolling screen images. In such a situation, if the user is drawing images with single-touch operation (touching one point at a time) and then makes a multi-touch flick operation for scrolling screen images, it is necessary to monitor the tracks of touched points for a prescribed time period to determine that it is a flick operation. As the image is drawn immediately in response to the touching to avoid any stress to the user, it follows that an erroneous image not intended by the user have been drawn by the time when the operation is determined to be the multi-touch flick operation. While the image with the erroneous drawing disappears from the screen image when the screen images are scrolled, drawing information containing the erroneous drawing is stored as it is. Therefore, when scrolled back to the original screen image, the erroneous drawing again appears on the screen image. When printing is done, similarly, the erroneous drawing is also printed.
This problem is not limited to the electronic blackboard, and it occurs in display devices allowing display of images drawn by touching, such as tablet-type terminals. This problem cannot be solved by the technique disclosed in '776 Reference.
Advantages of an electronic blackboard include that it is possible to display or write (draw) images separately on a plurality of screen images. Each unit of display of such images is referred to as a “page” as an analogy to a book.
In an electronic blackboard allowing display of a plurality of pages of images, how to switch pages easily is an issue. The easiest method may be to provide a button for switching pages on the screen image. This method, however, is problematic particularly when the screen image is large, as it becomes difficult for the user to press the button depending on the position of the user.
In view of the foregoing, other than the method using the button, a method of switching the screen images by touching the screen image with a finger and sliding the same is proposed. Here, if it is too simple, the operation would be the same as the usual drawing operation. Therefore, in order to distinguish the two different operations, Japanese Patent Laying-Open No. 11-102274 (hereinafter referred to as '274 Reference) proposes a device in which the screen image is switched if the screen image is touched by a plurality of fingers and the like (a so-called multi-touch) and the plurality of touched positions are slid by more than a prescribed value in the same direction.
Japanese Patent Laying-Open Nos. 8-76926 (hereinafter referred to as '926 Reference) and 9-231004 (hereinafter referred to as '004 Reference) disclose methods as further development of the idea described above.
According to the method described in '926 Reference, when an operation of touching and sliding is done, a page is turned, and the number of pages turned at one time is changed depending on the number of touching fingers (the number of touched positions). According to the method disclosed in '004 Reference, scrolling of images, turning of pages and moving of cursors are executed in accordance with the movement and number of fingers touching the display screen surface.
According to the techniques disclosed in '274, '926 and '004 References described above, it is possible to turn pages by the simple operation of touching and sliding. There is still a problem to be solved. Specifically, pages may be turned erroneously while normal input is being done. Particularly when input is being done using a finger, it is possible that a finger other than the finger used for input happens to touch the screen surface and is detected as the multi-touch slide input and, as a result, a page is turned unintentionally. Therefore, a mechanism that can prevent unintended turning of a page even when such an erroneous input is made has been desired. Further, a mechanism that allows the user to easily understand what manner of input is necessary to turn a page is also necessary.
SUMMARY OF THE INVENTIONIn view of the problems described above, it is desired to provide a touch drawing display apparatus and operation method thereof that can maintain correct drawing of images even when a touch operation other than the image drawing is made in the drawing mode.
Further, it is desired to provide an image display apparatus allowing touch-input that allows the user to intuitively understand the method of page-by-page switching of screen images using multi-touch and that can prevent any trouble of display when an erroneous operation is made on such an occasion.
Further, it is desired to provide an image display apparatus allowing touch-input that allows the user to intuitively understand the method of page-by-page switching of screen images using multi-touch, and of which switching operation is easy.
According to a first aspect, the present invention provides a touch drawing display apparatus, including: a display unit that displays an image; a detecting unit that is arranged on the display unit and detects a touched position; a drawing unit that draws, on an image displayed on the display unit, a line corresponding to a track formed by movement of the detected position; and an erasing unit that erases, when an operation other than drawing is specified by the track, a line drawn from a start point to an end point of the track specifying the operation.
Preferably, the track for specifying the operation other than drawing is a track formed by a multi-touch operation of simultaneously touching a plurality of positions of the detecting unit.
According to a second aspect, the present invention provides a method of operating a touch drawing display apparatus that includes a display unit that displays an image and a detecting unit that is arranged on the display unit and detects a touched position, including the steps of: drawing, on an image displayed on the display unit, a line corresponding to a track formed by movement of the detected position; determining whether or not an operation other than drawing is specified by the track while the drawing step is being executed; and erasing, if an operation other than drawing is specified by the track, a line drawn from a start point to an end point of the track specifying the operation.
As described above, according to the present invention, when a touch operation other than that for drawing images is made in the drawing mode, the erroneous image drawn during the determination of the touch operation other than that for drawing is not retained, and the drawn image as intended by the user can be stored. Therefore, when the object image is displayed again, the erroneous image is not displayed and only the intended image is displayed.
According to a third aspect, the present invention provides an image display apparatus allowing touch-input, including: a touch detecting unit that has a display screen, displays page images page by page on the display screen, and detects positions and the number of touch inputs that designate positions on the display screen; a scroll unit that scrolls, when a plurality of touch inputs are detected by the touch detecting unit and their positions on the display screen move in one same direction, an image displayed on the display screen along with movement of positions of the plurality of touch inputs; and a first page switching unit that detects, after the plurality of touch inputs are detected by the touch detecting unit, decrease in the number of touch inputs from an output of the touch detecting unit and, depending on whether an amount of movement of the touch inputs is not larger than a first threshold value, selectively executes a process of returning the image on the display screen to a state before scrolling and a process of switching the image on the display screen by one page in accordance with the direction of movement of the plurality of touch inputs.
When touching of the display screen surface with a plurality of fingers, that is, so-called multi-touch, is detected by the touch detecting unit and the touched positions move in the same direction, the scroll unit scrolls the screen image in that direction. Therefore, the user can intuitively understand that the screen image can be scrolled by multi-touch sliding operation. On the other hand, if the amount of movement is not larger than the first threshold value and the number of multi-touching decreases after the multi-touch sliding is done, the scroll made by that time point is resumed to the original state before scrolling. Therefore, even when the user erroneously touches the display screen surface with a plurality of fingers and slides, the original screen image can be resumed if the user becomes aware and moves his/her fingers away immediately. If the multi-touch sliding exceeding the first threshold value is done and then the user moves away his/her fingers from the screen, the screen image is switched by one page in accordance with the direction of sliding. Thus, the pages of screen image can be switched by the simple operation of multi-touch sliding.
As a result, an image display apparatus allowing touch-input that allows the user to intuitively understand the method of page-by-page switching of screen images using multi-touch and that can prevent any trouble of display when an erroneous operation is made on such an occasion can be provided.
According to a fourth aspect, the present invention provides a controller for a display apparatus, used for the display apparatus that has a display screen, displays an image received from outside on the display screen and detects and outputs, to the outside, positions and the number of touch inputs that designate positions on the display screen. The controller for the display apparatus includes: a scroll unit that generates, when it is detected that a plurality of touch inputs are detected by the display apparatus and their positions on the display screen move in one same direction, an image by scrolling the image displayed on the display screen along with the movement of positions of the plurality of touch positions, and applies the generated image to the display apparatus; and a page switching unit that detects, after the plurality of touch inputs are detected by the display apparatus, decrease in the number of touch inputs from an output of the display apparatus, depending on whether an amount of movement of the touch inputs is not larger than a first threshold value, selectively executes a process of generating page image data for returning the image on the display screen to a state before scrolling and a process of generating page image data for switching the image on the display screen by one page in accordance with the direction of movement of the plurality of touch inputs, and transmits the generated page image data to the display apparatus.
According to a fifth aspect, the present invention provides an image display apparatus allowing touch input, including: a touch detecting unit that has a display screen, displays page images page by page on the display screen, and detects positions and the number of touch inputs that designate positions on the display screen; a scroll unit that scrolls, when a plurality of touch inputs are detected by the touch detecting unit and their positions on the display screen move in one same direction, an image displayed on the display screen along with movement of positions of the plurality of touch inputs; a page switching unit that switches, in response to an amount of movement of the plurality of touch inputs exceeding a threshold value during scrolling of the image by the scroll unit, the image on the display screen by one page in accordance with the direction of movement of the plurality of touch inputs; and a returning unit that detects, from an output of the touch detecting unit, decrease of the number of plurality of touch inputs before page switching by the page switching unit during scrolling of the image by the scroll unit, and returns scrolling of the image by the scroll unit to a state before scrolling.
The plurality of touched positions are detected by the touch detecting unit, and when these positions move in the same direction, the scroll unit moves the screen image along the direction of movement of the touched positions. Therefore, the user can intuitively understand that page switching is possible by the so-called multi-touch. Further, if the plurality of touched positions move in the same direction and the threshold value is exceeded, the display of screen image is switched in accordance with the direction of movement of touched positions in the course of scrolling. The screen image can be switched by the simple operation of so-called multi-touch. Further, for this purpose, what is necessary is simply to move the touched positions continuously without moving the fingers and the like away from the screen surface. Further, if the number of touch inputs decreases before page switching takes place, the screen image returns to the state before the scrolling and, therefore, the original state can easily be resumed even when an erroneous operation is made.
As a result, an image display apparatus allowing touch-input that allows the user to easily understand that page-by-page switching of screen images is possible by multi-touch input and allows easy switching of page-by-page switching of screen images can be provided.
According to a sixth aspect, the present invention provides a controller for a display apparatus, used for the display apparatus that has a display screen, displays an image received from outside on the display screen and detects and outputs, to the outside, positions and the number of touch inputs that designate a position on the display screen. The controller includes: a scroll unit that generates, when it is detected that a plurality of touch inputs are detected by the display apparatus and their positions on the display screen move in one same direction, an image by scrolling the image displayed on the display screen along with the movement of positions of the plurality of touch positions, and applies the generated image to the display apparatus; a page switching unit that switches, in response to an amount of movement of the plurality of touch inputs exceeding a threshold value during scrolling of the image by the scroll unit, the image on the display screen by one page in accordance with the direction of movement of the plurality of touch inputs; and a returning unit that detects, from an output of the display apparatus, decrease of the number of plurality of touch inputs before page switching by the page switching unit during scrolling of the image by the scroll unit, and returns scrolling of the image by the scroll unit to a state before scrolling.
As described above, according to the present invention, the user can intuitively understand that page-by-page switching of screen images can be done by using multi-touch, and any trouble in display can be prevented even when an erroneous operation is made on such an occasion. Further, by a simple operation of multi-touch sliding, page of images can be switched by one page. It is unnecessary to stop the multi-touch sliding operation.
The foregoing and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.
In the following description and in the drawings, the same components are denoted by the same reference characters. Their names and functions are also the same. Therefore, detailed description thereof will not be repeated.
In the following, the term “touch” means that a position is made detectable by an input position detecting device, and “touch” may include touching and pressing the detecting device, just touching and not pressing the detecting device, and coming very close to but not touching the detecting device. As will be described later, a contact type as well as a non-contact device may be used as the input position detecting device. Where the non-contact type detection device is used, “touch” means coming very close to the detecting device, that is, to a distance that allows detection of the input position.
First Embodiment[Configuration]
Referring to
ROM 104 is a non-volatile storage storing programs and data necessary for controlling operations of electronic blackboard apparatus 100. RAM 106 is a volatile storage. Storage unit 108 is a non-volatile storage retaining data even when power conduction is shut off, and implemented, for example, by a hard disk drive, a flash memory or the like. Storage unit 108 may be configured as a detachable unit. CPU 102 reads a program from ROM 104 to RAM 106 through bus 120 and executes the program using a part of RAM 106 as a work area. CPU 102 controls various units and components of electronic blackboard apparatus 100 in accordance with a program or programs stored in ROM 104.
To bus 120, CPU 102, ROM 104, RAM 106, storage unit 108, IF unit 110, touch detecting unit 112, display control unit 116 and VRAM 118 are connected. Data (including control information) is exchanged between each of the units through bus 120.
IF unit 110 is for establishing connection with the outside such as a network, and transmits/receives image data to and from a computer or the like connected to the network. Image data received from the outside through IF unit 110 is recorded in storage unit 108.
Display unit 114 is a display panel (such as a liquid crystal panel) for displaying images. Display control unit 116 is provided with a driving unit for driving display unit 114. Display control unit 116 reads image data stored in VRAM 118 at prescribed timing, generates signals for displaying as an image on display unit 114, and outputs the generated signals to display unit 114. The image data to be displayed is read by CPU 102 from storage unit 108 and transmitted to VRAM 118.
Touch detecting unit 112 is, for example, a touch-panel, detecting a touch operation by a user. Here, if there is a plurality of positions touched by the user, touch detecting unit 112 successively outputs coordinates of each of the positions. As a result, by monitoring the outputs of touch detecting unit 112, it is possible to know the number of touched positions and their coordinates successively. Detection of touch operation when a touch-panel is used for touch detecting unit 112 will be described with reference to
The touch-panel includes, for example, a micro computer (a device including a CPU, a memory and an input/output circuit), and controls emission of each LED. Each PD outputs a voltage corresponding to the intensity of received light. The output voltage from the PD is amplified by an amplifier. Since signals are output simultaneously from the plurality of PDs of PD arrays 210 and 212, the output signals are once saved in a buffer and then output as serial signals in accordance with the order of arrangement of PDs, and transmitted to the micro computer. The order of serial signals output from PD array 210 represents the X coordinate. The order of serial signals output from PD array 212 represents the Y coordinate.
When a user touches a point on the touch-panel with a touch pen 220, the infrared ray is intercepted by the tip of touch pen 220. Therefore, the output voltage of PD that has been receiving the infrared ray before the interception drops. Since the signal portion from the PD that corresponds to the touched position (XY coordinates) decreases, the micro computer detects a portion where the signal levels of received two serial signals decreased, and thereby finds the position coordinates of the touched position. The micro computer transmits the determined position coordinates to CPU 102. The process for detecting the touched position is repeated periodically at prescribed detection interval and, therefore, if one point is kept touched for a time period longer than the detection interval, it follows that the same coordinate data is output repeatedly. The touched position can be detected in the similar manner when the user touches touch detecting unit 112 with his/her finger without using touch pen 220.
The technique for detecting the touched position described above is well known and, therefore, further description will not be given here. A touch panel other than the infrared scanning type panel (such as a capacitive type, surface acoustic wave type or resistive type touch panel) may be used as touch detecting unit 112. When a capacitive touch panel is used, a position can be detected even when a finger or the like is not actually touching (non-contact), if it is close enough to the sensor.
On display unit 114, a screen image such as shown in
On function button area 240, function buttons 242 each having specific function allocated thereto are displayed. At a lower portion of drawing area 230, a page operation area 250 is displayed. On this area, a NEXT button 252, a PREVIOUS button 254 and a page number indication box 256 are displayed. When touched, NEXT button 252 feeds the displayed page (image data) to the right and shows the next page. When touched, PREVIOUS button 254 feeds the displayed page to the left and shows the previous page. Page number indication box indicates the page number of the currently displayed page, of the plurality of pages as the object of display. The position of page operation area 250 is fixed and it does not move even during scrolling. By way of example, the data for displaying page operation area 250 on display unit 114 may be stored in an overlay area separate from the overlay area for drawing.
When the user touches NEXT button 252, coordinate data of the touched position is transmitted from touch detecting unit 112 to CPU 102. CPU 102 determines that the received coordinate data represents a position in the area where NEXT button 252 is displayed. As a result, CPU 102 transmits image data of the next page to VRAM 118, and transmits a page feed command to display control unit 116. In response, display control unit 116 generates a signal for displaying an image in the course of page feed from the image data corresponding to the currently displayed page and the image data corresponding to the next page on VRAM 118, and outputs it to display unit 114. Consequently, an image in the course of page feed appears on display unit 114. It is noted that only a frame of the currently displayed image may be moved on the display screen image of display unit 114 in the course of page feed.
Functions allocated to function buttons 242 may include: a function of drawing by a touch operation (allowing selection of types of pens for drawing); a function of opening a file (image data) saved in storage unit 108; an erasure function of deleting a drawing in a prescribed area; a function of saving displayed image data in storage unit 108; and a function of printing displayed image data. Each function button 242 is displayed as an icon.
In the following, a method of operating electronic blackboard apparatus 100, particularly a control structure of a program realizing the process for not leaving any erroneous drawing when a function other than drawing is allocated to a special touch operation, will be described. In the following description, it is assumed that the function button for drawing has been pressed in the screen image shown in
At step 300, CPU 102 determines whether or not touch detecting unit 112 is touched. As described above, CPU 102 determines whether or not coordinate data is received from touch detecting unit 112. Position coordinates (X coordinate, Y coordinate) of the touched point are output in the order of touching, from touch detecting unit 112. If it is determined that there is a touch, the control proceeds to step 302. Otherwise, the control proceeds to step 306.
At step 302, CPU 102 stores coordinate data that have been received for a prescribed time period (coordinate data of touched points) in RAM 106 in a manner that represents the order of reception. At step 306, CPU 102 determines whether or not the program is to be ended. When an end button as one of the function buttons 242 is pressed, CPU 102 ends the program. Otherwise, the control returns to step 300, and CPU 102 waits for a touch.
At step 304, CPU 102 determines whether or not the touch detected at step 302 is a multi-touch (whether a plurality of points are touched simultaneously). Specifically, CPU 102 calculates, among the plurality of coordinate data stored at step 302, the distance between the first received coordinate data and the coordinate data received next. If the distance is a prescribed value or larger, CPU 102 determines that it is a multi-touch, and if the distance is smaller than the prescribed value, determines that it is a single touch.
The touch detection interval (period) is short and touching to each point involves slight time difference and, therefore, even in the case of multi-touch, coordinate data are output in order of touching from touch detecting unit 112. Therefore, by calculating the distance between the coordinate data received first and each of some coordinate data received second and thereafter, it is possible to determine whether the touch was a single touch or a multi-touch. The number of points touched simultaneously in the multi-touch operation is not limited to two and may be three or more. Therefore, distances are calculated for a plurality of continuous points. The distance used as a reference for determining a multi-touch may be set appropriately. What is necessary is that the distance as the reference is larger than the normal distance the user moves the touched point in the detection interval. If it is determined to be a multi-touch, the control proceeds to step 320. If it is determined not to be a multi-touch, the control proceeds to step 310.
At step 310, CPU 102 draws an image in accordance with the track of movement of the touched point, on the image displayed on display unit 114. Specifically, CPU 102 reads the plurality of coordinate data stored at step 302 from RAM 106, and writes prescribed data on corresponding points in the overlay area of VRAM 118 and on points on lines connecting these points in order. Consequently, the image data and the drawing data (data in the overlay area) are combined and displayed on display unit 114, as if drawing is done on the image. Since the process at step 312 is repeated as described later, the overlay area is overwritten with existing drawing data left as it is.
At step 312, CPU 102 temporarily stores the contents of drawing in RAM 106. What is required is that the drawing can be reproduced and, hence, the method of storage may appropriately be selected. By way of example, the coordinate data stored in RAM 106 at step 302 with the order maintained may be retained as they are. Alternatively, the data in the overlay area of VRAM 118 may be stored as two-dimensional image data in RAM 106.
At step 314, CPU 102 determines whether or not the touch is maintained. Specifically, CPU 102 determines whether or not coordinate data are continuously received from touch detecting unit 112. For instance, if touch pen 220 or the user's finger moves away, reception of coordinate data from touch detecting unit 112 stops. If it is determined that the touch is maintained, control returns to step 302, and the process following step 302 is repeated. If it is not determined that the touch is maintained, the control returns to step 300 and CPU 102 again waits for a next touch.
At step 320, CPU 102 re-stores the coordinate data that have been stored at step 302 in RAM 106 as coordinate data corresponding to each multi-touch position, that is, for each track, in RAM 106. By the process of step 304, for each of the plurality of points touched simultaneously, the coordinate data of first touched point (hereinafter also referred to as “start point”) have been determined. Therefore, it is possible to determine which of the plurality of coordinate data other than the start point stored in RAM 106 corresponds to the track of which of the plurality of start points, based on the distance from the start point. In accordance with the result of determination, the coordinate data of the start point and the coordinate data of points on the track of movement of the start point are stored as sequence data, in the order of detection. Assume, for example, that two points were touched simultaneously. At step 302, sequence data 400 shown on the left side of
At step 322, CPU 102 draws an image on the image displayed on display unit 114, in accordance with the track of touched points as at step 310. CPU 102 draws using the coordinate data re-stored in RAM 106 as shown, for example, in
At steps 324, CPU 102 temporarily stores the contents drawn at step 322 in RAM 106. The specific method is the same as that of step 312. If the coordinate data re-stored at step 320 is to be retained as it is, different from step 312, only the coordinate data representing the track drawn at step 322 may be retained.
At step 326, CPU 102 determines whether the multi-touch is maintained. Specifically, CPU 102 determines whether or not a plurality of coordinate data are continuously received from touch detecting unit 112 and whether these coordinate data correspond to the tracks of a plurality of start points determined at step 320. By way of example, assume that the user first touched with two fingers and then moved one finger away. Then, the track. that has been made by the moved finger is lost, and the coordinate data received from touch detecting unit 112 come to be only the coordinate data representing one track. Considering a situation that three or more points are touched at first, it is determined that multi-touch is maintained if simultaneous touching of at least two points is continued. If it is determined that multi-touch is maintained, the control proceeds to step 328. If it is not determined that multi-touch is maintained, the control proceeds to step 314, and CPU 102 determines whether or not single touch is maintained, as described above.
At step 328, CPU 102 determines whether or not the detected multi-touch operation is an operation allocated to scrolling (an operation designating a scroll). Specifically, for each sequence of coordinate data corresponding to the tracks of the plurality of touch points stored at step 320, CPU 102 determines a vector from the coordinate data of the start point to the coordinate data of the last point, and determines whether the vector is of a prescribed length or longer and whether the vector is in the positive direction along the X axis (whether X component is positive). If the vector is in the positive direction along the X axis, the detected multi-touch operation is determined to be an operation allocated to a scroll to the right. If the vector is of a prescribed length or longer and in the negative direction along the X axis (X component is negative), the detected multi-touch operation is determined to be an operation allocated to a scroll to the left. If it is determined to be an operation allocated to a scroll, the control proceeds to step 330. Otherwise, the control returns to step 320. The process following step 320 is repeated until the vector reaches the prescribed length.
At step 330, CPU 102 deletes the coordinate data representing the track of touched point stored in RAM 106 at step 324. Specifically, CPU 102 deletes the drawing data written after the determination of multi-touch (for example, write data “0”), while maintaining the drawing data (for example, drawing data drawn with single touch) written before the determination of multi-touch in the overlay area. Therefore, on the screen image of display unit 114, the erroneous line drawn by the multi-touch operation is erased.
At step 332, CPU 102 executes the right or left scroll, in accordance with the result of determination at step 328. Before executing the scroll, CPU 102 saves the contents of drawing (with the erroneous drawing erased) that have been temporarily stored in RAM 106 at steps 312 and 324 in storage unit 108, and the control returns to step 300. Since the contents drawn in the overlay area are saved in storage unit 108, the image with drawing 500 intended by the user can again be displayed if a left scroll is designated later.
By the above-described process, in electronic blackboard apparatus 100 in accordance with the first embodiment, when a left or right flick operation is done with multi-touch by a user, the erroneous line drawn by the multi-touch before the start of scrolling is not left and only the drawing intended by the user is saved, and then the scroll can be executed.
Though an example in which the image read from storage unit 108 is displayed as a background has been described above, it is not limiting. The background may be a uniform color image (for example, white, black or gray), provided that a function of drawing in response to a touch operation on touch detecting unit 112 is realized.
Though an example in which the special touch operation represents a left/right scroll operation, that is, an example in which the scroll function is allocated to the special touch operation, has been described above, it is not limiting. The function to be allocated may be any operation other than drawing and it may be an upward/downward scroll, a scroll to a diagonal direction, or a page switch without scroll. Further, the function to be allocated may be a function (operation) other than drawing, allocated to a function button. If an operation allocated to a scroll in a direction other than the left/right direction is to be detected, the scrolling direction may be determined considering not only the X component but also the Y component of the vector.
Further, it is possible that a plurality of users touch electronic blackboard apparatus 100, each with a touch pen or a finger, and to draw a plurality of images simultaneously. In order to distinguish such drawing operations from the operation allocated to the scroll described above (the operation of left/right flick with multi-touch), what is necessary is to determine whether the distance of points touched simultaneously is about the distance between one's fingers (for example, at most a few centimeters).
As to the operation to which a function other than drawing is allocated, it is not limited to a multi-touch operation, and it may be a single-touch operation provided that the operation can be distinguished from the normally conducted touch operation for drawing. By way of example, if a track from the start point to the end point of a single-touch operation (a figure drawn continuously without lifting one's finger or pen) is a prescribed shape, the allocated operation other than drawing may be executed.
Though an example in which CPU 102 determines whether or not an operation is a multi-touch operation has been described above, it is not limiting. By way of example, a micro computer in touch detecting unit 112 may determine whether or not an operation is a multi-touch operation, and may transmit the result to CPU 102.
Though an electronic blackboard apparatus has been described above, it is not limiting, and the present invention is generally applicable to display apparatuses that allow drawing and operation of screen images by touching, including tablet type terminal devices.
Second Embodiment[Configuration]
An electronic blackboard apparatus in accordance with the second embodiment of the present invention has the same configuration as that shown in
A program realizing the page switch function of electronic blackboard apparatus 100 in accordance with the second embodiment using the hardware shown in
Referring to
The program further includes a step 606. At step 606, CPU 102 stores, if the determination at step 604 is positive, the touch positions detected at steps 600 and 602 in RAM 106 (see
The program further includes steps 608, 610 and 630. At step 608, following step 606, CPU 102 detects the present positions of fingers from the outputs of touch detecting unit 112. At step 610, based on the result of detection at step 608, CPU 102 determines whether any one of the multi-touch detection outputs is lost (whether or not any finger has been moved away from touch detecting unit 112). If the determination at step 610 is positive, at step 630, CPU 102 compares the X coordinate of the last detected finger position with the X coordinate of the first finger position stored at step 606, and determines whether or not an absolute value of difference between the two coordinates is larger than a threshold value DTH1. In the present embodiment, direction of page movement is along the lateral direction of drawing area 230 (
If the determination at step 630 is positive, at step 632, a page displayed in drawing area 230 is changed in accordance with the direction of finger movement. Specifically, if the direction of finger movement is to the left in
If the determination at step 610 is negative, that is, if it is determined that all positions of multi-touch are maintained, at step 612, CPU 102 determines whether or not finger positions detected at step 608 are all in the left direction when viewed from the finger positions recorded at step 606. If the determination is positive, at step 614, CPU 102 calculates the amount of movement (absolute value of difference in X coordinate values), and determines whether or not the value is larger than a threshold value DTH2. In the present embodiment, the threshold value DTH2 here is larger than the threshold value DTH1 at step 630. Further, in the present embodiment, the amount of movement is an average value of all amounts of movement of multi-touch finger positions.
If the determination at step 614 is positive, at step 616, CPU 102 sets the screen image to be displayed on drawing area 230 to be the image of previous one page. Specifically, if the current image is of the second page, the image of the first page is displayed on drawing area 230 by the process of step 616. Thereafter, the control flow returns to step 600. On the other hand, if the determination at step 614 is negative, at step 618, CPU 102 scrolls the screen image displayed on drawing area 230 to the left by the same length as the amount of movement of finger positions calculated at step 614. At this time, if there is a previous page, the left end of the page is displayed at the right side of drawing area 230. Then, the control flow proceeds to step 608.
If the determination at step 612 is negative, at step 620, CPU 102 determines whether or not the finger positions detected at step 608 are in the right direction when viewed from the finger positions recorded at step 606. If the determination is positive, at step 622, CPU 102 calculates the amount of movement (absolute value of difference in X coordinate values), and determines whether or not the value is larger than a threshold value DTH3. The threshold value here is the same as the threshold value DTH2 at step 614.
If the determination at step 622 is positive, at step 624, CPU 102 sets the screen image to be displayed on drawing area 230 to be the image of next one page. Specifically, if the current image is of the second page, the image of the third page is displayed on drawing area 230. Thereafter, the control flow returns to step 600. On the other hand, if the determination at step 622 is negative, CPU 102 scrolls the screen image displayed on drawing area 230 to the right by the same length as the amount of movement of finger positions calculated at step 622. At this time, if there is a next page, the right end of the page is displayed at the left side of drawing area 230. Then, the control flow proceeds to step 608.
If the determination at step 620 is negative, that is, if X coordinates of finger positions are unchanged, the control proceeds to step 628. At step 628, CPU 102 executes a predetermined process in accordance with the values of X and Y coordinates of finger positions or history thereof. The process that takes place at step 628 may include a process of updating display, when a specific button is pressed with multi-touch, when a specific plurality of buttons are pressed with multi-touch, when a so-called pinch-out is done with the space between fingers made wider, or a so-called pinch-in is done with the space between fingers made narrower. At step 628, such a process is done. Since the contents of processing at step 628 are not related to the present invention, detailed description thereof will not be given here, for simplicity of description. After step 628, the control flow returns to step 608.
The control structure of the routine realizing the process for multi-touch operation is as described above.
If it is determined at step 604 that the detected finger position is one and it is not a multi-touch operation, the process following step 636 is executed. At step 636, CPU 102 determines whether or not the finger has moved away from drawing area 230 of touch detecting unit 112.
If the determination at step 636 is positive, at step 638, based on the finger position at the start of touching detected at step 600 and the finger position immediately before detection of the finger moved away at step 604, CPU 102 executes a process in accordance with these positions. By way of example, the process when function button 242, NEXT button 252 or PREVIOUS button 254 shown in
If the determination at step 636 is negative, it means that only one finger position is continuously being detected. Here, at step 640, CPU 102 determines whether or not the detected finger position is in drawing area 230. If the determination at step 640 is positive, at step 642, CPU 102 draws an image in accordance with drawing settings at that time on the finger position. Thereafter, the control flow returns to step 602. If the determination at step 640 is negative, drawing is unnecessary and, therefore, the control flow directly returns to step 602.
[Operation]
Electronic blackboard apparatus 100 operates in the following manner. In the following, the operation of electronic blackboard apparatus 100 related mainly to the page feed will be described. Operations of portions not specifically related to the present invention will not be given here.
Referring to
Referring to
When the user continues sliding, the process described above is repeated time and again. As a result, if the distance D1 of finger movement is equal to or smaller than the threshold value DTH1, the display on display unit 114 is as shown in
Assume that after sliding his/her fingers by the distance D1 (≦DTH1) to position 692, the user moves his/her fingers away from the display surface as shown by an arrow 690 and stops sliding. Here, the result of determination at step 610 of
On the other hand, referring to
Referring to
Here, assume that different from the example of
Assume that, in this state, the user 680 further continues sliding to the right and the distance D3 becomes larger than the threshold value DTH2. Here, the result of determination at step 622 becomes positive, and at step 624, the screen image is fed to the right by one page. Specifically, as shown in
The description above relates to sliding by the user to the right direction. It is apparent from the description that similar operation takes place when the sliding is to the left. Therefore, detailed description thereof will not be repeated.
When an upward/downward sliding, a pinch-out or a pinch-in takes place with multi-touch, the control flows through steps 610, 612, 620 and 628 of
If the finger is moved away in the single-touch operation, the control proceeds to steps 604, 636 and 638. At step 638, based on the first detected finger position and the finger position immediately before the finger is moved away, a process in accordance with these positions is executed. If it is the case that the user touched any of function buttons 242 and moved away the finger, a predetermined process corresponding to the touched function button 242 is executed at step 638.
As described above, in electronic blackboard apparatus 100 in accordance with the second embodiment, if the user slides his/her fingers in the lateral direction on the screen image with multi-touch, the operation is as follows. During sliding, the screen image is scrolled in accordance with the amount of sliding. When the fingers are removed after sliding by the distance D1 and the distance D1 is equal to or smaller than the threshold value DTH1, scroll is cancelled and the screen image before sliding is resumed. If the distance D1 is larger than the threshold value DTH1, the screen image if moved by one page. In the second embodiment described above, the next page is displayed when slid to the right, and the previous page is displayed when slid to the left.
If the user slides his/her fingers by a distance longer than the threshold value DTH1, and the slid distance D1 is equal to or smaller than DTH2, page switch does not takes place, and the screen image is scrolled in accordance with the amount of sliding. If the distance D1 exceeds the threshold value DTH2, page switch automatically takes place. If sliding is further continued, the same operation as when sliding is newly started is executed.
According to the second embodiment, if sliding is done with multi-touch, the screen image is scrolled. Therefore, it is possible for the user to intuitively understand that the screen image can be scrolled by a multi-touch operation. If touching fingers are removed in the course of multi-touch sliding and the amount of sliding is small, the scroll is canceled and the original screen image is resumed. Even if multi-touch sliding operation is done erroneously during writing on the screen image, the screen image returns to the normal state immediately when the fingers are moved away. Therefore, even when an erroneous operation is done, the influence on the writing operation is small. On the other hand, if the fingers are moved away after sliding over a certain distance, switching to the next page (page feed) occurs. Therefore, the page feed can be realized by an intuitive operation of multi-touch sliding operation. If sliding is further continued with the fingers kept touched on the screen, page feed is automatically executed while sliding continues, and the sliding operation can further be continued. Therefore, advantageously, the operation of continuous page feed is made simple.
In the second embodiment described above, it is determined at step 610 of
Further, in the second embodiment described above, determination as to whether an operation is a multi-touch operation or not is made at step 604 of
Further, as to the method of calculating the distance D1, use of the average value of amounts of movement of a plurality of fingers in the second embodiment is not limiting. By way of example, the amount of movement may be calculated based on only the first detected one finger position. Further, threshold values DTH1 and DTH2 mentioned above may be changed in accordance with the speed of movement of finger positions during sliding.
In the second embodiment described above, it is assumed that sliding and page turning are along the lateral direction (X axis direction) of the screen image. It is clear that the present invention is not limited to such an embodiment. For instance, the direction of sliding and page turning may be the upward/downward direction (Y axis direction). Sliding may be done in consideration of both X and Y axes directions. In other words, the present invention is applicable to an embodiment allowing sliding in a diagonal direction. Here, the first and second threshold values may be determined separately for the X axis direction and Y axis direction, or determined to be the same regardless of the direction. Further, the length of sliding may not be divided to components in the X axis direction and Y axis direction, and whether a page is to be turned or not may be determined based on the length of the track of sliding (distance between the start point and end point).
Though an example of drawing and sliding with a finger or fingers has been described in the second embodiment above, the present invention is not limited to such an embodiment. For example, a dedicated pen may be used. As to the method of detecting a touched position on the touch-panel, any method may be used provided that touching at a plurality of positions can be detected.
The embodiments as have been described here are mere examples and should not be interpreted as restrictive. The scope of the present invention is determined by each of the claims with appropriate consideration of the written description of the embodiments and embraces modifications within the meaning of, and equivalent to, the languages in the claims.
Claims
1. A touch drawing display apparatus, comprising:
- a display unit that displays an image;
- a detecting unit that is arranged on said display unit and detects a touched position;
- a drawing unit that draws, on an image displayed on said display unit, a line corresponding to a track formed by movement of said detected position; and
- an erasing unit that erases, when an operation other than drawing is specified by said track, a line drawn from a start point to an end point of said track specifying said operation.
2. The touch drawing display apparatus according to claim 1, wherein said track for specifying said operation other than drawing is a track formed by a multi-touch operation of simultaneously touching a plurality of positions of said detecting unit.
3. A method of operating a touch drawing display apparatus that includes a display unit that displays an image and a detecting unit that is arranged on said display unit and detects a touched position, comprising the steps of:
- drawing, on an image displayed on said display unit, a line corresponding to a track formed by movement of said detected position;
- determining whether or not an operation other than drawing is specified by said track while said drawing step is being executed; and
- erasing, if an operation other than drawing is specified by said track, a line drawn from a start point to an end point of said track specifying said operation.
4. An image display apparatus allowing touch-input, comprising:
- a touch detecting unit that has a display screen, displays page images page by page on the display screen, and detects positions and the number of touch inputs that designate positions on said display screen;
- a scroll unit that scrolls, when a plurality of touch inputs are detected by said touch detecting unit and their positions on the display screen move in one same direction, an image displayed on said display screen along with movement of positions of said plurality of touch inputs; and
- a first page switching unit that detects, after the plurality of touch inputs are detected by said touch detecting unit, decrease in the number of touch inputs from an output of said touch detecting unit and, depending on whether an amount of movement of the touch inputs is not larger than a first threshold value, selectively executes a process of returning the image on said display screen to a state before scrolling and a process of switching the image on said display screen by one page in accordance with the direction of movement of said plurality of touch inputs.
5. A controller for a display apparatus, used for the display apparatus that has a display screen, displays an image received from outside on the display screen and detects and outputs, to the outside, positions and the number of touch inputs that designate positions on said display screen, comprising:
- a scroll unit that generates, when it is detected that a plurality of touch inputs are detected by said display apparatus and their positions on the display screen move in one same direction, an image by scrolling the image displayed on said display screen along with the movement of positions of said plurality of touch positions, and applies the generated image to said display apparatus; and
- a page switching unit that detects, after the plurality of touch inputs are detected by said display apparatus, decrease in the number of touch inputs from an output of said display apparatus, depending on whether an amount of movement of the touch inputs is not larger than a first threshold value, selectively executes a process of generating page image data for returning the image on said display screen to a state before scrolling and a process of generating page image data for switching the image on said display screen by one page in accordance with the direction of movement of said plurality of touch inputs, and transmits the generated page image data to said display apparatus.
6. An image display apparatus allowing touch input, comprising:
- a touch detecting unit that has a display screen, displays page images page by page on the display screen, and detects positions and number of touch inputs that designate positions on said display screen;
- a scroll unit that scrolls, when a plurality of touch inputs are detected by said touch detecting unit and their positions on the display screen move in one same direction, an image displayed on said display screen along with movement of positions of said plurality of touch inputs;
- a page switching unit that switches, in response to an amount of movement of said plurality of touch inputs exceeding a threshold value during scrolling of the image by said scroll unit, the image on said display screen by one page in accordance with the direction of movement of said plurality of touch inputs; and
- a returning unit that detects, from an output of said touch detecting unit, decrease of the number of said plurality of touch inputs before page switching by said page switching unit during scrolling of the image by said scroll unit, and returns scrolling of the image by said scroll unit to a state before scrolling.
7. A controller for a display apparatus, used for the display apparatus that has a display screen, displays an image received from outside on the display screen and detects and outputs, to the outside, positions and number of touch inputs that designate a position on said display screen, comprising:
- a scroll unit that generates, when it is detected that a plurality of touch inputs are detected by said display apparatus and their positions on the display screen move in one same direction, an image by scrolling the image displayed on said display screen along with the movement of positions of said plurality of touch positions, and applies the generated image to said display apparatus;
- a page switching unit that switches, in response to an amount of movement of said plurality of touch inputs exceeding a threshold value during scrolling of the image by said scroll unit, the image on said display screen by one page in accordance with the direction of movement of said plurality of touch inputs; and
- a returning unit that detects, from an output of said display apparatus, decrease of the number of said plurality of touch inputs before page switching by said page switching unit during scrolling of the image by said scroll unit, and returns scrolling of the image by said scroll unit to a state before scrolling.
Type: Application
Filed: Feb 9, 2012
Publication Date: Aug 30, 2012
Inventor: Noriyoshi KANKI (Osaka)
Application Number: 13/370,049