CN104635960B - A kind of orientable infrared writing-painting and its localization method - Google Patents

A kind of orientable infrared writing-painting and its localization method Download PDF

Info

Publication number
CN104635960B
CN104635960B CN201510090190.5A CN201510090190A CN104635960B CN 104635960 B CN104635960 B CN 104635960B CN 201510090190 A CN201510090190 A CN 201510090190A CN 104635960 B CN104635960 B CN 104635960B
Authority
CN
China
Prior art keywords
infrared light
infrared
painting
incident point
writing
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.)
Active
Application number
CN201510090190.5A
Other languages
Chinese (zh)
Other versions
CN104635960A (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.)
Inlife Handnet Co Ltd
Original Assignee
Inlife Handnet 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 Inlife Handnet Co Ltd filed Critical Inlife Handnet Co Ltd
Priority to CN201510090190.5A priority Critical patent/CN104635960B/en
Publication of CN104635960A publication Critical patent/CN104635960A/en
Application granted granted Critical
Publication of CN104635960B publication Critical patent/CN104635960B/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
    • G06F3/03545Pens or stylus
    • 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/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0386Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry for light pen

Abstract

The invention discloses one kind orientable infrared writing-painting and its localization method, paintbrush includes a body (10), it is contained in the internal infrared light supply component (30) of a body (10), it is arranged on a body (10) one end and the infrared light for infrared light supply component (30) to be sent transfers out the nib (20) of a body (10), body (10) is provided with multiple infrared light outgoing mechanisms (70) for exiting infrared light to position the locus of infrared writing-painting close to written (20) one end, multiple infrared light outgoing mechanisms (70) are uniformly laid along a body (10) peripheral outer wall, and the infrared light of each infrared light outgoing mechanism (70) outgoing in the direction towards written (20) side and the angle all same of the axis of a body (10), and the angle is acute angle, therefore the incident point projected to according to it on painting and calligraphy board, the locus of infrared writing-painting can be positioned, and then judge paintbrush gradient and nib tip from painting and calligraphy board with a distance from, effective simulation first stroke of a Chinese character and receipts pen.

Description

A kind of orientable infrared writing-painting and its localization method
Technical field
The present invention relates to image processing field, more specifically to the orientable infrared writing-painting of one kind and its positioning Method.
Background technology
Infrared writing-painting of the prior art, nib is made using optical fiber, and nib has certain flexibility, can be with mould Intend the effect of writing brush and paintbrush, the running orbit of pen is tracked by gathering the infrared optical image of nib, painting and calligraphy person's handwriting is simulated.Make book The first stroke of a Chinese character and receive that pen is especially important during picture, this infrared writing-painting is because using actively luminous principle, in nib not in contact with to book When pictute plate, the infrared light that nib is sent just is sensed, and when nib leaves painting and calligraphy board, infrared inductor is simultaneously It can not sense at once.Due to that can not perceive the written distance from painting and calligraphy board, when making painting and calligraphy starting to write and lift pen can not control System, causes the simulation first stroke of a Chinese character and loses shape when receiving pen serious.
The content of the invention
The technical problem to be solved in the present invention is, for the drawbacks described above of prior art, there is provided one kind is orientable red Outer writing-painting and its localization method.
The technical solution adopted for the present invention to solve the technical problems is:A kind of orientable infrared writing-painting of construction, bag A body, the infrared light supply component for sending infrared light being contained in inside described body are included, body one end is arranged on and is used for The infrared light that the infrared light supply component is sent transfers out the nib of described body, and described body is set close to described written one end Multiple infrared light outgoing mechanisms for exiting infrared light are equipped with to position the locus of the infrared writing-painting, it is the plurality of red Wai Guang outgoing mechanism is uniformly laid along described body peripheral outer wall, and the infrared light of each infrared light outgoing mechanism outgoing in court Direction and the angle all same of the axis of described body to the written side, and the angle is acute angle.
Orientable infrared writing-painting of the present invention, wherein, the infrared light supply component is located in described body On heart axis, the infrared light outgoing mechanism include it is through described body side wall, for by the red of the infrared light supply component The axis of the unthreaded hole that outer light transmission is gone out, the bearing of trend of each unthreaded hole and described body is in the angle towards the written side All same, and the angle is acute angle.
Orientable infrared writing-painting of the present invention, wherein, the infrared light outgoing mechanism also include with it is described red Outer light source component connects, is fixed on the optical fiber in corresponding unthreaded hole along the bearing of trend of unthreaded hole.
Orientable infrared writing-painting of the present invention, wherein, the infrared light outgoing mechanism includes:It is opened in described Mounting hole on body side wall and the infrared LED lamp being fixed in corresponding mounting hole.
Orientable infrared writing-painting of the present invention, wherein, the nib includes end beam in described body Many optical fiberses, and one end convergence of many optical fiberses away from described body is together so that the written outer wheels It is wide tapered.
Orientable infrared writing-painting of the present invention, wherein, the infrared light supply component is included towards the nib Being additionally provided with luminous infrared LED lamp and the controller for driving the infrared LED lamp to light, described body is used for described red The rechargeable battery that outer LED and the controller are powered, the infrared LED lamp and rechargeable battery are electric with the controller respectively Connection.
Orientable infrared writing-painting of the present invention, wherein, the infrared writing-painting also includes being used to open or close Close the touching type induction switch of the infrared LED lamp and sent for sensing the touching type induction switch after being touched Electric signal and send sensor circuit of the trigger signal to the controller, the sensor circuit respectively with the touch sense Inductive switch and controller electrical connection.
Orientable infrared writing-painting of the present invention, wherein, the infrared writing-painting also includes circuit board, the control Device processed and the sensor circuit are arranged on the circuit board, and the circuit board is flexible PCB, the flexible PCB Tubular is rolled into be housed in described body, and the flexible PCB is provided with the one of the sensor circuit facing to described body Madial wall.
The invention also discloses a kind of infrared writing-painting localization method based on described infrared writing-painting, methods described is used In it is determined that the multiple infrared light outgoing mechanism outgoing infrared light reverse extending line intersection point O to intersection point O in painting and calligraphy board On theoretical incident point O1The distance between OO1, and determine intersection point O and theory incident point O1The line segment OO of determination1Vertical Tilt angle alpha in plane;
It the described method comprises the following steps:
S1:Identify one group incident point of the infrared light of the multiple infrared light outgoing mechanism outgoing on painting and calligraphy board, root An ellipse is fitted according to the one group of incident point identified;If oval major axis A B and the length difference of short axle are less than threshold value, Perform step S2, no execution goes to step S3, wherein, major axis A B length value is designated as AB, the outgoing of infrared light outgoing mechanism it is infrared The angle value of the angle between light and described body axis is designated as θ;
S2:The tilt angle alpha is judged as 0, it is described apart from OO1Equal to (AB/2) * cot θ;
S3:The barycentric coodinates of projected area of the nib on painting and calligraphy board are calculated, and the barycentric coodinates are corrected To be located on the major axis A B, and the barycentric coodinates after correction are defined as the theoretical incident point O1Coordinate;It is determined that Two nearest incident point pool side B from major axis A B incident points C and D, and after being corrected incident point C and D so as to correct The line segment CD that constitutes of incident point C and D perpendicular to major axis A B, and using the line segment CD as the orthopyramid of infrared light projection with Line segment OO1One side of vertical section regular polygon;According to the angle value θ of the angle, line segment CD length and theory Incident point O1Coordinate, calculate tilt angle alpha and described apart from OO1
Orientable infrared writing-painting localization method of the present invention, wherein, to one group of throwing in the step S3 Exit point is corrected so that the line segment CD that incident point C and D are constituted includes perpendicular to major axis A B:Keep theory incident point O1With projection The ∠ CO that point C and D is constituted1D angle value is constant, and incident point C and D are moved on ellipse, until major axis A B turns into ∠ CO1D angular bisector;
Tilt angle alpha is calculated in the step S3 and described apart from OO1Calculated according to below equation:
α=90 °-ω, ω=arcsin (PE/E O1)
OO1=OP+PO1=PE* (cot ω+cot β)
β=arctan (tan θ * cos (180 °/n))
Wherein, PE is the distance between center and side of the section regular polygon, EO1For the line segment CD and length after correction Intersection point between axle AB is to the theoretical incident point O1The distance between, n is the number of infrared light outgoing mechanism.
Implement the orientable infrared writing-painting and its localization method of the present invention, have the advantages that:The present invention's Infrared writing-painting is provided with multiple infrared light outgoing mechanisms for exiting infrared light close to described written one end in described body, Because multiple infrared light outgoing mechanisms are uniformly laid along described body peripheral outer wall, and each infrared light outgoing mechanism outgoing is red The direction of outer light and the angle all same of the axis of described body, therefore the projection point coordinates projected to according to it on painting and calligraphy board, Position the locus of the infrared writing-painting, so may determine that paintbrush gradient and nib it is sophisticated from painting and calligraphy board away from From effective simulation first stroke of a Chinese character and receipts pen.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the structural representation of infrared writing-painting of the invention;
Fig. 2 is the cross section structure diagram of the first embodiment of infrared writing-painting of the invention;
Fig. 3 is the cross section structure diagram of the second embodiment of infrared writing-painting of the invention;
Fig. 4 is the vertical infrared light projection schematic diagram stood on when above painting and calligraphy board of infrared writing-painting of the invention;
Fig. 5 is that infrared light projection schematic diagram when above painting and calligraphy board is stood in the inclination of infrared writing-painting of the invention;
Fig. 6 is the schematic diagram being corrected to line segment CD in infrared writing-painting localization method of the invention;
Fig. 7 is the portion of the locus based on the projection calculating pen body in Fig. 5 in infrared writing-painting localization method of the invention Divide one of schematic diagram;
Fig. 8 is the portion of the locus based on the projection calculating pen body in Fig. 5 in infrared writing-painting localization method of the invention Divide the two of schematic diagram.
Embodiment
In order to which technical characteristic, purpose and effect to the present invention are more clearly understood from, now compare accompanying drawing and describe in detail The embodiment of the present invention.
It is the structural representation of infrared writing-painting of the invention with reference to Fig. 1;
The orientable infrared writing-painting of the present invention, including a body 10, be contained in described body 10 inside for sending The infrared light supply component 30 of infrared light, it is arranged on the one end of a body 10 and for the infrared light that sends the infrared light supply component 30 The nib 20 of described body 10 is transferred out, a body 10 is specially hollow tubulose, and a body 10 can be by aluminum alloy material or plastics etc. Material is made.
The infrared light supply component 30 specifically includes towards the described written 20 infrared LED lamps lighted and drives this infrared The luminous controller of LED, the infrared LED lamp is electrically connected with the controller.
The rechargeable battery for being powered to the infrared LED lamp and the controller is additionally provided with described body 10 40th, for being turned on and off the touching type induction switch 60 of the infrared LED lamp and being opened for sensing the touching type induction Close 60 electric signals sent after being touched and send sensor circuit of the trigger signal to the controller, the rechargeable battery Electrically connected with the controller, the sensor circuit is electrically connected with touching type induction switch 60 and controller respectively.
Wherein, the infrared writing-painting also includes circuit board 50, and the controller and the sensor circuit are arranged at institute State on circuit board 50, the circuit board 50 is flexible PCB, the flexible PCB is rolled into tubular and is housed in described body 10 It is interior, and the flexible PCB be provided with the one of the sensor circuit facing to described body 10 madial wall.Using flexible electrical Road plate can reduce the diameter of a body 10, make it closer and real writing brush.Touching type induction switch 60 is condenser type sense Inductive switch, certain its can also be substituted with mechanical switch, and these are all within protection scope of the present invention.On infrared light supply group Part 30 coordinates the principle for realizing simulation writing to belong to prior art with nib 20, and here is omitted.
Wherein, described body 10 is provided with multiple infrared light outgoing for exiting infrared light close to described written 20 one end Mechanism 70 is with the locus of pen with means for holding it in right position body 10, and the multiple infrared light outgoing mechanism 70 is uniform along the described peripheral outer wall of body 10 Lay, and the infrared light of each outgoing of infrared light outgoing mechanism 70 in the direction towards written 20 side and described body The angle all same of 10 axis.
Because multiple infrared light outgoing mechanisms 70 are uniformly laid along described body peripheral outer wall, and each infrared light outgoing machine The direction of the infrared light of structure 70 and the angle all same of the axis of described body, therefore the projection projected to according to it on painting and calligraphy board Point coordinates, positions the locus of the infrared writing-painting, and then may determine that the gradient and nib of paintbrush are sophisticated from painting and calligraphy The distance of plate, effective simulation first stroke of a Chinese character and receipts pen.
Infrared light outgoing mechanism 70 can be the infrared light or list of the direct infrared light supply component 30 inside Only light emitting source realizes, as long as infrared light can be sent and direction is consistent.This hair is introduced respectively below in conjunction with Fig. 2 and Fig. 3 Two bright embodiments.
Embodiment one:
It is the cross section structure diagram of the first embodiment of infrared writing-painting of the invention with reference to Fig. 2;
The infrared light sent in the embodiment using the existing infrared light supply component 30 in the inside of a body 10 is positioned.Specifically , the infrared light supply component 30 is located on the central axis of described body 10, and the infrared light outgoing mechanism 70 includes running through Described side wall of body 10, unthreaded hole 701 for the infrared transmission of the infrared light supply component 30 to be gone out, each unthreaded hole The axis of 701 bearing of trend and described body 10 is in the angle all same towards written 20 side, and the angle is sharp Angle.
In the present embodiment, the infrared light that infrared light supply component 30 is sent is transmitted away from each unthreaded hole 701, due to unthreaded hole 701 height and position is all consistent with angle of inclination, so when writing-painting is vertically positioned above painting and calligraphy board, from each unthreaded hole The incident point that 701 infrared lights transmitted are projected on painting and calligraphy board constitutes each summit of regular polygon, the center of a body 10 Line to should regular polygon center, with reference to shown in Fig. 4.
It is preferred that, the infrared light outgoing mechanism 70 also includes being connected with the infrared light supply component 30, along unthreaded hole 701 Bearing of trend is fixed on the optical fiber in corresponding unthreaded hole 701, the infrared ray optical direction light extraction that the optical fiber sends infrared light supply component 30 Hole 701, to improve the accuracy of light launch angle.
Wherein, described written 20 include end beam many optical fiberses in described body 10, and many leaded lights Converge together so that written 20 exterior contour is tapered the one end of fiber away from described body 10.
Embodiment two:
It is the cross section structure diagram of the second embodiment of infrared writing-painting of the invention with reference to Fig. 3;
The infrared light outgoing mechanism 70 includes:The mounting hole 702 that is opened on the described side wall of body 10 and it is fixed on pair The infrared LED lamp in mounting hole 702 answered.Opening up for mounting hole 702 is not limited, as long as fixed infrared LED lamp can be provided Locus.It is, of course, understood that directly infrared LED lamp can also be fixed on the outer wall of a body 10, as long as It can guarantee that the uniform same angle of infrared light is level to send.
In the present embodiment, it is contemplated that the circuit of infrared LED lamp is set, mounting hole 702 is specially to extend radially through this body 10 The section of side wall is square through hole, and infrared LED lamp can be fixed on through hole upper wall or bottom wall, by fixing infrared LED The light angle of lamp so that the exit direction of its infrared light is consistent.
It should be clear that, the quantity of the infrared light outgoing mechanism 70 in the present invention is not limited, as long as can to throw The incident point composition regular polygon of shadow.It is below that the positioning that the present invention is introduced by taking 6 infrared light outgoing mechanisms 70 as an example is former Reason.
Fig. 5 is that infrared light projection schematic diagram when above painting and calligraphy board is stood in the inclination of infrared writing-painting of the invention;Tie below Fig. 4 and Fig. 5 is closed, the infrared writing-painting localization method based on described infrared writing-painting is illustrated, methods described is described for determining Theories of the intersection point O of the reverse extending line of the infrared light of multiple outgoing of infrared light outgoing mechanism 70 to intersection point O on painting and calligraphy board Incident point O1The distance between OO1, and intersection point O and theory incident point O1The line segment OO of determination1Inclination in perpendicular Angle [alpha];
It the described method comprises the following steps:
S1:Gather a two field picture of writing-painting running orbit on painting and calligraphy board;The many of writing-painting are identified from the image One group incident point of the infrared light of the individual outgoing of infrared light outgoing mechanism 70 on painting and calligraphy board, according to the one group of incident point identified Be fitted an ellipse, if oval major axis A B and the length difference of short axle be less than threshold value (threshold value be one close to 0 numerical value), Then handled the ellipse as circle, go to step S2, otherwise, handled according to oval scheme, go to step S3;Wherein, major axis A B Length value is designated as AB, and the angle value of the infrared light of the outgoing of infrared light outgoing mechanism 70 and the angle of the described axis of body 10 is remembered For θ;
S2:The tilt angle alpha is judged as 0, i.e., now writing-painting is to stand on vertically above painting and calligraphy board, the distance OO1Equal to (AB/2) * cot θ;
S3:The center of gravity for calculating written 20 projected area on painting and calligraphy board using general image reform algorithm is sat Mark, and the barycentric coodinates are corrected to be located on the major axis A B to (this algorithm and trimming process is geometric graphs As the common method in processing, it is not detailed herein), and the barycentric coodinates after correction are defined as the theoretical incident point O1's Coordinate;It is determined that two the incident point Cs and D nearest from the incident point pool side B of major axis, and one group of incident point is corrected So that the line segment CD that the incident point C and D after correction are constituted is thrown perpendicular to major axis A B, and using the line segment CD as the infrared light The orthopyramid penetrated with line segment OO1One side of vertical section regular polygon;According to the angle value θ of the angle, line segment CD Length and theory incident point O1Coordinate, calculate tilt angle alpha and described apart from OO1
Wherein, with reference to Fig. 6, the incident point C so that after correcting is corrected to one group of incident point in the step S3 Include with the D line segment CD constituted perpendicular to major axis A B:Keep theory incident point O1The ∠ CO constituted with incident point C and D1D angle Value is constant, and incident point C and D are moved on ellipse, until major axis A B turns into ∠ CO1With C ' tables in D angular bisector, figure Show postrotational incident point C, D ' represents postrotational incident point D, due to C ' and D ' it is not real subpoint, now have near Like error, this error can increase and reduce with the number of the infrared light outgoing mechanism 70 on beginning to write.
Tilt angle alpha is calculated with reference to Fig. 7, in the step S3 and described apart from OO1Calculated according to below equation:
α=90 °-ω, ω=arcsin (PE/EO1)
OO1=OP+PO1=PE* (cot ω+cot β)
β=arctan (tan θ * cos (180 °/n))
Wherein, PE is the distance between center and side of the section regular polygon, because the side number of section regular polygon It is determined that, and the length of side is line segment CD length, is also to obtain, so PE can also be obtained by calculating.EO1After correction Line segment CD and major axis A B between intersection point to the theoretical incident point O1The distance between, n is infrared light outgoing mechanism (70) Number, α calculating can come out, no longer be described in detail herein in direct derivation from Fig. 7, below with 6 infrared light outgoing mechanisms 70 Exemplified by, illustrate OO1Derivation:
With reference to Fig. 5, with reference to Fig. 7, Fig. 8, ∠ DOP are equal to θ in Fig. 8, and OP is perpendicular to PD, and PD=OP*tan θ, section is positive six Side shape, so the vertical CD of ∠ DPC=60 °, ∠ DPE=30 °, PE, PE=PD*cos30 °, ∠ EOO1=∠ EOP=arctan (PE/OP)=arctan (PD*cos30 °/OP)=arctan (OP*tan θ * cos30 °/OP)=arctan (tan θ * cos30 °)
So in step S3:
OO1=OP+PO1=PE* (cot ω+cot β)
β=∠ EOO1=arctan (tan θ * cos30 °)
In summary, that described written one end is provided with multiple outgoing in described body is red for infrared writing-painting of the invention The infrared light outgoing mechanism of outer light, because multiple infrared light outgoing mechanisms are uniformly laid along described body peripheral outer wall, and each The direction of the infrared light of infrared light outgoing mechanism outgoing and the angle all same of the axis of described body, therefore projected to according to it Projection point coordinates on painting and calligraphy board, positions the locus of the infrared writing-painting, so may determine that paintbrush gradient and Written tip from painting and calligraphy board with a distance from, effective simulation first stroke of a Chinese character and receive pen.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (9)

1. a kind of orientable infrared writing-painting, including a body (10), be contained in described body (10) it is internal be used for send red The infrared light supply component (30) of outer light, be arranged on a body (10) one end and for by the infrared light supply component (30) send it is red Outer light transfers out the nib (20) of described body (10), it is characterised in that described body (10) is close to described written (20) one end Multiple infrared light outgoing mechanisms (70) for exiting infrared light are provided with to position the locus of the infrared writing-painting, should Multiple infrared light outgoing mechanisms (70) are uniformly laid along described body (10) peripheral outer wall, and each infrared light outgoing mechanism (70) The infrared light of outgoing in the direction towards described written (20) side and the angle all same of the axis of described body (10), and The angle is acute angle;
The infrared writing-painting can determine the infrared of the multiple infrared light outgoing mechanism (70) outgoing by following steps S1-S3 Theoretical incident point Os of the intersection point O of the reverse extending line of light to intersection point O on painting and calligraphy board1The distance between OO1, and determine to be somebody's turn to do Intersection point O and theory incident point O1The line segment OO of determination1Tilt angle alpha in perpendicular:
S1:Identify one group incident point of the infrared light of the multiple infrared light outgoing mechanism (70) outgoing on painting and calligraphy board, root An ellipse is fitted according to the one group of incident point identified;If oval major axis A B and the length difference of short axle are less than threshold value, Step S2 is performed, no execution goes to step S3, wherein, major axis A B length value is designated as AB, infrared light outgoing mechanism (70) outgoing The angle value of the angle between infrared light and described body (10) axis is designated as θ;
S2:The tilt angle alpha is judged as 0, it is described apart from OO1Equal to (AB/2) * cot θ;
S3:The barycentric coodinates of the projected area of written (20) on painting and calligraphy board are calculated, and the barycentric coodinates are corrected To be located on the major axis A B, and the barycentric coodinates after correction are defined as the theoretical incident point O1Coordinate;It is determined that Two nearest incident point pool side B from major axis A B incident points C and D, and after being corrected incident point C and D so as to correct The line segment CD that constitutes of incident point C and D perpendicular to major axis A B, and be used as using the line segment CD orthopyramid and line of infrared light projection Section OO1One side of vertical section regular polygon;According to the angle value θ of the angle, line segment CD length and theoretical throwing Exit point O1Coordinate, calculate tilt angle alpha and described apart from OO1
Wherein, one group of incident point is corrected in the step S3 so that the line segment that incident point C and D after correcting are constituted CD includes perpendicular to major axis A B:Keep theory incident point O1The ∠ CO constituted with incident point C and D1D angle value is constant, will project Point C and D are moved on ellipse, until major axis A B turns into ∠ CO1D angular bisector;
Tilt angle alpha is calculated in the step S3 and described apart from OO1Calculated according to below equation:
α=90 °-arcsin (PE/EO1)
OO1=PE* (cot ω+cot (arctan (tan θ * cos (180 °/n))))
Wherein, PE is the distance between center and side of the section regular polygon, EO1For the line segment CD after correction and major axis A B Between intersection point to the theoretical incident point O1The distance between, n is the number of infrared light outgoing mechanism (70).
2. orientable infrared writing-painting according to claim 1, it is characterised in that infrared light supply component (30) position In on the central axis of described body (10), the infrared light outgoing mechanism (70) include it is through described body (10) side wall, For the unthreaded hole (701) that the infrared transmission of the infrared light supply component (30) is gone out, the bearing of trend of each unthreaded hole (701) Axis with described body (10) is in the angle all same towards described written (20) side, and the angle is acute angle.
3. orientable infrared writing-painting according to claim 2, it is characterised in that the infrared light outgoing mechanism (70) Also include being fixed in corresponding unthreaded hole (701) with the infrared light supply component (30) connection, along the bearing of trend of unthreaded hole (701) Optical fiber.
4. orientable infrared writing-painting according to claim 1, it is characterised in that the infrared light outgoing mechanism (70) Including:The mounting hole (702) that is opened on described body (10) side wall and it is fixed on infrared in corresponding mounting hole (702) LED.
5. orientable infrared writing-painting according to claim 1, it is characterised in that the nib (20) includes end beam The many optical fiberses in described body (10), and one end convergence one of many optical fiberses away from described body (10) Rise so that the exterior contour of the nib (20) is tapered.
6. orientable infrared writing-painting according to claim 1, it is characterised in that infrared light supply component (30) bag Include towards described written (20) luminous infrared LED lamp and drive the luminous controller of the infrared LED lamp, described body (10) Inside be additionally provided with the rechargeable battery (40) for being powered to the infrared LED lamp and the controller, the infrared LED lamp and Rechargeable battery is electrically connected with the controller respectively.
7. orientable infrared writing-painting according to claim 6, it is characterised in that the infrared writing-painting also includes using (60) are switched in the touching type induction for being turned on and off the infrared LED lamp and for sensing the touching type induction switch (60) electric signal that is sent after being touched simultaneously sends sensor circuit of the trigger signal to the controller, the induced electricity Road is electrically connected with touching type induction switch (60) and controller respectively.
8. orientable infrared writing-painting according to claim 7, it is characterised in that the infrared writing-painting also includes electricity Road plate (50), the controller and the sensor circuit are arranged on the circuit board (50), and the circuit board (50) is soft Property circuit board, the flexible PCB is rolled into tubular and is housed in described body (10), and the flexible PCB is set State the one of sensor circuit facing to described body (10) madial wall.
9. a kind of infrared writing-painting localization method of the infrared writing-painting based on described in claim 1, it is characterised in that the side Method is used for the intersection point O to intersection point O for determining the reverse extending line of the infrared light of the multiple infrared light outgoing mechanism (70) outgoing Theoretical incident point O on painting and calligraphy board1The distance between OO1, and determine intersection point O and theory incident point O1The line segment of determination OO1Tilt angle alpha in perpendicular;
It the described method comprises the following steps:
S1:Identify one group incident point of the infrared light of the multiple infrared light outgoing mechanism (70) outgoing on painting and calligraphy board, root An ellipse is fitted according to the one group of incident point identified;If oval major axis A B and the length difference of short axle are less than threshold value, Step S2 is performed, no execution goes to step S3, wherein, major axis A B length value is designated as AB, infrared light outgoing mechanism (70) outgoing The angle value of the angle between infrared light and described body (10) axis is designated as θ;
S2:The tilt angle alpha is judged as 0, it is described apart from OO1Equal to (AB/2) * cot θ;
S3:The barycentric coodinates of the projected area of written (20) on painting and calligraphy board are calculated, and the barycentric coodinates are corrected To be located on the major axis A B, and the barycentric coodinates after correction are defined as the theoretical incident point O1Coordinate;It is determined that Two nearest incident point pool side B from major axis A B incident points C and D, and after being corrected incident point C and D so as to correct The line segment CD that constitutes of incident point C and D perpendicular to major axis A B, and be used as using the line segment CD orthopyramid and line of infrared light projection Section OO1One side of vertical section regular polygon;According to the angle value θ of the angle, line segment CD length and theoretical throwing Exit point O1Coordinate, calculate tilt angle alpha and described apart from OO1
Wherein, one group of incident point is corrected in the step S3 so that the line segment that incident point C and D after correcting are constituted CD includes perpendicular to major axis A B:Keep theory incident point O1The ∠ CO constituted with incident point C and D1D angle value is constant, will project Point C and D are moved on ellipse, until major axis A B turns into ∠ CO1D angular bisector;
Tilt angle alpha is calculated in the step S3 and described apart from OO1Calculated according to below equation:
α=90 °-arcsin (PE/EO1)
OO1=PE* (cot ω+cot (arctan (tan θ * cos (180 °/n))))
Wherein, PE is the distance between center and side of the section regular polygon, EO1For the line segment CD after correction and major axis A B Between intersection point to the theoretical incident point O1The distance between, n is the number of infrared light outgoing mechanism (70).
CN201510090190.5A 2015-02-27 2015-02-27 A kind of orientable infrared writing-painting and its localization method Active CN104635960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510090190.5A CN104635960B (en) 2015-02-27 2015-02-27 A kind of orientable infrared writing-painting and its localization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510090190.5A CN104635960B (en) 2015-02-27 2015-02-27 A kind of orientable infrared writing-painting and its localization method

Publications (2)

Publication Number Publication Date
CN104635960A CN104635960A (en) 2015-05-20
CN104635960B true CN104635960B (en) 2017-10-13

Family

ID=53214806

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510090190.5A Active CN104635960B (en) 2015-02-27 2015-02-27 A kind of orientable infrared writing-painting and its localization method

Country Status (1)

Country Link
CN (1) CN104635960B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107390898B (en) * 2016-03-08 2020-10-30 禾瑞亚科技股份有限公司 Touch control pen providing inclination angle and pen body axial direction and control method thereof
CN106249921A (en) * 2016-08-04 2016-12-21 捷开通讯科技(上海)有限公司 The control system of pointer and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615092A (en) * 2009-08-11 2009-12-30 北京大业嘉成科技有限公司 Electronic brush pen and identification code positioning touch screen
CN102004564A (en) * 2010-11-05 2011-04-06 鸿富锦精密工业(深圳)有限公司 Optical pen
CN103576919A (en) * 2012-07-31 2014-02-12 黑莓有限公司 Apparatus and method pertaining to a stylus that emits a plurality of infrared beams
CN203573276U (en) * 2013-11-28 2014-04-30 深圳市掌网立体时代视讯技术有限公司 Pen point-replaceable infrared calligraphic and painting pen
CN203592824U (en) * 2013-11-20 2014-05-14 深圳市掌网立体时代视讯技术有限公司 Infrared drawing pen
WO2014175779A2 (en) * 2013-04-24 2014-10-30 Общество С Ограниченной Ответственностью "Лаборатория Эландис" Non-contact control method using a polarizing pen, and system for the implementation thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9285899B2 (en) * 2009-02-17 2016-03-15 Pnf Co., Ltd. Data entry device utilizing writing implement rotation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615092A (en) * 2009-08-11 2009-12-30 北京大业嘉成科技有限公司 Electronic brush pen and identification code positioning touch screen
CN102004564A (en) * 2010-11-05 2011-04-06 鸿富锦精密工业(深圳)有限公司 Optical pen
CN103576919A (en) * 2012-07-31 2014-02-12 黑莓有限公司 Apparatus and method pertaining to a stylus that emits a plurality of infrared beams
WO2014175779A2 (en) * 2013-04-24 2014-10-30 Общество С Ограниченной Ответственностью "Лаборатория Эландис" Non-contact control method using a polarizing pen, and system for the implementation thereof
CN203592824U (en) * 2013-11-20 2014-05-14 深圳市掌网立体时代视讯技术有限公司 Infrared drawing pen
CN203573276U (en) * 2013-11-28 2014-04-30 深圳市掌网立体时代视讯技术有限公司 Pen point-replaceable infrared calligraphic and painting pen

Also Published As

Publication number Publication date
CN104635960A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN103649862B (en) Self-propelled floor cleaning apparatus
CN104635960B (en) A kind of orientable infrared writing-painting and its localization method
CN105737820A (en) Positioning and navigation method for indoor robot
CN102572347B (en) Direction apparatus for correcting, projection emission device, projected image correction system and projection image correcting method
CN1864126A (en) A pen-type mouse apparatus
CN103240747A (en) Intelligent magic cube solving robot and man-machine interaction system comprising same
CN209174850U (en) The device of big packet collector nozzle is positioned using machine vision
CN106933225A (en) Automatic following system
CN206175302U (en) Human body induction control ceiling fan
CN108758576A (en) A kind of intelligent lighting following control system
CN204307334U (en) A kind of racking device and billiard table automatically
CN107037807A (en) Self-movement robot pose calibration system and method
CN106725272A (en) Automatic scanning method of the capsule endoscope in biological cavities
CN204496105U (en) Folding desk lamp magnifier
CN105469089B (en) A kind of many people light gun localization method and device
CN206604154U (en) A kind of adjustable table tennis practising device of levelness
CN105757419A (en) Novel automatic projector rack
WO2016043460A1 (en) Guide display device for golf
CN207769191U (en) A kind of light sensation toy car
CN211532335U (en) Automatic laser cat teasing device
CN210924286U (en) Spherical unmanned aerial vehicle system supporting realization of multi-mode control
CN203151836U (en) Ceiling light control device
CN210009613U (en) Billiard training device
CN206192356U (en) Automatic lifting formula laser collimator
CN105457263B (en) Billiard ball aiming aid material

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 518000 Beek science and technology building, room, No. 9 research road, Nanshan District high tech Zone, Guangdong, China, 1501-B

Applicant after: INLIFE-HANDNET CO., LTD.

Address before: 518054 room 1501-B, Beek science and technology building, No. 9 research road, Nanshan District hi tech Zone, Shenzhen, Guangdong, China

Applicant before: Inlife-handnet Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant