METHOD OF GENERATING BINARY POSITIONING TAGS
20190272151 ยท 2019-09-05
Assignee
Inventors
Cpc classification
G01S5/00
PHYSICS
G01S1/68
PHYSICS
International classification
Abstract
A method of generating binary positioning tags includes the following steps: generating a pseudo random sequence; circularly shifting the pseudo random sequence and sequentially filling in one of a plurality of odd rows and a plurality of even rows of a binary matrix, wherein a size of the binary matrix is MN; filling a complement sequence of the pseudo random sequence in the other one of the plurality of odd rows and the plurality of even rows; and retrieving a binary submatrix having a size of IJ from the binary matrix according to a relative position of a positioning point to be used as a positioning tag corresponding to the positioning point, wherein I is smaller than M, and J is smaller than N. Accordingly, it is possible to provide a positioning tag that is highly secure, arrangement-unique, and easy to obtain and analyze.
Claims
1. A method of generating binary positioning tags, comprising: generating a pseudo random sequence; circularly shifting the pseudo random sequence, and sequentially filling in one of a plurality of odd rows and a plurality of even rows of a binary matrix, wherein a size of the binary matrix is MN; filling a complement sequence of the pseudo random sequence in the other one of the plurality of odd rows and the plurality of even rows; and retrieving a binary submatrix having a size of IJ from the binary matrix according to a relative position of a positioning point to be used as a positioning tag corresponding to the positioning point, wherein I is smaller than M, and J is smaller than N.
2. The method of generating binary positioning tags according to claim 1, wherein the pseudo random sequence is circularly shifted right.
3. The method of generating binary positioning tags according to claim 1, wherein the pseudo random sequence is circularly shifted left.
4. The method of generating binary positioning tags according to claim 1, wherein N corresponds to a quantity of the positioning tags of a single dimension.
5. The method of generating binary positioning tags according to claim 1, wherein the pseudo random sequence is generated by using a primitive polynomial.
6. The method of generating binary positioning tags according to claim 5, wherein an order of the primitive polynomial is determined by N.
7. The method of generating binary positioning tags according to claim 6, wherein N=2.sup.m1, wherein m is the order of the primitive polynomial.
8. The method of generating binary positioning tags according to claim 1, wherein an upper-left corner of the positioning tag is aligned with the positioning point.
9. The method of generating binary positioning tags according to claim 1, wherein the complement sequence of the pseudo random sequence is used to define an X position of the positioning point, and the circularly shifted pseudo random sequence is used to define a Y position of the positioning point.
10. The method of generating binary positioning tags according to claim 1, wherein the complement sequence is 1's complement of the pseudo random sequence.
11. The method of generating binary positioning tags according to claim 1, wherein the pseudo random sequence is circularly shifted by one bit.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0006] The accompanying drawings are included to allow further understanding of the embodiments of invention, and the drawings are incorporated into the specification and form a part of the specification. The drawings illustrate the embodiments of the invention and the drawings and the description together are used to interpret the principles of the invention.
[0007]
[0008]
[0009]
[0010]
[0011]
[0012]
[0013]
DESCRIPTION OF THE EMBODIMENTS
[0014] Reference will now be made in detail to the exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
[0015]
[0016] Next, in step S120, the pseudo random sequence is circularly shifted and then is sequentially filled in one of a plurality of odd rows and a plurality of even rows of a binary matrix, wherein a size of the binary matrix is MN, N is a positive integer larger than 1 and corresponds to the single-dimension length of the positioning tags, and M is 2 times N. In step S130, a complement sequence of the pseudo random sequence is filled in the other one of the plurality of odd rows and the plurality of even rows, wherein the complement sequence is l's complement of the pseudo random sequence.
[0017] Lastly, in step S140, a binary submatrix having a size of IJ is retrieved from the binary matrix according to a relative position of a positioning point to be used as a positioning tag corresponding to the positioning point, wherein I is a positive integer smaller than M, and J is a positive integer smaller than N.
[0018]
[0019] In the foregoing embodiment, the pseudo random sequence 0010111 is sequentially circularly shifted right. However, in other embodiments, the pseudo random sequence 0010111 may be sequentially circularly shifted left, and the embodiments of the invention are not limited hereto.
[0020]
[0021]
[0022]
[0023] Since the complement sequence 1101000 is simultaneously filled in the 1.sup.st, 3.sup.rd, 5.sup.th, 7.sup.th, 9.sup.th, 11.sup.th, 13.sup.th rows (the corresponding even rows) of the binary matrix MBX, the complement sequence 1101000 may be used to define an X position of the positioning point. Since the pseudo random sequences filled in the 2.sup.nd, 4.sup.th, 6.sup.th, 8.sup.th, 10.sup.th, 12.sup.th rows of the binary matrix MBX are sequentially circularly shifted right along the Y-axis, the circularly shifted pseudo random sequences may be used to define a Y position of the positioning point.
[0024] In the present embodiment, since the binary matrix MBX is established by using the pseudo random sequences, the positioning tags (e.g., the binary submatrix MSB1 or MSB2) is highly secure, arrangement-unique, and easy to obtain and analyze.
[0025] When the positioning tag shown as the binary submatrix MSB1 is obtained, it is rapidly known that two rows having the same content are the even rows (100) of the binary submatrix MSB1. After the two even rows (100) having the same content are compared with the complement sequence 1101000, it is known that the X-axis position of the binary submatrix MSB1 is 3. Then, after the first row (001) of the binary submatrix MSB1 is compared with the pseudo random sequence 0010111, it is known that the sequence 001 corresponds to the X-axis position 0. Therefore, through the foregoing comparison, it is found that the positioning tag (i.e., the binary submatrix MSB1) is moved from the X-axis position 0 to the X-axis position 3 (namely, being circularly shifted right three times). Then, by using the formula ((3-0)2=6), it is calculated that the Y-axis position is 6. Therefore, the positioning tag (i.e., the binary submatrix MSB1) corresponds to the position (3, 6).
[0026] When the positioning tag shown as the binary submatrix MSB2 is obtained, it is rapidly known that two rows having the same content are the odd rows (110) of the binary submatrix MSB2. After the two odd rows (110) having the same content are compared with the complement sequence 1101000, it is known that the X-axis position of the binary submatrix MSB2 is 0. Then, after the second row (001) of the binary submatrix MSB2 is compared with the pseudo random sequence 0010111, it is known that the sequence 001 corresponds to the X-axis position 0. Therefore, it is found that the positioning tag (i.e., the binary submatrix MSB2) is moved from the X-axis position 0 to the X-axis position 0 (namely, being circularly shifted right seven times). Then, by using the formula ((7+00)21=13), it is calculated that the Y-axis position is 13. Therefore, the positioning tag (i.e., the binary submatrix MSB2) corresponds to the position (0, 13).
[0027]
[0028] Next, X.sub.i(t+1) is X.sub.i+1(t), X.sub.i+1(t+1) is X.sub.i+2(t), and X.sub.i+2(t+1) is X.sub.i(t) XOR wherein XOR means that the identical number (0 and 0 or 1 and 1) between X.sub.i(t) and X.sub.i+1(t) is 0, and the different number (0 and 1 or 1 and 0) is 1. Inferring analogously, it is derived that the pseudo random sequence is 0010111.
[0029]
[0030] Accordingly, in the method of generating binary positioning tags of the embodiments of the invention, the pseudo random sequence is established by using the primitive polynomial. Therefore, without understanding the establishment basis, the content of the binary positioning tags cannot be analyzed. In other words, the positioning tags are highly secure. Moreover, the pseudo random sequence is not only unique, but it is also possible to provide different quantities of the positioning tags according to the primitive polynomials of different orders. In other words, the positioning tags are unique and are sufficient in quantity. Since the positioning tags have binary properties (namely, consisting of 0 (black) and 1 (white)), with understanding of the establishment basis, the positioning tags are easy to obtain and analyze.
[0031] Lastly, it shall be noted that the foregoing embodiments are meant to illustrate, rather than limit, the technical solutions of the embodiments of the invention. Although the invention has been detailed with reference to the foregoing embodiments, persons ordinarily skilled in the art shall be aware that they may still make modifications to the technical solutions recited in the foregoing embodiments or make equivalent replacements of part or all of the technical features therein, and these modifications or replacements do not cause the nature of the corresponding technical solutions to depart from the scope of the technical solutions of the embodiments of the invention.