CN106471446A - Drawing pencil, electronic equipment and drawing practice - Google Patents

Drawing pencil, electronic equipment and drawing practice Download PDF

Info

Publication number
CN106471446A
CN106471446A CN201580010175.3A CN201580010175A CN106471446A CN 106471446 A CN106471446 A CN 106471446A CN 201580010175 A CN201580010175 A CN 201580010175A CN 106471446 A CN106471446 A CN 106471446A
Authority
CN
China
Prior art keywords
coordinate
pressure data
pen
pressure
data
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201580010175.3A
Other languages
Chinese (zh)
Other versions
CN106471446B (en
Inventor
陈磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN106471446A publication Critical patent/CN106471446A/en
Application granted granted Critical
Publication of CN106471446B publication Critical patent/CN106471446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0354Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of 2D relative movements between the device, or an operating part thereof, and a plane or surface, e.g. 2D mice, trackballs, pens or pucks

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)
  • Facsimiles In General (AREA)

Abstract

A kind of drawing pencil, electronic equipment and drawing practice, described drawing pencil (110) includes:Written (210), shell (220), at least three pressure transducers (230), processor (240) and transceiver (250);Described nib (210) is partly embedded in described shell (220), described at least three pressure transducers (230) are fixed on described shell (220) inside, and the angle that two pressure transducers (230) of wherein arbitrary neighborhood are arrived between the vertical line of centrage of described nib (210) is less than 180 °.At least three pressure transducers (230) are arranged by nib (210) surrounding in drawing pencil (110), obtain the pressure data that pressure transducer collects, and the draw data needed for drawing is sent to electronic equipment (120) according to the pressure data getting, so that electronic equipment (120) is according to this draw data drawing image, because the frequency that drawing pencil (110) obtains pressure data is not limited by the screen refresh rate of electronic equipment (120), 60Hz can be far above, greatly improve the precision of electronic equipment drawing image and draw effect.

Description

Drawing pen, electronic device and drawing method Technical Field
The embodiment of the invention relates to the field of computer drawing, in particular to a drawing pen, electronic equipment and a drawing method.
Background
With the continuous development of electronic technology, the functions of portable electronic devices are also more and more powerful. For example, a user may use a finger or stylus to draw an image directly on a touch screen of an electronic device.
In the existing solution, the principle of the user directly drawing an image on the touch screen is as follows: when the electronic equipment is in an image drawing state, the touch screen controller collects contact information of a user on the touch screen and reports the collected contact information to a processor of the electronic equipment, and the processor connects coordinate points corresponding to the contact information reported by the touch screen controller sequentially through lines, so that an image drawn by the user in the touch screen can be obtained.
In the above prior art, the frequency of reporting the contact information by the touch screen controller is limited by the refresh frequency of the touch screen, that is, the touch screen controller can only report the contact information corresponding to one touch point each time the touch screen is refreshed, and the refresh frequency of the touch screen is mostly 60Hz, which results in low accuracy of drawing images by the electronic device and poor drawing effect.
Disclosure of Invention
In order to solve the problems that in the prior art, the frequency of reporting the contact information by a touch screen controller is limited by the refresh frequency of a touch screen, so that the precision of drawing an image by an electronic device is low, and the drawing effect is poor, the embodiment of the invention provides a drawing pen, the electronic device and a drawing method.
In a first aspect, there is provided a drawing pen comprising: the pen comprises a pen point, a shell, at least three pressure sensors, a processor and a transceiver;
the pen point is half-buried in the shell, the at least three pressure sensors are fixed in the shell, and an included angle between any two adjacent pressure sensors and a vertical line of a center line of the pen point is smaller than 180 degrees;
the processor is electrically connected with the at least three pressure sensors and the transceiver respectively;
the processor is used for acquiring pressure data acquired by the at least three pressure sensors according to a preset sampling frequency;
the processor is further configured to control the transceiver to send drawing data to an electronic device according to the acquired pressure data, so that the electronic device draws an image according to the drawing data.
In a first possible implementation manner of the first aspect, a holding mark is disposed on the housing, and the holding mark is used for indicating a hand-holding form for holding the drawing pen.
In a second possible implementation manner of the first aspect, the preset sampling frequency is greater than 60 Hz.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the drawing data is the pressure data.
With reference to the first aspect, the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the drawing data is coordinates of N-1 intermediate points, where N is greater than or equal to 2;
the processor is further configured to obtain coordinates of the N-1 intermediate points according to the pressure data by:
the processor controls the transceiver to successively receive a first coordinate and a second coordinate which are acquired and transmitted by the electronic equipment in real time, wherein the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
and the processor calculates the coordinates of the N-1 intermediate points, which are sequentially passed by the pen point between the first coordinate and the second coordinate, according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in the N groups of pressure data sequentially acquired within the time period of receiving the first coordinate and the second coordinate.
With reference to the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, each of the first N-1 sets of pressure data includes two largest pressure values acquired by the at least three pressure sensors and respective directions of the two pressure values;
the processor is specifically configured to calculate coordinates of the N-1 intermediate points, where the pen point sequentially passes between the first coordinate and the second coordinate, by:
the processor calculates a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate;
calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data;
calculating an included angle gamma between the connecting line direction a and the moving direction b;
calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,Li=L*cosγ/N;
According to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the processor is further configured to calculate, according to two pressure values included in the ith set of pressure data, a drawing strength when the ith set of pressure data is acquired;
the processor is further configured to control the transceiver to send drawing forces corresponding to the first N-1 groups of pressure data to the electronic device.
In a second aspect, an electronic device is provided, the electronic device comprising: a processor, a memory, and a transceiver; wherein the memory is to store a number of instructions configured to be executed by the processor;
the processor is used for controlling the transceiver to receive drawing data sent by a drawing pen;
the processor is used for drawing an image according to the drawing data.
In a first possible implementation manner of the second aspect, the drawing data is pressure data acquired by at least three pressure sensors in the drawing pen; the processor is specifically configured to, when drawing an image according to the drawing data:
acquiring a first coordinate and a second coordinate, wherein the first coordinate and the second coordinate are coordinates of two points which are passed by a pen point of the drawing pen in a drawing area of the electronic equipment in sequence; calculating coordinates of N-1 intermediate points which sequentially pass between the first coordinate and the second coordinate of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in N groups of pressure data which are sequentially acquired by the drawing pen within a time period when the coordinate acquisition unit acquires the first coordinate and the second coordinate, wherein N is more than or equal to 2; and drawing a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, each of the first N-1 sets of pressure data includes two maximum pressure values acquired by the at least three pressure sensors and respective directions of the two pressure values;
when the processor calculates the coordinates of N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate, the processor is specifically configured to:
calculating a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate; according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure dataThe moving direction b of the pen point is calculated when the ith group of pressure data is collected; calculating an included angle gamma between the connecting line direction a and the moving direction b; calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,LiL × cos γ/N; according to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the processor is further configured to calculate, according to two pressure values included in the ith set of pressure data, a drawing strength of the drawing pen when acquiring the ith set of pressure data;
the processor is further configured to set an image attribute of a connecting line image between each group of two adjacent coordinate points according to a drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data acquired by the drawing pen, where the image attribute includes at least one of a connecting line color and a connecting line thickness.
In a fourth possible implementation of the second aspect, the drawing data are coordinates of N-1 intermediate points between the first coordinate and the second coordinate; the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
the processor is used for drawing an image according to the drawing data in the following way:
and the processor draws a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
With reference to the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the processor is further configured to control the transceiver to receive drawing forces sent by the drawing pen, where the drawing pen respectively corresponds to drawing forces when acquiring each set of pressure data in the first N-1 sets of pressure data;
the processor is further configured to set an image attribute of a connecting line image between each group of two adjacent coordinate points according to a drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data acquired by the drawing pen, where the image attribute includes at least one of a connecting line color and a connecting line thickness.
In a third aspect, there is provided a drawing method for use in a drawing pen, the method comprising:
acquiring pressure data acquired by at least three pressure sensors in the drawing pen according to a preset sampling frequency;
and controlling a transceiver in the drawing pen to send drawing data to the electronic equipment according to the acquired pressure data so that the electronic equipment can draw an image according to the drawing data.
In a first possible implementation of the third aspect, the graphical data is the pressure data.
In a second possible implementation manner of the third aspect, the drawing data are coordinates of N-1 intermediate points, and N is greater than or equal to 2; the controlling a transceiver in the drawing pen to send drawing data to an electronic device according to the acquired pressure data includes:
the transceiver is controlled to successively receive a first coordinate and a second coordinate which are acquired and transmitted by the electronic equipment in real time, wherein the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
calculating the coordinates of the N-1 intermediate points, which pass through the pen point between the first coordinate and the second coordinate in sequence, of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in the N groups of pressure data acquired in sequence within the time period of receiving the first coordinate and the second coordinate, wherein N is more than or equal to 2;
and controlling the transceiver to transmit the coordinates of the N-1 intermediate points to the electronic equipment.
With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner of the third aspect, each of the first N-1 sets of pressure data includes two largest pressure values acquired by the at least three pressure sensors and respective directions of the two pressure values; the calculating, according to the first coordinate, the second coordinate, and the first N-1 sets of pressure data in the N sets of pressure data sequentially acquired within the time period of receiving the first coordinate and the second coordinate, the coordinates of the N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate specifically includes:
calculating a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate; calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data; calculating an included angle gamma between the connecting line direction a and the moving direction b; calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,LiL × cos γ/N; according to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
With reference to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the method further includes:
calculating the drawing force when the ith group of pressure data is collected according to the two pressure values contained in the ith group of pressure data;
and controlling the transceiver to send drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data to the electronic equipment.
In a fourth aspect, a drawing method is provided, for use in an electronic device, the method comprising:
receiving drawing data sent by a drawing pen;
and drawing an image according to the drawing data.
In a first possible implementation manner of the fourth aspect, the drawing data is pressure data acquired by at least three pressure sensors in the drawing pen;
the drawing an image according to the drawing data specifically includes:
acquiring a first coordinate and a second coordinate, wherein the first coordinate and the second coordinate are coordinates of two points which are passed by a pen point of the drawing pen in a drawing area of the electronic equipment in sequence;
calculating coordinates of N-1 intermediate points, which sequentially pass between the first coordinate and the second coordinate, of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in N groups of pressure data sequentially acquired by the drawing pen within a time period for acquiring the first coordinate and the second coordinate, wherein N is more than or equal to 2;
and drawing a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, each of the first N-1 sets of pressure data includes two maximum pressure values acquired by the at least three pressure sensors and respective directions of the two pressure values; the calculating the coordinates of N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate specifically comprises:
calculating a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate; root of herbaceous plantCalculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data; calculating an included angle gamma between the connecting line direction a and the moving direction b; calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,LiL × cos γ/N; according to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner of the fourth aspect, the method further includes:
calculating the drawing force of the drawing pen when the ith group of pressure data is collected according to the two pressure values contained in the ith group of pressure data;
and respectively setting the image attribute of the connecting line image between every two adjacent coordinate points of each group according to the drawing force respectively corresponding to the drawing pen when each group of pressure data in the front N-1 groups of pressure data is collected, wherein the image attribute comprises at least one of a connecting line color and a connecting line thickness.
In a fourth possible implementation of the fourth aspect, the drawing data are coordinates of N-1 intermediate points between the first coordinates and the second coordinates; the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
said rendering an image from said drawing data comprising:
and drawing a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
With reference to the fourth possible implementation manner of the fourth aspect, in a fifth possible implementation manner of the fourth aspect, the method further includes:
receiving drawing force which is sent by the drawing pen and corresponds to the drawing pen when the drawing pen collects each group of pressure data in the front N-1 groups of pressure data;
and respectively setting the image attribute of the connecting line image between every two adjacent coordinate points of each group according to the drawing force respectively corresponding to the drawing pen when each group of pressure data in the front N-1 groups of pressure data is collected, wherein the image attribute comprises at least one of a connecting line color and a connecting line thickness.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
the at least three pressure sensors are arranged around the pen point in the drawing pen, pressure data collected by the pressure sensors are obtained, drawing data required by drawing are sent to the electronic equipment according to the obtained pressure data, the electronic equipment draws images according to the drawing data, the frequency of the pressure data obtained by the drawing pen is not limited by the screen refresh rate of the electronic equipment, the frequency can be far higher than 60Hz, and the accuracy and the drawing effect of the electronic equipment for drawing the images can be greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment in which a mapping method according to some embodiments of the invention is implemented;
FIG. 2 is a block diagram of a drawing pen provided in accordance with one embodiment of the present invention;
FIG. 3 is a block diagram of a drawing pen according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of the coordinate determination of an intermediate point according to another embodiment of the present invention;
FIG. 5 is a block diagram of an electronic device provided by one embodiment of the invention;
FIG. 6 is a block diagram of a drawing device provided in accordance with an embodiment of the present invention;
FIG. 7 is a flowchart of a method of a mapping method according to an embodiment of the invention;
FIG. 8 is a method flow diagram of a mapping method provided by one embodiment of the present invention;
FIG. 9 is a flowchart of a method for mapping according to another embodiment of the present invention;
fig. 10 is a flowchart of a drawing method according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Referring to fig. 1, a schematic diagram of an implementation environment related to a drawing method according to some embodiments of the invention is shown. As shown in FIG. 1, the implementation environment includes a drawing pen 110 and an electronic device 120.
The electronic device 120 may be a smart phone, a tablet computer, an e-book reader, or the like. The connection between the drawing pen 110 and the electronic device 120 is made by wire or wirelessly.
According to the scheme shown in each embodiment of the invention, the pressure sensor is arranged in the drawing pen, the drawing pen collects pressure data received by the pressure sensor in the drawing process according to a certain sampling frequency, the moving direction and the drawing force of the drawing pen in each time of collecting the pressure data are calculated according to the pressure value and the direction in the pressure data, the electronic equipment performs image drawing according to the calculation result, and the calculation process can be completed by the drawing pen or the electronic equipment, or the drawing pen and the electronic equipment respectively complete a part of the calculation process. The higher the sampling frequency of the drawing pen is, the closer the image drawn by the electronic device is to the movement track of the drawing pen, and the sampling frequency of the drawing pen is not affected by the screen refresh rate of the electronic device.
Referring to fig. 2, a diagram of a drawing pen according to an embodiment of the present invention is shown. The drawing pen may be the drawing pen 110 in the drawing system shown in FIG. 1, wherein the left half of FIG. 2 is a longitudinal sectional view of the drawing pen, and the right half is a longitudinal sectional view of the pen head and the pressure sensor. As shown in fig. 2, the drawing pen may include: a pen tip 210, a housing 220, at least three pressure sensors 230, a processor 240, and a transceiver 250;
the pen head 210 is half-buried in the housing 220, the at least three pressure sensors 230 are fixed inside the housing 220, and an included angle α between any two adjacent pressure sensors and a vertical line of a center line of the pen head 210 is less than 180 degrees;
the processor 240 is electrically connected to the at least three pressure sensors 230 and the transceiver 250, respectively;
the processor 240 is configured to obtain pressure data acquired by the at least three pressure sensors 230 according to a preset sampling frequency;
the processor 240 is further configured to control the transceiver 250 to send drawing data to an electronic device according to the acquired pressure data, so that the electronic device draws an image according to the drawing data.
In summary, according to the drawing pen provided in the embodiment of the present invention, at least three pressure sensors are disposed around the pen point in the drawing pen, so as to obtain pressure data acquired by the pressure sensors, and send drawing data required for drawing to the electronic device according to the obtained pressure data, so that the electronic device draws an image according to the drawing data.
Referring to fig. 3, a drawing pen according to another embodiment of the present invention is shown in fig. 2. The drawing pen may be the drawing pen 110 in the drawing system shown in FIG. 1, wherein the left half of FIG. 3 is a longitudinal sectional view of the drawing pen, and the right half is a longitudinal sectional view of the pen head and the pressure sensor. As shown in fig. 3, the drawing pen may include: a pen tip 210, a housing 220, at least three pressure sensors 230, a processor 240, and a transceiver 250;
the connection relationship among the pen head 210, the housing 220, the at least three pressure sensors 230, the processor 240, and the transceiver 250 and the operation steps executed by the processor 20 are the same as those of the drawing pen shown in fig. 2, and are described in detail in the above embodiment, and are not repeated herein.
Optionally, a holding mark 221 is disposed on the housing 220, and the holding mark 221 is used to indicate a hand-holding form for holding the drawing pen.
In order to ensure that the direction of the pressure sensed by the pressure sensor is known, the user may be instructed to hold the drawing pen in a fixed hand-holding form, for example, a groove is added on the drawing pen to inform the user of the required holding manner, so as to ensure that the hand-holding form of the user holding the pen at each time and the corresponding direction of the sensor are consistent.
Optionally, the preset sampling frequency is greater than 60 Hz.
Since the frequency at which the plotter pen acquires pressure data is not limited by the screen refresh rate of the electronic device, the sampling frequency can be set to be theoretically very high, for example, 1000 Hz.
Optionally, the drawing data is coordinates of N-1 intermediate points, and N is greater than or equal to 2; the processor is further configured to obtain coordinates of the N-1 intermediate points according to the pressure data by:
the processor 240 controls the transceiver to successively receive a first coordinate and a second coordinate which are acquired and transmitted by the electronic device in real time, wherein the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic device.
The drawing area of the electronic device may be a designated area in a touch screen of the electronic device, or the drawing area may be a drawing area in a drawing pad associated with the electronic device. In the process that the pen point of the drawing pen slides in the drawing area, the touch screen or the drawing board can report contact information to the electronic equipment, the electronic equipment obtains coordinates of two points which the pen point slides in the drawing area in sequence, and the electronic equipment sends the obtained coordinates to the drawing pen in real time when obtaining one coordinate.
The processor 240 calculates coordinates of N-1 intermediate points, where the pen point sequentially passes between the first coordinate and the second coordinate, according to the first coordinate, the second coordinate, and the first N-1 sets of pressure data among the N sets of pressure data sequentially acquired within a time period in which the first coordinate and the second coordinate are received.
Optionally, each set of pressure data in the first N-1 sets of pressure data includes the maximum two pressure values collected by the at least three pressure sensors and the respective directions of the two pressure values.
Wherein, when three pressure sensor gathered pressure data at every turn, only two pressure sensor can gather effectual pressure numerical value, and these two effectual pressure numerical value must be the biggest two numerical values in the pressure numerical value that three pressure sensor gathered, even pressure numerical value that only one pressure sensor gathered is not 0, when pressure numerical value that other two pressure sensor gathered is 0, also can think one of these two biggest numerical values is 0, hold the condition of holding the plotter pen according to the fixed hand shape that instructs at the default user, only need number respectively to three pressure sensor in the plotter pen, can learn the direction of effectual pressure numerical value. Accordingly, each set of pressure data acquired by the processor includes two valid pressure values and directions of the two valid pressure values.
And when the drawing pen receives a new coordinate, namely the first N-1 groups of pressure data collected by the four pressure sensors are acquired from the last coordinate to the new coordinate, and the coordinates of N-1 intermediate points between the two coordinates can be sequentially determined from the last coordinate according to the two coordinates and the first N-1 groups of pressure data. And the drawing pen sends the determined coordinates of the N-1 intermediate points to the electronic equipment, and the electronic equipment can draw a sliding track of the pen point between the two coordinates.
Optionally, the processor 340 is specifically configured to calculate coordinates of the N-1 intermediate points that the pen point sequentially passes through between the first coordinate and the second coordinate by:
the processor calculates a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate;
calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data;
calculating an included angle gamma between the connecting line direction a and the moving direction b;
calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,Li=L*cosγ/N;
According to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
Referring to fig. 4, a schematic diagram illustrating the determination of the coordinates of the middle point according to another embodiment of the present invention is shown; taking the first coordinate as a coordinate a and the second coordinate as a coordinate B as an example, where the coordinate B is a newly received coordinate and the coordinate a is a last received coordinate, and the plotter determines the coordinate of the middle point according to the two coordinates and the first N-1 sets of pressure data in the N sets of pressure data acquired between the two coordinates, where the method may specifically be as follows:
1) calculating a straight-line distance L between the coordinate A and the coordinate B and a connecting line direction a from the coordinate A to the coordinate B;
2) assuming that the projection distance of the connecting line between every two adjacent intermediate points in each group on the connecting line between the coordinate A and the coordinate B is equal, the pen point is located at the coordinate A when the 1 st group of pressure data is acquired, the pen point is located at the coordinate B when the Nth group of pressure data is acquired, N-1 intermediate points exist between the coordinate A and the coordinate B, and the projection distance of the connecting line between every two adjacent points in the coordinate A, the coordinate B and the N-1 intermediate points on the connecting line between the coordinate A and the coordinate B is L/N.
It should be noted that, a certain time difference exists between the time when the electronic device acquires a coordinate and the time when the plotter pen receives the coordinate, in order to ensure the accuracy of plotting, an average value of the time difference may be measured in advance, a relationship between the average value of the time difference and a sampling period during which the plotter pen acquires pressure data may be estimated, and pressure data corresponding to the received coordinate may be determined according to the relationship between the average value and the sampling period. For example, assuming that the average value of the time difference is approximately equal to three sampling periods, that is, when the drawing pen receives the coordinate a, the drawing pen has acquired three sets of pressure data after acquiring the coordinate a, at this time, the drawing pen may determine the coordinate a as the coordinate of the point through which the pen point passes when acquiring the fourth last set of pressure data in the existing pressure data, and similarly, may also determine the set of pressure data corresponding to the coordinate B.
3) When the coordinate of the 1 st intermediate point is determined, the moving direction b of the pen point during the collection of the 1 st group of pressure data can be calculated according to the two pressure values contained in the 1 st group of pressure data and the respective directions of the two pressure values contained in the 1 st group of pressure data from the coordinate A1(ii) a Calculating the connecting line direction a and the moving direction b1Angle gamma therebetween1(ii) a Calculating the distance L of the pen head moving between the collection of the 1 st group of pressure data and the collection of the 2 nd group of pressure data1=L*cosγ1N; according to the coordinate A and the moving direction b of the pen point1And L1The coordinates of the 1 st intermediate point are calculated.
4) When the coordinate of the ith intermediate point is determined, starting from the ith-1 intermediate point, the pressure number can be set according to the ith groupCalculating the moving direction b of the pen point when the ith group of pressure data is acquired according to the two contained pressure values and the respective directions of the two pressure values contained in the ith group of pressure datai(ii) a Calculating the connecting line direction a and the moving direction biAngle gamma therebetweeni(ii) a Calculating the distance L of the pen head moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure datai=L*cosγiN; according to the coordinate A and the moving direction b of the pen pointiAnd LiThe coordinates of the ith intermediate point are calculated. Wherein i is more than or equal to 2 and less than or equal to N-1.
It should be noted that the scheme shown in the embodiment of the present invention is described by taking the assumption that the projection distance of the connecting line between each set of two adjacent intermediate points on the connecting line between the coordinate a and the coordinate B is equal, and in practical applications, there may be other methods for calculating the coordinates of the intermediate points according to the pressure data, for example, it may be assumed that the distance between each two intermediate points is equal.
Optionally, the processor 340 is further configured to calculate a drawing force when the ith group of pressure data is acquired according to two pressure values included in the ith group of pressure data;
the processor 340 is further configured to control the transceiver to send drawing forces corresponding to the first N-1 groups of pressure data to the electronic device.
In the embodiment of the present invention, the drawing pen may further calculate, according to the numerical value of the pressure data, a drawing force when each group of pressure data is acquired, specifically, for example, if two pressure values in the ith group of pressure data are F1 and F2, respectively, the drawing force F may be obtained according to the following formula:
when the electronic device receives the drawing strength, the thickness of a line from the (i-1) th intermediate point to the (i) th intermediate point or the depth of color and the like can be determined according to the drawing strength.
Optionally, the mapping data is the pressure data.
In the scheme shown in the embodiment of the invention, the step of determining the coordinates and the drawing strength of the N-1 intermediate points can also be finished by the electronic equipment, and the drawing pen only needs to send the acquired pressure data to the electronic equipment in real time.
It should be noted that, the above embodiment of the present invention is described by taking only three pressure sensors as an example, preferably, the number of the pressure sensors may also be increased to improve the accuracy and reliability, for example, 4 pressure sensors may be provided, and the 4 pressure sensors are distributed around the pen point in a cross shape; or, in practical application, in order to avoid the situation that the drawing pen cannot work due to the fault of a part of the pressure sensors, 6, 8 or 12 pressure sensors and the like can be arranged in the drawing pen; alternatively, a plurality of sensor assemblies may be provided in the plotter pen, each sensor assembly including at least three pressure sensors, and when a pressure sensor of one sensor assembly fails, other sensor assemblies may be used to collect pressure data. The embodiment of the invention does not limit the number of the pressure sensors, as long as the acquired pressure data can meet the calculation of the moving direction and the drawing force of the pen point.
In summary, according to the drawing pen provided in the embodiment of the present invention, at least three pressure sensors are disposed around the pen point in the drawing pen, so as to obtain pressure data acquired by the pressure sensors, and send drawing data required for drawing to the electronic device according to the obtained pressure data, so that the electronic device draws an image according to the drawing data.
In addition, the drawing pen provided by the embodiment of the invention also calculates the drawing force when each group of pressure data is collected according to the pressure value in the pressure data, sends the drawing force when each group of pressure data is collected to the electronic equipment, and determines the thickness and the color of a line according to the drawing force by the electronic equipment, thereby further improving the drawing effect of the image.
Referring to fig. 5, a block diagram of an electronic device according to an embodiment of the invention is shown. The drawing pen may be the electronic device 120 in the drawing system shown in fig. 1, and the electronic device may be a smart phone, a tablet computer, an e-book reader, or a personal computer. The electronic device may include: a bus 501, and a processor 502, a memory 503, a transceiver 504 connected to the bus. Wherein the memory 503 is configured to store a number of instructions configured to be executed by the processor 502;
the processor 502 is configured to control the transceiver 504 to receive drawing data sent by a drawing pen;
the processor 502 is configured to render an image according to the drawing data.
Optionally, the drawing data is pressure data acquired by at least three pressure sensors in the drawing pen; when drawing an image according to the drawing data, the processor 502 is specifically configured to:
acquiring a first coordinate and a second coordinate, wherein the first coordinate and the second coordinate are coordinates of two points which are passed by a pen point of the drawing pen in a drawing area of the electronic equipment in sequence; calculating coordinates of N-1 intermediate points which sequentially pass between the first coordinate and the second coordinate of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in N groups of pressure data which are sequentially acquired by the drawing pen within a time period when the coordinate acquisition unit acquires the first coordinate and the second coordinate, wherein N is more than or equal to 2; and drawing a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
Optionally, each set of pressure data in the first N-1 sets of pressure data includes two maximum pressure values collected by the at least three pressure sensors and respective directions of the two pressure values;
when the processor 502 calculates the coordinates of N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate, it is specifically configured to:
calculating a straight-line distance L between the first coordinate and the second coordinate and from the first coordinate to the second coordinateThe direction of a connecting line between the coordinates a; calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data; calculating an included angle gamma between the connecting line direction a and the moving direction b; calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,LiL × cos γ/N; according to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
The method for determining the coordinate of the middle point between the two coordinates by the electronic device according to the pressure data is similar to the method for determining the coordinate of the middle point by the drawing pen in the embodiment shown in fig. 3, which is described with reference to the corresponding portion in fig. 4, and is not described here again.
It should be noted that, in the solution shown in the embodiment of the present invention, the drawing pen sends the pressure data to the electronic device, where there is a time difference between the collection of pressure data from the plotter pen and the receipt of the pressure data by the electronic device, that is, when the electronic device acquires the first coordinate or the second coordinate, the pressure data corresponding to the acquired coordinate has not been received, also taking the example where the average of the time differences is approximately equal to three sample periods, therefore, unlike the description of the embodiment shown in fig. 4, when determining the pressure data corresponding to the coordinates acquired by the electronic device, the electronic device may determine a third set of pressure data received after acquiring the coordinates a as the pressure data corresponding to the coordinates a, and similarly, may also determine a third set of pressure data received after acquiring the coordinates B as the pressure data corresponding to the coordinates B.
Optionally, the processor 502 is further configured to calculate, according to two pressure values included in the ith group of pressure data, a drawing strength of the drawing pen when the ith group of pressure data is acquired;
the processor 502 is further configured to set an image attribute of a connecting line image between each group of two adjacent coordinate points according to a drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data acquired by the drawing pen, where the image attribute includes at least one of a connecting line color and a connecting line thickness.
The method for calculating the drawing strength of the drawing pen when acquiring each set of pressure data according to the pressure values contained in the pressure data by the electronic device is similar to the method for calculating the drawing strength by the drawing pen in the embodiment corresponding to fig. 3, and is not described herein again.
Optionally, the drawing data is coordinates of N-1 intermediate points between the first coordinate and the second coordinate; the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment; the processor 502 is configured to obtain and control the transceiver 504 to send the first coordinate and the second coordinate to the drawing pen in real time;
the processor 502 is configured to render an image according to the rendering data by:
the processor 502 plots a connecting line image between each group of two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points, and the second coordinate.
Optionally, the processor 502 is further configured to control the transceiver 504 to receive drawing strength corresponding to each group of pressure data in the first N-1 groups of pressure data sent by the drawing pen when the drawing pen collects the group of pressure data;
the processor 502 is further configured to set an image attribute of a connecting line image between each group of two adjacent coordinate points according to a drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data acquired by the drawing pen, where the image attribute includes at least one of a connecting line color and a connecting line thickness.
For the specific steps of the method for determining the coordinate of the middle point between the two coordinates by the drawing pen according to the pressure data and the method for calculating the drawing strength when each group of pressure data is collected by the drawing pen, please refer to the description in the embodiment shown in fig. 3, which is not described herein again.
In summary, in the electronic device provided in the embodiment of the present invention, at least three pressure sensors are disposed around the pen point in the drawing pen, and the electronic device receives the drawing data sent by the drawing pen according to the pressure data acquired by the four pressure sensors to perform image drawing, and since the frequency of acquiring the pressure data by the drawing pen is not limited by the screen refresh rate of the electronic device, the frequency of acquiring the pressure data by the drawing pen may be much higher than 60Hz, and the accuracy and the drawing effect of drawing an image by the electronic device may be greatly improved.
In addition, the electronic device provided by the embodiment of the invention further calculates the drawing strength when each group of pressure data is acquired according to the pressure value in the pressure data, or obtains the drawing strength calculated by the drawing pen, and determines the thickness and the color of a line according to the drawing strength, so that the drawing effect of the image is further improved.
Referring to fig. 6, a block diagram of a drawing device according to an embodiment of the invention is shown. The drawing device may be used in an electronic device 120 of a drawing system as shown in fig. 1. The drawing device may include:
a drawing data receiving module 601, configured to receive drawing data sent by a drawing pen;
an image drawing module 602, configured to draw an image according to the drawing data.
Optionally, the drawing data is pressure data acquired by at least three pressure sensors in the drawing pen; the image drawing module is specifically configured to, when drawing an image according to the drawing data:
acquiring a first coordinate and a second coordinate, wherein the first coordinate and the second coordinate are coordinates of two points which are passed by a pen point of the drawing pen in a drawing area of the electronic equipment in sequence;
calculating coordinates of N-1 intermediate points which sequentially pass between the first coordinate and the second coordinate of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in N groups of pressure data which are sequentially acquired by the drawing pen within a time period when the coordinate acquisition unit acquires the first coordinate and the second coordinate, wherein N is more than or equal to 2;
and drawing a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
Optionally, each set of pressure data in the first N-1 sets of pressure data includes two maximum pressure values collected by the at least three pressure sensors and respective directions of the two pressure values;
the image drawing module is specifically configured to, when calculating the coordinates of N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate:
calculating a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate; calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data; calculating an included angle gamma between the connecting line direction a and the moving direction b; calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,LiL × cos γ/N; according to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
The method for determining the coordinate of the middle point between the two coordinates by the electronic device according to the pressure data is similar to the method for determining the coordinate of the middle point by the drawing pen in the embodiment shown in fig. 3, which is described with reference to the corresponding portion in fig. 4, and is not described here again.
Optionally, the image drawing module 602 is further configured to calculate, according to two pressure values included in the ith group of pressure data, a drawing strength of the drawing pen when the ith group of pressure data is acquired;
the image drawing module 602 is further configured to set an image attribute of a connecting line image between each group of two adjacent coordinate points according to drawing forces respectively corresponding to the drawing pen when acquiring each group of pressure data in the first N-1 groups of pressure data, where the image attribute includes at least one of a connecting line color and a connecting line thickness.
The method for calculating the drawing strength of the drawing pen when acquiring each set of pressure data according to the pressure values contained in the pressure data by the electronic device is similar to the method for calculating the drawing strength by the drawing pen in the embodiment corresponding to fig. 3, and is not described herein again.
Optionally, the drawing data is coordinates of N-1 intermediate points between the first coordinate and the second coordinate; the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
the image drawing module 602 is configured to draw an image according to drawing data in the following manner:
the image drawing module 602 is configured to draw a connecting line image between each two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points, and the second coordinate.
Optionally, the apparatus further comprises: the drawing strength receiving module 603 and the attribute setting module 604:
a drawing force receiving module 603, configured to receive drawing forces sent by the drawing pen, where the drawing pen respectively corresponds to drawing forces when acquiring each set of pressure data in the first N-1 sets of pressure data;
the attribute setting module 604 is configured to set an image attribute of a line image between each group of two adjacent coordinate points according to a drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data acquired by the drawing pen, where the image attribute includes at least one of a line color and a line thickness.
For the specific steps of the method for determining the coordinate of the middle point between the two coordinates by the drawing pen according to the pressure data and the method for calculating the drawing strength when each group of pressure data is collected by the drawing pen, please refer to the description in the embodiment shown in fig. 3, which is not described herein again.
In summary, in the drawing device provided in the embodiment of the present invention, at least three pressure sensors are disposed around the pen point in the drawing pen, and the electronic device receives the drawing data sent by the drawing pen according to the pressure data acquired by the four pressure sensors to perform image drawing, and since the frequency of acquiring the pressure data by the drawing pen is not limited by the screen refresh rate of the electronic device, the frequency of acquiring the pressure data by the drawing pen may be much higher than 60Hz, and the accuracy and the drawing effect of drawing an image by the electronic device may be greatly improved.
In addition, the drawing device provided by the embodiment of the invention also calculates the drawing strength when each group of pressure data is collected according to the pressure numerical value in the pressure data, or obtains the drawing strength calculated by the drawing pen, and determines the thickness and the color of a line according to the drawing strength, thereby further improving the drawing effect of the image.
Referring to fig. 7, a flowchart of a method of drawing according to an embodiment of the invention is shown. The drawing method may be used in a drawing pen 110 of a drawing system as shown in fig. 1. The drawing method may include:
step 701, acquiring pressure data acquired by at least three pressure sensors in the drawing pen according to a preset sampling frequency.
Step 702, according to the acquired pressure data, controlling a transceiver in the drawing pen to send drawing data to an electronic device, so that the electronic device draws an image according to the drawing data.
In summary, according to the drawing method provided in the embodiment of the present invention, at least three pressure sensors are arranged around the pen point in the drawing pen, so as to obtain pressure data acquired by the pressure sensors, and send drawing data required for drawing to the electronic device according to the obtained pressure data, so that the electronic device draws an image according to the drawing data, because the frequency of obtaining the pressure data by the drawing pen is not limited by the screen refresh rate of the electronic device, the frequency of obtaining the pressure data by the drawing pen may be much higher than 60Hz, and the accuracy and the drawing effect of drawing the image by the electronic device may be greatly improved.
Referring to fig. 8, a flowchart of a method of drawing according to an embodiment of the invention is shown. The drawing method may be used in an electronic device 120 of a drawing system as shown in fig. 1. The drawing method may include:
step 801, receiving drawing data sent by a drawing pen, wherein the drawing data is obtained by the drawing pen according to a preset sampling frequency, and the drawing data is sent according to pressure data acquired by at least three pressure sensors in the drawing pen.
In step 802, an image is rendered based on the drawing data.
In summary, in the drawing method provided in the embodiment of the present invention, at least three pressure sensors are arranged around the pen point in the drawing pen, and the electronic device receives the drawing data sent by the drawing pen according to the pressure data acquired by the four pressure sensors to perform image drawing, because the frequency of acquiring the pressure data by the drawing pen is not limited by the screen refresh rate of the electronic device, the frequency of acquiring the pressure data by the drawing pen may be much higher than 60Hz, and the accuracy and the drawing effect of drawing an image by the electronic device may be greatly improved.
Referring to fig. 9, a flowchart of a method of a drawing method according to another embodiment of the invention is shown. The mapping method may be used in a mapping system as shown in fig. 1. Taking the steps of calculating the coordinates of the intermediate point and the drawing strength as an example, the drawing method may include:
step 901, the drawing pen obtains pressure data collected by at least three pressure sensors in the drawing pen according to a preset sampling frequency.
Step 902, the drawing pen controls the transceiver to successively receive the first coordinate and the second coordinate which are acquired and transmitted by the electronic device in real time.
The first coordinate and the second coordinate are coordinates of two points which are passed by the pen point in the drawing area of the electronic equipment in sequence.
Step 903, calculating coordinates of N-1 intermediate points, which pass through the pen point between the first coordinate and the second coordinate in sequence, by the drawing pen according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in the N groups of pressure data which are obtained in sequence within the time period of receiving the first coordinate and the second coordinate, wherein N is larger than or equal to 2.
Specifically, each group of pressure data in the first N-1 groups of pressure data includes two maximum pressure values acquired by the at least three pressure sensors and respective directions of the two pressure values; the drawing pen calculates a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate; calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to the two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data; calculating an included angle gamma between the connecting line direction a and the moving direction b; calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,LiL × cos γ/N; according to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
Step 904, the drawing pen controls the transceiver to transmit the coordinates of the N-1 intermediate points to the electronic device.
Step 905, the electronic device draws a connecting line image between each group of two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
Step 906, the drawing pen controls the transceiver to send drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data to the electronic device.
Specifically, the drawing pen may calculate the drawing force when acquiring the ith group of pressure data according to two pressure values included in the ith group of pressure data.
Step 907, the electronic device sets image attributes of the line connection image between each group of two adjacent coordinate points according to drawing forces respectively corresponding to the drawing pen when the drawing pen collects each group of pressure data in the first N-1 groups of pressure data, wherein the image attributes include at least one of line connection color and line connection thickness.
For the specific steps of the method for determining the coordinate of the middle point between the two coordinates by the drawing pen according to the pressure data and the method for calculating the drawing strength when each group of pressure data is collected by the drawing pen, please refer to the description in the embodiment shown in fig. 3, which is not described herein again.
In summary, according to the drawing method provided in the embodiment of the present invention, at least three pressure sensors are arranged around the pen point in the drawing pen, so as to obtain pressure data collected by the pressure sensors, and calculate each intermediate point between two coordinate points according to the obtained pressure data and the two coordinate points sent by the electronic device, and the electronic device draws an image according to the two coordinate points and the coordinates of each intermediate point, because the frequency of obtaining the pressure data by the drawing pen is not limited by the screen refresh rate of the electronic device, the frequency can be much higher than 60Hz, and the accuracy and the drawing effect of drawing the image by the electronic device can be greatly improved.
In addition, according to the drawing method provided by the embodiment of the invention, the drawing pen calculates the drawing strength when each group of pressure data is collected according to the pressure value in the pressure data, and sends the drawing strength when each group of pressure data is collected to the electronic equipment, and the electronic equipment determines the thickness and the color of a line according to the drawing strength, so that the drawing effect of the image is further improved.
Referring to fig. 10, a flowchart of a method of a drawing method according to another embodiment of the invention is shown. The mapping method may be used in a mapping system as shown in fig. 1. The step of calculating the coordinates of the intermediate point and the drawing strength is performed as an example by the electronic device, and the drawing method may include:
step 1001, a drawing pen obtains pressure data collected by at least three pressure sensors in the drawing pen according to a preset sampling frequency.
In step 1002, the plotter pen controls the transceiver to transmit the pressure data to the electronic device.
In step 1003, the electronic device acquires a first coordinate and a second coordinate.
The first coordinate and the second coordinate are coordinates of two points which are passed by the pen point of the drawing pen in the drawing area of the electronic equipment in sequence.
And 1004, the electronic equipment calculates coordinates of N-1 intermediate points which sequentially pass between the first coordinate and the second coordinate of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in the N groups of pressure data sequentially acquired by the drawing pen within the time period of acquiring the first coordinate and the second coordinate, wherein N is more than or equal to 2.
Specifically, each of the first N-1 sets of pressure data includes the maximum two pressure values collected by the at least three pressure sensors and the respective directions of the two pressure values. The electronic equipment calculates a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate; calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to the two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data; calculating an included angle gamma between the connecting line direction a and the moving direction b; calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,LiL × cos γ/N; according to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
The method for determining the coordinate of the middle point between the two coordinates by the electronic device according to the pressure data is similar to the method for determining the coordinate of the middle point by the drawing pen in the embodiment shown in fig. 3, which is described with reference to the corresponding portion in fig. 4, and is not described here again.
Step 1005, the electronic device draws a connecting line image between each group of two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate respectively.
And step 1006, the electronic device calculates, according to the first N-1 groups of pressure data, drawing forces respectively corresponding to the drawing pen when acquiring each group of pressure data in the first N-1 groups of pressure data.
Specifically, the electronic device may calculate the drawing force of the drawing pen when acquiring the ith group of pressure data according to two pressure values included in the ith group of pressure data.
The method for calculating the drawing strength of the drawing pen when acquiring each set of pressure data according to the pressure values contained in the pressure data by the electronic device is similar to the method for calculating the drawing strength by the drawing pen in the embodiment corresponding to fig. 3, and is not described herein again.
Step 1007, the electronic device sets an image attribute of a connecting line image between each group of two adjacent coordinate points according to the drawing force corresponding to the drawing pen when the drawing pen collects each group of pressure data in the first N-1 groups of pressure data, wherein the image attribute includes at least one of a connecting line color and a connecting line thickness.
In summary, in the drawing method provided in the embodiment of the present invention, at least three pressure sensors are arranged around the pen point in the drawing pen, and the electronic device receives the drawing data sent by the drawing pen according to the pressure data acquired by the four pressure sensors to perform image drawing, because the frequency of acquiring the pressure data by the drawing pen is not limited by the screen refresh rate of the electronic device, the frequency of acquiring the pressure data by the drawing pen may be much higher than 60Hz, and the accuracy and the drawing effect of drawing an image by the electronic device may be greatly improved.
In addition, the drawing method provided by the embodiment of the invention further calculates the drawing strength when each group of pressure data is collected according to the pressure value in the pressure data, or obtains the drawing strength calculated by the drawing pen, and determines the thickness and the color of a line according to the drawing strength, thereby further improving the drawing effect of the image.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (24)

  1. A drawing pen, characterized in that it comprises: the pen comprises a pen point, a shell, at least three pressure sensors, a processor and a transceiver;
    the pen point is half-buried in the shell, the at least three pressure sensors are fixed in the shell, and an included angle between any two adjacent pressure sensors and a vertical line of a center line of the pen point is smaller than 180 degrees;
    the processor is electrically connected with the at least three pressure sensors and the transceiver respectively;
    the processor is used for acquiring pressure data acquired by the at least three pressure sensors according to a preset sampling frequency;
    the processor is further configured to control the transceiver to send drawing data to an electronic device according to the acquired pressure data, so that the electronic device draws an image according to the drawing data.
  2. The drawing pen as claimed in claim 1, wherein the housing is provided with a grip mark for indicating a hand-grip configuration for holding the drawing pen.
  3. Drawing pen according to claim 1, characterised in that the preset sampling frequency is greater than 60 Hz.
  4. The drawing pen according to any one of claims 1 to 3, wherein the drawing data is the pressure data.
  5. The drawing pen as claimed in any one of claims 1 to 3, wherein the drawing data are coordinates of N-1 intermediate points, N ≧ 2;
    the processor is further configured to obtain coordinates of the N-1 intermediate points according to the pressure data by:
    the processor controls the transceiver to receive a first coordinate and a second coordinate which are acquired and transmitted by the electronic equipment in real time, wherein the first coordinate and the second coordinate are coordinates of two points which are passed by the pen point in a drawing area of the electronic equipment in sequence;
    and the processor calculates the coordinates of the N-1 intermediate points, which are sequentially passed by the pen point between the first coordinate and the second coordinate, according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in the N groups of pressure data sequentially acquired within the time period of receiving the first coordinate and the second coordinate.
  6. The graph pen according to claim 5, wherein each of the first N-1 sets of pressure data comprises the maximum two pressure values collected by the at least three pressure sensors and the respective directions of the two pressure values;
    the processor is specifically configured to calculate coordinates of the N-1 intermediate points, where the pen point sequentially passes between the first coordinate and the second coordinate, by:
    the processor calculates a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate;
    calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data;
    calculating an included angle gamma between the connecting line direction a and the moving direction b;
    calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,Li=L*cosγ/N;
    According to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
    wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
  7. The drawing pen according to claim 6,
    the processor is further used for calculating the drawing force during the collection of the ith group of pressure data according to the two pressure values contained in the ith group of pressure data;
    the processor is further configured to control the transceiver to send drawing forces corresponding to the first N-1 groups of pressure data to the electronic device.
  8. An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a transceiver; wherein the memory is to store a number of instructions configured to be executed by the processor;
    the processor is used for controlling the transceiver to receive drawing data sent by a drawing pen;
    the processor is used for drawing an image according to the drawing data.
  9. The electronic device of claim 8, wherein the drawing data is pressure data collected by at least three pressure sensors in the drawing pen; the processor is specifically configured to, when drawing an image according to the drawing data:
    acquiring a first coordinate and a second coordinate, wherein the first coordinate and the second coordinate are coordinates of two points which are passed by a pen point of the drawing pen in a drawing area of the electronic equipment in sequence; calculating coordinates of N-1 intermediate points, which sequentially pass between the first coordinate and the second coordinate, of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in N groups of pressure data sequentially acquired by the drawing pen within a time period of acquiring the first coordinate and the second coordinate, wherein N is more than or equal to 2;
    and drawing a connecting line image among each group of two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
  10. The electronic device according to claim 9, wherein each of the first N-1 sets of pressure data includes the maximum two pressure values collected by the at least three pressure sensors and the respective directions of the two pressure values;
    when the processor calculates the coordinates of N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate, the processor is specifically configured to:
    calculating a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate;
    calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data;
    calculating an included angle gamma between the connecting line direction a and the moving direction b;
    calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,Li=L*cosγ/N;
    According to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
    wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
  11. The electronic device of claim 10,
    the processor is further configured to calculate a drawing strength of the drawing pen when the ith group of pressure data is acquired according to two pressure values included in the ith group of pressure data;
    the processor is further configured to set an image attribute of a connecting line image between each group of two adjacent coordinate points according to a drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data acquired by the drawing pen, where the image attribute includes at least one of a connecting line color and a connecting line thickness.
  12. The electronic device according to claim 8, wherein the drawing data is coordinates of N-1 intermediate points between the first coordinates and the second coordinates; the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
    the processor is used for drawing an image according to the drawing data in the following way:
    and the processor draws a connecting line image among each group of two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
  13. The electronic device of claim 12,
    the processor is further configured to control the transceiver to receive drawing force sent by the drawing pen, where the drawing pen respectively corresponds to drawing force when acquiring each set of pressure data in the first N-1 sets of pressure data;
    the processor is further configured to set an image attribute of a connecting line image between each group of two adjacent coordinate points according to a drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data acquired by the drawing pen, where the image attribute includes at least one of a connecting line color and a connecting line thickness.
  14. A drawing method, for use in a drawing pen, the method comprising:
    acquiring pressure data acquired by at least three pressure sensors in the drawing pen according to a preset sampling frequency;
    and controlling a transceiver in the drawing pen to send drawing data to the electronic equipment according to the acquired pressure data so that the electronic equipment can draw an image according to the drawing data.
  15. The method of claim 14, wherein the graphical data is the pressure data.
  16. The method of claim 14, wherein the plot data is coordinates of N-1 intermediate points, N ≧ 2; the controlling a transceiver in the drawing pen to send drawing data to an electronic device according to the acquired pressure data includes:
    the transceiver is controlled to successively receive a first coordinate and a second coordinate which are acquired and transmitted by the electronic equipment in real time, wherein the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
    calculating coordinates of the N-1 intermediate points, which are sequentially passed by the pen point between the first coordinate and the second coordinate, according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in N groups of pressure data sequentially acquired within a time period of receiving the first coordinate and the second coordinate;
    and controlling the transceiver to transmit the coordinates of the N-1 intermediate points to the electronic equipment.
  17. The method according to claim 16, wherein each of the first N-1 sets of pressure data includes the maximum two pressure values collected by the at least three pressure sensors and the respective directions of the two pressure values; the calculating the coordinates of the N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate specifically comprises:
    calculating a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate;
    calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data;
    calculating an included angle gamma between the connecting line direction a and the moving direction b;
    calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,Li=L*cosγ/N;
    According to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
    wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
  18. The method of claim 17, further comprising:
    calculating the drawing force when the ith group of pressure data is collected according to the two pressure values contained in the ith group of pressure data;
    and controlling the transceiver to send drawing force corresponding to each group of pressure data in the first N-1 groups of pressure data to the electronic equipment.
  19. A drawing method, used in an electronic device, the method comprising:
    receiving drawing data sent by a drawing pen;
    and drawing an image according to the drawing data.
  20. The method of claim 19, wherein the mapping data is pressure data collected by at least three pressure sensors in the mapping pen;
    the drawing an image according to the drawing data specifically includes:
    acquiring a first coordinate and a second coordinate, wherein the first coordinate and the second coordinate are coordinates of two points which are passed by a pen point of the drawing pen in a drawing area of the electronic equipment in sequence;
    calculating coordinates of N-1 intermediate points, which sequentially pass between the first coordinate and the second coordinate, of the pen point according to the first coordinate, the second coordinate and the first N-1 groups of pressure data in N groups of pressure data sequentially acquired by the drawing pen within a time period for acquiring the first coordinate and the second coordinate, wherein N is more than or equal to 2;
    and drawing a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
  21. The method of claim 20, wherein each of the first N-1 sets of pressure data includes the largest two pressure values collected by the at least three pressure sensors and the respective directions of the two pressure values; the calculating the coordinates of N-1 intermediate points where the pen point sequentially passes between the first coordinate and the second coordinate specifically comprises:
    calculating a straight-line distance L between the first coordinate and the second coordinate and a connecting line direction a from the first coordinate to the second coordinate;
    calculating the moving direction b of the pen point when the ith group of pressure data is acquired according to two pressure values contained in the ith group of pressure data in the first N-1 groups of pressure data and the respective directions of the two pressure values contained in the ith group of pressure data;
    calculating an included angle gamma between the connecting line direction a and the moving direction b;
    calculating the distance L of the pen point moving between the collection of the ith group of pressure data and the collection of the (i + 1) th group of pressure data according to the linear distance L and the included angle gammai,Li=L*cosγ/N;
    According to the coordinates of the (i-1) th intermediate point, the moving direction b of the pen point and the moving distance L of the pen pointiCalculating the coordinates of the ith intermediate point;
    wherein i is more than or equal to 1 and less than or equal to N-1; when i is 1, the coordinate of the i-1 th intermediate point is the first coordinate.
  22. The method of claim 21, further comprising:
    calculating the drawing force of the drawing pen when the ith group of pressure data is collected according to the two pressure values contained in the ith group of pressure data;
    and respectively setting the image attribute of the connecting line image between every two adjacent coordinate points of each group according to the drawing force respectively corresponding to the drawing pen when each group of pressure data in the front N-1 groups of pressure data is collected, wherein the image attribute comprises at least one of a connecting line color and a connecting line thickness.
  23. The method of claim 19, wherein the drawing data is coordinates of N-1 intermediate points between the first coordinate and the second coordinate; the first coordinate and the second coordinate are coordinates of two points which are successively passed by the pen point in a drawing area of the electronic equipment;
    said rendering an image from said drawing data comprising:
    and drawing a connecting line image between every two adjacent coordinate points in the coordinate points corresponding to the first coordinate, the coordinates of the N-1 intermediate points and the second coordinate.
  24. The method of claim 23, further comprising:
    receiving drawing force which is sent by the drawing pen and corresponds to the drawing pen when the drawing pen collects each group of pressure data in the front N-1 groups of pressure data;
    and respectively setting the image attribute of the connecting line image between every two adjacent coordinate points of each group according to the drawing force respectively corresponding to the drawing pen when each group of pressure data in the front N-1 groups of pressure data is collected, wherein the image attribute comprises at least one of a connecting line color and a connecting line thickness.
CN201580010175.3A 2015-03-26 2015-03-26 Drawing pen, electronic equipment and drawing practice Active CN106471446B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/075133 WO2016149941A1 (en) 2015-03-26 2015-03-26 Drawing pen, electronic device and drawing method

Publications (2)

Publication Number Publication Date
CN106471446A true CN106471446A (en) 2017-03-01
CN106471446B CN106471446B (en) 2019-06-11

Family

ID=56977732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580010175.3A Active CN106471446B (en) 2015-03-26 2015-03-26 Drawing pen, electronic equipment and drawing practice

Country Status (2)

Country Link
CN (1) CN106471446B (en)
WO (1) WO2016149941A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108215585B (en) * 2018-02-13 2024-02-02 程瑞东 Dynamics simulation writing device and method and intelligent writing pen
CN111612857B (en) * 2020-05-28 2024-03-26 北京明略昭辉科技有限公司 Color acquisition method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591486A (en) * 2011-01-14 2012-07-18 元太科技工业股份有限公司 Active electromagnetic pen
WO2013122625A1 (en) * 2012-02-15 2013-08-22 Cypress Semiconductor Corporation Active stylus to host data transmitting method
US20140028633A1 (en) * 2012-07-24 2014-01-30 Research In Motion Limited Force sensing stylus
CN103729074A (en) * 2013-12-26 2014-04-16 三星电子(中国)研发中心 Device, system and method for recognizing handwritings

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475401A (en) * 1993-04-29 1995-12-12 International Business Machines, Inc. Architecture and method for communication of writing and erasing signals from a remote stylus to a digitizing display
US6081261A (en) * 1995-11-01 2000-06-27 Ricoh Corporation Manual entry interactive paper and electronic document handling and processing system
DE102005017936B4 (en) * 2005-04-18 2017-03-30 Semsotec Gmbh Fluidic peripheral input device for an electronic data processing device and method for generating an input control signal for a data processing device
JP5442479B2 (en) * 2010-02-05 2014-03-12 株式会社ワコム Indicator, position detection device and position detection method
CN103809883B (en) * 2012-11-07 2017-05-24 联想(北京)有限公司 Input method, touch-control input pen and electronic device
CN104995586B (en) * 2013-02-25 2018-11-09 微软科技许可有限公司 The pen of digitization system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591486A (en) * 2011-01-14 2012-07-18 元太科技工业股份有限公司 Active electromagnetic pen
WO2013122625A1 (en) * 2012-02-15 2013-08-22 Cypress Semiconductor Corporation Active stylus to host data transmitting method
US20140028633A1 (en) * 2012-07-24 2014-01-30 Research In Motion Limited Force sensing stylus
CN103729074A (en) * 2013-12-26 2014-04-16 三星电子(中国)研发中心 Device, system and method for recognizing handwritings

Also Published As

Publication number Publication date
CN106471446B (en) 2019-06-11
WO2016149941A1 (en) 2016-09-29

Similar Documents

Publication Publication Date Title
JP6527307B2 (en) Motion recognition method using grasped object, device and system therefor
CN103472916B (en) A kind of man-machine interaction method based on human body gesture identification
CN104898825A (en) Electronic device and method for outputting feedback
US9946395B2 (en) User interface method and apparatus
JP6473554B1 (en) Pointer position detection method
CN102920451B (en) Method for measuring electrocardiogram in multi-point touch manner
KR20110037053A (en) The user interface apparatus and method for 3d space-touch using multiple imaging sensors
CN102650906B (en) A kind of control method of user interface and device
US11119589B2 (en) Stylus and position calculation method
EP2947549A1 (en) Apparartus and method for navigating through volume image
CN103150007B (en) A kind of input method and device
CN103838444B (en) A kind of input method and input equipment
CN113934389A (en) Three-dimensional scanning processing method, system, processing device and storage medium
CN105404384A (en) Gesture operation method, method for positioning screen cursor by gesture, and gesture system
CN106471446A (en) Drawing pencil, electronic equipment and drawing practice
CN103167079A (en) Mobile phone measuring system and method
US20230214028A1 (en) Image processing method and apparatus for smart pen, and electronic device
JP6952753B2 (en) Active pen position detection method and sensor controller
US20130187890A1 (en) User interface apparatus and method for 3d space-touch using multiple imaging sensors
JP2012168308A (en) Electronic writing system, electronic writing device, and display control program
CN110456903B (en) Three-dimensional drawing method, device, storage medium, processor and terminal
WO2015064991A2 (en) Smart device enabling non-contact operation control and non-contact operation control method using same
CN104516547B (en) A kind of control method and electronic equipment
CN114816088A (en) Online teaching method, electronic equipment and communication system
CN104246670A (en) Image control apparatus, image processing system, and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant