[go: up one dir, main page]

CN108667462A - Position encoded coding/decoding method and device - Google Patents

Position encoded coding/decoding method and device Download PDF

Info

Publication number
CN108667462A
CN108667462A CN201710215046.9A CN201710215046A CN108667462A CN 108667462 A CN108667462 A CN 108667462A CN 201710215046 A CN201710215046 A CN 201710215046A CN 108667462 A CN108667462 A CN 108667462A
Authority
CN
China
Prior art keywords
position encoded
unit
code
information
coding
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.)
Pending
Application number
CN201710215046.9A
Other languages
Chinese (zh)
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.)
Tian Xuesong
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710215046.9A priority Critical patent/CN108667462A/en
Publication of CN108667462A publication Critical patent/CN108667462A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/02Conversion to or from weighted codes, i.e. the weight given to a digit depending on the position of the digit within the block or code word
    • H03M7/04Conversion to or from weighted codes, i.e. the weight given to a digit depending on the position of the digit within the block or code word the radix thereof being two

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The present embodiments relate to a kind of position encoded coding/decoding method and device, method includes:Position encoded image is obtained on position encoded substrate;Extract position encoded characteristic information;It is position encoded imparting numerical characteristic value according to characteristic information, obtains position encoded numerical characteristic sequence;Position encoded location information is determined according to numerical characteristic sequence;Position encoded corresponding data are decoded according to location information, to obtain the corresponding visualization file of data.

Description

Position encoded coding/decoding method and device
Technical field
The present invention relates to technical field of information processing more particularly to a kind of position encoded coding/decoding methods and device.
Background technology
With the rapid development of information technology, people are increasingly commonly produced, are handled, exchanged and propagated using computer Various forms of information.Information technology gradually changes the traditional living habit of people.Traditional utilizes paper and pen into running hand The mode write can not carry out information process-, therefore cannot be satisfied the needs of people.
In the prior art, certain type of information is embedded in such as paper page, board or equivalent using coding pattern Substrate in.For example, can be the human-readable embedded machine for extending substrate function of graphical information supplement in substrate Readable information.This embedding information may include for graphical information, order, supplemental text or image, hyperlink, absolute position Deng the file data completely or partially rebuild.It then, can using the scanner of programming, facsimile machine, camera or digital pen With reading, rebuild and using the local information being embedded into substrate.However when being read out and decoding to information, it is easy out The problem of existing None- identified or identification inaccuracy, affects the output of coding corresponding data.Therefore, how to embedding information into Row efficiently and accurately decodes, to which the corresponding data of exports coding become problem to be solved.
Invention content
The object of the present invention is to provide a kind of position encoded coding/decoding methods and device, to solve in the prior art to information When being read out and decoding, it is susceptible to None- identified or identification is inaccurate, the problem of influencing to encode the output of corresponding data.
To achieve the above object, on the one hand, the present invention provides a kind of position encoded coding/decoding method, the method packets It includes:
First terminal obtains position encoded image on position encoded substrate;
Extract the position encoded characteristic information;
It is the position encoded imparting numerical characteristic value according to the characteristic information, it is special obtains the position encoded number Levy sequence;
The position encoded location information is determined according to the numerical characteristic sequence;
The position encoded corresponding data are decoded according to the positional information, are corresponded to obtain the data Visualization file.
Further, it is described it is position encoded specifically include dot code, the extraction position encoded characteristic information It specifically includes:
Extract the angle information that adjacent dot code line is formed with reference axis.
Further, the method further includes:
The multiple code units being made of dot are obtained, the code unit includes multigroup adjacent dot code line The position encoded unit that midpoint line limits.
Further, the method further includes:
Detect the rotation angle of the code unit;
Correction angle is generated according to the rotation angle;
Processing is corrected to the code unit according to the correction angle.
On the other hand, the present invention provides a kind of position encoded decoding apparatus, described device includes:
First acquisition unit, for obtaining position encoded image on position encoded substrate;
Extraction unit, for extracting the position encoded characteristic information;
Assignment unit obtains institute's rheme for being the position encoded imparting numerical characteristic value according to the characteristic information Set the numerical characteristic sequence of coding;
Second acquisition unit, for according to location information position encoded described in the numerical characteristic retrieval;
Decoding unit, for being decoded according to the positional information to the position encoded corresponding data, to To the corresponding visualization file of the data.
Further, it is described it is position encoded specifically include dot code, the extraction unit is specifically used for:
Extract the angle information that adjacent dot code line is formed with reference axis.
Further, described device further includes third acquiring unit, for obtaining the multiple code units being made of dot, The code unit includes the position encoded unit that the midpoint line of multigroup adjacent dot code line limits.
Further, described device further includes correction unit, the rotation angle for detecting the code unit;
Correction angle is generated according to the rotation angle;
Processing is corrected to the code unit according to the correction angle.
Position encoded coding/decoding method and device provided in an embodiment of the present invention, obtain on position encoded substrate Position encoded image;Extract position encoded characteristic information;It is position encoded imparting numerical characteristic value according to characteristic information, obtains Position encoded numerical characteristic sequence;Position encoded location information is determined according to numerical characteristic sequence;According to location information pair Position encoded corresponding data are decoded, to obtain the corresponding visualization file of data.Position provided in an embodiment of the present invention The coding/decoding method and device of coding are set, decoding accuracy rate is high, is easy to implement the output of coding corresponding data.
Description of the drawings
Fig. 1 is the flow chart of position encoded coding/decoding method provided in an embodiment of the present invention;
Fig. 2 is dot matrix coding schematic diagram provided in an embodiment of the present invention;
Fig. 3 is dot matrix coding schematic diagram provided in an embodiment of the present invention;
Fig. 4 is code unit schematic diagram provided in an embodiment of the present invention;
Fig. 5 is the rotation angle schematic diagram of code unit provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of position encoded decoding apparatus provided in an embodiment of the present invention.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart of position encoded coding/decoding method provided in an embodiment of the present invention.As described in Figure, the present embodiment carries The method of confession includes:
Step 101, first terminal obtains position encoded image on position encoded substrate.
Wherein, first terminal can be specifically to have the identification equipment of Image Acquisition and processing function, such as digital pen.Number The pen tip of code pen moves on position encoded substrate, the image capture module tracking acquisition written handwriting warp in digital pen Processor is sent to after the position encoded image crossed to be handled.
Substrate specifically includes writing paper, blank, electronic display etc..In substrate have it is position encoded, first terminal is in base Input data while the reading position coding of ground, is decoded input data by reading position coding.
First terminal can also be the terminal device with processing function, for example, desktop computer, laptop, tablet Computer, smart mobile phone etc..In the present embodiment, if first terminal does not have for computer etc. directly tracks acquisition position in substrate When the equipment of the function of coded image, need to obtain position encoded image by identification equipments such as digital pens, and be converted to number Signal is handled for computer.
Step 102, the position encoded characteristic information is extracted.
Optionally, position encoded to specifically include dot code, it extracts position encoded characteristic information and specifically includes:Extract phase The angle information that adjacent dot code line is formed with reference axis.
In a specific embodiment, as shown in figure 3, the angle that four groups of dot codes and x-axis positive axis are formed is made It is characterized information, respectively:Pi/2,0, π/4,3 π/4.
It should be noted that this step can also be according to the angle information that origin code line and y-axis are formed as feature Information, or relevant mathematical model is established, position encoded characteristic information is extracted according to other directional informations.
Step 103, it is the position encoded imparting numerical characteristic value according to the characteristic information, obtains described position encoded Numerical characteristic sequence.
It is that position encoded imparting number is special according to characteristic information specifically, analyzing position encoded characteristic information Value indicative obtains numerical characteristic sequence for read whole is position encoded, and each element in numerical characteristic sequence is a pair The numerical characteristic value of adjacent origin code.
Such as the example in step 102, it is respectively for such as the characteristic information in Fig. 3:Pi/2, four groups of dots of 0, π/4,3 π/4 Code assigns numerical characteristic value:00、01、10、11.
Can be respectively that eight groups of dot codes in Fig. 4 such as assign numerical characteristic value in another specific embodiment: 000、001、010、011、100、101、110、111。
It should be noted that being that position encoded imparting numerical characteristic value namely will be position encoded corresponding defeated in this step It is corresponding numerical characteristic value to enter digital independent.It can also be with it other than assigning the mode of numerical characteristic value in example above His mode assigns digital special increment, it is therefore an objective to handle the position encoded Serial No. that is converted to.
Step 104, the position encoded location information is determined according to the numerical characteristic sequence.
The position encoded and numerical characteristic sequence of the different zones of the different pages is established into correspondence, reading position in advance It can be according to numerical characteristic sequence queries to corresponding location information when coding.Location information can be the specific of the specific page Region.
Step 105, the position encoded corresponding data are decoded according to the positional information, it is described to obtain The corresponding visualization file of data.
After determining position encoded location information according to numerical characteristic sequence, it can be exported when reading position encodes pair The visualization file answered carries out output and shows.
Wherein, visualization file includes:Text, picture, video and audio file etc..
In addition, technical solution of the present invention further includes:The multiple code units being made of dot are obtained, code unit includes more The position encoded unit that the midpoint line of the adjacent dot code line of group limits.
As shown in figure 4, dot code midpoint C1, C2, C3, C4 line Lx1, Lx2, Ly1, Ly2 define a code list First D.Can be using code unit D as a reading unit, or using multiple code unit D as a reading unit, work as reading When getting the unit, the corresponding text of the unit, picture, video and audio file etc. are exported.
Technical solution of the present invention further includes the steps that correction:Detect the rotation angle of code unit;It is given birth to according to rotation angle At correction angle;Processing is corrected to code unit according to correction angle.
When substrate is not at horizontally or vertically position, the code unit of position encoded formation will produce a rotation angle Degree reads code and will produce decoding inaccurate problem when decoding corresponding data, it is therefore desirable to it is laggard to be corrected processing Row decoding.
As shown in figure 5, reference line is the straight line of horizontal direction, the angle theta of reference line and straight line Lx1 are code unit Rotation angle, the angle by detecting straight line Lx1 is able to detect that the rotation angle of code unit, according to rotation angle to generation Code unit is corrected, to realize accurate decoding.
Position encoded coding/decoding method provided in an embodiment of the present invention is compiled with acquisition position in position encoded substrate Code image;Extract position encoded characteristic information;It is position encoded imparting numerical characteristic value according to characteristic information, obtains position volume The numerical characteristic sequence of code;Position encoded location information is determined according to numerical characteristic sequence;Position is compiled according to location information The corresponding data of code are decoded, to obtain the corresponding visualization file of data.It is provided in an embodiment of the present invention position encoded Coding/decoding method, decoding accuracy rate is high, is easy to implement the output of coding corresponding data.
Fig. 6 is the schematic diagram of position encoded decoding apparatus provided in an embodiment of the present invention.As shown, device includes: First acquisition unit 1, extraction unit 2, assignment unit 3, second acquisition unit 4, decoding unit 5.
First acquisition unit 1 obtains position encoded image for first terminal on position encoded substrate;
Extraction unit 2, for extracting the position encoded characteristic information;
Assignment unit 3 obtains institute's rheme for being the position encoded imparting numerical characteristic value according to the characteristic information Set the numerical characteristic sequence of coding;
Second acquisition unit 4, for according to location information position encoded described in the numerical characteristic retrieval;
Decoding unit 5, for being decoded according to the positional information to the position encoded corresponding data, to To the corresponding visualization file of the data.
Optionally, position encoded to specifically include dot code, extraction unit 2 is specifically used for:
Extract the angle information that adjacent dot code line is formed with reference axis.
Optionally, device further includes third acquiring unit, for obtaining the multiple code units being made of dot, code list Member includes the position encoded unit that the midpoint line of multigroup adjacent dot code line limits.
Optionally, device further includes correction unit, the rotation angle for detecting the code unit;According to the rotation Angle generates correction angle;Processing is corrected to the code unit according to the correction angle.
The specific work process of each unit of position encoded decoding apparatus provided in an embodiment of the present invention and preceding rheme The coding/decoding method embodiment for setting coding corresponds, and has been carried out and elaborates in preceding method embodiment, no longer superfluous herein It states.
Position encoded decoding apparatus provided in an embodiment of the present invention is compiled with acquisition position in position encoded substrate Code image;Extract position encoded characteristic information;It is position encoded imparting numerical characteristic value according to characteristic information, obtains position volume The numerical characteristic sequence of code;Position encoded location information is determined according to numerical characteristic sequence;Position is compiled according to location information The corresponding data of code are decoded, to obtain the corresponding visualization file of data.It is provided in an embodiment of the present invention position encoded Decoding apparatus, decoding accuracy rate is high, is easy to implement the output of coding corresponding data.
Professional should further appreciate that, described in conjunction with the examples disclosed in the embodiments of the present disclosure Unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, hard in order to clearly demonstrate The interchangeability of part and software generally describes each exemplary composition and step according to function in the above description. These functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution. Professional technician can use different methods to achieve the described function each specific application, but this realization It should not be considered as beyond the scope of the present invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can use hardware, processor to execute The combination of software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage substrate well known to interior.
Above-described specific implementation mode has carried out further the purpose of the present invention, technical solution and advantageous effect It is described in detail, it should be understood that the foregoing is merely the specific implementation mode of the present invention, is not intended to limit the present invention Protection domain, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include Within protection scope of the present invention.

Claims (8)

1. a kind of position encoded coding/decoding method, which is characterized in that the method includes:
First terminal obtains position encoded image on position encoded substrate;
Extract the position encoded characteristic information;
It is the position encoded imparting numerical characteristic value according to the characteristic information, obtains the position encoded numerical characteristic sequence Row;
The position encoded location information is determined according to the numerical characteristic sequence;
The position encoded corresponding data are decoded according to the positional information, it can to obtain that the data are corresponding Depending on changing file.
2. position encoded coding/decoding method according to claim 1, which is characterized in that described position encoded to specifically include circle Point code, the extraction position encoded characteristic information specifically include:
Extract the angle information that adjacent dot code line is formed with reference axis.
3. position encoded coding/decoding method according to claim 2, which is characterized in that the method further includes:
The multiple code units being made of dot are obtained, the code unit includes the midpoint of multigroup adjacent dot code line The position encoded unit that line limits.
4. position encoded coding/decoding method according to claim 3, which is characterized in that the method further includes:
Detect the rotation angle of the code unit;
Correction angle is generated according to the rotation angle;
Processing is corrected to the code unit according to the correction angle.
5. a kind of position encoded decoding apparatus, which is characterized in that described device includes:
First acquisition unit, for obtaining position encoded image on position encoded substrate;
Extraction unit, for extracting the position encoded characteristic information;
Assignment unit obtains the position and compiles for being the position encoded imparting numerical characteristic value according to the characteristic information The numerical characteristic sequence of code;
Second acquisition unit, for according to location information position encoded described in the numerical characteristic retrieval;
Decoding unit, for being decoded according to the positional information to the position encoded corresponding data, to obtain State the corresponding visualization file of data.
6. position encoded decoding apparatus according to claim 5, which is characterized in that described position encoded to specifically include circle Point code, the extraction unit are specifically used for:
Extract the angle information that adjacent dot code line is formed with reference axis.
7. position encoded decoding apparatus according to claim 6, which is characterized in that described device further includes that third obtains Unit, for obtaining the multiple code units being made of dot, the code unit includes multigroup adjacent dot code line The position encoded unit that limits of midpoint line.
8. position encoded decoding apparatus according to claim 7, which is characterized in that described device further includes that correction is single Member, the rotation angle for detecting the code unit;
Correction angle is generated according to the rotation angle;
Processing is corrected to the code unit according to the correction angle.
CN201710215046.9A 2017-04-02 2017-04-02 Position encoded coding/decoding method and device Pending CN108667462A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710215046.9A CN108667462A (en) 2017-04-02 2017-04-02 Position encoded coding/decoding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710215046.9A CN108667462A (en) 2017-04-02 2017-04-02 Position encoded coding/decoding method and device

Publications (1)

Publication Number Publication Date
CN108667462A true CN108667462A (en) 2018-10-16

Family

ID=63784899

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710215046.9A Pending CN108667462A (en) 2017-04-02 2017-04-02 Position encoded coding/decoding method and device

Country Status (1)

Country Link
CN (1) CN108667462A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1418339A (en) * 2000-03-21 2003-05-14 阿诺托股份公司 Dato input arrangement
US6663008B1 (en) * 1999-10-01 2003-12-16 Anoto Ab Coding pattern and apparatus and method for determining a value of at least one mark of a coding pattern
US20040096002A1 (en) * 2002-11-14 2004-05-20 Opentv, Inc. Positioning of images in a data stream
US7865043B2 (en) * 2003-12-16 2011-01-04 Anoto Ab Method, apparatus, computer program and storage medium for recording a movement of a user unit
CN102612699A (en) * 2009-10-22 2012-07-25 张孝善 Method for reading code displayed on printed materials
CN103026321A (en) * 2010-07-23 2013-04-03 阿诺托股份公司 Display with coding pattern

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6663008B1 (en) * 1999-10-01 2003-12-16 Anoto Ab Coding pattern and apparatus and method for determining a value of at least one mark of a coding pattern
CN1418339A (en) * 2000-03-21 2003-05-14 阿诺托股份公司 Dato input arrangement
US20040096002A1 (en) * 2002-11-14 2004-05-20 Opentv, Inc. Positioning of images in a data stream
US7865043B2 (en) * 2003-12-16 2011-01-04 Anoto Ab Method, apparatus, computer program and storage medium for recording a movement of a user unit
CN102612699A (en) * 2009-10-22 2012-07-25 张孝善 Method for reading code displayed on printed materials
CN103026321A (en) * 2010-07-23 2013-04-03 阿诺托股份公司 Display with coding pattern

Similar Documents

Publication Publication Date Title
US12046060B2 (en) Ink file searching method, apparatus, and program
CA2613046C (en) Dot pattern
CN108334922B (en) Dot matrix two-dimensional code and encoding and identifying method thereof
JP6623465B2 (en) Dot pattern
JP2009295134A (en) Two-dimensional code, decoder and method thereof
CN105677777B (en) Dot matrix encodes document generating method
WO2012037721A1 (en) Handwritten character font library
KR100905705B1 (en) Computer-readable recording media recording methods, systems and programs for providing electronic notebook services using digital pens and digital papers
CN101609372B (en) Two-dimensional point code, its decoding device and method
CN110490157A (en) Text appraisal procedure, character learning method, device, equipment and storage medium
CN102612699B (en) Method for reading code displayed on printed materials
CN208834516U (en) A kind of point-of-reading system convenient to use
CN106548499B (en) Method and device for generating and identifying coding pattern
CN102541393A (en) Handwritten text editing method
CN103729634A (en) Character recognition apparatus and character recognition method
CN108667462A (en) Position encoded coding/decoding method and device
CN108664869A (en) Dot matrix identifying system
CN109284802A (en) A kind of processing method and device of graphics coding
CN113688648B (en) Identification code encoding method
WO2019024628A1 (en) Method for generating two-dimensional code of stamp and stamp with two-dimensional code
KR20080084394A (en) Method and apparatus for providing digitizer function using digital paper and digital pen
CN115565188A (en) Point writing pen and writing track recording method and system applying same
CN109978963A (en) Substrate, code recognition method and device based on substrate
CN111105478B (en) Handwriting processing method, device, equipment and computer-readable storage medium
CN108664867A (en) The processing method and processing unit of coding pattern in a kind of substrate and substrate

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
TA01 Transfer of patent application right

Effective date of registration: 20200731

Address after: No.1108, 11th floor, Gaode building, No.10 Huayuan East Road, Haidian District, Beijing 100083

Applicant after: BEIJING TSTUDY TECHNOLOGY Co.,Ltd.

Address before: 100098, No. 2, building 18, North Third Ring Road, Haidian District, Beijing, 803-3

Applicant before: Tian Xuesong

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20211022

Address after: Room 701, unit 4, floor 5, xiujuyuan, Beiyuan Jiayuan, Chaoyang District, Beijing 100012

Applicant after: Tian Xuesong

Address before: 100083 no.1108, 11th floor, Gaode building, No.10 Huayuan East Road, Haidian District, Beijing

Applicant before: BEIJING TSTUDY TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20181016

RJ01 Rejection of invention patent application after publication