AU2001258868A1 - Machine readable code and method and device of encoding and decoding the same - Google Patents

Machine readable code and method and device of encoding and decoding the same

Info

Publication number
AU2001258868A1
AU2001258868A1 AU2001258868A AU2001258868A AU2001258868A1 AU 2001258868 A1 AU2001258868 A1 AU 2001258868A1 AU 2001258868 A AU2001258868 A AU 2001258868A AU 2001258868 A AU2001258868 A AU 2001258868A AU 2001258868 A1 AU2001258868 A1 AU 2001258868A1
Authority
AU
Australia
Prior art keywords
area
parity
data
code
shades
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
AU2001258868A
Other versions
AU2001258868B2 (en
Inventor
Cheol-Ho Cheong
Tack-Don Han
Nam-Kyu Lee
Eun-Dong Shin
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.)
Colorzip Media Inc
Original Assignee
Colorzip Media Inc
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 Colorzip Media Inc filed Critical Colorzip Media Inc
Publication of AU2001258868A1 publication Critical patent/AU2001258868A1/en
Application granted granted Critical
Publication of AU2001258868B2 publication Critical patent/AU2001258868B2/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Description

MACHINE READABLE CODE AND METHOD AND DEVICE OF ENCODING AND DECODING THE SAME
Technical Field The present invention relates to a machine-readable code image and a method and apparatus for encoding and decoding the code image, and more particularly, to a method and apparatus for encoding data into a code using the arrangement of cells expressed in various colors, shades, shapes or patterns or a combination thereof and decoding the encoded code using a computer and its peripheral devices.
Background Art
Recently, a bar code consisting of lines having various thicknesses has been printed on most products circulating in the open market in order to represent product information such as the type and price of a product. A bar code is made up of thick lines, thin lines and double lines to represent numerical data in which product information is encoded.
The home page address or uniform resource location such as the E- mail address of a company is usually printed on a business card for the purpose of general business. Internet home pages contain the promotional contents of companies. When Internet users are interested in a company, they read the promotional contents of the company contained in its Internet home page, and then try contacting the company through its E-mail address when they have an inquiry to make. In some cases, the home page address or URL of a specific company is also printed on the advertisement section of magazines or newspapers besides on the business card of the company. Also, published books can have Internet home page addresses of companies printed thereon.
In these cases, if a user wants to contact the URL printed on the business card of a company, the URL on the business card, for example, http://comscivonsei.ac.kr/~nklee, must be typed through a keyboard. Also, if the E-mail address, for example, nklee@yonsei.ac.kr. is printed on the business card of a company, users trying to send messages to the E-mail address must type the entire E-mail address.
However, Internet home page addresses or E-mail addresses do not consist of one or two letters but generally of over ten letters to several tens of letters. Thus, inputting the home page addresses or E-mail addresses can be a burden to users.
In order to solve this problem, U.S.C. Patent No. 5,869,828 entitled
EE olor and shape system for encoding and decoding dataD has been proposed. USP 5,869,828 discloses a method and system for encoding/decoding character data using a color figure, in which a color figure having a simple structure is printed on the exterior surface of products to represent information on the products.
Printers may have different printing characteristics, so that a color figure may be printed in different colors depending on the type of printers, That is, if an item of data is encoded into a color figure and the color figure is printed by printers provided by different companies, the shades of the printed color figures may vary depending on the characteristics of each of the printers. Accordingly, in USP 5,869,828, even when an identical color figure is printed, different color figures may be obtained due to differences in the printing environment, so that it is likelihood that the original data encoded in a color figure may not be correctly decoded.
Disclosure of the Invention
To solve the above problem, an objective of the present invention is to provide a machine readable code in which information is expressed by various colors, shades, shapes or patterns or a combination thereof.
Another objective of the present invention is to provide a method and apparatus for encoding predetermined information into the above-described code. Still another objective of the present invention is to provide a method and apparatus for decoding a code encoded by the above encoding method to extract the original information. Yet another objective of the present invention is to provide a computer-readable recording medium which records a program for accomplishing the encoding or decoding methods.
To achieve the first objective, the present invention provides a machine readable code for representing information, comprising: a background area; and a data area made up of at least one data cell, distinguished from the background area, in which different colors, shades, shapes or patterns or a combination thereof are encoded and expressed depending on the content of the information. The present invention also provides a machine readable code for representing information, comprising: a data area made up of at least one data cell, in which different colors, shades, shapes or patterns or a combination thereof are encoded and expressed depending on the content of the information; and a parity area made up of at least one parity cell, the parity area provided to determine whether colors, shades, shapes or patterns or a combination thereof expressed in the data cells have been properly expressed depending on the content of the information.
There is further provided a machine readable code for representing information, the machine readable code comprising: at least two areas including a data area and a reference area, each of which includes at least one cell wherein the data area is formed by at least one data cell in which different colors, shades, shapes or patterns or a combination thereof are encoded and expressed according to the content of the information to be represented therein; and a reference area formed by at least one reference cell which provides a base color, a base shade, a base shape or a base pattern or a combination thereof for determining the colors, shades, shapes or patterns or a combination thereof of data cells formed in the data area.
To achieve the second objective, the present invention provides a method of encoding a code image, including: (a) setting up a code conversion table in which different colors, shades, shapes or patterns or a combination thereof are mapped according to recognizable characters including numerals and symbols; (b) setting target data to be encoded; (c) encoding the target data using the code conversion table and forming a data area with an image formed in a series of colors, shades, shapes or patterns or a combination thereof; (d) setting up a parity area for determining whether the image formed in the data area is suitable for the target data; and (e) obtaining a physical or electronic code image from the image for the data area and the parity area.
There is also provided a code image encoding method comprising the steps of: setting a code conversion table in which recognizable characters including numbers and symbols are mapped to different colors, shades, shapes or patterns or a combination thereof corresponding to the characters respectively; setting target data to be encoded; encoding the target data according to the code conversion table and generating an image expressed in a data area; setting a reference area in which base colors, base shades, base shapes or base patterns or a combination thereof for providing interpretation bases for colors, shades, shapes or patterns or a combination thereof expressed in the data area are expressed; and generating a physical or electronic code image from the image formed by the data area and reference area.
To achieve the second objective, the present invention provides a code image encoding device including: a storage unit for storing a code conversion table in which different colors, shades, shapes or patterns or a combination thereof are mapped according to recognizable characters including numerals and symbols; a data area formation unit for receiving target data to be encoded and encoding the target data using the code conversion table to form an image to be expressed on a data area; a parity area formation unit for forming a parity area for determining whether the image formed in the data area is suitable for the target data upon decoding; and a code image formation unit for forming a physical or electronic code image from the image formed on the data area and the parity area. There is also provided a code image encoding apparatus comprising: a storage unit for storing a code conversion table in which recognizable characters including numbers and symbols are mapped to different colors, shades, shapes or patterns or a combination thereof corresponding to characters respectively; a data area generating unit for receiving target data to be encoded and then generating an image expressed in a data area by encoding the target data according to the code conversion table; a reference area generating unit for setting a reference area in which base colors, base shades, base shapes or base patterns or a combination thereof for providing interpretation bases of colors, shades, shapes or patterns or a combination thereof to be expressed in the data area are expressed; and a code image generating unit for generating a physical or electronic code image from the image formed of the data area and reference area.
To achieve the third objective, there is provided a code image decoding method according to an embodiment of the present invention, including: receiving a code image having a data area in which target data is encoded with colors, shades, shapes or patterns or a combination thereof into an image, and a reference area in which base colors, base shades, base shapes or base patterns or a combination thereof are expressed for providing interpretation bases of colors, shades, shapes or patterns or a combination thereof expressed in the data area; recognizing separately the data area and the reference area from the code image; determining the colors, shades, shapes or patterns or a combination thereof of each cell expressed in the data area based on the reference area; and extracting target data formed by recognizable characters including numbers and symbols, by decoding the code image by the code conversion table according to the determined colors, shades, shapes or patterns or a combination thereof of each cell in the data area.
There is also provided a decoding apparatus comprising: a storage unit for storing a code conversion table in which recognizable characters including number and symbols are mapped to different colors, shades, shapes or patterns or a combination thereof; an input unit for receiving a code image which is encoded by the code conversion table having a data area, in which target data is expressed, and a reference area which provides interpretation bases for the data area; an information recognizing unit for recognizing separately the data area and the reference area from the code image, and determining colors, shades, shapes or patterns or a combination thereof of each cell expressed in the data area based on the reference area; and a data extracting unit for extracting target data formed by recognizable characters including numbers and symbols by decoding the code image by the code conversion table according to colors, shades, shapes or patterns or a combination thereof of each cell in the data area.
To achieve the third objective, there is provided a code image decoding method according to another embodiment of the present invention, including: (a) receiving a code image including a data area in which target data is encoded and expressed as an image in colors, shades, shapes or patterns or a combination thereof and a parity area for determining whether the image formed in the data area is suitable for the target data; (b) discerning the data area and the parity area in the code image from each other; (c) recognizing colors, shades, shapes or patterns or a combination thereof from the images expressed in the data area and the parity area; (d) calculating a first parity value using the colors, shades, shapes or patterns or a combination thereof recognized from the image in the data area; (e) calculating a second parity value using the colors, shades, shapes or patterns or a combination thereof recognized from the image in the parity area, and comparing the second parity value with the first parity value; and (f) decoding the encoded image using the colors, shades, shapes or patterns or a combination thereof recognized from the data area and extracting target data made up of recognizable characters including numerals and symbols, if it is determined that there are no parity errors.
There is also provided a code image decoding method comprising: (a) receiving a code image including a data area in which target data is encoded and expressed as an image in colors, shades, shapes or patterns or a combination thereof a parity area for determining whether the image formed in the data area is suitable for the target data; (b) discerning the data area and the parity area in the code image from each other; (c) recognizing colors, shades, shapes or patterns or a combination thereof from the images expressed in the data area and the parity area; (d) setting parameters for normalizing the colors, shades, shapes or patterns or a combination thereof recognized from the code image in consideration of an environment where the code image has been read; (e) normalizing the colors, shades, shapes or patterns or a combination thereof recognized from the code image on the basis of the parameters, and obtaining a code value for the data area and the parity area; (f) calculating a first parity value using the code values for the data area; (g) calculating a second parity value using the code values for the parity area; (h) determining whether there are no parity errors, by comparing the first parity value with the second parity value; and (i) re-setting the parameters and repeating the above-described steps from the step (e), if parity errors are generated. To achieve the third objective, there is provided a code image decoding device including: a storage unit for storing a code conversion table on which different colors, shades, shapes or patterns or a combination thereof are mapped according to recognizable characters including numerals and symbols; an input unit for receiving a code image including a data area in which target data is encoded and expressed as an image in colors, shades, shapes or patterns or a combination thereof and a parity area for determining whether the image formed in the data area is suitable for the target data, the code image encoded according to the code conversion table; an information discerning unit for distinguishing between a data area and a parity area of the code image and discriminating between the colors, shades, shapes or patterns or a combination thereof of the cells expressed in the data area and the parity area; a parity comparison unit for calculating a first parity value depending on the colors, shades, shapes or patterns or a combination thereof recognized from the image of the data area, calculating a second parity value depending on the colors, shades, shapes or patterns or a combination thereof recognized from the image of the parity area, and comparing the second parity value with the first parity value; and a data extraction unit for extracting target data made up of recognizable characters including numerals and symbols by decoding the received code image depending on the colors, shades, shapes or patterns or a combination thereof recognized from the data area according to the code conversion table, if it is determined from the comparison by the parity comparison unit that there is no parity error.
Brief Description of the Drawings
FIGS. 1A through 1 E are views illustrating the structure of a machine-readable code according to the present invention;
FIG. 2A shows an example of expressing four colors using two bits,
FIG. 2B shows an example of a code conversion table where various characters are converted into code images, FIG. 2C shows an example of a grayscale code, and FIGS. 2D and 2E show an example of a pattern that can be expressed on each of the cells of a code image;
FIGS. 3A through 3F show various examples of the location of a parity area within a rectangular matrix-type code image;
FIG. 4 shows the structure of a database which stores index information; FIG. 5 illustrates a process for obtaining target information using index information read from a code image;
FIG. 6 is a flowchart illustrating a method of encoding information such as characters into a code image, according to an embodiment of the present invention; FIG. 7 shows an encoding system according to the present invention;
FIG. 8A is a flowchart illustrating a method of decoding a code image into target information, according to an embodiment of the present invention, and FIG. 8B is a flowchart illustrating the step 80 of FIG. 8A in greater detail;
FIG. 9 shows a decoding system according to the present invention; and FIG. 10 shows an example of an advertisement on which a code image is printed according to the present invention.
FIGS. 11 A through H show various examples of representing a code image according to the present invention,
Best mode for carrying out the Invention
FIG. 1 A shows an example of the structure of a code formed as an image so that target information can be read by machines, according to the present invention. Referring to FIG. 1 , this code includes at least a data area having at least one cell. The code includes the data area 11 formed with at least one data cell which is encoded and expressed in different colors or shades depending on the content of information. Further, various shapes or patterns may be used for encoding information. Shapes of the cells may be are differently represented each other and patterns such as a line may be added within the cells.
The code can further include a parity area 13, a reference area 15 and/or a control area 17. The parity area 13 formed with parity cells for performing recognition error inspection with respect to the cells within the data area 11. The reference area 15 is formed with at least one reference cell which provides a reference color or reference shade for judging the color or shade of the data cell formed in the data area 11. The control area 17 is formed with at least one control cell which indicates a command or service capable of being provided using the information indicated in the data area 11. Hereinafter, one or more areas including the parity area, the reference area and the control area except the data area is referred to as "an auxiliary area" and a cell within the auxiliary area is referred to as "an auxiliary cell."
Preferably, the code further includes a boundary area for defining the areas between the areas included in the code. Also, a boundary area can be further included between the cells included in each of the regions, in order to define cells. The boundary area can be made up of a line or cell having a specific color or pattern, and a boundary line or boundary area can be black or white. The areas can also be distinguished from each other by a certain range of a color or shade differently set for the cells of each of the data area, the parity area, the reference area and the control area, or by inserting an individual specific pattern into the cells of each of the areas. Meanwhile, the boundary area may not be expressed in the code image for security of code information.
The data area 11 is made up of at least one data cell in which a character or the like is encoded into an image. A data cell can be configured so as to represent information such as a single character, or a set of data cells can be configured so as to represent one or more items of information. For example, a character A can be expressed as a single red cell or as two cells, for example, a red cell and a green cell.
Target information contained in the data area 11 is made up of characters, numerals and symbols, and can be a variety of information such as a name, an address, a telephone number, a facsimile number, the host address of a network, domain names and IP addresses used on the Internet, a URL, a protocol, or a document name, depending on the need of users.
The parity area 13 is provided to be used upon decoding to determine whether colors or shades (and shape and/or pattern, if any) expressed in the cells are suitable for the content of target information. Parity data is obtained according to the code values corresponding to the colors or shades expressed in the data cells, and parity cells are formed by the colors or shades for the parity data. Various examples of the location of parity cells within a code image are shown in FIGS. 3A through 3F.
The reference area 15 is used to set a reference color (or a reference shade, if necessary, a reference shape or a reference pattern) for recognizing the colors (or shades, shape or pattern) expressed in the cells in the data area 11 and/or the control area 17. The colors of the cells expressed in each of the areas are based on at least one model of a red blue green (RGB) color model, a hue saturation value (HSV) color model and the like. Also, when a code is formed in a black and white shade (gray scale), the information of each cell can be accurately ascertained on the basis of black and/or white expressed in the reference area 15.
A color can be printed differently depending on the type of printer or the material used in the printing paper, and the same color can be recognized somewhat differently depending on the characteristics of a scanner or camera. In consideration with this fact, the reference cells in the reference area 15 provide a standard for determining a color expressed on the data area. That is, even when a color is differently printed due to the difference in characteristics between output devices, or when a color is differently recognized due to the difference in characteristics between input devices such as a scanner, the color of each of the cells in the data area 11 can be accurately recognized since the color difference between the reference area 15 and the data area 11 is fixed. Therefore, the color of each of the cells can be obtained by the comparison with the reference color of the reference area 15 on the basis of the RGB model or HSV model, so that the information of a data cell can be accurately recognized even if an image input device or an image output device is changed. When a code image is input by a camera, shapes or patterns in the code image may be .distorted or tilted. Shapes or patterns expressed in the code image may be correctly discerned based on the reference shape or reference pattern provided in the reference area.
Users can receive various services depending on the type of application field using the target information of the data area 11. For example, if an Internet home page address (that is, a URL) is expressed as a code image on a business card, a program can be provided so that a code image is decoded by a computer, and then a web browser of the computer or a server computer connected to the computer is executed to allow users to be connected to the home page. Also, if an Internet E-mail address is expressed as a code image on a business card, the code image is decoded by a computer, and then the mailing software of the computer is executed, to provide an environment where a mail can be sent to the E- mail address. In an another example, when the code image is input to a portable terminal such as a mobile phone, a phone call is made to a telephone number corresponding to the code image or a service for geographic information may be provided. Here, this automatic service function can be automatically executed by a separate program or by a decoding program depending on the type of target information. Also, a code image includes the control area 17 on which this command word is expressed as an image, so that the automatic service function can be executed by a decoding program using control information decoded by the control area 17. The control area 17 can include a command or meta-data for controlling the target information of the data area. For example, the information expressed on the control area 17 can include various meta-data such as the sequence of decoding of the cells formed in the data area 11 , the location of the reference cells of the reference area 15 that is a standard of judgement of the colors of the data cells formed on the data area 11 , the location or properties of the parity area 13, and the like.
Fig 1 B to 1 E are examples of expressing a data area and an auxiliary area in a code image. Here, the auxiliary area which is represent by hatched areas may include at least one area selected among a parity area, a reference area and a control area.
FIG. 2A shows an example of expressing data of two bits using four colors. If each cell can have one among four colors, 2-bit data can be expressed using one color cell. Hence, if 4 consecutive cells are defined to express one character, 28, that is, 256 characters, can be expressed. If a cell may expressed by one of four types of shapes, for example, a small rectangular, a large rectangular, a small circle and a large circle, while one color is used, data of two bits can be encoded. In this case, information of 256 (8 bits) kinds can be expressed in a code image when a cell may be filled by one of four colors. FIG. 2B shows an example of a code conversion table where various characters (alphabet or special characters), numerals or figures are converted into color images. Here, one character is mapped to two color cells. In an encoding method using the code conversion table of FIG. 2B, various characters or the like are converted into code values, and then code images are produced in colors respectively allocated to the code values. In FIG. 2B, a code image is produced using 8 colors, and two consecutive cells are used to express one character or numeral. Code values "000" to "111" are allocated to 8 colors, respectively, and each character is encoded in two colors. For example, a number "3" is allocated as a code value "000 011", and encoded in a color (black) allocated to the code value "000" and a color (cyan) allocated to the code value "011", so that the number"3" is expressed using two consecutive cells of black and cyan. Various characters or numerals included in the target information are converted into code values according to the code conversion table shown in FIG. 2B, and then colors corresponding to the code values can be expressed in a rectangular matrix, that is, a combination of rectangular cells.
FIG. 2C shows an example of a code image produced using a grayscale code, according to the present invention. In the present invention, a character or numeral can be color-encoded and color-decoded using a color printer and a scanner. In FIG. 2C, a code image can be produced using a grayscale code, that is, shades ranging from black to white, depending on the purposes and circumstances of users.
A grayscale code forms a code according to the brightness of white from black instead of a mixture ratio of red, green and blue. Thus, the reference area is formed of at least one reference shade among black, white and gray, and the cells formed in the data area have code values obtained due to the gray difference between their shades (or colors) and the reference shade of the reference area. If there is no reference area, a shade of each cell in the code image is detected, cells (cell group) having similar shades each otherwithin a predetermined criterion are grouped, and then the same code value is_assigned to the cells included in the same group. Next, using a parity area it is determined whether there is a decoding error. If an error, shades of the cells may be recalculated or criteria for forming cell groups are reestablished, and then it is determined whether an error is still happened. This gray code image can usually be applied to black printing media such as newspaper.
FIGS. 2D and 2E show an example of a pattern that can be expressed in each of the cells of a code image. As can be seen from FIGS. 2D and 2E, a method of adding a pattern to a color cell using a vector line in addition to color can be adopted to convert information into a code image. FIG. 2D shows an example of 4-direction vector lines and 8- direction vector lines that can be expressed in a cell. If 4-direction vector lines are used, patterns of four bits, that is, 16 different patterns, can be added to the color of each cell, as shown in FIG. 2E. Accordingly, when one character is expressed for one cell, and 8 colors, that is, colors of 3 bits, are used, each cell can be expressed in 128 characters (characters of 7 bits). Also, a cell can be divided in horizontal, vertical and diagonal directions, and the divided cell pieces can be expressed in different colors or shades.
In a code image according to an embodiment of the present invention, a data area and/or an auxiliary area may be expressed by shapes and/or patterns as well as colors or shades. Also, a data area and/or an auxiliary area may be expressed by at least one of colors, shades, shapes or patterns, or a combination thereof. For example, information may be expressed by various shapes or patterns in a data area and/or an auxiliary area while using only one color.
FIGS 11 A though 11H show various examples of representing a code image according the present invention. A cell may be variously expressed by one shape of a rectangular, a circle, an ellipse, a cross or web and/or a combination thereof.
Size or shape of a code image or a cell included therein may be aptly selected according to contents or amounts of information to be expressed in the code image. FIG 11 H shows that a shape similarto a bar code also may be used in an embodiment of the present invention.
FIGS. 3A through 3F show various examples of the location of the parity area 13 of FIG. 1 within a rectangular matrix-type code image. Also, the configuration of these examples can be modified and applied to a code image having a circular shape or another shape. Area (Dn) except for the parity area (Pn) is a data area, a reference area or a control area. In FIG. 3A, parity cells each having parity information on the cells in the same row are located at the rightmost column. For example, the parity cell for cells D11 , D12, D13 and D14 is P1. In FIG. 3B, parity cells each having parity information on the cells on the same row are aligned in a diagonal direction. In FIG. 3C, parity cells each having parity information on the cells on the same column are located at the lowermost row. In FIG. 3D, parity cells each having parity information on the cells on the same column are aligned in a diagonal direction.
In FIG. 3E, parity cells P1r through P4r each having parity information on the cells in the same row are located at the rightmost column, and simultaneously, parity cells P1 c through P4c each having parity information on the cells in the same column are aligned at the lowermost row. A parity cell Pre having parity information on the row parity cells and the column parity cells is further included. In FIG. 3F, a code includes the row parity cells P1r through P4r and the column parity cells P1c through P4c, as in FIG. 3E. Here, the row parity cells P1r through P4r are aligned in a diagonal direction. Conversely, the column parity cells P1 c through P4c can be aligned diagonally.
An example of a method of selecting a color for a parity cell will now be described. A parity cell has a code value obtained by performing a XOR operation with respect to the code values of the data cells (undoubtedly, reference cells and/or control cells can be included) on the same row or column. Various methods for generating parity data may be applied for encoding a code image according to the number of colors or shades to be expressed in the code image. For example, when two kinds of colors or shades are used, two parity methods, that is, an even parity method and an odd parity method may be available. When an even parity method is used, the result value of the XOR operation is directly the code value of a parity cell, so that the parity cell is expressed in a color for the obtained code value. When an odd parity method is used, the complement value (~) of each bit of the resultant value of the XOR operation is obtained, and the parity cell is formed in a color corresponding to the obtained complement value.
A method of obtaining a color to be expressed in a parity cell using the code conversion table shown in FIG. 2A will now be described. If the colors of the data cells D11 , D12, D13 and D14 are black, red, green and green, respectively, the code values of the data cells are 11 , 10, 01 and 01 , respectively. Here, "XOR" denotes an exclusive OR operation.
< Even parity method >
11 XOR 10 XOR 01 XOR 01 = 01 (green)
< Odd parity method > 11XOR 10 XOR 01 XOR 01 = 01 -> -01 = 10 (red) As the number of colors or shades used in a code image is increased, it is more flexible to select one among various parity methods. When four types of colors or shades are used, four parity methods comprising modular parity methods as well as an even and odd parity method are available. The modular parity methods includes an even modular parity method in which an even parity value obtained by the even parity method is added by two, the resultant value is divided by four and then the resultant value is set to a parity value and an odd modular parity method in which an odd parity value obtained by the odd parity method is added by two, the resultant value is divided by four and then the resultant value is set to a parity value. In case of eight colors or shades, eight types of parity methods are available. In general, if the number of colors or shades used in a code image is assumed to N, the number of parity methods may be determined as follows:
(an even parity value + 2 * i) % N, or (an odd parity value + 2 * i) % N where, .=0,1 ,2, ..., log2N-1 , N=2,4,8, ..., and %: modular.
A plurality of parity methods may be simultaneously applied to one code image and thus type of code, type of decoding or direction for reading cells may be determined according to types of parity methods or locations expressed in the code image. Referring to FIG. 3E, an even parity method is applied to each row and column, but an odd parity method may applied to a cell Pre. Referring to FIGS. 3A to 3C, an even parity method is applied to the first column, but an odd parity method may applied to the remaining columns. Meanwhile, a shape or a pattern may also be used to express a parity value instead of colors or shades. Further, a combination of colors, shades, shapes and/or pattern is also available. For example, when a parity value is zero, a while rectangular cell may be used or a black circle cell. A code image may further comprises a cell or an area in which information relating to a parity method applied to the code image is expressed.
FIG. 6 is a flowchart illustrating a method of encoding information such as characters into a code image, according to an embodiment of the present invention. A method of converting information into a code image using encoding software will now be described. At least one character or numeral included in target information is converted into a code image formed of a predetermined shape, color or pattern or a combination of the above-described features using a predetermined code conversion table as shown in FIG. 2B.
An encoding method may be a direct encoding method, an indirect (or index) encoding method or a mixed encoding method depending on the type of information encoded into a code image. In a direct encoding method, target information itself is directly encoded using a code conversion table, thereby producing a code image. In an indirect encoding method, index information (for example, the address of a database or a record number) for reference of target information is encoded into an image using a code conversion table. The mixed encoding method is a mixture of the two above-described methods.
In the direct encoding method of encoding target information itself into a code image, a separate system or storage is not required. However, when the amount of data of target information increases, the physical size of the code image increases.
In the indirect encoding method, target information itself is not encoded, but information on the position of a storage medium is encoded. This position information can be the pointer or memory address of a storage medium in which target information is stored, or the URL or IP address representing the position of target information. Thus, the indirect encoding method requires a separate system or a storage medium in which target information exists. In the mixed encoding method, some indispensable data among the entire target information is directly encoded, and the other data is indirectly encoded. For example, names and telephone numbers are encoded character by character, large data such as mail addresses or E-mail addresses is stored in a server, and the memory address of the data stored in the server is encoded to produce a code image. Also, it is preferable that fixed data such as names adopt the direct encoding method, and variable information capable of being changed at any time, such as, home page addresses, telephone numbers or E-mail addresses, is indirectly encoded. Even when the personal items of a user are changed, a person who has received a business card on which a code image of the user is expressed can always access the latest information even with the old business card if the user registers the changed items in the database of a server.
FIG. 4 shows the structure of a database which stores index information required when an indirect encoding method is applied to an encoding method according to the present invention. FIG. 5 illustrates a process for acquiring target information using index information read from a code image. In FIG. 5, a service pointer database 52 that stores pointer information capable of accessing real target information depending on index information is included together with an index database 51 as shown in FIG. 4. The pointer information indicates the position at which real target information 53 such as messages, images or moving pictures is stored. A unique index is allocated to each real target information (content), and the service code and the offset, which correspond to target information, are set and stored together. Here, the target information, which is the final information capable of being eventually used by users, includes various types of information such as web site addresses, E-mail addresses, messages, images, moving pictures and music. A service code is designated depending on the type of service. For example, a web connection service and a telephone call service can be encoded into D " and D ", respectively. The offset relates to information on a position at which the service pointer database 52 can be accessed. For example, if index information is read from a code image, the index database 51 is searched to extract the service code, offset and target information for the index information. Pointer information stored in the service pointer database 52 is searched for depending on the offset. The positions of preset messages or image files are found depending on the pointer information and the message or image is provided to users. For example, using a target data obtained by decoding a code image, a service type code is obtained from a first database and location information is obtained from a second database. Target information is obtained according to the location information, and then a service such as a message service, a moving image sen ice, a web page access service, a telephone call service or an E-mail service which is determined by the service type code may be provided depending on the target information.
An encoding process will now be described referring to FIG. 6. A code conversion table on which colors or shades (or gray levels) are mapped corresponding to recognizable characters including numerals and symbols, is established, in step 61. An example of the code conversion table is shown in FIG. 2B, and a pattern (see FIG 2E) using a vector line can be used in the code conversion table.
A user inputs target information to be converted into a code image, in step 62. Here, the user inputs his or her name, position, telephone number and facsimile number in order to encode, for example, personal items to be expressed on a business card, into a code image. It is common that a server stores information input by users in a database or file.
Next, it is determined whether to apply the direct encoding method of directly encoding target information or the indirect encoding method of indirectly encoding information on the position at which target information is stored in a data base, in step 63. If the direct encoding method is applied, the target information itself is set to be target data to be encoded, in step 64b. If the indirect encoding method is applied, the information on the position of the target information is set to be target data to be encoded, in step 64a. For example, if personal items (target information) themselves input by users are encoded, this corresponds to the direct encoding method. If database addresses at which the personal items are stored in a server, or indices associated with the addresses are encoded, this corresponds to the indirect encoding method. Also, a mixed encoding method, in which names are encoded by the direct encoding method and the other personal items are encoded by the indirect encoding method, can be applied.
The target data is encoded using a code conversion table, in step 65. Then, a code value for each of the characters or numerals included in the target data is obtained, a color or shade for each data cell is determined by the code value to form an image of each data cell, and imaged data cells are aligned in the order (or in a determined way) of alignment of characters or the like of target data, thereby completing a data area.
After the target data is encoded, at least one of parity information, reference information and control information may be selected as an auxiliary information to be expressed in a code image in step 66. Further, a method of expressing the auxiliary information in the code image, for example, type of parity method, may be determined.
If reference information is expressed in an auxiliary area of a code image, a reference area can be further set up by determining the shape, position or arrangement of reference cells in which a reference color or reference shade (and reference shape or reference pattern, if necessary) is to be expressed for providing a standard of interpretation of colors or shades expressed in the data cells of the data area. Also, a control area, in which control information where items associated with commands or services capable of being used using the target information included in the data area are set, can be further established. Then, if parity information is expressed in an auxiliary area of a code image, a parity value is obtained from the code values of colors or shades (and shapes or patterns, if necessary) expressed in the data area or the like, and a color or shade for the parity value is set to be parity data, in step 66. At this time, an area in which the parity cell is to be located is determined (see FIG. 1 and FIGS. 3A through 3F).
When a data area and an auxiliary area are set up, the layout of a code image including the shape of the code image, the relative position and size of each of the areas, and the size of a cell unit is set. A code image made up of a data area and an auxiliary area is produced according to the set layout, in step 67. The code image can be automatically output by the algorithm of a program, or manufactured by a graphic editor or by a manual operation according to a code conversion scheme. The code image formed in this way is expressed on a predetermined medium or stored in an image file. FIG. 7 shows an encoding system according to the present invention. In FIG. 7, a computer 77 receives target information, produces a code image through the above-described encoding process and prints the code image using a printer 78, so that the code image can be physically expressed on a medium 79a such as a business card or electronically provided in the form of a code image file 79b. Here, a medium on which a code image is expressed can be all media capable of expressing predetermined information, such as a business card, the exterior of products, the advertisement page of magazines and the like. Also, a code image can be output through a display device such as a monitor, stored in a computer file, or transmitted as an electrical signal to a communication line.
FIG. 8A is a flowchart illustrating a decoding method to extract the original target information made up of characters or the like from a code image, according to an embodiment of the present invention. In order to decode a code image of the present invention, an image input device 92 for reading a code image 91 a, such as a scanner, a digital camera, a CCD camera, a sensor, a facsimile or the like, must be provided, or a code image must be provided in the form of a code image file 91b so as to be directly used by a computer 93, as shown in FIG. 9. Also, the computer 93 (a personal computer or a server computer connected to personal computers) must be able to execute a program for decoding code images. Referring back to FIG. 8A, a code image made up of a data area and a parity area (including a reference area and a control area if they exist) is input to a user computer, in step 80. The user computer can directly receive the code image 91a expressed on a medium using an image input device, or can load the image file 91b, which has already been made, into its memory using a storage device such as a disc or buffer. In the case of a code image formed by an indirect encoding method, the user computer must be connected to a server having a storage device in which index information is stored, or must include such a storage device.
An image input by an image input device is processed by an edge detection method or a noise image rejection method using predetermined parameters, thereby eliminating a background image and thus obtaining a code image. Sometimes, a code image may be read crookedly or aslant depending on the operating state of a scanner or the position on a medium at which the code image is printed. In this case, the code image may be decoded wrongly. Accordingly, the position or direction of the code image is corrected, in step 81. Even when the correction step is not performed, locations and information of each cell may be detected concerning the state of an input image.
A data area and an auxiliary area (a parity area, a reference area and/or a control area) in the code image are discerned from each other using the information in a boundary area set between areas or using particular information in a cell, in step 82. If the auxiliary area includes at least two sub areas, these sub areas are discerned from each other. If there is the reference area in the code image, colors, shades, shapes and/or patterns are discriminated depending on information of the reference area. If there is the parity area in the code image, it is performed to detect a decoding error.
When a code image is recognized by a computer, a decoding process for extracting the original information from the code image is performed. Decoding denotes extraction of the original information from a code image according to what is defined in a code conversion table. Types of decoding methods include a direct decoding method and an indirect decoding method. In a direct decoding method, when a code image is decoded, actual target information such as names or addresses is directly extracted. In an indirect decoding method, a decoded result has index information, which is a key value for accessing a database in which actual target information such as names or addresses is stored.
Upon decoding, a process for finding shapes, colors, patterns and characters included in a code image is required, and a process for correcting distorted images is also required. Here, the colors can be discerned by at least one of an RGB (red, green, blue) model, an HSV (hue angle, saturation, value) model, a CMY (cyan, magenta, yellow) model and an HLS (hue angle, lightness, saturation) model.
In order to achieve decoding, the code values of the cells within a data area and an auxiliary area are extracted, in step 83. If a reference area exists, a color (or shade, etc) is detected from a reference cell, and serves as a reference color (or reference shade) for interpreting the information in the data area or other areas. Colors are detected from the cells included in the data area, the parity area or the control area, and the color differences of the detected colors from the reference color are obtained and converted into the code values for the cells. If there is no reference area, the code values for the cells can be obtained depending on colors or shades interpreted by an image input device.
If the parity area exists in a code image, the parity of each row or column of the code image is checked as to whether it has errors, using the code values obtained from the parity area, that is, parity data, in step 84. This step will be described later in greater detail referring to FIG. 8B. If necessary, direction or location of the code image may be also detected depending on the parity data.
The code value of each cell obtained through the above-described process is converted into target data made up of recognizable characters including numerals and symbols according to a code conversion table (see FIG. 2B), in step 85. The content of the target data obtained in step 85 is determined depending on the type of encoding method, in step 86. In step 87a, if a code image is encoded by the indirect encoding method, that is, if target data obtained by decoding is index data, target information stored at a position on a storage device (database) determined by the target data is extracted, since the target data corresponds to the address or pointer of a storage device in which target information is stored. If the target data is not index data, the target data serves as desired target information, in step 87b.
It is determined whether a code image includes a control area in which items associated with commands or services capable of being executed using target information are set forth, in step 88. If a code image includes the control area, commands or services are provided depending on information set forth in the control area, in step 89a. Otherwise, a basic service designated in a program is provided, in step 89b.
FIG. 8B is a flowchart illustrating the step 80 of FIG. 8A in greater detail. In FIG. 8B, parity is inspected on the basis of the code values extracted in step 84, and colors are corrected according to the result of the parity inspection.
First, parameters for color interpretation are set in step 841. The parameters can be R, G and B in the RGB model, H, S and V in the HSV model, or a combination of the aforementioned features, and are set to normalize the code values of colors or shades recognized from a code image in consideration of the environment from which the code image has been read. Here, the parameters can be R, V and S values, that is, the R value obtained by the RGB model and the V and S values obtained by the HSV model. Generally, initial environmental parameters are set so as to be suitable for the most-widely used illumination environment, such as, fluorescent lamps or 3-wavelength lamps. Preferably, the parameters are set depending on the illumination environment when a white background is photographed using an image input device, before a code image is input. For example, since red light is relatively strong under the illumination of a halogen lamp, parameters are set so as to remove an influence of red light from a halogen lamp. Then, an actually-read color is normalized by the parameters, thereby reducing the effect of illumination and obtaining a color which is close to the original color.
Next, the R, G and B values of a color read from a code image are normalized on the basis of the parameters R, V and S, in step 842. A code value for a color depending on the normalized R, G and B values is obtained using a code conversion table, in step 843. A parity value is calculated using the code value of the cells on each column and/or row expressed in a data area (including a reference area and a control area if they exist), in step 844. In step 845, the calculated parity value is compared with the parity data of a parity cell set in units of columns and rows of the data area, to determine whether there are parity errors. If a plurality of parity methods are applied to the code image, order of decoding cells included in the code image may be also easily detected besides a parity check described in the above.
If a parity error is generated on a column or row, parameters for a new environment are set in step 846, and then the step returns to the color normalizing step 802. Parameters optimized to an illumination environment of high frequency, and their weighted values, are pre-set and stored in a decoding program or a database, so that users can select an environment parameter which is the most suitable for their environments. Generation of parity errors can be considered as generation of errors in color interpretation using the currently-set parameters. Accordingly, in this case, colors are again read using other parameters.
The parameters are experimentally set in a parameter database so that a code image is distinguished from a background in an input image and a color read by an input optical device is corrected to the original color by analyzing the optical characteristics of the input optical device and its peripheral illumination circumstances. Thus, the effects of devices or an environment are excluded, so that colors can be recognized without errors. Two or more parameter groups each having other objective may be established. One may be a parameter group for distinguishing a code image from a background image and the other may be a parameter group for discerning colors or shades of the code image. For example, when colors are discerned on the basis of the RGB model under a red illumination environment, an R value is relatively high. Thus, the effects of environments can be excluded by reducing the R value read by an optical device depending on a predetermined weighted value. In a case of a code image received under a bright illumination environment, black and white are discerned from each other on the basis of the HSV model by increasing the weighted value of a V value. In a case of a code image received under a dark illumination environment, colors are determined on the basis of the HSV model by increasing the weighted value of the V value which is used for discerning black and white from other colors and by increasing the weighted value of the S value.
Upon re-setting parameters, the distribution of R, G, B, H, S and/or V values obtained with respect to each of the cells of a code image by an optical device is ascertained, and parameters and their weighted values can be re-set with reference to the distribution.
Meanwhile, when errors of reading data from a code image during decoding process continuously occur, a user may directly enter target data according to colors and so on expressed in the code image referring to a code conversion table and then a predetermined service may be provided to the user. FIG. 10 shows an example of an advertisement paper on which a code image is printed according to the present invention. Users who see the advertisement paper of FIG. 10 can obtain information on a code image by scanning (or photographing) the code image (a rectangular matrix-type image displayed on the lower portion at the left and right sides of the advertisement paper) using an optical device such as a PC camera or a scanner.
In the present invention, a computer-readable code image can be stored in recording media that can be read by a computer. The computer- readable recording media may be any type of recording device that can be read by a computer system, such as, ROM, RAM, CD-ROM, magnetic tapes, floppy discs, optical data storage devices, and carrier waves (e.g., transmissions over the Internet). Also, the computer readable recording media can be distributed on computer systems connected through a network and can store and execute a computer readable code in a distributed mode.
As described above, various types of information can be expressed in a code image using colors, shades, shapes and/or pattens according to the present invention. The code system according to the present invention enables to encode more diversified and voluminous information compared to the other codes of the prior arts. Further, when a code image according to the present invention may include a parity area for parity inspection, mal- recognition of colors due to the difference between input devices such as cameras or between the environments such as illumination conditions, can be easily detected and corrected. Thus, a more efficient decoding method and apparatus can be achieved using a code image according to the present invention.
Industrial Applicability According to an embodiment of the present invention, parity information together with target information is encoded into a code image according to a code conversion table, parity inspection is performed when the encoded code image is decoded, and environmental parameters are appropriately applied upon generation of parity errors, so that colors can be accurately recognized. In particular, even in an environment having normal brightness under a general fluorescent lamp, in a relatively dark or bright environment, and in an environment where red light is strong such as an environment under a halogen lamp, information on a code can be accurately recognized. Also, when the code may include a reference area, the code reduces mis-recognition due to differences among operational conditions or machine models of output apparatuses or input apparatuses.

Claims (34)

What is claimed is:
1. A machine readable code for representing information, comprising: a background area; and a data area made up of at least one data cell, distinguished from the background area, in which different colors or shades are encoded and expressed depending on the content of the information.
2. The machine readable code of claim 1 , wherein, when characters or numerals are converted into an image to be expressed in cells, the data area is formed not only in colors or shades but also in shapes or patterns including a vector line, or formed by dividing cells horizontally, vertically or diagonally and expressing the divided cells in different colors or shades.
3. The machine readable code of claim 1 , further comprising a boundary line or boundary area for defining areas or cells, between areas included in the code or between cells included in each of the areas.
4. The machine readable code of claim 1 , wherein each area or cell has the shape of any one selected among a circle, an oval, and a polygon.
5. The machine readable code of claim 1 , wherein a control area which is formed by at least one control cell which expresses commands or services that can be provided by the information expressed in the data area is further included.
6. The machine readable code of claim 1 , wherein the information is at least one feature selected from the group consisting of characters, numerals, symbols, names, addresses, telephone numbers, facsimile numbers, network addresses, domain names, IP addresses, uniform resource locations (URL), protocols, and document names.
7. A machine readable code for representing information, comprising: a data area made up of at least one data cell, in which different colors, shades or patterns or a combination thereof are encoded and expressed depending on the content of the information; and a parity area made up of at least one parity cell, the parity area provided to determine whether colors, shades or patterns or a combination thereof expressed in the data cells have been properly expressed depending on the content of the information.
8. The machine readable code of claim 7, wherein parity data is determined by code values obtained from the data cells, and the the parity cell is formed by a color, a shade, a shape or a pattern or a combination thereof which is determined by the parity data.
9. The machine readable code of claim 7, wherein the parity cells for the data cells on the same rows are expressed in the right most column or in a diagonal direction.
10. The machine readable code of claim 7, wherein the parity cells for the data cells on the same columns are expressed in the lower most row or in a diagonal direction.
11. The machine readable code of claim 7, wherein the parity cells for the data cells on the same rows are expressed in the right most column, and simultaneously, the parity cells for the data cells on the same columns are expressed in the lower most row.
12. A method of encoding a code image, comprising:
(a) setting up a code conversion table in which different colors, shades, shapes or patterns or a combination thereof are mapped according to recognizable characters including numerals and symbols;
(b) setting target data to be encoded;
(c) encoding the target data using the code conversion table and forming a data area with an image formed in a series of colors, shades, shapes or patterns or a combination thereof;
(d) setting up a parity area for determining whether the image formed in the data area is suitable for the target data; and
(e) obtaining a physical or electronic code image from the image for the data area and the parity area.
13. The method of claim 12, wherein the step (d) comprises: obtaining a code value set for the colors, shades, shapes or patterns or a combination thereof expressed in each of the data cells of the data area; obtaining parity code values on the basis of the code values of the data cells; and obtaining colors, shades, shapes or patterns or a combination thereof for the parity code values and expressing the parity cells of the parity area in the colors, shades, shapes or patterns or a combination thereof.
14. The method of claim 12, wherein the target data is actual target information or position information associated with a position on a storage place where the actual target information is stored.
15. A code image obtained by encoding target data using the encoding method of claim 12.
16. A code image encoding device comprising: a storage unit for storing a code conversion table in which different colors, shades, shapes or patterns or a combination thereof are mapped according to recognizable characters including numerals and symbols; a data area formation unit for receiving target data to be encoded and encoding the target data using the code conversion table to form an image to be expressed on a data area; 5 a parity area formation unit for forming a parity area for determining whether the image formed in the data area is suitable for the target data upon decoding; and a code image formation unit for forming a physical or electronic code image from the image formed on the data area and the parity area. 0
17. A code image decoding method comprising:
(a) receiving a code image including a data area in which target data is encoded and expressed as an image in colors, shades, shapes or patterns or a combination thereof and a parity area for determining whether s the image formed in the data area is suitable for the target data;
(b) discerning the data area and the parity area in the code image from each other;
(c) recognizing colors, shades, shapes or patterns or a combination thereof from the images expressed in the data area and the parity area; o (d) calculating a first parity value using the colors, shades, shapes or patterns or a combination thereof recognized from the image in the data area;
(e) calculating a second parity value using the colors, shades, shapes or patterns or a combination thereof recognized from the image in 5 the parity area, and comparing the second parity value with the first parity value; and
(f) decoding the encoded image using the colors, shades, shapes or patterns or a combination thereof recognized from the data area and extracting target data made up of recognizable characters including 0 numerals and symbols, if it is determined that there are no parity errors.
18. A code image decoding method comprising: (a) receiving a code image including a data area in which target data is encoded and expressed as an image in colors, shades, shapes or patterns or a combination thereof and a parity area for determining whether the image formed in the data area is suitable for the target data; (b) discerning the data area and the parity area in the code image from each other;
(c) recognizing colors, shades, shapes or patterns or a combination thereof from the images expressed in the data area and the parity area;
(d) setting parameters for normalizing the colors, shades, shapes or patterns or a combination thereof recognized from the code image in consideration of an environment where the code image has been read;
(e) normalizing the colors, shades, shapes or patterns or a combination thereof recognized from the code image on the basis of the parameters, and obtaining a code value for the data area and the parity area;
(f) calculating a first parity value using the code values for the data area;
(g) calculating a second parity value using the code values for the parity area; (h) determining whether there are no parity errors, by comparing the first parity value with the second parity value; and
(i) re-setting the parameters and repeating the above-described steps from the step (e), if parity errors are generated.
19. The code image decoding method of claim 18, whereiain step
(d), parameters are set depending on the illumination environment when a white background is photographed using an image input device, before a code image is received.
20. The code image decoding method of claim 18, wherein in step
(d), optimized parameters are preset and stored according to various illumination environments, and a user selects a parameter that is the most suitable for his or her environment.
21. The code image decoding method of claim 18, wherein in the step (h), when the parameters are reset, the distribution of colors or shades obtained from the cells of a code image is ascertained, and the parameters and their weighted values are reset with reference to the ascertained distribution.
22. A code image decoding device comprising: a storage unit for storing a code conversion table on which different colors, shades, shapes or patterns or a combination thereof are mapped according to recognizable characters including numerals and symbols; an input unit for receiving a code image including a data area in which target data is encoded and expressed as an image in colors, shades, shapes or patterns or a combination thereof and a parity area for determining whether the image formed in the data area is suitable for the target data, the code image encoded according to the code conversion table; an information discerning unit for distinguishing between a data area and a parity area of the code image and discriminating between the colors, shades, shapes or patterns or a combination thereof of the cells expressed in the data area and the parity area; a parity comparison unit for calculating a first parity value depending on the colors, shades, shapes or patterns or a combination thereof recognized from the image of the data area, calculating a second parity value depending on the colors, shades, shapes or patterns or a combination thereof recognized from the image of the parity area, and comparing the second parity value with the first parity value; and a data extraction unit for extracting target data made up of recognizable characters including numerals and symbols by decoding the received code image depending on the colors, shades, shapes or patterns or a combination thereof recognized from the data area according to the code conversion table, if it is determined from the comparison by the parity comparison unit that there is no parity error.
23. A computer readable recording medium for recording a program comprising the steps of.
(a) setting up a code conversion table on which different colors, shades, shapes or patterns or a combination thereof are mapped according to recognizable characters including numerals and symbols;
(b) setting target data to be encoded; (c) encoding the target data using the code conversion table and forming a data area with an image formed in a series of colors, shades, shapes or patterns or a combination thereof;
(d) setting up a parity area for determining whether the image formed in the data area is suitable for the target data; and (e) obtaining a physical or electronic code image from the image for the data area and the parity area.
24. A computer readable recording medium for recording a program comprising the steps of. (a) receiving a code image including a data area in which target data is encoded and expressed as an image in colors, shades, shapes or patterns or a combination thereof and a parity area for determining whether the image formed in the data area is suitable for the target data;
(b) discerning the data area and the parity area in the code image from each other;
(c) recognizing colors, shades, shapes or patterns or a combination thereof from the images expressed in the data area and the parity area;
(d) calculating a first parity value using the colors, shades, shapes or patterns or a combination thereof recognized from the image in the data area;
(e) calculating a second parity value using the colors, shades, shapes or patterns or a combination thereof recognized from the image in the parity area, and comparing the second parity value with the first parity value; and
(f) decoding the encoded image using the colors, shades, shapes or patterns or a combination thereof recognized from the data area and extracting target data made up of recognizable characters including numerals and symbols, if it is determined that there are no parity errors.
25. A machine readable code for representing information, the machine readable code comprising: at least two areas including a data area and a reference area, each of which includes at least one cell, wherein the data area includes at least one data cell in which different colors, shades, shapes or patterns or a combination thereof are encoded and expressed according to the content of the information to be represented therein; and a reference area includes at least one reference cell which provides a reference data for determining the colors, shades, shapes or patterns or a combination thereof of data cells formed in the data area, the reference cell being formed of a color, a shade, a shape or a pattern or a combination thereof.
26. A code image encoding method comprising the steps of: setting a code conversion table in which recognizable characters including numbers and symbols are mapped to different colors, shades, shapes or patterns or a combination thereof corresponding to the characters respectively; setting target data to be encoded; encoding the target data according to the code conversion table and generating an image expressed in a data area; setting a reference area in which base colors, base shades, base shapes or base patterns or base combination thereof for providing interpretation bases for colors, shades, shapes or patterns or a combination thereof expressed in the data area are expressed; and generating a physical or electronic code image from the image formed by the data area and reference area.
27. The code image encoding method of claim 26, wherein encrypting the target data and then encoding the encrypted target data, or encoding the target data and then encrypting the encoded target data is further included.
28. An information displaying medium wherein a code image generated by encoding target data using the encoding method of claim 26 is expressed.
29. A code image encoding apparatus comprising: a storage unit for storing a code conversion table in which recognizable characters including numbers and symbols are mapped to different colors, shades, shapes or patterns or a combination thereof corresponding to characters respectively; a data area generating unit for receiving target data to be encoded and then generating an image expressed in a data area by encoding the target data according to the code conversion table; a reference area generating unit for setting a reference area in which base colors, base shades, base shapes or base patterns or base combination thereof for providing interpretation bases of colors, shades, shapes or patterns or a combination thereof to be expressed in the data area are expressed; and a code image generating unit for generating a physical or electronic code image from the image formed of the data area and reference area.
30. A code image decoding method comprising the steps of: receiving a code image having a data area in which target data is encoded with colors, shades, shapes or patterns or a combination thereof into an image, and a reference area in which base colors, base shades, base shapes or base patterns or base combination thereof are expressed for providing interpretation bases of colors, shades, shapes or patterns or a combination thereof expressed in the data area; recognizing separately the data area and the reference area from the code image; determining the color or shade of each cell expressed in the data area based on the reference area; and extracting target data formed by recognizable characters including numbers and symbols, by decoding the code image by the code conversion table according to the determined colors, shades, shapes or patterns or a combination thereof of cells in the data area.
31. The code image decoding method of claim 30, wherein when a control information, in which commands or services that can be used using the target data are set, is further included in the code image, providing commands or services according to the control information is further included.
32. A decoding apparatus comprising: a storage unit for storing a code conversion table in which recognizable characters including number and symbols are mapped to different colors, shades, shapes or patterns or a combination thereof; an input unit for receiving a code image which is encoded by the code conversion table having a data area, in which target data is expressed, and a reference area which provides interpretation bases for the data area; an information recognizing unit for recognizing separately the data area and the reference area from the code image, and determining colors, shades, shapes or patterns or a combination thereof of each cell expressed in the data area based on the reference area; and a data extracting unit for extracting target data formed by recognizable characters including numbers and symbols by decoding the code image by the code conversion table according to colors, shades, shapes or patterns or a combination thereof of cells in the data area.
33. A computer readable recording medium for recording a program comprising the steps of: setting a code conversion table in which recognizable characters including numbers and symbols are mapped to different colors, shades, shapes or patterns or a combination thereof corresponding to the characters respectively; setting target data to be encoded; encoding the target data according to the code conversion table and generating an image expressed in a data area; setting a reference area in which base colors, base shades, base shapes or base patterns or base combination thereof for providing interpretation bases for colors, shades, shapes or patterns or a combination thereof expressed in the data area are expressed; and generating a physical or electronic code image from the image formed by the data area and reference area.
34. A computer readable recording medium for recording a program comprising the steps of. receiving a code image having a data area in which target data is encoded with colors, shades, shapes or patterns or a combination thereof into an image, and a reference area in which base colors, base shades, base shapes or base patterns or base combination thereof are expressed for providing interpretation bases of colors, shades, shapes or patterns or a combination thereof expressed in the data area; recognizing separately the data area and the reference area from the code image; determining the colors, shades, shapes or patterns or a combination thereof of each cell expressed in the data area based on the the reference area; and extracting target data formed by recognizable characters including numbers and symbols, by decoding the code image by the code conversion table according to the determined colors, shades, shapes or patterns or a combination thereof of each cell in the data area.
AU2001258868A 2000-05-09 2001-05-08 Machine readable code and method and device of encoding and decoding the same Ceased AU2001258868B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR2000-24706 2000-05-09
KR2000-62597 2000-10-24

Publications (2)

Publication Number Publication Date
AU2001258868A1 true AU2001258868A1 (en) 2002-02-07
AU2001258868B2 AU2001258868B2 (en) 2007-04-19

Family

ID=

Similar Documents

Publication Publication Date Title
CA2408454C (en) Machine readable code and method and device of encoding and decoding the same
US7020327B2 (en) Machine readable code image and method of encoding and decoding the same
KR100341504B1 (en) Machine readable code for representing information and method and apparatus for encoding/decoding the same
JP4016342B2 (en) Apparatus and method for code recognition
JP4557866B2 (en) Mixed code, mixed code generation method and apparatus, and recording medium
CN1211754C (en) Method and device for producing and decoding clear visual barcodes
JP4515999B2 (en) Mixed code decoding method and apparatus, and recording medium
US5765176A (en) Performing document image management tasks using an iconic image having embedded encoded information
US8186593B2 (en) Colored barcode decoding
US20050152006A1 (en) Detection of undesired document alteration and duplication, and generating verification data for such detection
KR100418862B1 (en) An advertisement service method using code image physically represented and apparatus thereof
CN1770177A (en) System and method for encoding high density geometric symbol set
KR100353872B1 (en) Machine readable code image and method for encoding and decoding thereof
JP2008530671A (en) Method for encoding information on a physical medium in a dual and DOTEM computerized form
AU2001258868B2 (en) Machine readable code and method and device of encoding and decoding the same
KR100447762B1 (en) A multimedia materials service method using code image attached to book and so on and apparatus thereof
WO2005116916A1 (en) Information encoding
AU2001258868A1 (en) Machine readable code and method and device of encoding and decoding the same
Safonov et al. Embedding digital hidden data into hardcopy
JP2007293612A (en) Network connection method and electronic equipment
JP2008097422A (en) Network connection method and electronic device
US20110012975A1 (en) Method of coding information in a dual fashion on physical media and in dotem computerised form
KR100390928B1 (en) A post address service method using code image physically represented and apparatus thereof
JP2007004249A (en) Network service method, code image encoding method, code image decoding method and machine-recognizable code
JP2003006076A (en) Multimedia information service method using code image and apparatus therefor