WO2015192271A1 - 一种擦除记录板上的电子笔迹的方法 - Google Patents

一种擦除记录板上的电子笔迹的方法 Download PDF

Info

Publication number
WO2015192271A1
WO2015192271A1 PCT/CN2014/000606 CN2014000606W WO2015192271A1 WO 2015192271 A1 WO2015192271 A1 WO 2015192271A1 CN 2014000606 W CN2014000606 W CN 2014000606W WO 2015192271 A1 WO2015192271 A1 WO 2015192271A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
erasing
handwriting
pressure
recording board
Prior art date
Application number
PCT/CN2014/000606
Other languages
English (en)
French (fr)
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 US15/318,462 priority Critical patent/US9996256B2/en
Priority to PCT/CN2014/000606 priority patent/WO2015192271A1/zh
Publication of WO2015192271A1 publication Critical patent/WO2015192271A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/01Indexing scheme relating to G06F3/01
    • G06F2203/014Force feedback applied to GUI

Definitions

  • the present invention relates to the field of erasing electronic handwriting on a recording board, and more particularly to a method of erasing an electronic handwriting on a recording board. Background technique
  • the existing method of erasing the electronic handwriting on the recording board is as follows: The coordinates of each hand point on the electronic handwriting are saved, and then when the erasing operation is performed, the eraser touches the one track point, and the handwriting point is The color depth is reset to the background depth of the scoreboard for erasure purposes.
  • the technical problem to be solved by the present invention is to provide a method of erasing an electronic handwriting on a recording board, which can improve the humanization degree and ease of use of electronic handwriting erasing.
  • a method for erasing an electronic handwriting on a recording board comprising:
  • Step 1 storing the coordinates of each hand trace on the electronic handwriting in one-to-one correspondence with the writing pressure of the recording board when the handwriting point is written, and making the color of each of the handwriting points on the recording board The depth is proportional to the writing pressure at the point of the handwriting;
  • Step 2 applying coordinates of each erasure point on the recording board contacted by an eraser for erasing the electronic handwriting to the recording board when the eraser passes the erasure point Erasing pressure - corresponding to save;
  • Step 3 determining whether the coordinates of the erasure point are the same as the coordinates of one of the handwriting points, and determining the color depth at the erasure point according to the first non-negative rule. Otherwise, the erasing point is The color depth is the background depth of the recording board;
  • the first non-negative rule includes: Step 3-1: subtracting the wipe from the writing pressure at the erase point Excluding the erasing pressure at the point to obtain a first pressure difference; Step 3-2: if the first pressure difference is less than a predetermined threshold, the color depth at the erasing point is the background depth of the recording board Otherwise, the color depth at the erasure point is proportional to the first pressure difference.
  • the beneficial effects of the present invention are as follows:
  • the present invention correspondingly records the coordinates and writing pressure of the handwriting point and the coordinates and erasing pressure of the erasing point, and the color depth at which the two are coincident by comparing the coordinates of the handwriting point and the erasing point. Determining according to the first non-negative rule, such that the color depth at the erased handwriting point is related to the first pressure difference obtained by subtracting the erase pressure from the writing pressure, as long as the first pressure difference is not less than a predetermined threshold, The color depth at the handwriting point is only shallow, and it does not completely change to the depth of the recording board.
  • the present invention can also be improved as follows:
  • each of the erasure points corresponds to more than one erasing neighboring point
  • an erasing pressure at each of the erasing neighboring points is equal to an erasing point at an erasing point corresponding to the erasing neighboring point The pressure is multiplied by the predetermined weight value corresponding to the erased neighboring point;
  • the step 2 further includes: correspondingly, the coordinates of each of the erased neighboring points corresponding to each of the erasure points and the erasing pressure at the erased neighboring point;
  • the step 3 further includes: determining, by one by one, whether the coordinates of the erased neighboring point are the same as the coordinates of one of the handwriting points, and determining the color depth at the neighboring point according to the second non-negative rule, otherwise
  • the color depth at the erased neighboring point is the background depth of the recording board;
  • the second non-negative rule includes: Step 3 - 3: subtracting the erasing pressure at the erasing neighboring point by the writing pressure at the erasing adjacent point to obtain a second pressure difference; Step 3-4: If the second pressure difference is less than the predetermined threshold, the color depth at the erased neighboring point is the background depth of the recording board, otherwise, the color depth at the erasing adjacent point is The second pressure difference is proportional.
  • each of the erase points and all corresponding erased neighbors thereof constitute a predetermined stroke sample. Further, the predetermined threshold is 0.
  • the recording board is: a tablet, or a touch screen, or a display.
  • FIG. 1 is a flow chart of a method for erasing an electronic handwriting on a recording board according to the present invention
  • FIG. 2 is a block diagram of a system to which the present invention is applied. detailed description
  • the invention provides a method for erasing an electronic handwriting on a recording board.
  • the recording board can be implemented in various ways, for example, a tablet, a touch screen, a display, etc., as long as the electronic form can be displayed.
  • the handwriting can be used as the recording board in the present invention.
  • the electronic handwriting refers to the handwriting displayed on the recording board by electronic means, which can be from the drawing on the touch screen or the tablet, or from the drawing of the mouse on the display, and the like.
  • the electronic handwriting is composed of more than one handwriting point.
  • the color depths of the handwriting points may be the same or different (i.e., the color shades are different).
  • FIG. 1 is a flow chart of a method for erasing an electronic handwriting on a recording board according to the present invention. As shown in Figure 1, the method includes:
  • Step 101 The coordinates of each hand point on the electronic handwriting are saved in one-to-one correspondence with the writing pressure of the recording board when the handwriting point is written, and the color depth of each hand point on the recording board and the writing at the handwriting point are The pressure is proportional.
  • the electronic handwriting is derived from the writing action on the recording board, and the writing action exerts a certain pressure on the recording board, which is referred to as writing pressure in the present invention, and the writing pressure and the coordinates of the handwriting point can pass through the sensor on the recording board. Transfer to the storage device.
  • the recording board is a tablet or a touch screen
  • the writing pressure received can be from a human finger, a pen or other object capable of generating pressure on the recording board.
  • the recording board is a display
  • the writing pressure received can be regarded as receiving.
  • the length of time of the electrical signal for example, the length of time that the mouse is paused at the same hand point as the writing pressure, the longer the mouse pauses at the same hand point, the greater the writing pressure that can be considered.
  • the recording board is an electronic handwriting display device, and each of the hand points on the recording board is colored.
  • the color depth at any of the handwriting points is proportional to the writing pressure at the handwriting point, so that the same piece of electrons
  • the handwriting can have an appearance that is different in shades (ie, different color depths).
  • this step also saves the color depth at each trace on the scoreboard.
  • Step 102 Corresponding to the erasing pressure applied to the recording board when the eraser passes the erase point by the coordinates of each erasure point on the recording board contacted by the eraser for erasing the electronic handwriting .
  • erasing is performed by an eraser, and the erasing effect of the eraser on the electronic handwriting is similar to that of the eraser of the eraser.
  • erasing the eraser on the recording plate Similar to writing on a recording board, erasing the eraser on the recording plate also imposes a certain pressure on the recording plate, which is referred to as erasing pressure in the present invention.
  • the recorder is a tablet or touch screen
  • the eraser is available
  • the human finger, the hard object, etc. are implemented, and the magnitude of the erasing pressure can be expressed by the actual pressure of the eraser on the recording board, and when the recording board is the display, the eraser can be realized by the mouse, and at this time In addition to the magnitude of the pressure, it can be represented by the length of time the mouse pauses at the erase point.
  • Step 103 Determine whether the coordinates of the erasure point are the same as the coordinates of one of the handwriting points, and determine the color depth at the erasure point according to the first non-negative rule. Otherwise, the color depth at the erasure point is The background depth of the scoreboard.
  • the first non-negative rule in the present invention includes: Step 1 03-1: subtracting the erasing pressure at the erasing point by the writing pressure at the erasing point to obtain a first pressure difference; Step 103-2: If If the pressure difference is less than the predetermined threshold, the color depth at the erasure point is the background depth of the recording board, otherwise the color depth at the erasure point is proportional to the first pressure difference.
  • the erasing in the present invention is to modify the color depth at the handwriting point by the eraser, the background depth of the electronic handwriting at the handwriting point is completely eliminated to be restored to the recording plate in the prior art
  • the result of modifying the color depth at the handwriting point may be to completely eliminate the electronic handwriting at the handwriting point, or to reduce the color depth thereof without completely eliminating it. This makes it possible to create an effect of varying depths of the electronic handwriting on the recording board, thereby increasing the resolution of the electronic handwriting on the recording board.
  • the location of the erased point is usually very close to the handwriting point.
  • This step determines whether the coordinates of the erasure point are the same as the coordinates of one of the handwriting points, the purpose is to determine whether the eraser applies an erasing pressure to the handwriting point, and that the eraser performs a rubbing at the handwriting point.
  • the updated color depth does not change.
  • step 1 03-2 of the first non-negative rule if the first pressure difference is less than the predetermined threshold, it means that the erasing pressure applied by the eraser to the handwriting point is small, which is insufficient to offset the writing at the handwriting point.
  • the writing pressure applied so that the color depth at the point of the handwriting does not become the background depth of the recording board, but only becomes shallow.
  • the first pressure difference is not less than the predetermined threshold, it means that the erase pressure applied by the eraser at the handwriting point is large, at least the writing pressure applied at the writing point is completely offset, and the purpose is The electronic handwriting at the handwriting point is completely eliminated to be restored to the background color depth of the recording board. Therefore, the present invention restores the color depth at the handwriting point to the background color depth of the recording board to meet the user's requirements.
  • the present invention correspondingly records the coordinates and writing pressure of the handwriting point and the coordinates and erasing pressure of the erasing point.
  • the color depth at which the two are coincident is determined according to the first non-negative rule, so that the color depth at the erased handwriting point is subtracted from the writing pressure
  • the color depth at the handwriting point is only shallow, and does not completely change to the depth of the recording board, which is related to real life.
  • the degree of humanization of the present invention is greatly improved, and the writing or drawing of the electronic handwriting is also shallow.
  • One color is more convenient to use.
  • the point at which the pressure is erased serves as an erased neighboring point corresponding to the erasing point.
  • the selection principle here may have various forms depending on the specific needs, for example, it is possible to withstand the maximum erasing pressure among all the points subjected to the erasing pressure.
  • the erasing point the center point of the area where the eraser is in contact with the recording board can also be used as an erasing point, and the like.
  • each erasure point and all its corresponding adjacent adjacent points constitute a predetermined sample of the stroke.
  • the stroke sample here may be a predetermined pattern, for example, a square area having a predetermined length as a center point, or a rectangular area having a length and a width at a point where the erasing point is an upper left corner; or In addition to the point as the center of the circle, the radius of the predetermined circular area, and so on.
  • the stroke sample can also be derived from a predetermined function calculation, for example, taking the erase point as the origin, the half-cycle cosine graph calculated from the cosine function (the symmetry axis passes through the erase point) as a stroke sample, and so on. It can be seen that the positional relationship between the erasure point and all corresponding adjacent points of the erasure is specified here.
  • an erasure point comes from a single contact of the eraser with the recording board, and since the eraser makes multiple contacts with the recording board for the purpose of performing the predetermined erasing, in one erasing operation
  • the total number of erase points is the same as the number of times the eraser contacts the scoreboard.
  • Each erasing point corresponds to more than one erasing neighboring point
  • the erasing pressure at each erasing neighboring point may be from the sensing of the sensor, or may be based on the erasing point corresponding to the erasing neighboring point.
  • the erasing pressure is calculated by a calculation method: the erasing pressure at each erasing adjacent point is equal to the erasing pressure at the erasing point corresponding to the erasing neighboring point multiplied by the erasing adjacent point
  • the weight value is predetermined.
  • the predetermined weight value here is also a known amount, and the predetermined weight value corresponding to each erasing adjacent point can be The same may be different.
  • the predetermined weight values corresponding to the respective adjacent points may be distributed according to the cosine law or randomly.
  • the step 102 may further include: corresponding to the erasing pressure of each erasing neighboring point corresponding to each erasing point and the erasing pressure at the erasing neighboring point;
  • Step 103 may further include: determining, by one by one, whether the coordinates of the erased neighboring point are the same as the coordinates of one of the handwriting points, and determining the color depth at the erased neighboring point according to the second non-negative rule. Otherwise, the erasing is adjacent. The color depth at the point is the background depth of the scoreboard.
  • the second non-negative rule includes: Step 103-3: subtracting the erasing pressure at the adjacent point by erasing the writing pressure at the adjacent point to obtain a second pressure difference; Step 103-4: If the second If the pressure difference is less than a predetermined threshold, then the color depth at the erased neighbor is the background depth of the scoreboard, otherwise the color depth at the erased neighbor is proportional to the second pressure difference.
  • the second non-negative rule is substantially the same as the first non-negative rule, except that the object determining the color depth becomes the erased neighboring point.
  • the present invention further improves the simulation degree of the erasing operation in reality, and is more convenient to use.
  • the first non-negative rule and the second non-negative rule mentioned above all involve a predetermined threshold.
  • the predetermined threshold in the present invention may be 0 or other values, for example, may be the minimum perceived by the sensor on the record board. Pressure value.
  • FIG. 2 is a block diagram of a system to which the present invention is applied.
  • the system includes a recording board 201, a memory 202, and a controller 203.
  • the recording board 201 such as a tablet, a touch screen, a display, etc.
  • the eraser and the writing on the recording board are used.
  • the implementation of the writing instrument can be determined.
  • the recording board 201 is used to sense the coordinates of the point at which the eraser applies the erasing pressure (the erase point and the erased adjacent point) and the erasing pressure, and the coordinates of the point (writing point) at which the writing instrument applies the writing pressure, and the writing pressure,
  • the perception here comes from the sensor.
  • the present invention has the following advantages:
  • the present invention correspondingly records the coordinates of the handwriting point and the writing pressure as well as the coordinates of the erasing point and the erasing pressure, By comparing the coordinates of the handwriting point and the erasing point, the color depth at which the two are coincident is determined according to the first non-negative rule, so that the color depth at the erased handwriting point is subtracted from the writing pressure by the writing pressure.
  • the obtained first pressure difference is related, as long as the first pressure difference is not less than a predetermined threshold, the color depth at the handwriting point is only shallow, and does not completely change to the depth of the recording board, which is compared with real life.
  • the degree of humanization of the present invention is greatly improved, and the writing or drawing of the electronic handwriting is also different.
  • the color is more convenient to use.
  • the result of modifying the color depth at the handwriting point may be to completely eliminate the electronic handwriting at the handwriting point, or to reduce the color depth thereof without completely eliminating it. This makes it possible to create an effect of varying depths of the electronic handwriting on the recording board, thereby improving the resolution of the electronic handwriting on the recording board.
  • the present invention since the existence of erasing adjacent points is considered, the present invention further improves the simulation degree of the erasing operation in reality, and is more convenient to use.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Position Input By Displaying (AREA)
  • Processing Or Creating Images (AREA)
  • User Interface Of Digital Computer (AREA)
  • Drawing Aids And Blackboards (AREA)

Abstract

一种擦除记录板上的电子笔迹的方法。该方法包括:步骤1:将电子笔迹上每一笔迹点的坐标与书写该笔迹点时记录板所受的书写压力一一对应保存,并使记录板上每一笔迹点的颜色深度与该笔迹点处的书写压力成正比;步骤2:将用于擦除电子笔迹的擦除器所接触的记录板上的每一擦除点的坐标与擦除器经过该擦除点时对记录板施加的擦除压力一一对应保存;步骤3:逐一判断擦除点的坐标是否与笔迹点中的一个的坐标相同,是则根据第一非负规则确定该擦除点处的颜色深度,否则,该擦除点处的颜色深度为记录板的底色深度。该方法能提高电子笔迹擦除的人性化程度和使用方便性。

Description

一种擦除记录板上的电子笔迹的方法 技术领域
本发明涉及擦除记录板上的电子笔迹的技术领域, 特别是涉及一种擦除记录板上的 电子笔迹的方法。 背景技术
随着计算机的普及应用, 通过在记录板上书写和绘图从而形成电子笔迹已成为现代 工作的主流。 书写和绘图过程中难免会产生错误或留下缺憾, 这就涉及对电子笔迹进行 擦除的问题。 现有的擦除记录板上的电子笔迹的方法如下: 保存电子笔迹上每一笔迹点 的坐标, 然后在执行擦除操作时, 擦除器只要接触一笔迹点, 就将该笔迹点处的颜色深 度重置为记录板的底色深度, 从而实现擦除目的。 这种技术的缺点在于: 由于擦除是不 可逆的过程, 任一笔迹点处的颜色深度在擦除之后即变为底色深度而不可恢复, 这与现 实中通过擦除而使笔迹点处的颜色深度变浅的情况不符, 而且在进行了误擦除操作之后 也无法恢复原状, 因此, 现有技术的人性化程度较差, 使用起来不太方便。 发明内容
本发明所要解决的技术问题是提供一种擦除记录板上的电子笔迹的方法, 能提高电 子笔迹擦除的人性化程度和使用方便性。
本发明解决上述技术问题的技术方案如下: 一种擦除记录板上的电子笔迹的方法, 该方法包括:
步骤 1 :将所述电子笔迹上每一笔迹点的坐标与书写该笔迹点时所迷记录板所受的书 写压力一一对应保存, 并使所述记录板上每一所述笔迹点的颜色深度与该笔迹点处的所 述书写压力成正比;
步骤 2 :将用于擦除所述电子笔迹的擦除器所接触的所述记录板上的每一擦除点的坐 标与所述擦除器经过该擦除点时对所述记录板施加的擦除压力——对应保存;
步骤 3 : 逐一判断所述擦除点的坐标是否与所述笔迹点中的一个的坐标相同, 是则根 据第一非负规则确定该擦除点处的颜色深度, 否则, 该擦除点处的颜色深度为所述记录 板的底色深度;
其中, 所述第一非负规则包括: 步骤 3-1 : 用所述擦除点处的所述书写压力减去该擦 除点处的所述擦除压力从而得到第一压力差; 步骤 3- 2 : 如果所述第一压力差小于预定阈 值, 则该擦除点处的颜色深度为所述记录板的底色深度, 否则, 该擦除点处的颜色深度 与所述第一压力差成正比。
本发明的有益效果是: 本发明对应记录了笔迹点的坐标和书写压力以及擦除点的坐 标和擦除压力, 通过比对笔迹点和擦除点的坐标, 将二者重合处的颜色深度根据第一非 负规则来确定, 这样, 被擦除的笔迹点处的颜色深度就与书写压力减去擦除压力所得的 第一压力差有关, 只要第一压力差不小于预定阔值, 该笔迹点处的颜色深度只是变浅, 而不会完全变为记录板的底色深度, 这与现实生活中受到较小擦除压力时笔迹点的颜色 深度只会变浅而不会完全恢复底色深度的情况相同, 因此, 本发明的人性化程度大大提 高, 书写或绘制的电子笔迹也就有了深浅不一的颜色, 使用起来更加方便。
在上述技术方案的基础上, 本发明还可以做如下改进:
进一步, 每一所述擦除点都与一个以上的擦除临近点相对应, 且每一所述擦除临近 点处的擦除压力等于该擦除临近点对应的擦除点处的擦除压力乘以该擦除临近点所对应 的预定权重值;
则所述步骤 2 还包括: 将每一所述擦除点所对应的每一所述擦除临近点的坐标与该 擦除临近点处的擦除压力——对应;
所述步骤 3 还包括: 逐一判断所述擦除临近点的坐标是否与所述笔迹点中的一个的 坐标相同, 是则根据第二非负规则确定该擦除临近点处的颜色深度, 否则, 该擦除临近 点处的颜色深度为所述记录板的底色深度;
其中, 所述第二非负规则包括: 步骤 3- 3: 用所述擦除临近点处的所述书写压力减去 该擦除临近点处的所述擦除压力从而得到第二压力差; 步 3-4: 如果所述第二压力差小 于所述预定阈值, 则该擦除临近点处的颜色深度为所述记录板的底色深度, 否则, 该擦 除临近点处的颜色深度与所述第二压力差成正比。
进一步, 每一所述擦除点与其对应的所有擦除临近点构成一预定的笔触样本。 进一步, 所述预定阔值为 0。
进一步, 所述记录板为: 手写板, 或触摸屏, 或显示器。 附图说明
图 1为本发明提出的擦除记录板上的电子笔迹的方法的流程图;
图 2为应用本发明的系统的结构图。 具体实施方式
以下结合附图对本发明的原理和特征进行描述, 所举实例只用于解释本发明, 并非 用于限定本发明的范围。
本发明提出了一种擦除记录板上的电子笔迹的方法, 这里的记录板的实现方式多种 多样, 例如可以为手写板, 也可以为触摸屏, 还可以是显示器等, 只要能显示电子形式 的笔迹, 都可以用来作为本发明中的记录板。 而电子笔迹则指的是用电子的方法显示在 记录板上的笔迹, 可以来自于在触摸屏或手写板上的描绘, 也可以来自于鼠标在显示器 上的描画, 等等。 电子笔迹由一个以上的笔迹点組成, 本发明中, 各笔迹点的颜色深度 可以相同, 也可以不同 (即颜色深浅不一)。
图 1为本发明提出的擦除记录板上的电子笔迹的方法的流程图。 如图 1所示, 该方 法包括:
步骤 101 :将电子笔迹上每一笔迹点的坐标与书写该笔迹点时记录板所受的书写压力 一一对应保存, 并使记录板上每一笔迹点的颜色深度与该笔迹点处的书写压力成正比。
电子笔迹来源于在记录板上的书写动作, 而书写动作会对记录板产生一定的压力, 该压力在本发明中称为书写压力, 该书写压力以及笔迹点的坐标可通过记录板上的传感 器传输到储存装置。 当记录板为手写板或触摸屏时, 其接收的书写压力可以为来自人体 手指、 笔或其他能对记录板产生压力的物体, 当记录板为显示器时, 其接收的书写压力 可认为是其接收电信号的时间长度, 例如用鼠标在同一笔迹点处停顿的时间长度作为书 写压力, 鼠标在同一笔迹点处停顿的时间越长, 可认为产生的书写压力越大。 记录板是 电子笔迹的显示装置, 其上每一笔迹点都是有颜色的, 在书写过程中, 任一笔迹点处的 颜色深度与该笔迹点处的书写压力成正比,这样, 同一条电子笔迹可以具有深浅不一(即 颜色深度不同) 的外观。
当然, 本步骤还可以保存记录板上每一笔迹点处的颜色深度。
步骤 102:将用于擦除电子笔迹的擦除器所接触的记录板上的每一擦除点的坐标与擦 除器经过该擦除点时对记录板施加的擦除压力——对应保存。
本发明中, 擦除是用擦除器来实现的, 擦除器对于电子笔迹的擦除作用类似于橡皮 对于铅笔笔画的擦除作用。
与在记录板上书写相似, 擦除器在记录板上进行擦除也是要在记录板上施加一定的 压力的, 该压力在本发明中称为擦除压力。 当记录板为手写板或触摸屏时, 擦除器可用 人的手指、 硬物等来实现, 擦除压力的大小可用擦除器对记录板的实际压力来表示, 而 当记录板为显示器时, 擦除器则可以用鼠标来实现, 而此时擦除压力的大小则可以用鼠 标在擦除点处停顿的时间长度来表示。
步骤 103 : 逐一判断擦除点的坐标是否与笔迹点中的一个的坐标相同, 是则根据第一 非负规则确定该擦除点处的颜色深度, 否则, 该擦除点处的颜色深度为记录板的底色深 度。
本发明中的第一非负规则包括: 步骤 1 03-1 : 用擦除点处的书写压力减去该擦除点处 的擦除压力从而得到第一压力差; 步骤 103-2 : 如果第一压力差小于预定阈值, 则该擦除 点处的颜色深度为记录板的底色深度, 否则, 该擦除点处的颜色深度与第一压力差成正 比。
由于本发明中的擦除是用擦除器对笔迹点处的颜色深度进行修改, 与现有技术中完 全消除笔迹点处的电子笔迹, 使其还原为记录板的底色深度有所不同, 本发明中, 对笔 迹点处的颜色深度进行修改的结果可以是完全消除该笔迹点处的电子笔迹, 也可以为减 小其颜色深度, 而不必完全消除。 这样就可以使记录板上的电子笔迹产生深浅不一的效 果, 从而提高记录板上电子笔迹的分辨率。
为了有效擦除某些笔迹点处的电子笔迹, 擦除点的位置通常非常靠近笔迹点。 本步 骤逐一判断擦除点的坐标是否与笔迹点中的一个的坐标相同, 目的是确定擦除器是否对 笔迹点施加了擦除压力, 是则表示擦除器在该笔迹点处实施了擦除操作, 这就需要进一 步通过步骤 103-1确定该笔迹点处的书写压力与擦除压力之差 (即第一压力差) , 从而 根据步骤 103- 2确定该笔迹点处更新后的颜色深度。 当然, 对于非笔迹点而言, 即使擦 除器对该点施加了压力, 由于其颜色深度本来就是记录板的底色深度, 其更新后的颜色 深度不变。
在第一非负规则的步骤 1 03-2 中, 如果第一压力差小于预订阈值, 意味着擦除器对 该笔迹点施加的擦除压力较小, 不足以抵消该笔迹点处书写时所施加的书写压力, 因而 该笔迹点处的颜色深度不会变为记录板的底色深度, 而仅仅会变浅。 但是, 如果第一压 力差不小于预订阈值, 则意味着擦除器在该笔迹点处所施加的擦除压力较大, 至少已完 全抵消该笔迹点处书写时所施加的书写压力, 其目的是完全消除该笔迹点处的电子笔迹, 使其还原为记录板的底色深度, 因此, 本发明将该笔迹点处的颜色深度还原为记录板的 底色深度, 以满足用户的要求。
由此可见, 本发明对应记录了笔迹点的坐标和书写压力以及擦除点的坐标和擦除压 力, 通过比对笔迹点和擦除点的坐标, 将二者重合处的颜色深度根据第一非负规则来确 定, 这样, 被擦除的笔迹点处的颜色深度就与书写压力减去擦除压力所得的第一压力差 有关, 只要第一压力差不小于预定阈值, 该笔迹点处的颜色深度只是变浅, 而不会完全 变为记录板的底色深度, 这与现实生活中受到较小擦除压力时笔迹点的颜色深度只会变 浅而不会完全恢复底色深度的情况相同, 因此, 本发明的人性化程度大大提高, 书写或 绘制的电子笔迹也就有了深浅不一的颜色, 使用起来更加方便。
图 1 实施例以擦除器接触记录板的面积仅为一个擦除点为例对本发明进行描述, 但 是, 在现实生活中, 擦除器接触记录板的面积通常较大, 例如, 在进行擦除操作时, 手 指接触触摸屏的面积通常要比触摸屏的像素大得多, 因而擦除器接触记录板的面积通常 有多个点, 擦除器对每个点都施加了大小相同或大小各异的擦除压力。 在擦除器与记录 板的一次接触中,本发明可以按照选中原则从所有承受擦除压力的点中选择一个作为图 1 实施例所述的擦除点, 而将该点之外的其他承受擦除压力的点作为与该擦除点相对应的 擦除临近点, 这里的选中原则根据具体需要可以有多种形式, 例如, 可以将所有承受擦 除压力的点中承受最大擦除压力的点作为擦除点, 也可以将擦除器与记录板接触的面积 的中心点作为擦除点, 等等。
本发明为了便于实用, 规定每一擦除点与其对应的所有擦除临近点构成一预定的笔 触样本。 这里的笔触样本可以为一预定的图形, 例如是以擦除点为中心点, 长度预定的 正方形区域; 或以擦除点为左上角的点, 长度和宽度都预定的长方形区域; 或以擦除点 为圆心, 半径预定的圆形区域, 等等。 笔触样本还可以来自于预定的函数计算, 例如, 以擦除点为原点, 根据余弦函数计算出的半个周期的余弦图形 (对称轴穿过擦除点)作 为笔触样本, 等等。 可见, 这里具体规定了擦除点与其对应的所有擦除临近点之间的位 置关系。
在这种情况下, 一个擦除点来自于擦除器与记录板的一次接触, 由于为了实现预定 的擦除目的, 擦除器会与记录板进行多次接触, 因而在一次擦除操作中, 擦除点的总数 与擦除器接触记录板的次数相同。
每一擦除点都与一个以上的擦除临近点相对应, 且每一擦除临近点处的擦除压力可 以来自于传感器的感应, 也可以根据该擦除临近点对应的擦除点处的擦除压力计算而得 到, 一个计算方法为: 每一擦除临近点处的擦除压力等于该擦除临近点对应的擦除点处 的擦除压力乘以该擦除临近点所对应的预定权重值。 在擦除器与记录板的接触面积已知 的情况下, 这里的预定权重值也就是已知量, 各擦除临近点所对应的预定权重值可以相 同, 也可以不同, 例如, 各擦除临近点对应的预定权重值可以按照余弦规律分布, 也可 以随机分布。
在考虑了擦除临近点的存在时, 步驟 102 还可以包括: 将每一擦除点所对应的每一 擦除临近点的坐标与该擦除临近点处的擦除压力——对应;
步骤 103 还可以包括: 逐一判断擦除临近点的坐标是否与笔迹点中的一个的坐标相 同, 是则根据第二非负规则确定该擦除临近点处的颜色深度, 否则, 该擦除临近点处的 颜色深度为记录板的底色深度。
其中, 第二非负规则包括: 步骤 103-3: 用擦除临近点处的书写压力减去该擦除临近 点处的擦除压力从而得到第二压力差; 步驟 103-4: 如果第二压力差小于预定阈值, 则该 擦除临近点处的颜色深度为记录板的底色深度, 否则, 该擦除临近点处的颜色深度与第 二压力差成正比。
可见, 第二非负规则与第一非负规则基本相同, 只是确定颜色深度的对象变成了擦 除临近点。
由于考虑了擦除临近点的存在, 本发明对于现实中擦除操作的仿真程度进一步提高, 使用也更加方便。
上述的第一非负规则和第二非负规则都涉及了预定阈值, 本发明中的预定阈值可以 为 0 , 也可以为其他值, 例如, 可以为记录板上的传感器所能感知到的最小压力值。
图 2为应用本发明的系统的结构图。 如图 1所示, 该系统包括记录板 201、 存储器 202、 控制器 203 , 在记录板 201的实现方式(如手写板、 触摸屏、 显示器等)确定之后, 擦除器以及在记录板上书写用的书写工具的实现形式也就可以确定。
记录板 201用于感知擦除器施加擦除压力的点 (擦除点以及擦除临近点) 的坐标和 擦除压力, 以及书写工具施加书写压力的点 (笔迹点) 的坐标以及书写压力, 这里的感 知作用来自于传感器。
存储器 202用于将记录板 201送来的擦除点以及擦除临近点的坐标和擦除压力—— 对应保存, 并将记录板 201送来的笔迹点的坐标以及书写压力——对应保存。 . 控制器 203从存储器 202 中调取数据, 根据第一非负原则确定各擦除点处的颜色深 度, 根据第二非负原则确定各擦除临近点处的颜色深度, 并将这些点的颜色深度值送至 记录板 201 , 供其更新各点的颜色深度显示情况, 给用户以直观的认识。
由此可见, 本发明具有以下优点:
( 1 )本发明对应记录了笔迹点的坐标和书写压力以及擦除点的坐标和擦除压力, 通 过比对笔迹点和擦除点的坐标, 将二者重合处的颜色深度根据第一非负规则来确定, 这 样, 被擦除的笔迹点处的颜色深度就与书写压力减去擦除压力所得的第一压力差有关, 只要第一压力差不小于预定阔值, 该笔迹点处的颜色深度只是变浅, 而不会完全变为记 录板的底色深度, 这与现实生活中受到较小擦除压力时笔迹点的颜色深度只会变浅而不 会完全恢复底色深度的情况相同, 因此, 本发明的人性化程度大大提高, 书写或绘制的 电子笔迹也就有了深浅不一的颜色, 使用起来更加方便。
( 2 )本发明中, 对笔迹点处的颜色深度进行修改的结果可以是完全消除该笔迹点处 的电子笔迹, 也可以为减小其颜色深度, 而不必完全消除。 这样就可以使记录板上的电 子笔迹产生深浅不一的效果, 从而提高记录板上电子笔迹的分辨率。
( 3 )本发明中, 由于考虑了擦除临近点的存在, 本发明对于现实中擦除操作的仿真 程度进一步提高, 使用也更加方便。
以上所述仅为本发明的较佳实施例, 并不用以限制本发明, 凡在本发明的精神和原 则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求
1. 一种擦除记录板上的电子笔迹的方法, 其特征在于, 该方法包括:
步骤 1 : 将所述电子笔迹上每一笔迹点的坐标与书写该笔迹点时所述记录板所受的 书写压力一一对应保存, 并使所述记录板上每一所述笔迹点的颜色深度与该笔迹点处的 所述书写压力成正比;
' 步骤 2 : 将用于擦除所述电子笔迹的擦除器所接触的所述记录板上的每一擦除点的 坐标与所述擦除器经过该擦除点时对所述记录板施加的擦除压力——对应保存;
步骤 3 : 逐一判断所述擦除点的坐标是否与所述笔迹点中的一个的坐标相同, 是则 根据第一非负规则确定该擦除点处的颜色深度, 否则, 该擦除点处的颜色深度为所述记 录板的底色深度;
其中, 所述第一非负规则包括: 步骤 3-1 : 用所述擦除点处的所述书写压力减去该擦 除点处的所述擦除压力从而得到第一压力差; 步骤 3-2 : 如果所述第一压力差小于预定 阈值, 则该擦除点处的颜色深度为所述记录板的底色深度, 否则, 该擦除点处的颜色深 度与所述第一压力差成正比。
2. 根据权利要求 1所述的方法, 其特征在于, 每一所述擦除点都与一个以上的擦 除临近点相对应,且每一所述擦除临近点处的擦除压力等于该擦除临近点对应的擦除点 处的擦除压力乘以该擦除临近点所对应的预定权重值;
则所述步骤 2还包括: 将每一所述擦除点所对应的每一所述擦除临近点的坐标与该 擦除临近点处的擦除压力——对应;
所述步骤 3还包括: 逐一判断所述擦除临近点的坐标是否与所述笔迹点中的一个的 坐标相同, 是则根据第二非负规则确定该擦除临近点处的颜色深度, 否则, 该擦除临近 点处的颜色深度为所述记录板的底色深度;
其中, 所述第二非负规则包括: 步骤 3-3 : 用所述擦除临近点处的所述书写压力减去 该擦除临近点处的所述擦除压力从而得到第二压力差; 步骤 3-4 : 如果所述第二压力差 小于所述预定阈值, 则该擦除临近点处的颜色深度为所述记录板的底色深度, 否则, 该 擦除临近点处的颜色深度与所述第二压力差成正比。
3. 根据权利要求 2 所述的方法, 其特征在于, 每一所述擦除点与其对应的所有擦除 临近点构成一预定的笔触样本。
4. 根据权利要求 1-3中任一权利要求所述的方法, 其特征在于, 所述预定阈值为 0。
更正页 (细则第 91条) ISA/CN
5. 根据权利要求 1-3中任一权利要求所述的方法, 其特征在于, 所述记录板为: 手写 板, 或触摸屏, 或显示器。
更正页 (细则第 91条) ISA/CN
PCT/CN2014/000606 2014-06-19 2014-06-19 一种擦除记录板上的电子笔迹的方法 WO2015192271A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US15/318,462 US9996256B2 (en) 2014-06-19 2014-06-19 Method for erasing electronic handwriting on a clipboard
PCT/CN2014/000606 WO2015192271A1 (zh) 2014-06-19 2014-06-19 一种擦除记录板上的电子笔迹的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/000606 WO2015192271A1 (zh) 2014-06-19 2014-06-19 一种擦除记录板上的电子笔迹的方法

Publications (1)

Publication Number Publication Date
WO2015192271A1 true WO2015192271A1 (zh) 2015-12-23

Family

ID=54934637

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/000606 WO2015192271A1 (zh) 2014-06-19 2014-06-19 一种擦除记录板上的电子笔迹的方法

Country Status (2)

Country Link
US (1) US9996256B2 (zh)
WO (1) WO2015192271A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058782B (zh) * 2016-02-22 2020-11-24 广州视睿电子科技有限公司 基于交互式电子白板的触摸操作方法及其系统
CN110458920B (zh) * 2018-05-08 2021-09-21 杭州海康威视数字技术股份有限公司 一种笔迹擦除方法及装置
CN117193620B (zh) * 2023-10-06 2024-05-31 深圳市弘扬德教科技有限公司 液晶膜局部擦除手写彩色光能板和电子书写设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178633A (zh) * 2007-12-13 2008-05-14 深圳华为通信技术有限公司 一种手写屏错误纠正的方法、系统及装置
CN101477694A (zh) * 2008-12-02 2009-07-08 广东威创视讯科技股份有限公司 笔迹擦除的方法及装置
CN101739150A (zh) * 2008-11-17 2010-06-16 西安盛泽电子有限公司 可反映手写笔迹浓淡的电子记录装置及其运行方法
US20110234516A1 (en) * 2010-03-26 2011-09-29 Fujitsu Limited Handwriting input device, and handwriting input method
CN104182137A (zh) * 2013-05-28 2014-12-03 福建福昕软件开发股份有限公司北京分公司 一种擦除记录板上的电子笔迹的方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7382358B2 (en) * 2003-01-16 2008-06-03 Forword Input, Inc. System and method for continuous stroke word-based text input
WO2008147527A1 (en) * 2007-05-23 2008-12-04 Dean Robert Gary Anderson Software for creating engraved images
US8171431B2 (en) * 2007-10-05 2012-05-01 Microsoft Corporation Handle flags
US8386963B2 (en) * 2009-05-28 2013-02-26 Microsoft Corporation Virtual inking using gesture recognition
US8749572B2 (en) * 2010-05-28 2014-06-10 Adobe Systems Incorporated System and method for simulation of brush-based painting in a color space that includes a fill channel
US9411508B2 (en) * 2014-01-03 2016-08-09 Apple Inc. Continuous handwriting UI

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101178633A (zh) * 2007-12-13 2008-05-14 深圳华为通信技术有限公司 一种手写屏错误纠正的方法、系统及装置
CN101739150A (zh) * 2008-11-17 2010-06-16 西安盛泽电子有限公司 可反映手写笔迹浓淡的电子记录装置及其运行方法
CN101477694A (zh) * 2008-12-02 2009-07-08 广东威创视讯科技股份有限公司 笔迹擦除的方法及装置
US20110234516A1 (en) * 2010-03-26 2011-09-29 Fujitsu Limited Handwriting input device, and handwriting input method
CN104182137A (zh) * 2013-05-28 2014-12-03 福建福昕软件开发股份有限公司北京分公司 一种擦除记录板上的电子笔迹的方法

Also Published As

Publication number Publication date
US9996256B2 (en) 2018-06-12
US20170153808A1 (en) 2017-06-01

Similar Documents

Publication Publication Date Title
US20140368453A1 (en) Handwriting input apparatus, non-transitory computer-readable storage medium and control method
US9569045B2 (en) Stylus tilt and orientation estimation from touch sensor panel images
CN104182137B (zh) 一种擦除记录板上的电子笔迹的方法
CN110058782A (zh) 基于交互式电子白板的触摸操作方法及其系统
BR112017007752B1 (pt) Método, dispositivo, e sistema de processamento de interação por toque
CN106919333A (zh) 电子书写板上书写内容的记录方法和装置
CN104156163A (zh) 一种在pdf文件中显示笔迹的方法
US9489125B2 (en) Touch processing method and system using a GUI image
JP2017515241A (ja) タッチパネルに基づく要素削除方法及び装置
WO2015192271A1 (zh) 一种擦除记录板上的电子笔迹的方法
CN104156111A (zh) 手写输入系统及手写输入方法
TW201716935A (zh) 動態偵測電容筆於觸控面板上顯示筆劃之臨界值的方法
US20140300558A1 (en) Electronic apparatus, method of controlling electronic apparatus, and program for controlling electronic apparatus
TWI354223B (zh)
US20160054879A1 (en) Portable electronic devices and methods for operating user interfaces
TWI590148B (zh) 電子裝置與其觸控操作方法
JP2014186530A (ja) 入力装置および携帯端末装置
US20230037737A1 (en) Handwriting generation method and apparatus, storage medium, electronic device, and system
WO2015192270A1 (zh) 一种在pdf文件中显示笔迹的方法
US20140071038A1 (en) Method for generating movement position coordinate and human-machine interface input system using the same
CN105912151A (zh) 触摸感测设备及其驱动方法
CN109358799A (zh) 在手写设备上添加用户输入的手写批注信息的方法
TWM565336U (zh) 書寫裝置及觸控系統
CN104699394B (zh) 一种信息处理方法及电子设备
CN112639695B (zh) 自适应数字笔和触敏设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895152

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 15318462

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14895152

Country of ref document: EP

Kind code of ref document: A1