WO2008010513A1 - Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program - Google Patents

Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program Download PDF

Info

Publication number
WO2008010513A1
WO2008010513A1 PCT/JP2007/064167 JP2007064167W WO2008010513A1 WO 2008010513 A1 WO2008010513 A1 WO 2008010513A1 JP 2007064167 W JP2007064167 W JP 2007064167W WO 2008010513 A1 WO2008010513 A1 WO 2008010513A1
Authority
WO
WIPO (PCT)
Prior art keywords
color
code
cell
optical
symbol
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.)
Ceased
Application number
PCT/JP2007/064167
Other languages
English (en)
French (fr)
Inventor
Akiteru Kimura
Masayuki Matsuda
Kunio Kando
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.)
B Core Inc
Original Assignee
B Core 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
Priority claimed from JP2006196548A external-priority patent/JP2008027029A/ja
Priority claimed from JP2007130504A external-priority patent/JP4404224B2/ja
Priority claimed from JP2007163094A external-priority patent/JP2009003653A/ja
Application filed by B Core Inc filed Critical B Core Inc
Priority to BRPI0714333-8A priority Critical patent/BRPI0714333A2/pt
Priority to US12/308,938 priority patent/US8113432B2/en
Priority to KR1020097000379A priority patent/KR101348494B1/ko
Priority to CN2007800348395A priority patent/CN101553828B/zh
Priority to EP07805867A priority patent/EP2045761A4/en
Publication of WO2008010513A1 publication Critical patent/WO2008010513A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion
    • G06K1/12Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching
    • G06K1/121Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by printing code marks
    • G06K1/123Methods or arrangements for marking the record carrier in digital fashion otherwise than by punching by printing code marks for colour code marks
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06018Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking one-dimensional coding
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10712Fixed beam scanning
    • G06K7/10722Photodetector array or CCD scanning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1443Methods for optical code recognition including a method step for retrieval of the optical code locating of the code in an image
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K2019/06215Aspects not covered by other subgroups
    • G06K2019/06225Aspects not covered by other subgroups using wavelength selection, e.g. colour code

Definitions

  • Optical symbol and article to which optical symbol is attached method of attaching optical symbol to article, method of decoding optical symbol, related apparatus, and related program
  • the present invention relates to an optical code for information processing attached to an article.
  • the present invention relates to an optical symbol used in the optical code, a method of attaching the optical symbol to an article, and a decoding method.
  • the present invention relates to an optical recognition code.
  • it relates to optical recognition code reading technology (symbol cutting technology).
  • the present invention relates to an efficient data recovery method for optical recognition codes called (Japanese Patent Application 2006-196705). We also propose specifications suitable for efficient data restoration. That is, the present invention also relates to an optical recognition code coding technique.
  • a code using chromatic colors such as red and blue that are only white and black (here, a code using such a chromatic color is called a color code for convenience) has been widely proposed. .
  • Patent Document 1 discloses a barcode using three colors. This barcode is configured to represent “1” when the color is changed in the first order and “0” when the color is changed in the second order.
  • Patent Document 2 shows a code that can increase the data storage capacity by setting the color density of each of the three primary colors to a plurality of stages.
  • Patent Document 3 discloses a two-dimensional code that divides information into predetermined bit strings according to the printing capability of the printer, and selects and records colors for each divided bit string, and a method for creating the two-dimensional code
  • a restoration method is disclosed.
  • Patent Document 4 discloses a code that can be used as a general white and black bar code or a bar code with color.
  • optical recognition code that represents information by color transition and change in Japanese Patent Application No. 2006-196705.
  • This optical recognition code is called “1D color bit code”.
  • 1D color bit code the size and shape sine of the area occupied by each color is loose, so it is possible to mark optical recognition codes even on uneven surfaces and flexible materials. It is.
  • This two-dimensional bar code generally represents data in black and white (bright and dark) of segments whose positions are defined in a grid pattern.
  • the “marking pattern” (which refers to the two-dimensional barcode pattern, including a quiet zone for indicating the boundary) is integrated with the “object” to which the marking is added. Yes.
  • the marking pattern is integrated with the surface of the daily house by printing or the like.
  • an input image other than the “marking pattern” in this case is referred to as a “background image”.
  • An input image of “marking pattern” is referred to as “marking image”.
  • Such an operation is usually referred to as “cutting out” of the “marking image”.
  • a conventional two-dimensional barcode a plurality of specific patterns (usually called “cutout marks”) are searched for image-recognized from images captured by an area sensor, and the “cutout mark” Based on the size and the positional relationship between them, the existence range of the 2D barcode is estimated. That is, the range and dimensions of the corresponding 2D barcode pattern are estimated and the range is segmented. Then, if it is confirmed from the read contents of each segment that there is a two-dimensional barcode there, the procedure is taken.
  • a conventional one-dimensional barcode represents data by the thickness of a black and white (bright / dark) bar, but the two-dimensional barcode corresponds to a “cutout mark” that is a bar code at both ends. Such as a zone.
  • one-dimensional barcodes are generally designed to read a light and dark pattern on a line assuming a straight "scan line", so the concept exists when the background force is also cut out of the marking pattern. Shina.
  • the first or second method is general.
  • the one-dimensional barcode has a simpler concept of “cutting out” than the two-dimensional barcode, but on the other hand, the barcode “marking pattern” has a certain width (the length of the thick bar).
  • Patent Document 5 discloses a cutting method that can easily cut out a barcode from characters and figures.
  • Patent Document 6 discloses a method of printing a barcode including a large amount of information in a small space.
  • a bar code cut out as a set of subarcs with a central angle ⁇ is used.
  • Patent Document 7 discloses an apparatus for reading a two-dimensional barcode.
  • Patent Document 8 discloses a barcode cutout method that can read a plurality of barcodes. According to the technique disclosed here, it is described that a plurality of bar codes can be cut out because the left margin and the right margin can be continuously recognized even outside the standard.
  • optical recognition code that represents information by color transition and change in Japanese Patent Application No. 2006-196705.
  • This optical recognition code is called “1D color bit code”.
  • This 1D color bit code has a structure that returns a digital value determined by an arrangement of a plurality of colors (signal colors).
  • the basic specification is a sequence of colors (signal colors)
  • a specific one-by-one optical recognition code itself or geometric figure representing predetermined data may be particularly referred to as a "code symbol” (or simply a symbol). This specific code symbol is photographed (captured) with a CCD camera, etc., and subjected to predetermined image processing to restore the original data.
  • Such a stitching technique is applied to reading by raster scanning and reading of a stacked two-dimensional barcode. These are mainly based on a unique pattern indicating the end points and the center, and the data are joined together. This is shown in Figure 27.
  • FIG. 27 shows an example of a bar code 3010 using a general black bar and white bar, on which a scan line is drawn. Since scan line 3012 scans only the upper left of the code symbol, it can be easily understood that only the left part of the code symbol is obtained. On the other hand, since the scan line 3014 scans only the lower right of the code symbol, it can be easily understood that only a part of the right side of the code symbol is obtained.
  • one complete code symbol 3010 can be captured by stitching together the data that can be captured by scanning with these two scan lines 3012 and 3014. It's being used.
  • Such a stitching technique reads a patterned partial code pattern. And determine which part it is, and perform stitching based on that determination. Therefore, the barcode pattern needs to have some redundancy.
  • a plurality of colors are used, and each cell is given a color for each cell.
  • the number of cells constituting the array is a predetermined number.
  • Adjacent cells are not assigned the same color, but are always assigned different colors.
  • the 1D color bit code is created specifically based on this condition.
  • Patent Document 9 discloses a technique for preventing an ID code from being printed by a four-state bar and printing a local code using a bar-nover system bar code, thereby preventing the printing from being lost. Yes.
  • Patent Document 10 discloses a technique capable of reading a barcode even if an object captured by a CCD camera is faint or a barcode is missing.
  • Patent Documents 8 and 11 listed below disclose heat-sensitive recording materials in which a heat-sensitive color-developing layer contains a color-forming compound having a gold-infrared absorbing ability and the color-development pattern is a Carla code. As a result, it is described that the automatic recognition code can be read even if there are some missing parts.
  • Patent Document 1 Japanese Patent Laid-Open No. 63-255783 (Patent No. 2521088)
  • Patent Document 2 Japanese Patent Laid-Open No. 2002-342702
  • Patent Document 3 Japanese Patent Laid-Open No. 2003-178277
  • Patent Document 4 Japanese Patent Application Laid-Open No. 2004-326582
  • Patent Document 5 Japanese Unexamined Patent Application Publication No. 2005-266907
  • Patent Document 6 Japanese Unexamined Patent Publication No. 2005-193578
  • Patent Document 7 JP-A-8-305785
  • Patent Document 8 JP-A-8-185463
  • Patent Document 9 Japanese Unexamined Patent Application Publication No. 2006-095586
  • Patent Document 10 Japanese Patent Laid-Open No. 2000-249518
  • Patent Document 11 Japanese Patent Laid-Open No. 8-300827
  • One-dimensional barcode is a code system that encodes an image using the width of a black-and-white (light / dark) pattern that appears alternately in many different powers.
  • the two-dimensional barcode can be understood to have the same concept by replacing “width” with “cell position”.
  • V so-called color barcodes have been proposed in many ways.
  • most of the conventional color barcodes are aimed at increasing the density of data, and the number of types of colors and density is increased due to the higher density, but the practical use is impaired. Things were also scattered.
  • the present invention has been made in view of such problems, and its purpose is to propose a new bar code that does not depend on the width of the bar code, so that it can be read even in an easily distorted article or in a situation where the printing accuracy is not high. It is to provide a code that uses optical symbols with high accuracy.
  • the force that is the 1D color bit code mentioned earlier although its name is “1D” (one-dimensional), it allows the thickness and bending of the “marking pattern” in terms of using the two-dimensional image of the area sensor.
  • 1D one-dimensional
  • the conventional two-dimensional barcode cut-out method is as described above, and the fact that the force cut-out pattern cannot be accurately recognized and cut-out is a technical problem. .
  • the two-dimensional barcode has the following characteristics.
  • the 1D color bit code devised by the inventor of the present application originally recognizes only the color arrangement, and has a feature of being resistant to distortion, blurring, blurring, and the like of dimensions and shapes. Of course, for reading, it is necessary to cut out the image color bit code captured with the surroundings using an area sensor.
  • the present invention is resistant to dimensions, shape distortion, blurring, blurring, and the like that make use of the features of the 1D color bit code devised by the inventor of the present application, and is easier to cut out than a conventional two-dimensional barcode.
  • the purpose is to provide a method.
  • an object of the present invention is to propose a clipping method that can be easily clipped even if there are a plurality of 1D color bit codes in an image.
  • the 1D color bit code is one of the features that it is easy to simultaneously read a plurality of code symbols.
  • the inventor of the present application has the same or better operation than the conventional stitching by dividing a code symbol representing one data into a plurality of markings.
  • the present invention can detect a reading error when a code symbol end is read in a situation where a mixture of a plurality of code symbols with different numbers of cells is allowed.
  • Another object is to provide a technique capable of preventing misreading.
  • the present invention proposes the following code.
  • the code of the present invention arranges cells in a line and indicates specific data according to the order of the colors of the cells.
  • linear means that cells are arranged in a row and there is no crossing where there is no branch. As long as they are connected in a row, they can be straight, curved, or bent.
  • the article to which the optical symbol is attached may be any material as long as it is a tangible object. It may be a soft article such as food that does not necessarily have to be a hard rigid body. As will be described later, the present invention proposes an optical symbol that is resistant to distortion and deformation of articles, and flexible articles such as clothes are also "articles" in the text.
  • Code A standard for representing data in symbols. In order to clearly indicate that it is a standard, it is sometimes called a code system.
  • Symbol refers to data converted based on the above standard. For example, in a general bar code, each “black and white pattern” obtained by converting data based on a “standard” called “bar code” is called a symbol or “bar code symbol”.
  • Decoding The process of obtaining original data from each symbol based on its code is called decoding.
  • Reader A device that reads a symbol attached to an article. The read data is subject to decoding, and the original data is obtained as a result of decoding.
  • Data An object to be converted into a symbol.
  • force data that is numerical data can be used, and digital data consisting of 0 and 1 can be used.
  • the present invention employs the following means.
  • the present invention includes a plurality of cells that are regions to which one color selected from n color groups is attached, arranged in a line.
  • n is an integer of 3 or more.
  • the cells are continuous, and
  • optical symbols are arranged in a non-branching and non-crossing manner, and the adjacent cells have different colors.
  • the present invention arranges a plurality of cells, each of which is a region to which one color selected from n color groups, is arranged in a line, An optical symbol, wherein end cells are provided with colors other than the n colors at both ends of the linear array.
  • n is an integer of 3 or more.
  • the start point and end point can be identified by this color.
  • the present invention provides the first adjacent cell which is the cell adjacent to the end point cell in the optical symbol of (3).
  • the optical symbol is characterized in that the n color group power is a predetermined color determined in advance. The start point and the end point can be identified by these colors (combination).
  • the present invention provides a predetermined color in which the color of the second adjacent cell adjacent to the first adjacent cell is determined in advance from the color group of n colors. It is an optical symbol characterized by the color.
  • all the colors of the n colors are predetermined cells in the vicinity of the end point cell or in the vicinity of the end point cell. It is an optical symbol characterized by being attached to the cell at the position.
  • the present invention provides the color assigned to the adjacent cell or the cell at the predetermined position, as described above.
  • the present invention relates to the color attached to the adjacent cell or the cell at the predetermined position.
  • the present invention further includes a tracking step of tracking the cell included in the optical symbol in the optical symbol decoding method of (7) or (8), wherein the tracking step includes: Is an optical symbol that tracks the cell based on a color difference between a color attached to the end point cell and a color attached to the adjacent cell or the cell at the predetermined position. This is the decoding method.
  • the present invention may be applied to a region other than the arrangement of the cells, the color attached to the end point cell, or a similar color power thereof.
  • This is an optical symbol characterized by
  • the color attached to the end point cell or a similar color thereof is attached to an area other than the array of the cells. It is an article with an optical symbol, characterized by
  • the present invention is the article according to the above (11), characterized in that the color given to the end point cell or a similar color power thereof is an achromatic color such as black or gray.
  • the present invention arranges a plurality of constituent cells, which are areas to which one color selected from n color groups is attached, in a linear manner.
  • An end-point cell in which colors other than the n colors are attached to both ends or one end of the linear array, and the constituent cell and the force appear alternately two or more times.
  • n is an integer of 3 or more.
  • the present invention is characterized in that the code represented by the cell is determined by the relationship between the cell and the color of the adjacent cell. It is a symbol.
  • the present invention provides an optical symbol characterized in that, in the optical symbol of (1) above, a check, a notation, etc. are distinguished depending on how the cell code is represented. is there.
  • the present invention includes, in the optical symbol described in the above (1), a chromatic power corresponding to an excessive light amount of a light source that illuminates the optical symbol, and is included in the n color groups.
  • V is an optical symbol characterized by the above.
  • the present invention is an article provided with the optical symbol described in any one of (1) to (6) above or (13) to (16).
  • the present invention is a code system using the optical symbol described in any one of (1) to (6) or (13) to (16). .
  • the present invention provides the method for decoding an optical symbol according to any one of the above (1) to (6) or any one of (13) to (16).
  • An optical symbol is imaged to obtain image data of the optical symbol, a step of searching the end cell of the start point and the end point from the image data, and the two end point cells of the found start point and end point.
  • a method for decoding an optical symbol comprising: a step of tracking constituent cells provided between the end point cells; and a step of decoding the tracked constituent cells.
  • the present invention provides a method for attaching an optical symbol according to any one of (1) to (6) above or (13) to (16) to an article. Based on the data you want to record Creating the optical symbol; and attaching the created optical symbol to a predetermined article, the attaching step printing the optical symbol on the article; and An optical symbol is attached to the article, the method including a step of attaching the symbol to the article by embroidery and a step of drawing the optical symbol and applying an adhesive seal to the article. Is the method.
  • the present invention provides image data obtained by imaging an optical recognition code in an optical recognition code recognition device that recognizes an optical recognition code.
  • the image data is composed of data powers of three primary colors, and the parameter indicating the color is An optical recognition code recognition device characterized by being primary color data.
  • the data of the three primary colors refers to data representing colors in the three primary colors, for example, the RGB format or the CMY format.
  • the image data is composed of a data cover that represents a color including a hue, and represents the color.
  • the meter is an optical recognition code recognizing device characterized by the hue.
  • the data representing the color including the hue refers to data representing the color in the HSV format or the HLS format as well as the RGB format and the CMY format. Any format can be used as long as the hue appears.
  • a case where the color is expressed by a color difference signal or the like corresponds to an example of data representing a color including a hue.
  • black and white data it corresponds to an example of data representing colors including the hue.
  • the present invention provides the optical recognition code recognition device according to (21), in which the dividing means does not use any information on the position, size, and shape of the area to be divided.
  • This is an optical automatic recognition apparatus characterized in that the area division processing is performed based only on the parameters representing the recording color.
  • the dividing means performs image processing for expanding the area for each area obtained by the division.
  • the dividing means performs image processing for reducing the area for each area obtained by the division.
  • the dividing unit converts the image data into four values or N values based on a parameter representing a color.
  • the optical recognition code recognition apparatus divides the image data into color regions based on this value.
  • N is a positive integer.
  • the determination unit may be configured to arrange the regions with respect to the regions obtained by the division. boundary condition
  • one or a plurality of 1D color bit code patterns are cut out based only on the number of regions and the arrangement order).
  • the present invention provides the optical recognition code recognition device according to the above (21), wherein the dividing means uses the image data as one or more colors constituting a marking pattern.
  • the color representing the quiet zone is divided into areas, and the color representing the quiet zone is a color (space color) other than the colors constituting the marking pattern.
  • Device uses the image data as one or more colors constituting a marking pattern.
  • the color representing the quiet zone is divided into areas, and the color representing the quiet zone is a color (space color) other than the colors constituting the marking pattern.
  • the determination means is attached when a certain region of interest satisfies any of the following conditions.
  • An optical recognition code recognition apparatus characterized in that an eye region is determined to be a candidate for a cell constituting a color bit code.
  • the other color means another color constituting a marking pattern different from the color of the region of interest.
  • the present invention is characterized in that a space color representing the quiet zone is white or black. It is an optical recognition code recognition device.
  • the present invention assumes that the determination means is a cell in which a region of interest constitutes a 1D color bit code. If the number of cells constituting the 1D color bit code in the case matches the predetermined number, the region of interest is determined to be a candidate for the cells constituting the color bit code. This is a recognition code recognition device.
  • the determination unit is that a certain region of interest is a cell constituting a 1D color bit code.
  • the start point and end point of the 1D color bit code in the case are detected, and one or more cells that make up the start point and one or more cells that make up the end point have a predetermined start and end color.
  • the region of interest is determined to be a candidate for a cell constituting a color bit code if they match.
  • the determination means is that a certain region of interest is a cell constituting a 1D color bit code. If the intermediate point of the 1D color bit code is detected and one or more cells constituting the intermediate point match the color of the predetermined intermediate point, the region of interest is a cell constituting the color bit code.
  • An optical recognition code recognizing device characterized in that it is determined to be a candidate.
  • the determination means is a color comprising a candidate power of a cell constituting a color bit code.
  • This is an optical recognition code recognition device characterized in that a group of color regions estimated to be bit codes are decoded as color bit codes and original data is obtained.
  • the determination means is presumed to be a color bit code that is a candidate power of a cell constituting the color bit code.
  • the optical recognition code recognition apparatus is characterized in that each area group is decoded as a color bit code and the original data is obtained.
  • the computer recognizes the optical recognition code.
  • the image data obtained by imaging the image data is divided into color regions based on the color parameters, and whether each of the color regions after the division is a cell constituting the optical recognition code is determined. And a determination procedure to be executed.
  • the image data is composed of data of three primary colors, and the parameter representing the color is the data of the three primary colors. It is a program characterized by this.
  • the present invention is configured such that the image data includes data representing a color including a hue, and the parameter representing the color is the hue. It is a program characterized by being.
  • the division procedure is a parameter that represents the color without using any information on the position, size, and shape of the area to be divided.
  • This is a program characterized in that the area dividing process is performed only on the basis of the above.
  • the division procedure executes image processing for expanding the area for each area obtained by the division. It is a program.
  • the division procedure executes image processing for reducing the area for each area obtained by the division. It is a program.
  • the division procedure includes a color
  • the program is characterized in that the image data is binarized or N-valued based on a parameter representing a color, and the image data is divided into color regions based on this value.
  • N is a positive integer.
  • the determination procedure may be arranged such that the areas are arranged (boundary conditions, number of areas) with respect to the areas obtained by the division.
  • This is a program characterized by cutting out one or a plurality of 1D color bit code patterns based only on (adaptability of arrangement order).
  • the division procedure represents one or two or more colors constituting a marking pattern and a quiet zone in the image data.
  • the color representing the quiet zone is a space color other than the colors constituting the marking pattern.
  • the determination procedure is performed when the target region satisfies the following condition, and the target region is a color bit code: It is judged that it is a candidate of the cell which comprises.
  • Terminal cell condition b Two other areas are adjacent to the area of interest, and the colors of the other two areas are a space color and another color.
  • the other color means another color constituting a marking pattern different from the color of the region of interest.
  • the present invention is the program according to the above (45) or (46), wherein the space color representing the quiet zone is white or black.
  • the determination procedure assumes that a 1D color bit is obtained when it is assumed that a certain region of interest is a cell constituting a 1D color bit code.
  • the region of interest is determined to be a candidate for cells constituting a color bit code. It is a program to do.
  • the determination procedure assumes that the 1D color bit when the certain region of interest is a cell constituting a 1D color bit code. If the start point and end point of the code are detected, and one or more cells that make up the start point and one or more cells that make up the end point match the colors of the predetermined start and end points,
  • the area is a program characterized by determining that it is a candidate for a cell constituting a color bit code.
  • the determination unit assumes that the 1D color bit when the target region is a cell constituting a 1D color bit code.
  • the determination procedure is estimated as a color bit code that is a candidate power of a cell constituting the color bit code.
  • This is a program characterized by obtaining the original data by decoding the color area group to be regarded as a color bit code.
  • the determination procedure includes a color bit code that is assumed to be a color bit code that is a candidate power of a cell constituting a power error bit code.
  • the program is characterized by decoding each area group as a color bit code and obtaining original data.
  • the present invention relates to image data obtained by imaging an optical recognition code according to an optical recognition code recognition method for recognizing an optical recognition code.
  • the present invention is configured such that the image data includes a data power of three primary colors, and the parameter representing the color is An optical recognition code recognition method characterized in that the data is the data of the three primary colors.
  • the present invention is the optical recognition code recognition method according to the above (53), wherein the image data includes a data color representing a color including a hue, and the meter representing the color is A method for recognizing an optical recognition code, wherein the hue is the hue.
  • the present invention provides the optical recognition code recognition method according to the above (53), wherein the division step does not use any information on the position, size, and shape of the area to be divided.
  • the optical automatic recognition method is characterized in that region segmentation processing is performed only on the parameters representing the color.
  • the division step may perform image processing for expanding the region for each region obtained by the division. An optical recognition code recognition method that is executed.
  • the division step performs image processing for reducing the area for each area obtained by the division. An optical recognition code recognition method that is executed.
  • the division step may convert the image data into four values or N values based on a parameter representing a color.
  • the optical recognition code recognition method is characterized in that the image data is divided into color regions based on this value.
  • N is a positive integer.
  • the determination step may include arranging the regions with respect to the regions obtained by the division.
  • This is an optical recognition code recognition method characterized by cutting out one or a plurality of 1D color bit code patterns based only on boundary conditions, the number of regions, and the alignment order).
  • the division step may include dividing the image data into one or more colors constituting a marking pattern. And a color representing a quiet zone, and the color representing the quiet zone is a space color other than the colors constituting the marking pattern. is there.
  • the present invention relates to the optical recognition code recognition method according to the above (61).
  • the optical recognition code recognition is characterized in that the determination step determines that the target region is a candidate for a cell constituting the color bit code when the target region satisfies any of the following conditions: Is the method.
  • the other color means another color constituting a marking pattern different from the color of the region of interest.
  • the present invention is characterized in that a space color representing the quiet zone is white or black. This is an optical recognition code recognition method.
  • the determination step is assumed to be a cell constituting a certain region-of-interest force S1D color bit code. If the number of cells constituting the 1D color bit code in the case matches the predetermined number, the region of interest is determined to be a candidate for the cells constituting the color bit code. This is a recognition code recognition method.
  • the present invention presupposes that the determination step is a cell constituting a certain region-of-interest force S1D color bit code.
  • the 1D color bit code start point and end point are detected, and one or more cells constituting the start point and one or more cells constituting the end point match the colors of the predetermined start point and end point.
  • the optical recognition code recognition method is characterized in that the region of interest is determined to be a candidate for a cell constituting a color bit code.
  • the determination means is a cell in which a region of interest constitutes a 1D color bit code. If the intermediate point of the 1D color bit code in the case is detected and one or more cells constituting the intermediate point match the color of the predetermined intermediate point, the region of interest It is an optical recognition code recognition method characterized in that it is determined as a candidate for a cell constituting a code code.
  • the determination step may be a color comprising a cell candidate constituting a color bit code.
  • An optical recognition code recognition method characterized in that a group of color regions estimated as bit codes is decoded as color bit codes and original data is obtained.
  • the present invention is based on the assumption that the determination step is a color bit code that also has candidate power of cells constituting the color bit code.
  • this optical recognition code recognition method when there are a plurality of color area groups to be processed, each area group is decoded as a color bit code, and original data is obtained.
  • the present invention provides an optical recognition code in which a predetermined number of cells, which are color regions with a predetermined color, are arranged in a line, The range of the number of cells in the symbol is determined, and within this range, the optical recognition code allows the mixing of code symbols having different numbers of cells.
  • the present invention is the optical recognition code according to (70), wherein the plurality of code symbols have the same number of cells.
  • the present invention provides the code symbol power, wherein each of the code symbols is a plurality of code symbols representing predetermined data.
  • Group identification data for identifying the group to which the code symbol group belongs, and intra-group order identification data indicating the order of the code symbols in the group to indicate that the code symbol group is included This is an optical recognition code characterized by this.
  • the present invention provides the group identification data for identifying the group is data represented by a predetermined cell group in the code symbol. This is an optical recognition code.
  • the group identification data for identifying the group is a color pattern expressed in a predetermined cell group in the code symbol. It is an optical recognition code characterized by being.
  • the present invention is characterized in that the intra-group order identification data is data represented by a predetermined cell group in the code symbol. This is an optical recognition code.
  • the intra-group order identification data may be a color pattern represented in a predetermined cell group in the code symbol.
  • An optical recognition code characterized by the following.
  • the present invention is configured so that each of the code symbols is prevented from being erroneously read due to reading out of the end portion.
  • An end portion identifying color array is provided at the left end and the right end, and when the end portion identifying color array is read with a part missing, it can be determined that there has been an overwriting. This is an optical recognition code.
  • the number of cells constituting each code symbol is N or N-1, and the color used by each code symbol is 3 or more colors, a cell of the first color is arranged at the end of one end of each code symbol as the end identification color array, and the end identification color arrangement is arranged at the other end.
  • the optical recognition code is characterized in that cells of the second color are arranged as a column.
  • the N is a natural number, and the first color and the second color are different colors.
  • the number of cells constituting each code symbol is N or N-1, and the color used by each code symbol is 3 or more colors
  • the end identifying color array provided at one end of each code symbol includes, in order from the one end, a first color cell and a second color cell.
  • the end identifying color array provided at the other end of each code symbol is composed of a first color cell and a third color cell in order of the other end force.
  • the number of cells constituting each code symbol is N or less and Nk or more, and each code symbol is used. 3 or more colors to be used, and the end identifying color array provided at one end of each code symbol includes a first color cell and a first repetitive cell portion in order from one end.
  • the end-identifying color array provided at the other end of each code symbol includes a second color cell and a second repetitive cell portion in order of the other end force.
  • the first repetitive cell unit is configured to connect the third color cell and the second color cell alternately by connecting to the inner side of the code symbol from the one end side.
  • the total number of cells is k
  • the second repetitive cell portion is the other end portion.
  • the third color cell and the first color cell are alternately connected from the side toward the inside of the code symbol, and the total number of connected cells is k. code.
  • the N is a natural number
  • the k is an integer of 1 or more and less than N.
  • the number of cells constituting each code symbol is N or less and Nk or more, and each code symbol is used. 3 or more colors to be used, and the end identifying color array provided at one end of each code symbol includes a first color cell and a first repetitive cell portion in order from one end.
  • the end-identifying color array provided at the other end of each code symbol includes a first color cell and a second repetitive cell portion in order of the other end force.
  • the first repetitive cell unit is configured to connect the second color cell and the third color cell alternately by connecting to the inner side of the code symbol from the one end side.
  • the total number of cells is k, and the second repetitive cell portion is the other end portion.
  • the third color cell and the second color cell are alternately connected, and the total number of connected cells is k.
  • the N is a natural number
  • the k is an integer of 1 or more and less than N.
  • the order of the configuration cells can be specified by tracking the configuration cells. Since the data is expressed by combining the colors of the constituent cells, a code system is obtained that does not affect the reading of data even if the size of the constituent cells changes.
  • a symbol can be directly printed on food such as soft meat using food coloring.
  • a straight line or a curved line may be used as long as it is a force line that forms a symbol by arranging cells in a line. Therefore, a symbol with a high degree of design freedom can be obtained.
  • the present invention extracts from the “background image” a cell group that meets the “marking pattern” condition of the 1D color bit code from the entire image data. Therefore, the code can be recognized without using an auxiliary mark such as a “cutout mark” as in the case of a conventional two-dimensional barcode.
  • the optical recognition code can be realized with a rough accuracy of the marking itself (the operation or action for applying the optical recognition code).
  • predetermined data can be represented using a plurality of code symbols. Even if there is a difference in the number of cells of multiple code symbols, it is possible to detect that there has been an over-reading (edge missing) force S at the time of reading by providing an edge identification color array. , Can prevent misreading.
  • the present invention can detect a case where a code symbol is missed (a chipped end) in a situation where code symbols having different numbers of cells are allowed to be mixed, and can prevent misreading. An optical recognition code is obtained.
  • predetermined data can be expressed by a plurality of code symbols.
  • FIG. 1 is an explanatory diagram of optical symbols according to the first embodiment.
  • FIG. 2 is a table showing correspondence between color transition and data in the first embodiment.
  • FIG. 3 is a diagram showing a table showing two types of options in Embodiment 1 of the present invention.
  • FIG. 4 is an explanatory diagram showing an example of another optical symbol according to the first embodiment.
  • FIG. 5 is an explanatory diagram showing an example in which the optical symbol of FIG. 1 of Example 11 is processed in design.
  • FIG.6 Three types of conversion tables showing how numbers and alphabets are converted.
  • FIG. 7 is an explanatory diagram showing a relationship between color change directions.
  • FIG. 8 is an explanatory diagram showing an example in which the “year2000” force optical symbol 1010 is created.
  • FIG. 9 is an explanatory diagram showing an example in which different types of conversion tables are prepared for each digit.
  • FIG. 10 is an explanatory diagram showing an example representing “12345678” (decimal number).
  • FIG. 11 is an explanatory diagram showing an example of an optical symbol attached to an edge portion of an envelope.
  • FIG. 12 is an explanatory diagram showing an example in which the colors of the end point cell and the directly adjacent cell appear repeatedly several times.
  • FIG. 13 is an explanatory view showing a state where an optical symbol is attached to a transparent plastic case.
  • FIG. 14 is an explanatory diagram showing an example of a result of performing a color equalization process on image data in the second embodiment.
  • FIG. 15 is an explanatory diagram showing a state of the cut 1D color bit code in the second embodiment.
  • FIG. 16 is an explanatory diagram showing a state when data is expressed by a plurality of code symbols in the third embodiment.
  • FIG. 17 is an explanatory diagram showing a state of a 1D color bit code when group identification data and in-group order identification data are given as color patterns.
  • FIG. 18 is an explanatory diagram showing the state of a 1D color bit code when group identification data and intra-group order identification data are given as color patterns, and in particular, intra-group order identification data is arranged at an intermediate position of the code. It is an example.
  • FIG. 19 is an explanatory diagram showing the state of code symbols in a case where a mixture of N code symbols and N ⁇ 1 code symbols is allowed.
  • FIG. 20 is an explanatory diagram showing the state of code symbols in a case where a mixture of N code symbols and N ⁇ 2 code symbols is allowed.
  • FIG. 21 is an explanatory diagram showing the state of code symbols in a case where a mixture of N code symbols and N ⁇ 3 code symbols is allowed.
  • FIG. 22 is an explanatory diagram showing a state of code symbols in a case where a mixture of N code symbols and N ⁇ 4 code symbols is allowed.
  • FIG. 23 is an explanatory diagram of an optical recognition code according to another Example 3-1.
  • FIG. 24 is an explanatory diagram of an optical recognition code according to another Example 3-2.
  • FIG. 25 is an explanatory diagram of an optical recognition code according to other Example 3-3.
  • FIG. 26 is an explanatory diagram of an optical recognition code according to other Example 3-4.
  • FIG. 27 is an explanatory diagram showing a state where a conventional barcode is read by a plurality of scan lines.
  • a code using an optical symbol having a form in which cells are arranged in a line is proposed.
  • This optical symbol is a planar symbol and is attached to various articles.
  • the optical symbol of this embodiment is composed of a cell and an end point cell.
  • a cell is a range or region to which one color is attached, and can take various shapes. Circles, squares, triangles, etc. can be used.
  • An optical symbol is formed by arranging these cells in a line.
  • the end point cell is a cell located at the end point of the optical symbol having the cell group force connected in a line.
  • the end point cell is a region 'range that is colored differently from cells other than the end point cell. As will be described later, whether the end point is the “start point” or the “end point” can be expressed by a combination of (color) with another cell adjacent to the end point cell.
  • the end point cell When the start point is represented, the end point cell may be referred to as a start cell. When an end point is expressed, the end point cell may be called an end cell.
  • when a cell other than the endpoint cell is particularly distinguished from the endpoint cell, it may be referred to as a “configuration cell”.
  • the optical symbol of the present embodiment is configured by arranging cells in a line as described above.
  • This linear shape may be a straight line or a curved line. Any line is acceptable as long as adjacent cells can be tracked! /.
  • FIG. 1 shows an example of the optical symbol 10 representing the numerical value “12345678” (decimal number).
  • This implementation f column 1 U Koo ⁇ ⁇ ⁇ ⁇ , 12345678 [In binary, it is written as “10111100011000 0101001110”. In this example 1-1, this binary number “101111000110 000101001110” is represented. Talk!
  • FIG. 1 a square with 10 (representing yellow), ⁇ (representing magenta), C (representing cyan), and the like is cell 1012. A plurality of the cells 1012 are connected to form an optical symbol 1010.
  • binary components "0” and “1” are represented as shown in the table of FIG.
  • “1” and “0” are assigned to the transition of the color instead of assigning “1” and “0” to the color.
  • black and cyan (C), magenta ( ⁇ ), and yellow ( ⁇ ) are used.
  • the color transition from C to ⁇ and from ⁇ to ⁇ represents “1”. (See Figure 2).
  • the color transition from ⁇ to M, C force ⁇ , and ⁇ to C represents “0” (see Figure 2).
  • the value of the corresponding digit is determined by the color value of the cell 1012 of the digit and the color value of the cell 1012 of the preceding digit.
  • a digit means a part to which a numerical value is assigned.
  • it is sometimes called a constituent cell 1012 in particular.
  • Example 1-1 24 digits are required to represent the binary number “101111000110000101001110”. In Example 1-1, one digit corresponds to one cell 1012.
  • Example 1-1 the first two cells 1022 and 1024 (two cells 1022 such as left force) are the cells indicating the start, and do not correspond to the digits of the numerical value to be represented. Cell 1022. That is, these are not constituent cells 1012 that represent data.
  • the directly adjacent cell 0122 is a cell adjacent to the end point cell 1020.
  • the indirect adjacent cell 1024 is not directly adjacent to the end point cell 1020 but is a force adjacent to the direct adjacent cell 1022 or a cell adjacent to another indirect adjacent cell 1024.
  • the endpoint cell 1020 may be a start cell or an end cell. That is, there may be a directly adjacent cell 1022 or an indirect adjacent cell 1024 on either the start point side or the end point side.
  • the left and right black cells in FIG. 1 are the end cells 1020a and 1020b, and the left end (start side) end cell 1020a (black) is directly connected to the adjacent cell 1022a.
  • This directly adjacent cell 1022a is defined as having a color Y (yellow).
  • the directly adjacent cell 1022b and the indirect adjacent cell 1024b are continuously connected to the end cell 1020b. It is defined that C (cyan) is attached to the directly adjacent cell 1022b, and M (magenta) is attached to the indirect adjacent cell 1024b.
  • the end point side is represented by the indirect adjacent cell 1024b of the black end point cell 1020b + C (cyan) directly adjacent cell 1022b + M (magenta).
  • Example 1-1 As shown in the table of FIG. 2, three types of color combinations representing the numerical values “1” and “0” are prepared. Therefore, in Example 1-1, the description of data is started from the right side ( ⁇ in Fig. 1) of the ⁇ indicating the start. In this case, the first digit (1 in this embodiment) can have two types of options.
  • FIG. 3 (1) A table showing examples of the two types of options is shown in FIG.
  • the cell 1012 adjacent to the end cell 10 20 (H) is connected in series, and the cells 1012 of C and M are successively connected.
  • This C The first digit “1” is represented by a sequence of M cells.
  • the Y cell 1012 adjacent to the end cell 1020 (black) is connected in sequence with the M and Y cells 1012.
  • the series of M and Y cells represents the first digit “1”.
  • FIG. 4 (1) shows an example in which the cell 1012 in the CM array is adopted after the cell 1012 in Y.
  • Fig. 4 (2) shows an example in which “12345678” (decimal number) is represented in gray code.
  • check digit and the number of digits can be placed in the cell between the last digit and the end cell M ⁇ C at the right end (end side) as well as the left end (start side (start side)).
  • an end cell refers to an end point cell 1020 that represents an end point. Further, in this Example 1-1, the end cell is provided with the C cell 1012 and the M cell 1012 in order adjacent to each other (see FIG. 4). Various functions such as check digit and digit display can be arranged.
  • the cells 1012 and the end point cells 1020 may be arranged in a force curve that is arranged in a straight line. It suffices if the connection between the cells 1012 can be identified and the connection can be traced.
  • FIG. 5 shows an example in which the optical symbol of FIG. 1 of Example 11 is processed in design.
  • various shapes such as a circle, a square, and a star can be adopted as the shape of the cell 1012.
  • the cells 1012 may be arranged in a straight line, a circle, or a curve as long as the connection state can be identified and the adjacent cells 1012 can be traced.
  • FIG. 6 shows an example of signing a number or alphabet directly (without directly converting it to binary).
  • Figure 6 shows three types of conversion tables that indicate how each number or alphabet is converted. The three types are shown because there are three types of conversions, starting from C force, starting from M force, and starting from Y, according to the color of the first cell 1012.
  • FIG. 7 is an explanatory diagram showing the relationship between these change directions.
  • the change in color “YC” is equivalent to the change in color “CM” and “MY”. This is evident from the table in Figure 6.
  • the color change “YM” is equivalent to the color change “CY” and “MC”. This is also clear from the table in Fig. 6.
  • the start is the same as in Example 1-1 in that three colors can be selected.
  • FIG. 8 shows an example of creating the “year2000” force optical symbol 1010 using the table of FIG.
  • the endpoint cell 1020 is black as in the example of FIG. 1, and the cell 1012 uses three colors C (cyan), M (magenta), and Y (yellow).
  • ⁇ y '' is represented by ⁇ MY CYMYMY '', so if you search for ⁇ e '' starting from ⁇ ⁇ '' using the last ⁇ Y '' from the table in Fig. 6, ⁇ YCMCYMCM '' This is used because This time, since the last is “M”, search for “a” starting with “M”.
  • each character “year2000” is converted in the same way to form the final optical symbol 1010 (FIG. 8).
  • Examples 1-1, 1-2 the case of three colors (CMY) has been described as an example in order to prevent color reading errors as much as possible.
  • the three colors are RGB.
  • the power that has been described as the color of the end cell 1020 is black. Even if the end cell 1020 is not dared, it will not work if the background color is black. In this sense, if the background color is other than black (for example, Y), this may be used as the color of the endpoint cell 1020 and any other color of cell 1012 may be selected.
  • Example 1-3 an example in which one color G (green) is added in addition to YMC will be described.
  • the cell 1012 with G (green) is used as a space cell.
  • FIG. 9 shows a conversion table in the case of the first to third embodiments.
  • a different conversion table is used for each digit.
  • An example of “12345678” (decimal number) using this conversion table is shown in FIG.
  • a cell 1010 with G green
  • a space cell 1030 a cell for separating each digit. The presence of the space cell 1030 makes it easy to distinguish each digit.
  • the conversion table is used for each digit, but the conversion results are all different. Therefore, by looking at the pattern of the conversion result, it is possible to easily know the digit number of the data. In any case, in the present invention, if the number of colors used is increased, the degree of data accumulation can be improved reliably.
  • Reading the optical symbol 1010 and restoring the original data is called decoding.
  • Various decoding procedures are considered.
  • a typical preferred example is as follows.
  • An image including the optical symbol 1010 is photographed with a CCD camera or the like on a predetermined article, and is captured as image data.
  • the CCD camera is a typical example of a so-called area sensor.
  • the image data may be acquired by another area sensor.
  • These directly adjacent cells 1022 and indirect adjacent cells 1024 have a feature that they do not have constituent cells 1012 that are continuous on both sides.
  • the direct adjacent cell 1022 and the indirect adjacent cell 1024 have a feature that when connected to the constituent cell 1012, only one side is provided. Based on such conditions, the direct neighbor cell 1022 and the indirect neighbor cell 1 024 are searched for.
  • the white area is regarded as excessive light due to total reflection, and this area is determined not to be the optical symbol 1010.
  • the image is averaged for each fixed area to eliminate the influence of components such as noise, fine shadows, and dirt. In short, it is noise removal by filtering.
  • a median filter and other various filtering means known in the art can be used.
  • optical symbol 1010 is decoded by such a method.
  • the code system proposed in this embodiment has the following characteristics.
  • the optical symbol used in the first embodiment is that the end cell 1020, the directly adjacent cell 1022, and the indirect adjacent cell 1024 can reliably follow the adjacent cells in a chained manner. .
  • the colors used can be composed of only pure colors for a three-primary-color scanning device, and have a high tolerance for variations in fading, lighting, printing, etc.
  • the code (data) represented by a cell is determined by the relationship between the cell and the color of the adjacent cell.
  • the reference cell is realized by placing cells with C, M, and Y colors in predetermined locations.
  • This calibration is performed with respect to the color of the constituent cell 1012 and the color difference between the constituent cells.
  • the endpoint cell 102 is placed on each side so that the chain of the constituent cell 1012 can be traced.
  • the constituent cell 1012 selects a color from the three color groups C, M, and Y.
  • the end point cell 1020 is “black” which is different from these three colors. Therefore, the “both sides” is preferably black.
  • one-dimensional optical symbol 1010 as in the first embodiment 1 is one of the preferred uses, for example, attached to the edge portion of an envelope.
  • An example of such use is shown in Figure 11.
  • FIG. 11 shows an example of an optical symbol 1010 in which colors are arranged side by side at the edge of the envelope.
  • both sides of the constituent cell 1012 are generally shadowed. Therefore, in an actual example, the end point cell 1020 of the optical symbol 1010 is appropriate to have a black achromatic color similar to a shadow.
  • both sides mean two directions perpendicular to the extending direction of the optical symbol 1010.
  • the left end (Start side) searches for (1) black (end cell 1020a) with both ends sandwiched by Y, and at the same time, directly adjacent cell 1022a with that Y attached (2) Of the directly adjacent cells 1022a of Y that have been found, both adjacent sides are black ⁇ Directly adjacent cells 1022a, that is, at least one of the adjacent cells 1022a that is not black (end cell 20) The directly adjacent cell 1022a found and found is determined as a direct adjacent cell 1022a on the Start side and a calibration cell 10102a that determines Y for calibration.
  • the set of “end cell 1020a + directly adjacent cell 1022a” is repeated three times on the start side.
  • a set of “end cell 1020b + directly adjacent cell 1022b + indirect adjacent cell 1024b” is repeated three times on the termination side.
  • a plurality of colors are used, and each cell has a color for each cell.
  • the number of cells constituting the array is a predetermined number.
  • Adjacent cells are not assigned the same color, but are always assigned different colors.
  • image data is divided into color regions as follows.
  • ⁇ Image data including 1D color bit code is captured by the area sensor.
  • the 1D color bit code is described as a sequence of “cells” of blue, red, and yellow, and the number of “cells” is 15. That is, each cell of the 1D color bit code is given a color of blue, red, or yellow.
  • "Original image" data originally captured by the upper area sensor is composed of various colors including the background, and the patterns are also various.
  • the color in the original image data is divided into blue, red, yellow, and achromatic colors in the color space, and “color equalization” is performed to apply the color of each pixel to one of the areas.
  • each pixel is subjected to a so-called labeling process.
  • the blue, red, and yellow are colors originally defined as colors (blue, red, and yellow) that constitute the marking pattern of the 1D color bit code.
  • “blue, red, yellow” used in the classification is a color range that takes a certain range in the color space in consideration of variations in lighting, coloring, and fading. This is called a “marking color range”.
  • the achromatic color is defined as a type other than the “marking color range”.
  • the colors of the Quiat Zone are also treated as colors outside this “marking color range”.
  • the quiet zone represents a part other than the 1D color bit code, and naturally handles it as a partition between codes.
  • colors outside the marking color range are recognized as the colors of the quiet zone (referred to as space colors)! This is also a part of the “color leveling process” described above.
  • the space color that is the color of the quiet zone is, for example, white. In other words, all colors outside the marking color range are regarded as white and converted to white.
  • noise removal processing such as averaging or averaging according to the surrounding colors.
  • FIG. 14 shows an example of the result of performing such color leveling processing.
  • the correct 1D color bit code to be detected is a series of color regions in the center portion.
  • Fig. 14 there are several other series of such color areas, but these are excluded from the candidate color bit codes by the following three types of judgment steps. Eventually, the remaining candidates become color bit codes to be detected.
  • Judgment step 1 (Boundary condition) First, the boundary condition of each color region is determined.
  • each color region other than white is a "cell” that constitutes a "cell row” is that the boundary condition satisfies the following condition: is there.
  • the surrounding area is white and the surrounding area is complete with other colors. In this case, the area corresponds to a “terminal cell”.
  • the other color in this example means three colors other than white, blue, red and yellow and other than the cell (region) (if the cell is red, it is blue or yellow). .
  • Intermediate cell refers to a "cell” other than both ends of a cell column.
  • this intermediate cell because it constitutes a cell column, there are two adjacent cells, and the color of these two cells (the area that becomes) is from the definition of the 1D color bit code, The color is different from that of the intermediate cell.
  • the surroundings other than the two areas are surrounded by a queat zone from the definition of the 1D color bit code. This quiet zone is an “achromatic” region as described above, but has been converted to white.
  • the area is an intermediate cell in the cell row, the above condition a should be satisfied. If condition a is satisfied, the area may be an intermediate cell.
  • Terminal cells refer to “cells” at both ends of a cell string.
  • this terminal cell since it constitutes the end point of the cell string, there is only one adjacent cell, and the color of that one cell (the area that becomes) is defined by the 1D color bit code definition Therefore, it is a color different from the color of the terminal cell.
  • the surrounding area except for one adjacent area is surrounded by a quiet zone based on the definition of the 1D color bit code. This quiet zone is an “achromatic” region as described above, but is converted to white.
  • the color area (for example, the area where the three colors touch each other without surrounding the ground color, or the area covered by only one color) constitutes a cell row Since there is no possibility to do so, it is determined as a “background image” area, and a color other than white that touches this background image area All areas are determined as “background image” areas.
  • White is a quiet zone as described above.
  • the color regions (cell column candidate regions) that remain as candidates without being excluded in the determination step 1 above are the forces that must be connected in a row.
  • the number power of the connected color regions in each column. Desired 1D color bit code And may be different. Therefore, the color area is further narrowed down under the condition of this number of cells (the number of cells of 1D color bit code is known, and only those that match this are determined as “cells” constituting the area of 1D color bit code) .
  • start cell (group) is yellow'red and end cell is blue
  • end cell is blue
  • end cell there are two types of end cells: start cell (group) and end cell (group). Each consists of one or more cells (groups).
  • start point cell group is composed of two cells and the end point cell is composed of one cell.
  • Each color setting is called a termination condition.
  • the code area may be narrowed down not only by the terminal condition force but also by the intermediate point condition force.
  • the color setting such as red or blue is called the midpoint condition.
  • Decoding is performed in the order of the colors in the color area that has passed all of the determination steps 1 to 3 described above, that is, the remaining candidate areas of the final 1D color bit code. Then, the consistency of check digits and the like is confirmed.
  • each color region is connected in a so-called stepping stone shape. In this way, even when island-like color regions are arranged at a predetermined distance, a 1D color bit code can be established as long as the arrangement can be recognized (as long as it can be traced).
  • the color area of the marking may be enlarged, and there may be too many overlapping parts. In this case, the overlap of the color areas increases, and it is possible that the order of arrangement of the color areas cannot be grasped!
  • Reduction (reduction) of a predetermined area is known as basic processing of image processing (such as thinning processing for thinning a line), and can be easily performed by those skilled in the art.
  • FIG. 15 The state of the 1D color bit code cut out in this way is shown in FIG. As shown in Fig. 15, there are five sets (candidates) of color areas that are likely to be 1D color bit codes, but only the central column is cut out as a 1D color bit code and is subject to decoding.
  • the upper left set is excluded in decision step 1 because the boundary condition is inconsistent.
  • the lower left set is excluded in decision step 1 because the boundary conditions are also inconsistent.
  • the lower center set is excluded in decision step 2 because the number of cells does not match the desired number of 1D color bit codes (here, 15) (10).
  • the rightmost set is excluded in decision step 1 because the boundary conditions are inconsistent.
  • a color equalization process is performed in which a certain range centered on red is regarded as red. The same applies to yellow and blue.
  • various approximate regions may be adopted as the fixed range, but it is also preferable to set the range within a certain Hamming distance from pure red, for example.
  • the image data itself is often obtained with data that also has the three primary colors of R (red), G (green), and B (blue). Is preferred.
  • RGB data it is also preferable to convert this RGB data to the HSV format and perform a color-equalizing process.
  • HSV is data consisting of hue, saturation (also called purity), and lightness (Value), and it has a hue component, so a certain range centered on red, mainly yellow. It may be easy to calculate a certain range, and a certain range centered on blue. Of course, everything except these fixed ranges is converted to “white” as described above. Converting RGB data and HSV data between each other has been done conventionally, and those skilled in the art can easily convert them.
  • Such an HSV format corresponds to a preferred example of data representing a color including a hue.
  • a program it is preferable to store such a program in a predetermined recording medium.
  • a predetermined recording medium For example, it is preferably stored in various semiconductor storage devices such as a hard disk, various optical disks, and flash memory.
  • these programs and the computer are configured separately.
  • image data is typically obtained by photographing with a CCD camera or the like. Even if the data shot with an analog camera is converted to a digital signal, there is no problem.
  • red, yellow, and blue are color-equalized, and the area is divided, but this may be any color, and the number of colors is 4 It may be more than color. It is also preferable to use green, cyan, magenta and the like.
  • Fig. 16 shows an example in which a certain data is divided into three parts and is divided into three code symphonoles 3020a, 3020b, and 3020c. These three code symbols (3020a, 3020b, 302
  • Oc Represent predetermined data in a group of power.
  • the above group indicates the group identification data that represents the group, and the code symbol power and the number of code in the group. Express the data including the in-group order identification data shown!
  • the three code symbols 3020 include common group identification data.
  • the three code symbols contain in-group order identification data indicating the number of the code in the group, which is different for each code.
  • the group identification data is “00”.
  • the first two digits of the data in the code symbol represent this group identification data.
  • the group identification data in the three code symbols are all “00”.
  • the group identification data since a number is used as group identification data, the group identification data may be referred to as a group number.
  • the in-group order identification data is “00”, “01”, “10”, and is included in the color pattern power code symbol representing this number.
  • the group identification data may be referred to as intra-group numbers.
  • each code symbol represents the group identification data, the intra-group number order identification data, and the data to be expressed in order.
  • the data to be represented is 1048576 (decimal number) in the case of the upper code symbol, and its binary representation is shown in Fig. 16 (1).
  • the data to be represented by the middle code symbol is 1 (decimal number), and its binary representation is shown in Fig. 16 (1).
  • the data to be expressed by the lower code symbol is 1398101 (decimal number), and its binary representation is shown in Fig. 16 (1).
  • Embodiment 3 of the present invention unlike conventional stitching, code symbols representing one piece of data are divided into a plurality of marking methods at the same time as conventional stitching. The above effects can be obtained.
  • Figure 16 (2) shows another example.
  • data is recorded by being divided into code symbols 303 Oa, 3030b, and 3030c.
  • the f column shown in Fig. 16 (2) is different from Fig. 16 (1) in that the gnorape identification data is "10" and the data is "1887436—524351 63" t. .
  • the rest is the same as Fig. 16 (1).
  • the group identification data and the intra-group order identification data are preferably given as color patterns in addition to being given as numerical data. Examples of such are shown in Figs.
  • FIG. 17 shows an example in which certain data is divided into three and divided into three code symbols 3040a, 3040b, and 3040c as in FIG.
  • the three codes symbols (3040a, 3040b, 3040c) are used to express the predetermined data with a gnole.
  • the group identification data and the intra-group order identification data are represented by color arrangement patterns.
  • the group identification data is “YCM”.
  • the color itself is used as group identification data, and this is indicated by the group pattern portion 3042 in the code symbol.
  • the group identification data is “YCM”
  • “YCM” is added to the group pattern portion 3042 in accordance with the color. This is because all three code symbols 3040a, 3040b, 3040c are set to the pattern.
  • the in-group order identification data is “YMY”, “MYM”, and “MCM”. It is attached to the in-group order display pattern 3044.
  • the order When the intra-group order identification data configured as shown in FIG. 17 is adopted, the order must be expressed in color in advance.
  • each code symbol represents a group pattern representing group identification data, data to be represented, and identification data in the group number order.
  • the data to be represented is 1048576 (decimal number) in the case of the upper code symbol 3040a, and its binary representation is shown in Fig. 17 (1).
  • the data desired to be represented by the middle code symbol 30 40b is 1 (decimal number), and its binary representation is shown in FIG. 17 (1).
  • the data that the lower code symbol 3040c wants to express is 1398101 (decimal number), and its binary representation is shown in FIG. 17 (1).
  • Figure 17 (2) shows another example.
  • the data is code symbol 305 It is recorded separately as 0a, 3050b, 3050c.
  • the f column shown in Fig. 17 (2) shows that the gnorape identification data is "MCY", and that the data is "1887436-524351-63"! ) Is different. Other than that, it is the same.
  • the data is recorded by being divided into code symphonores 3060a, 3060b, and 3060c.
  • the example of FIG. 18 is common to the example of FIG. 17 in that the group identification data and the intra-group order identification data are expressed by color patterns.
  • the example shown in FIG. 18 is data of data power S “1887436-524351-63” to be expressed, and this point is also the same as the example of FIG.
  • the example shown in FIG. 18 is different from the example of FIG. 17 in the “position” of the in-group order identification data.
  • the intra-group order identification data is described in the intra-group order display pattern section 3062, which exists in the vicinity of the center of the code symbol 3060.
  • in-group order identification data and group identification data can be placed anywhere as long as they are determined in advance.
  • the reading process is performed assuming that these multiple code symbols exist.
  • a code in which the number of cells in the code symbol is not defined can also be used. It is specified as a certain pattern with a starting point and an ending point, and when that particular notturn is detected, it is recognized as a starting point and an ending point (recognition 'judgment), respectively. It is.
  • the check cell is a cell for error check that is not a cell that represents data, and a check cell by a conventionally known technique such as parity or CRC can be considered.
  • FIGS. 17 to 18 described above are examples in which “the symbol length (number of cells) of all code symbols are equal,” and so on. The number of code symbol cells is equal.
  • symbol lengths (number of cells) of all code symbols are equal may be a condition that is too strict when actually operating.
  • the number of cells is N—one code symbol can't be captured! There is no risk of misreading.
  • the code symbol with N cells allows N—one cell number even if one end cell cannot be captured! Can cause misreading.
  • Figure 19 (1) shows the case where the number of cells is N.
  • An example is shown in which the cell adjacent to the leftmost Y cell is M.
  • Fig. 19 (2) shows an example where the number of cells is N as in (1), but the leftmost Y cell is C.
  • Figure 19 (3) shows the case where the number of cells is N—1.
  • An example is shown in which the adjacent cell of the leftmost Y cell is M.
  • Fig. 19 (4) shows an example in which the cell adjacent to the leftmost Y cell is C, as in (3) when the number of cells is N-1.
  • FIGS. 19 (5) to (8) show a state where the end portion is chipped during reading, which corresponds to FIG. 19 (1) one (4).
  • FIG. 19 (5) shows a state in which the 1D color bit code of FIG. 19 (1) has been read with the left end lacking one cell (Y cell).
  • the end point condition (the left end is Y and the right end is C) is not met! / ⁇ (the left end is not a Y cell), so it can be detected that a misread has occurred It is.
  • the end point condition is not satisfied in the same way, so that any misreading can be detected.
  • FIG. 19 (6) shows a state in which the 1D color bit code of FIG. 19 (2) has been read with the left end lacking one cell (Y cell). Even in this case, it is clear that the end point condition (the left end is Y and the right end is C) is not satisfied! / ⁇ (the left end is not a Y cell), so it can be detected that a misread has occurred It is. In this case, even if the reading is reversed in the left-right direction, the end point condition is not satisfied in the same way, so that any misreading can be detected.
  • FIG. 19 (7) shows a state where the right end of the 1D color bit code of FIG. 19 (1) is read with one cell (C cell) missing. In this case as well, the end point condition is not satisfied (the right end is not the C cell), so it is possible to detect that a misread has occurred. This is not satisfied even if it is flipped horizontally, and it is possible to detect that a misread has occurred.
  • FIG. 19 (8) shows a state where the right end of the 1D color bit code of FIG. 19 (2) is read with one cell (C cell) missing. In this case as well, the end point condition is not satisfied (the right end is not the C cell), so it is possible to detect that a misread has occurred. This Even if it is flipped left and right, it does not satisfy the same condition, and it is possible to detect that a misread has occurred.
  • Fig. 20 shows the results of investigations on detection of misreading when code symbols consisting of N cells and code symbols consisting of N-2 cells are allowed to coexist. .
  • the end point condition is that the left end is YMC (Y cell is the left end) and the right end is YMC (C cell is the right end).
  • the end array condition includes the above-mentioned conditions for N pieces and N-1 pieces.
  • Fig. 20 is the same as Fig. 19.
  • the end point condition is further extended in the inner direction of the code symbol. That is, at the left end, the M cell and C cell are added to the inside of the code symbol, and the YM cell is attached to the inside of the code symbol at the right end in addition to the C cell. Has been. [0379] If such an end point condition is adopted, as shown in Fig. 20, any two cells at the end are missing! Always different from the array.
  • Figure 20 (3) lacks the leftmost Y cell and the rightmost C cell in the example of Figure 18 (1), and clearly does not satisfy the above endpoint conditions, including the case of horizontal reversal.
  • N If two or more chippings occur in one code symbol, the number of cells does not meet the specified requirements, and it can be detected that the chipping has occurred, thereby preventing misreading.
  • N power N— Mixing (freedom) of code symbols with up to 2 cells is allowed.
  • FIG. 21 shows an example of coexistence of code symbols of N cells and N-3 code symbols.
  • the end point condition of the example shown in Fig. 21 is that the left end is YMCM (Y cell is the left end), and the right end is MYM.
  • the end arrangement conditions are the above-mentioned conditions for N and N—1 (condition in FIG. 19), and the conditions for N and N—2 (see figure). 20 conditions).
  • M cells are added.
  • the Y cell is added to the C symbol, the YM cell is added to the inside of the code symbol, and the M cell is attached.
  • Figure 21 (3) lacks the YMC cell at the left end of the example of Figure 21 (1), and clearly does not satisfy the above-mentioned end point condition, including the case of horizontal reversal.
  • Figure 21 (4) lacks the leftmost YM cell and rightmost C cell in the example of Figure 21 (1), and clearly does not satisfy the above endpoint conditions, including the case of left-right inversion.
  • Figure 21 (5) lacks the leftmost Y cell and rightmost MC cell in the example of Figure 21 (1), and clearly does not satisfy the above endpoint conditions, including the case of left-right inversion.
  • Figure 21 (6) lacks the rightmost YMC cell in the example of Figure 21 (1), and clearly does not satisfy the above endpoint conditions, including the case of horizontal reversal.
  • FIG. 22 shows an example of coexistence of code symbols of N cells and N-4 code symbols.
  • the end point condition of the example shown in Fig. 22 is YMCMC at the left end (Y cell is at the left end) and YM at the right end.
  • the end arrangement conditions are the above-mentioned conditions for N and N—1 (condition in FIG. 19), and the conditions for N and N—2 (see figure). 20 conditions), and N and N-3 conditions (conditions in Fig. 21).
  • FIG. 22 includes the conditions of FIG. 20 and FIG.
  • N Prevents misreading and left / right reversal when three are mixed.
  • an M cell / ⁇ cell is added to the inside of the code symbol in addition to the C cell, a further cell is added, and a further cell is added again.
  • FIG. 22 (2) shows a code symbol of ⁇ ⁇ -4 cells that satisfies the above endpoint condition.
  • Figure 22 (4) lacks the leftmost YMC cell and the rightmost C cell in the example of Figure 22 (1), and clearly does not satisfy the above endpoint conditions, including the case of horizontal reversal.
  • Figure 22 (5) lacks the leftmost YM cell and rightmost MC cell in the example of Figure 22 (1), and clearly does not satisfy the above endpoint conditions, including the case of horizontal reversal.
  • Figure 22 (6) lacks the leftmost Y cell and the rightmost YMC cell of the example of Figure 22 (1), and clearly does not satisfy the above endpoint conditions, including the case of horizontal reversal.
  • Figure 22 (7) lacks the rightmost MYMC cell in the example of Figure 22 (1), and clearly does not satisfy the above endpoint conditions, including the case of left-right reversal.
  • N power N Mixing of code symbols with up to 4 cells (degree of freedom) is allowed.
  • the first color may be arranged as the left end array, and the second color may be arranged as the right end array.
  • the first color and the second color are different colors.
  • the first color will no longer appear as either (left power right) end point cell (even if the left and right are exchanged)
  • the end point condition is not satisfied.
  • the right edge is missing even in one cell
  • the second color is no longer It does not appear as an end point cell, so it clearly does not satisfy the end point condition (even if the left and right sides are exchanged). Therefore, the end point condition is not satisfied due to the lack of one cell, so misreading can be accurately detected.
  • the first color and the second color are arranged at the left end and the right end, respectively, to form an initial end identification array. That is, the initial arrangement of the left end edge identification array is one cell of the first color, and the initial arrangement of the right end edge identification array is one of the second color cells. Thereafter, cells are sequentially added to the edge identification array by the following processing.
  • the cell of the second color is newly placed if it is the first or third color. That is, one cell of the second color is added to the right end of the end portion identifying array.
  • the third color is newly added. Place the cell. That is, one cell of the third color is added to the right end of the end identification array.
  • the third color is newly added. Place the cell. That is, one cell of the third color is added to the left end of the end identification array.
  • edge identifying color array generated by the above processing is as follows.
  • the edge identification color array for preventing misreading is as follows when the colors to be used are three colors: is there
  • the leftmost endpoint cell is the cell of the first color.
  • the leftmost endpoint cell is a cell of the second color.
  • the first repetitive cell portion is configured by alternately connecting cells of the third color and cells of the second color from the left end side toward the inside of the code symbol.
  • the total number of cells connected is k.
  • the second repetitive cell unit connects the third color cell and the first color cell alternately from the right end side to the inside of the code symbol.
  • the total number of cells is 3 ⁇ 4.
  • N is a natural number
  • k is an integer of 1 or more and less than N.
  • the first color is Y
  • the second color is C
  • the third color is M
  • the first color is Y
  • the second color is C
  • the third color is M
  • the power that shows such a combination of course, other combinations and other colors may be used.
  • the first color does not appear at the edge, so it is clearly not meeting the endpoint condition, and it can be detected that a “missing” has occurred.
  • the left end cell will be the second or third color, while the right end will remain the second color cell. Therefore, the end point condition is clearly not satisfied.
  • the edge identifying color array proposed in the present embodiment is recursively configured, and the array in the case of a certain k includes the array of k 1. Can also be detected.
  • this k-l sequence also includes k-2 sequences, it is possible to detect k-2 defects naturally. In the same way, all missing cells from 1 to k-l can be detected in the same way.
  • the force is as above. Intuitively, one or more cells are missing at the left end, one or more missing at the right end, and the total is less than k. If so, it is clear that the first color cell does not appear at the end and the end point condition is not satisfied. As a result, it may be understood that it is possible to detect that a misread has occurred and a missing cell has occurred.
  • Figure 23 shows the endpoint conditions.
  • N code symbols in N cells are missing in a situation where N code symbols and N-1 code symbols are allowed to be mixed. This is an end point condition that can be detected (an end identification array is proposed).
  • FIG. 23 (1) a code symbol having N-cell force that satisfies the above endpoint condition is shown.
  • Fig. 23 (2) shows a code symbol with N-1 cell force that satisfies the above endpoint conditions.
  • Figure 23 (3) lacks one cell on the left side of the code symbol consisting of N cells. The code symbol that became the cell is shown.
  • Fig. 23 (4) shows a code symbol that is N-1 cells by missing one cell on the right side of the code symbol that also has N-cell power.
  • N code symbols can be used as code symbols in N cells in a situation where a mixture of N code symbols and N-1 code symbols is allowed. It is possible to detect the case where one chip is generated.
  • Fig. 23 can be described as follows. That is, left end: 1st color, 3rd color, right end 2nd color, 1st color (both 1st color is the end cell)
  • Y is the first color
  • C is the 2nd color
  • the power shown in the example of M as the three colors. It is of course suitable to assign other colors or use other color combinations.
  • Figure 24 shows the endpoint conditions.
  • N code symbols and N—2 code symbols are allowed to be mixed, and two code symbols are lost in the code symbols of N cells. This is an end point condition that can be detected (an end identification array is proposed).
  • the example of Fig. 24 employs a configuration in which one cell is added to the inside of the edge identification array of the example of Fig. 23 one by one. Add one cell each to the left and right.
  • Fig. 24 (1) shows an example in which an end identification array is provided on a code symbol consisting of N cell forces
  • Fig. 24 (2) shows N-1 cell forces.
  • An example of an end identification array is shown for a code symbol consisting of! /
  • Figures 24 (3), (4), and (5) show the situation in which two cells lack in a code symbol consisting of N cells. In each case, the left and right cells are missing, the left is missing 2 cells, and the right is missing 2 cells. [0458] According to Fig. 24, if there is no missing cell, the cells at both ends are Y cells, but two cells are missing as shown in Fig. 24 (3) (4) (5). If is generated on either the left or right side, it is clear that at least one of the left and right cells is not Y, and the above endpoint condition that the cells at both ends are Y is not satisfied.
  • N code symbols and N—2 code symbols are allowed to be mixed in a situation where N code symbols and N—2 code symbols are mixed. It is possible to detect the case where two chips are generated.
  • Fig. 24 can be described as follows. Left edge: 1st color, 3rd color, 2nd color Right edge 3rd color, 2nd color, 1st color
  • Figure 25 shows the endpoint conditions.
  • YMCM Y cell is at the left edge
  • CMCY Y cell is at the right edge
  • N code symbols and N—3 code symbols are allowed to be mixed, and 3 code symbols in N cells are missing. This is an end point condition that can be detected (an end identification array is proposed).
  • the example of Fig. 25 employs a configuration in which cells are added one by one in the inner direction of the edge identification array of the example of Fig. 24. Add one cell each to the left and right.
  • Fig. 25 (1) shows an example in which an end identification array is provided on a code symbol that also has N cell forces
  • Fig. 25 (2) also shows N—3 cell forces.
  • An example of an end identification array is shown for a code symbol consisting of! /
  • Figs. 25 (3), (4), (5), and (6) show the situation where a code symbol consisting of N cells wants to lack three cells. In order, 3 cells are missing at the right edge. If 1 cell is missing at the left end of 2 cells at the right end, 2 cells are missing at the left end of 1 cell at the right end, and 3 cells are missing at the left end. If it is.
  • Fig. 25 if no cell chipping occurs, the cells at both ends are Y cells, but a total of three cells as shown in Fig. 25 (3) (4) (5) (6) It is clear that at least one of the left and right cells is not Y, and the above-mentioned end point condition that the cells at both ends are Y is not satisfied when the missing cell occurs at the left end and the right end.
  • Fig. 25 can be described as follows. Left edge: 1st color, 3rd color, 2nd color, 3rd color (1st color is the end cell)
  • Figure 26 shows the endpoint conditions.
  • MCMCY Y cell is the right end
  • N code symbols and N—4 code symbols are allowed to be mixed, and there are 4 missing code symbols in N cells. This is an end point condition that can be detected (an end identification array is proposed).
  • the example of Fig. 26 employs a configuration in which cells are added one by one in the inner direction of the edge identification array of the example of Fig. 25. Add one cell each to the left and right.
  • Fig. 26 (1) shows an example in which an end identification array is provided on a code symbol that also has N cell forces, and Fig. 26 (2) shows N – 4 cell forces. An example of an end identification array is shown for the code symbol!
  • Figs. 26 (3), (4), (5), (6), and (7) show the situation in which four cells are missing in a code symbol composed of N cells. In order, if 4 cells are missing at the right edge, When 1 cell is missing at the left end of 3 cells, 2 cells are missing at the left end of 2 cells at the right end, 3 cells are missing at the left end of 1 cell at the right end, and 4 cells are missing at the left end.
  • Fig. 26 when no cell chipping occurs, the cells at both ends are Y cells, but as shown in Fig. 26 (3) (4) (5) (6) (7) If a total of four missing cells occur at the left end and the right end, it is clear that at least one of the left and right cells is not Y, and the end point condition that both ends are Y is not satisfied.
  • FIG. 26 If the example of FIG. 26 is generalized, it can be described as follows. Left edge: 1st color, 3rd color, 2nd color, 3rd color, 2nd color (1st color is the end cell)
  • FIG. 23 As shown in FIG. 23, FIG. 24, FIG. 25, and FIG. 26, it is clear from the induction that the lack of cells occurred during reading by providing the following end-identifying color arrays. It can be detected.
  • the first color is arranged at the left end and the right end, respectively, to form the initial end identification array. That is, the initial arrangement of the left end identification array is one cell of the first color, and the initial arrangement of the right end identification array is also one first color cell. Thereafter, cells are sequentially added to the end portion identifying array by the following processing.
  • the third color is newly added. Place the cell. That is, one cell of the third color is added to the right end of the end identification array.
  • the cell force is the first color or the second color that faces the left end of the end identification array, that is, the inner side of the code symbol
  • a new third color cell is placed. That is, one cell of the third color is added to the left end of the end identification array.
  • the third color is the cell force on the side that faces the right end of the end identification array, that is, the inner side of the code symbol, at the right end of the code symbol
  • the second color is newly added. Place the cell. That is, one cell of the second color is added to the left end of the end portion identifying array.
  • edge identifying color array generated by the above processing is as follows.
  • the edge identifying color array for preventing misreading is as follows when the color to be used is 3 colors: is there
  • the leftmost endpoint cell is the cell of the first color.
  • the cell is a cell of the first color.
  • the first repetitive cell unit is configured by alternately connecting cells of the second color and cells of the third color from the left end side toward the inside of the code symbol.
  • the total number of cells connected is k.
  • the second repetitive cell unit alternately turns the third color cell and the second color cell from the right end side toward the inner side of the code symbol. Connected, the total number of cells connected is k.
  • N is a natural number
  • k is an integer of 1 or more and less than N.
  • k corresponds to the case where the above color repetition is repeated k times at both ends, excluding the end portions.
  • the first color is Y
  • the second color is ⁇
  • the third color is C.
  • other combinations and other colors may be used.
  • the edge identifying color arrays described in other examples 3-1 to 3-4 are recursively configured, and the array in the case of a certain k includes the array of k 1. k It is possible to detect missing cells. In addition, since this k 1 sequence also includes k 2 sequences, it is possible to detect k-2 missing pieces. In the same manner, all missing cells from 1 to k 1 can be detected in the same manner.
  • the force is as above Intuitively, one or more missing cells occur at the left end, one or more missing cells at the right end, and the total is k or less If so, it is clear that the first color cell does not appear at the end and the end point condition is not satisfied. As a result, it is possible to detect that misreading has occurred and a cell is missing.
  • the present invention is not limited in its power to have the aspect of restoring original data by a plurality of code symbols. That is, it goes without saying that the present invention can also be applied when reading a plurality of code symbols independent of each other.
  • the image data is typically obtained by photographing with a CCD camera or the like. You can convert the data shot with an analog camera into a digital signal.
  • the purpose of the present invention is to provide a simpler cutting method that is resistant to distortion, blurring, blurring, and other features that make the most of the features of the 1D color bit code devised by the inventor, and that is different from conventional two-dimensional barcodes. To do.
  • image data including a 1D color bit code is captured by an area sensor.
  • This image data is divided into multiple color regions based on the definition. Determine whether each segmented area is capable of forming a 1D color bit code using boundary conditions, cell number conditions, termination conditions, etc. Check force. In this way, when the data is finally correctly decoded, it is output as a result of decoding as a result of final cutting. Therefore, the 1D color bit code can be decoded without using a cutout mark or the like.
  • An optical recognition code that represents data to be represented by a plurality of code symbols is provided.
  • code symbols with different numbers of cells are allowed to be mixed, an optical recognition code is provided to detect misreads and prevent erroneous recognition even if they are missed at the end.
  • Predetermined data is expressed by a plurality of code symbols, and in each code symbol, group identification data for identifying the group of the plurality of code symbols, and in-group order identification indicating the order in the group Including data.
  • an end-identifying color array is provided at each of the left end and the right end of the code symbol. If there is a chipping at the time of reading, the edge identification color array is destroyed, so that the chipping can be detected and misreading can be prevented.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Character Input (AREA)
  • Image Processing (AREA)
  • Holo Graphy (AREA)
  • Collating Specific Patterns (AREA)

Description

明 細 書
光学式シンボル及びそれが付された物品並びに光学式シンボルを物品 に付す方法及び光学式シンボルのデコード方法、及び関連装置、及び関連プロ グラム
技術分野
[0001] 本発明は、物品に付す情報処理用の光学式コードに関する。特にその光学式コー ドで用いられる光学式シンボル並びにその光学式シンボルを物品に付す方法及び デコード方法に関する。
[0002] さらに、光学式認識コードに関する。特に、光学式認識コードの読み取り技術 (シン ボルの切り出し技術)に関する。
[0003] また、光学式認識コードに関し、特に、本願発明者が提案した 1Dカラービットコード
(特願 2006— 196705)と呼ぶ光学式認識コードの効率的なデータ復元手法に関 する。また、効率的なデータ復元に適した仕様をも提案する。すなわち、本発明は光 学的認識コードのコーディング技術にも関する。
背景技術
[0004] 「背景技術その 1」
物品に付す情報処理用の光学的に読み取られるシンボルは種々のものが利用さ れている。例えば、 1次元方向の黒と白のパターンで情報を記録するいわゆるバーコ ードが古くから利用されている。
[0005] カラーを利用した光学式コード
また、光学式コードとして、白と黒だけでなぐ赤や青等の有彩色を用いたコード (こ こではこのような有彩色を用いたコードを便宜上カラーコードと呼ぶ)も広く提案され ている。
[0006] 通常、カラーを使った (有彩色を使った)光学式コード (体系)は、リーダの色の検知 に変化が出ると、対応するデータも変化する可能性が白黒のコードに比べて高くなつ てしまう。したがって、色の退色、印刷ムラ、照明光などの影響を受けやすいという問 題点がある。 [0007] 従 の先行特許 術
例えば、下記特許文献 1には、 3色を用いたバーコードが開示されている。このバー コードは、色彩を第 1の順番で遷移させた場合は「1」を表し、第 2の順番で遷移させ た場合は「0」を表すように構成したバーコードである。
[0008] また、下記特許文献 2には、 3原色の各色の色彩濃度を複数の段階にすることによ つて、データの収容能力を増やすことができるコードが示されて 、る。
[0009] また、下記特許文献 3には、プリンタの印刷能力に応じて情報を所定のビット列に 分けて、分けたビット列ごとに色を選択して記録する 2次元コード及びその作成方法
、復元方法が開示されている。
[0010] また、下記特許文献 4には、一般的な白と黒のバーコードとしても、色彩付のバーコ ードとしても利用可能なコードが開示されている。
[0011] 「背景技術その 2」
本願出願人は、先の特願 2006— 196705号において、色彩の遷移、変化によつ て情報を表す光学式認識コードを提案した。この光学式認識コードを「1Dカラービッ トコード」と呼ぶ。この 1Dカラービットコードによれば、各色彩の占める領域の大きさ や形の正弦が緩いので、凹凸のある表面や、柔軟性のある素材上でも光学式認識コ ードをマーキングすることが可能である。
[0012] しかし、このような 1Dカラービットコードは、所定の色彩が占める領域の大きさや形 が一定しないので、従来の読み取り技術では対応が困難である。
[0013] 従 のバーコードの読み取り枝術
一方、従来力 いわゆる二次元バーコードが知られている。この 2次元バーコードは 、一般に、マス目状に位置が規定されたセグメントの白黒(明暗)でデータを表すもの である。そして、通常は、「マーキングパターン」(その 2次元バーコードの模様を言う。 境界を示すためのクワイアットゾーンを含む。)はマーキングを付加する物体である「 被印物」と一体になつている。一般には、印刷等によって、マーキングパターンがその 日院物の表面と一体化して 、るのである。
[0014] そのため、この 2次元バーコードを読み取ろうとして、光学的にキヤプチャ(エリアセ ンサ等で二次元画像データとしてデータを取り込むこと等)を行うと、当然のことなが ら、上述した「被印物」の一部が(2次元バーコードとともに)一緒に写り込んでしまう。
[0015] 仮に「マーキングパターン」だけが空中に浮いているような場合 (被印物が透明、ひ も等によって 2次元バーコードがぶら下げられている場合など)でも、通常、何らかの 背景がマーキングパターンと一緒に入力されることが避けられない。
[0016] 本特許では、この場合の「マーキングパターン」以外の入力された画像を「背景画 像」と呼ぶ。また、「マーキングパターン」の入力画像を「マーキング画像」と呼ぶ。
[0017] さて、「マーキング画像」をデコードするために、その最初のステップとして
•「マーキング画像」と「背景画像」を区別し、
•「マーキング画像」の正確な範囲を認識する
ことが必要であることは明らかである。このような作業を通常、「マーキング画像」の「 切り出し」と称している。従来の二次元バーコードの場合は、エリアセンサでキヤプチ ャした画像の中から、複数の特定パターン (通常、「切り出しマーク」と呼ぶ)を画像認 識的に探しだし、この「切り出しマーク」の大きさとそれらの間の位置関係から、二次 元バーコードの存在範囲を推定する。すなわち、該当する二次元バーコードのパタ ーンの範囲と寸法を推測して、その範囲をセグメント化する。そして、各セグメントの 読み取り内容から、そこに確かに二次元バーコードが存在することを確認すると 、う 手順が取られる。
[0018] 一方、従来の一次元のバーコードは白黒(明暗)バーの太さでデータを表すもので あるが、 2次元バーコードにおける「切り出しマーク」に相当するものは両端のバーとク ワイアットゾーンなどである。
[0019] しかし、一次元バーコードは、直線状の「スキャンライン」を想定してそのライン上の 明暗パターンを読み取るのが一般的な仕様なので、背景力もマーキングパターンを 切り出すと 、う概念は存在しな 、。
[0020] むしろ一次元バーコードで現実に重要なことは、上述した「スキャンライン」を一次元 バーコードのバーの並びにあわせることである。
[0021] この作業の実行は種々の行 、方がある。
[0022] 第 1に、操作者が目視で行なう。第 2に、ラスタースキャンのように多数のスキャンラ インを出射する。この方式は、スキャンラインの存在する範囲内にバーコードをあてが い、多数のスキャンラインでスキャンしてその結果力 デコードを行うという手法である
[0023] 概ね、これら、第 1又は第 2の方法が一般的である。
[0024] 従って、一次元バーコードは「切り出し」の考え方が二次元バーコードに比べて手 軽であるが、一方、バーコードの「マーキングパターン」に一定の幅(太細バーの長さ
)が必要であり、この太さが極端に細い場合や太い場合、又は曲がって並んでいる場 合、などではデコードが非常に困難となる。
[0025] 従 の先行特許 術
例えば、下記特許文献 5には、文字や図形の中からバーコードを容易に切り出すこ とが出来る切り出し方法が開示されて 、る。
[0026] また、下記特許文献 6には、小さなスペースに多くの情報を含むバーコードを印刷 する方法が開示されている。特に、中心角 Θの劣弧の集合として切り出されるバーコ ードを利用することを特徴とする。
[0027] また、下記特許文献 7には、 2次元バーコードを読み取る装置が開示されている。
特に、画像の画質によってデコード手段を切り換えることを特徴とする技術が開示さ れている。
[0028] さらに、下記特許文献 8には、複数のバーコードを読み取ることができるバーコード 切り出し方法が開示されている。ここに開示されている技術によれば、レフトマージン やライトマージンが規格外でも連続して認識することが出来るので、複数のバーコ一 ドを切り出せると記述されて 、る。
[0029] 「背景技術その 3」
また、上述のように、本願出願人は、先の特願 2006— 196705号において、色彩 の遷移、変化によって情報を表す光学式認識コードを提案した。この光学式認識コ ードを「1Dカラービットコード」と呼ぶ。
[0030] この 1Dカラービットコードは複数の色彩 (信号色)の配列により決められたデジタル 値を返す構造となっている。その基本仕様は、一本に連なった色彩 (信号色)の配列
( =コードシンボル)である。
[0031] したがって、表すデータ量が多くなるとコードシンボルが長大になるため、一本のコ ードシンボル全てを同時にキヤプチヤーすることができない可能性が増加する。
[0032] 尚、所定のデータを表す、具体的な 1個 1個の光学式認識コードそのもの、幾何学 的図形を、特に「コードシンボル」(又は単にシンボル)と呼ぶ場合がある。この具体的 なコードシンボルを CCDカメラ等で撮影し (キヤプチヤー)し、所定の画像処理を行つ て、原データを復元する。
[0033] さて、例えば、コードシンボルがカメラの画像視野に収まらなかったり、コードシンポ ルの一部が覆い隠されている場合などが現実に想定される。このような場合は、 1画 面中にコードシンボルが収まらないので、データの復元が困難となる。したがって、キ ャプチヤーの際に、操作者が十分注意してキヤプチヤーを行う必要があった。
[0034] ところで、一般的な白黒バーコードの場合、ステッチングの概念が取り入れられてい るものが知られている。これは、全体ではなぐ一部のデータが読み取られた場合、そ の一部のデータを複数箇所キヤプチヤーし、それら一部をつなぎ合わせて、元の一 つのバーコードのデータ(すなわち、 1個の全体のコードシンボル)を復元するもので ある。
[0035] このようなステッチング技術は、ラスタスキャンによる読取りや、スタックド 2次元バー コードの読取りに応用されている。これらは主に端点や中央を示す特有のパターンに 基づいてデータのつなぎ合わせを行なっているものである。この様子が図 27に示さ れている。
[0036] 図 27には、一般的な黒バーと白バーとを用いたバーコード 3010の例が示されてお り、その上にスキャンラインが描かれている。スキャンライン 3012は、コードシンボル の左上のみをスキャンしているのでコードシンボルの左側の一部のみが得られること が容易に理解できょう。一方、スキャンライン 3014は、コードシンボルの右下のみを スキャンしているのでコードシンボルの右側の一部のみが得られることが容易に理解 できよう。
[0037] このような場合、これら 2本のスキャンライン 3012、 3014によるスキャンでキヤプチ ヤーできたデータをつなぎ合わせて、一本の完全なコードシンボル 3010がキヤプチ ヤーできることが明らかであり、実際に広く利用されている。
[0038] このようなステッチングの技術は、キヤプチヤーした部分的なコードのパターンを読 み取って、どの部分かを判断し、その判断に基づきステッチングを行う。したがって、 バーコードのパターンには、ある程度冗長性を持たせる必要がある。
[0039] このような冗長性に基づくステッチングを、 1Dカラービットコードにも適用して、読み 取り精度の向上を図ることも考えられる。
[0040] 1Dカラービットコードの定義
さて、本願発明者が考案した 1Dカラービットコードの定義を説明する。 1Dカラービ ッ卜コード、は、
•所定の色彩の領域「セル」がー列に配列したもの( =「セル列」)である。
[0041] ·複数の色彩が用いられ、各セルにはセル毎の色彩が付されている。
[0042] ·セル同士の包含はない。すなわち、あるセルが他のセルに包含されることはない。
[0043] ·配列を構成するセルの数が予め定められた数である。
[0044] ·隣接するセル同士には同色は付されず、必ず異なる色彩が付される。
[0045] というものである。 1Dカラービットコードは意本的にはこの条件に基づいて作成され ている。
[0046] もちろん、セルの数、実際に用いる色彩の種類等は、各アプリケーション毎に異なる
[0047] の fi特許 術
ここで、従来の先行特許技術を、数種説明する。
[0048] 例えば、下記特許文献 9には、 4ステートバーにより IDコードが印刷され、バーノー バー方式のバーコードで局内コードを印刷し、印刷が欠けてしまうことを防止する技 術が開示されている。
[0049] また、下記特許文献 10には、 CCDカメラで取り込まれた対象物がかすれていても バーコードに欠けが生じてもバーコードを読み取ることができる技術が開示されてい る。
[0050] また、下記特許文献 8、 11には、感熱発色層に金赤外線吸収能を有する発色性化 合物を含有させ、発色パターンがカルラコードである感熱記録体が開示されて 、る。 その結果、自動認識コードに多少の欠けが生じても読みとりが可能であると記載され ている。 [0051] 特許文献 1 :特開昭 63— 255783号公報 (特許第 2521088号)
特許文献 2:特開 2002— 342702号公報
特許文献 3 :特開 2003— 178277号公報
特許文献 4:特開 2004— 326582号公報
特許文献 5:特開 2005 - 266907号公報
特許文献 6:特開 2005— 193578号公報
特許文献 7:特開平 8 - 305785号公報
特許文献 8:特開平 8— 185463号公報
特許文献 9:特開 2006— 095586号公報
特許文献 10:特開 2000 - 249518号公報
特許文献 11:特開平 8— 300827号公報
発明の開示
発明が解決しょうとする課題
[0052] 「課題その 1」
このように、一次元的に配列したコード体系としていわゆる一次元バーコードが広く 実用化されている。一次元バーコードは多くの種類が存在する力 いずれも交互に 現れる白黒(明暗)パターンの幅のちカ^ヽを利用して画像を符号化するコード体系で ある。 2次元バーコードについても「幅」を「セル位置」と読み替えれば同様のコンセプ トであることがわ力る。
[0053] 通常、バーコードは紙や製品に直接印刷されるため、上記コンセプトをそのまま実 施すれば全く問題はな 、。
[0054] し力しながら、ゆがみやすい物品や、不正確な印刷しかできない状況においては、 バーの幅に依存する方法は必ずしも妥当な手法とは言えない。このような場面では I
Dを付けるニーズがありながら上述した問題点により、あきらめざるを得ない状況が少 なからず存在した。
[0055] 一方、上で述べたように、 V、わゆるカラーバーコードが従来力も数多く提案されて!ヽ る。しかし、従来のカラーバーコードその目的をデータの高密度化に向けたものが大 半であり、高密度化のあまり色、濃度の種類を増やすがためかえって実用化を損なう ものも散見された。
[0056] また、従来の白黒バーコードの分野においては、従来の技術がそのまま踏襲されて おり、上述したような問題点を改善しょうとする提案はほとんど知られていない。これ は、バーコードを印字したシールをその物品に貼付する手法が一般的となり、ゆがみ やすい物品にバーコードは直接印字することがほとんどあり得ないという事情によるも のと考えられる。
[0057] し力しながら、シールを貼付する手法では、シールを貼り直したり、別のシールに貼 り替える等、不正が生じる恐れが 0ではない。そのため、物品に直接印字できるコード が望ましいものと考えられる。
[0058] 本発明はこのような課題に鑑みなされたものであり、その目的は、バーコードの幅に 依存しない新しいバーコードを提案し、ゆがみやすい物品や、印字精度の高くない 状況でも、読み取り精度の高 、光学式シンボルを利用するコードを提供することであ る。
[0059] 「課題その 2」
また、先に述べた 1Dカラービットコードである力 その名称に「1D」(1次元)とある けれども、エリアセンサの二次元画像を使用する点で、また「マーキングパターン」の 太さや曲がりを許容する点で、従来の二次元バーコードと対比して本発明を説明す る方が適切であると考えられるので、以下、従来の 2次元バーコードとの比較を適宜 行いながら説明を進める。
[0060] 従来の二次元バーコードの切り出し方法は上述したとおりである力 切り出しパター ンが正確に認知できな 、と切り出しが出来な 、と 、うことが技術的に大きな問題点に なっている。
[0061] つまり、二次元バーコードでは、以下のような特徴がある。
[0062] ·平面上に配列されて 、ると!/、う前提が成立して 、な 、と基本的に正しく認識できな V、が、ある程度は誤差が生じることを前提とした読み取りアルゴリズムが必要である。
[0063] ·「切り出しマーク」の特定のパターンを探す作業を、複雑な「背景パターン」のある 中で行なう必要がある。
[0064] したがって、切り出しマークの歪みの推測、大きさの推測、平面が曲がっている場合 の許容等を、様々な背景パターンと区分けして行なう必要がある。これらの処理をまと もに行なえばその処理量は膨大である。
[0065] したがって、実際には、画面全体に対して「マーキング画像」の占める範囲を大きく とらせたり、ある程度使用者が画面内の「マーキング画像」の位置を調節する (位置合 わせする)というような、補助操作が求められているのが実情である。
[0066] なお、画像の中に複数個のバーコードが存在する場合などは、更に処理や位置合 わせが複雑かつ高精度を求められるため、実現性は非常に困難であるという問題点 があった。つまり、事実上、 1画像中にたかだか 1個の 2次元バーコードしかないという ことを前提とする必要があった。
[0067] 然るに、本願発明者が考案した 1Dカラービットコードは本来色の配列のみを認識 するものであり、寸法、形状の歪みやぼけ、ブレなどに強いという特徴を持っている。 当然、読取りにはエリアセンサなどで周囲とともに取り込んだ画像力 カラービットコ ードを切り出す必要がある。
[0068] 本発明は、本願発明者が考案した 1Dカラービットコードの特長を生力した寸法、形 状の歪みやぼけ、ブレなどに強い、また従来の二次元バーコードと異なるより容易な 切り出し手法を提供することを目的とする。
[0069] さらに、本発明は、画像内に複数の 1Dカラービットコードがあっても容易に切り出し が出来る切り出し手法を提案することも目的とする。
[0070] 「課題その 3」
(1)さらに、 1Dカラービットコードの場合は、複数種類 (例えば 3種類)の色彩のみ の組み合わせによるコードであるので、極端な冗長性を持たせな 、と特有のパターン の形成が非常に困難である。しかし、極端な冗長性は色彩列の長大化につながるた め、現実問題として採用は困難である。
[0071] ところで、 1Dカラービットコードは、複数のコードシンボルを同時に読み取ることが 容易であることが特徴の一つである。
[0072] そこで、本願発明者は、従来のステッチングの考え方とは異なり、一つのデータを 表すコードシンボルを複数に分割してマーキングすると 、う方法で、従来のステッチ ングと同等以上の作用 ·効果が得られるコード読み取り技術を開発したものである。 [0073] すなわち、本発明は、あるデータを表す 1Dカラービットコードのコードシンボルを複 数に分割してマーキングすることによって、読み取り精度を向上させた光学式認識コ ードを提供することを目的とする。
[0074] (2)また、本発明は、セル数の異なる複数のコードシンボルの混在を許容する状況 において、コードシンボルの端部が欠けて読まれた場合、その読み落としを検知でき
、誤読を防止しうる技術を提供することを、他の目的とする。
課題を解決するための手段
[0075] 「手段その 1」
本発明は、上記目的を達成するために、以下のようなコードを提案する。
[0076] 本発明のコードは、線状にセルを配列し、各セルの色彩の順番により特定のデータ を示すものである。色配列の連続性、線状という形態(トポロジー)が保たれていれば 読み取り可能であるコード体系を提案するものである。
[0077] データを表す手法は、「色彩の順番」以外にも、種々の方式を採用可能である。各 色彩に 1対 1で数値を割り当てる手法 (R=0、 B= l等)、色彩の遷移によってデータ を割り当てる手法(「CM」 =「MY」 =「YC」 =0、「CY」 =「YM」 =「MC」 = 1等)、そ の他、色彩の組み合わせに対してデータを割り当てる手法、等種々の方式を採用可 能である。
[0078] なお、本特許で、線状とは、セルが 1列に連なって配列して 、ることを言 、、分岐が なぐ交差もない形態を言う。 1列に連なっていれば直線でも曲線でも、折れ曲がって いてもかまわない。
[0079] 用語の説明
ここで、本文での用語の簡単な説明を行う。
[0080] まず、本文にぉ 、て、光学式シンボルが付される物品とは有体物であればどのよう なものであっても良い。必ずしも硬い剛体である必要はなぐ食品等の柔らかい物品 でも良い。後述するように、本件発明では物品のゆがみや変形に強い光学式シンポ ルを提案しており、衣服などの柔軟性のある物品も本文における「物品」である。
[0081] また、物品の容器や包装もまた物品である。さらに、紙等の平面状、板状の物品も、 本文における「物品」である。 [0082] その他、本文では、以下の用語を用いて!/、る。
[0083] コード :データをシンボルに表すための規格を言う。規格であることを明示するた めにコード体系と称する場合もある。
[0084] シンボル:上記規格に基づき、データを変換したものを言う。例えば、一般的なバー コードにおいては、「バーコード」という「規格」に基づきデータを変換したそれぞれの 「黒と白のパターン」をシンボル又は「バーコードシンボル」と呼ぶ。
[0085] デコード:各シンボルから、そのコードに基づ 、て元のデータを得る処理をデコード と呼ぶ。
[0086] リーダ :物品に付されたシンボルを読み取る装置を言う。読み取ったデータは上記 デコードの対象となり、デコードの結果、元のデータが得られる。
[0087] データ :シンボルに変換する対象である。一般的には数値データである力 文字 データでも良 、し、 0と 1からなるディジタルデータでも良!、。
[0088] 本発明は、具体的には、以下のような手段を採用する。
[0089] (1)本発明は、上記課題を解決するために、 n色の色彩群から選択された 1個の色 彩が付された領域であるセルを複数個、線状に配列されて成る光学式シンボル。ここ で、前記 nは 3以上の整数である。
[0090] (2)また、本発明は、上記(1)の光学式シンボルにおいて、前記セルは連続、且つ
、不分岐、非交差に配列され、隣接する前記セルの色が異なることを特徴とする光学 式シンボルである。
[0091] (3)本発明は、上記課題を解決するために、 n色の色彩群から選択された 1個の色 彩が付された領域であるセルを複数個、線状に配列し、前記線状配列の両端部に、 前記 n色以外の色彩が付されて 、る端点セルが設けられて 、ることを特徴とする光学 式シンボル。ここで、前記 nは 3以上の整数である。
[0092] この色彩によって、始点、終点を識別することができる。
[0093] (4)また、本発明は、上記(1)の光学式シンボルにおいて、上記(3)記載の光学式 シンボルにお 、て、前記端点セルに隣接する前記セルである第 1隣接セルの色彩が 、前記 n色の色彩群力 予め決定された所定の色彩であることを特徴とする光学式シ ンボノレである。 [0094] これらの色彩(の組み合わせ)によって、始点、終点を識別することができる。
[0095] (5)また、本発明は、上記 (4)の光学式シンボルにおいて、前記第 1隣接セルに隣 接する第 2隣接セルの色彩が、前記 n色の色彩群から予め決定された所定の色彩で あることを特徴とする光学式シンボルである。
[0096] (6)また、本発明は、上記(1)の光学式シンボルにおいて、前記 n色の色彩が、全 て、前記端点セルに隣接するセル、又は、前記端点セルの近傍の所定の位置にある セルに付されていることを特徴とする光学式シンボルである。
[0097] (7)また、本発明は、上記(6)の光学式シンボルをデコードするデコード方法にお いて、前記隣接するセル又は前記所定の位置にあるセル、に付された色彩を、前記 セルの色彩のキャリブレーションに使用することを特徴とする光学式シンボルのデコ ード方法である。
[0098] (8)また、本発明は、上記(6)の光学式シンボルをデコードするデコード方法にお いて、前記隣接するセル又は前記所定の位置にあるセル、に付された色彩を、前記 セルの間の色差のキャリブレーションに使用することを特徴とする光学式シンボルの デコード方法である。
[0099] (9)また、本発明は、上記(7)又は(8)の光学式シンボルのデコード方法において 、光学式シンボルに含まれる前記セルを追跡する追跡工程、を含み、この追跡工程 においては、前記端点セルに付された色彩と、前記隣接するセル又は前記所定の位 置にあるセル、に付された色彩との色差に基づき、前記セルを追跡することを特徴と する光学式シンボルのデコード方法である。
[0100] (10)また、本発明は、上記(3)の光学式シンボルにおいて、前記端点セルに付さ れた色彩又はその同系色力 前記セルの配列以外の領域に付されて 、ることを特徴 とする光学式シンボルである。
[0101] (11)また、本発明は、上記(3)の光学式シンボルが付された物品において、前記 端点セルに付された色彩又はその同系色が、前記セルの配列以外の領域に付され ていることを特徴とする光学式シンボルが付された物品である。
[0102] (12)また、本発明は、上記(11)の物品において、前記端点セルに付された色彩 又はその同系色力 黒もしくは灰色などの無彩色であることを特徴とする物品である [0103] (13)また、本発明は、上記課題を解決するために、 n色の色彩群から選択された 1 個の色彩が付された領域である構成セルを複数個、線状に配列し、前記線状配列の 両端部又は片端部に、前記 n色以外の色彩が付されている端点セルと、前記構成セ ルと力 2回以上交互に表れることを特徴とする光学式シンボル。ここで、前記 nは 3 以上の整数である。
[0104] (14)また、本発明は、上記(1)の光学式シンボルにおいて、前記セルの表す符号 は、当該セルとその隣接するセルの色との関係で決まることを特徴とする光学式シン ボルである。
[0105] (15)また、本発明は、上記(1)の光学式シンボルにおいて、前記セルの符号の表 し方によって、チェック、表記法などの区別を行うことを特徴とする光学式シンボルで ある。
[0106] (16)また、本発明は、上記(1)記載の光学式シンボルにおいて、その光学式シン ボルを照らす光源の過剰光量に相当する色彩力 前記 n色の色彩群には含まれて Vヽな 、ことを特徴とする前記光学式シンボルである。
[0107] (17)また、本発明は、上記(1)〜(6)のいずれ力、又は、(13)〜(16)のいずれか 、に記載の光学式シンボルを付した物品である。
[0108] (18)また、本発明は、上記(1)〜(6)のいずれ力、又は、(13)〜(16)のいずれか 、に記載の光学式シンボルを用いたコード体系である。
[0109] (19)また、本発明は、上記(1)〜(6)のいずれ力、又は、(13)〜(16)のいずれか 、に記載の光学式シンボルをデコードする方法において、前記光学式シンボルを撮 影し、前記光学式シンボルの画像データを得る工程と、前記画像データ中から、始 点と終点の端点セルを探す工程と、前記見つけ出した始点と終点の 2個の端点セル に基づき、その端点セル間に設けられている構成セルを追跡する工程と、前記追跡 した構成セルのデコードを行う工程と、を含むことを特徴とする光学式シンボルのデコ ード方法である。
[0110] (20)また、本発明は、上記(1)〜(6)のいずれ力、又は、(13)〜(16)のいずれか 、に記載の光学式シンボルを物品に付す方法において、記録したいデータに基づき 前記光学式シンボルを作成する工程と、前記作成した光学式シンボルを所定の物品 に付す工程と、を含み、前記付す工程は、前記光学式シンボルを前記物品に印刷す る工程と、前記光学式シンボルを物品に刺繍で付する工程と、前記光学式シンボル を描 、た粘着シールを前記物品に貼付する工程と、の 、ずれかの工程を含むことを 特徴とする光学式シンボルを物品に付す方法である。
[0111] 「手段その 2」
A.装置
(21)さらに本発明は、上記課題を解決するために、光学式認識コードを認識する 光学式認識コード認識装置にぉ ヽて、光学式認識コードを撮像して得られた画像デ ータを、色彩を表すパラメータに基づき色領域に分割する分割手段と、前記分割後 の各色領域にっ ヽて、前記光学式認識コードを構成するセルであるカゝ否かを判定す る判定手段と、を含むことを特徴とする光学式認識コード認識装置である。
[0112] (22)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記画像データが 3原色のデータ力 構成されており、前記色彩を表すパラメータは、 前記 3原色のデータであることを特徴とする光学式認識コード認識装置である。
[0113] ここで、 3原色のデータとは、 3原色、例えば RGB形式や CMY形式などによって色 を表すデータをいう。
[0114] (23)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記画像データが色相を含めて色を表すデータカゝら構成されており、前記色彩を表す ノ メータは、前記色相であることを特徴とする光学式認識コード認識装置である。
[0115] ここで、色相を含めて色を表すデータとは、 RGB形式や CMY形式はもちろんのこ と、さらに例えば HSV形式や HLS形式などによって色を表すデータをいう。また、色 相が現れていればどのような形式'フォーマットでもかまわない。例えば色差信号等 で色彩が表されて 、るような場合も、ここで 、う色相を含めて色を表すデータの一例 に相当する。いわゆる白黒のデータ以外は、ここでいう色相を含めて色を表すデータ の一例に相当する。
[0116] (24)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記分割手段は、分割する領域の位置、寸法、形状に関する情報を一切用いずに、前 記色彩を表すパラメータのみに依拠して領域分割処理を行うことを特徴とする光学式 自動認識装置である。
[0117] (25)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記分割手段は、分割して得た各領域に対して、領域を拡張する画像処理を実行する ことを特徴とする光学式認識コード認識装置である。
[0118] (26)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記分割手段は、分割して得た各領域に対して、領域を縮小する画像処理を実行する ことを特徴とする光学式認識コード認識装置である。
[0119] (27)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記分割手段は、色彩を表すパラメータに基づき前記画像データを 4値化、又は N値 化し、前記画像データをこの値に基づき色領域に分割することを特徴とする光学式 認識コード認識装置である。ここで、前記 Nは正の整数である。
[0120] (28)また、本発明は、上記(27)記載の光学式認識コード認識装置において、前 記判定手段は、前記分割して得た各領域に対して、前記各領域の並び方 (境界条件
、領域数、並び順の適合性)のみに基づいて単数もしくは複数の 1Dカラービットコー ドのパターンを切り出すことを特徴とする光学式認識コード認識装置である。
[0121] (29)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記分割手段は、前記画像データをマーキングパターンを構成する 1個又は 2個以上 の色彩と、クワイアットゾーンを表す色彩と、の領域に分割し、前記クワイアットゾーン を表す色彩は、前記マーキングパターンを構成する色彩以外の色彩 (スペース色)で あることを特徴とする光学式認識コード認識装置である。
[0122] (30)また、本発明は、上記(29)記載の光学式認識コード認識装置において、前 記判定手段は、ある着目領域が下記のいずれかの条件を満足する場合に、その着 目領域がカラービットコードを構成するセルの候補であると判断することを特徴とする 光学式認識コード認識装置である。
[0123] (中間セル条件 a)その着目領域の周囲に他の 4領域が隣接し、この他の 4領域の 色彩力 その着目領域を中心とする周方向にスペース色 他色 スペース色 他 色である。 [0124] (終端セル条件 b)その着目領域の周囲に他の 2領域が隣接し、この他の 2領域の 色彩が、スペース色と他色である。
[0125] ここで、他色とは、前記着目領域の色彩と異なるマーキングパターンを構成する他 の色彩をいう。
[0126] (31)また、本発明は、上記(29)又は(30)記載の光学式認識コード認識装置にお いて、 前記クワイアットゾーンを表すスペース色は白又は黒であることを特徴とする 光学式認識コード認識装置である。
[0127] (32)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮定し た場合のその 1Dカラービットコードを構成するセルの数力 予め決められた数と一致 する場合に、前記着目領域はカラービットコードを構成するセルの候補であると判断 することを特徴とする光学式認識コード認識装置である。
[0128] (33)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮定し た場合のその 1Dカラービットコードの始点と終点とを検知し、始点を構成する 1個以 上のセルと、終点を構成する 1個以上のセルとが、予め決められた始点と終点の色彩 に一致する場合に、前記着目領域はカラービットコードを構成するセルの候補である と判断することを特徴とする光学式認識コード認識装置である。
[0129] (34)また、本発明は、上記(21)記載の光学式認識コード認識装置において、前 記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮定し た場合のその 1Dカラービットコードの中間点を検知し、中間点を構成する 1個以上の セルが、予め決められた中間点の色彩に一致する場合に、前記着目領域はカラービ ットコードを構成するセルの候補であると判断することを特徴とする光学式認識コード 認識装置。
[0130] (35)また、本発明は、上記(30)〜(33)記載のいずれかの光学式認識コード認識 装置において、前記判定手段は、カラービットコードを構成するセルの候補力 成る カラービットコードと推定される色彩の領域群をカラービットコードと見なしてデコード し、原データを得ることを特徴とする光学式認識コード認識装置である。 [0131] (36)また、本発明は、上記(35)記載の光学式認識コード認識装置において、前 記判定手段は、カラービットコードを構成するセルの候補力 成るカラービットコード と推定される色彩の領域群が複数個存在する場合、それぞれの領域群をそれぞれ カラービットコードと見なしてデコードし、それぞれ原データを得ることを特徴とする光 学式認識コード認識装置である。
[0132] B.プログラム
(37)また、本発明は、上記課題を解決するために、コンピュータを、光学式認識コ ードを認識する光学式認識コード認識装置として動作させるプログラムにおいて、前 記コンピュータに、光学式認識コードを撮像して得られた画像データを、色彩を表す パラメータに基づき色領域に分割する分割手順と、前記分割後の各色領域について 、前記光学式認識コードを構成するセルであるか否かを判定する判定手順と、を実 行させることを特徴とするプログラムである。
[0133] (38)また、本発明は、上記(37)記載のプログラムにおいて、前記画像データが 3 原色のデータから構成されており、前記色彩を表すパラメータは、前記 3原色のデー タであることを特徴とするプログラムである。
[0134] (39)また、本発明は、上記(37)記載のプログラムにおいて、前記画像データが色 相を含めて色を表すデータから構成されており、前記色彩を表すパラメータは、前記 色相であることを特徴とするプログラムである。
[0135] (40)また、本発明は、上記(37)記載のプログラムにおいて、前記分割手順は、分 割する領域の位置、寸法、形状に関する情報を一切用いずに、前記色彩を表すパラ メータのみに依拠して領域分割処理を行うことを特徴とするプログラムである。
[0136] (41)また、本発明は、上記(37)記載のプログラムにおいて、前記分割手順は、分 割して得た各領域に対して、領域を拡張する画像処理を実行することを特徴とするプ ログラムである。
[0137] (42)また、本発明は、上記(37)記載のプログラムにおいて、前記分割手順は、分 割して得た各領域に対して、領域を縮小する画像処理を実行することを特徴とするプ ログラムである。
[0138] (43)また、本発明は、上記(37)記載のプログラムにおいて、前記分割手順は、色 彩を表すパラメータに基づき前記画像データを 4値化、又は N値化し、前記画像デ ータをこの値に基づき色領域に分割することを特徴とするプログラムである。ここで、 前記 Nは正の整数である。
[0139] (44)また、本発明は、上記 (43)記載のプログラムにおいて、前記判定手順は、前 記分割して得た各領域に対して、前記各領域の並び方 (境界条件、領域数、並び順 の適合性)のみに基づいて単数もしくは複数の 1Dカラービットコードのパターンを切 り出すことを特徴とするプログラムである。
[0140] (45)また、本発明は、上記(37)記載のプログラムにおいて、前記分割手順は、前 記画像データをマーキングパターンを構成する 1個又は 2個以上の色彩と、クワイアッ トゾーンを表す色彩と、の領域に分割し、前記クワイアットゾーンを表す色彩は、前記 マーキングパターンを構成する色彩以外のスペース色であることを特徴とするプログ ラムである。
[0141] (46)また、本発明は、上記 (45)記載のプログラムにおいて、前記判定手順は、あ る着目領域が下記の 、ずれかの条件を満足する場合に、その着目領域がカラービッ トコードを構成するセルの候補であると判断することを特徴とするプログラムである。
[0142] (中間セル条件 a)その着目領域の周囲に他の 4領域が隣接し、この他の 4領域の 色彩力 その着目領域を中心とする周方向にスペース色 他色 スペース色 他 色であること。
[0143] (終端セル条件 b)その着目領域の周囲に他の 2領域が隣接し、この他の 2領域の 色彩が、スペース色と他色であること。
[0144] ここで、他色とは、前記着目領域の色彩と異なるマーキングパターンを構成する他 の色彩をいう。
[0145] (47)また、本発明は、上記 (45)又は (46)記載のプログラムにおいて、前記クワイ アットゾーンを表すスペース色は白又は黒であることを特徴とするプログラムである。
[0146] (48)また、本発明は、上記(37)記載のプログラムにおいて、前記判定手順は、あ る着目領域が 1Dカラービットコードを構成するセルであると仮定した場合のその 1D カラービットコードを構成するセルの数が、予め決められた数と一致する場合に、前 記着目領域はカラービットコードを構成するセルの候補であると判断することを特徴と するプログラムである。
[0147] (49)また、本発明は、上記(37)記載のプログラムにおいて、前記判定手順は、あ る着目領域が 1Dカラービットコードを構成するセルであると仮定した場合のその 1D カラービットコードの始点と終点とを検知し、始点を構成する 1個以上のセルと、終点 を構成する 1個以上のセルとが、予め決められた始点と終点の色彩に一致する場合 に、前記着目領域はカラービットコードを構成するセルの候補であると判断することを 特徴とするプログラムである。
[0148] (50)また、本発明は、上記(37)記載のプログラムにおいて、前記判定手段は、あ る着目領域が 1Dカラービットコードを構成するセルであると仮定した場合のその 1D カラービットコードの中間点を検知し、中間点を構成する 1個以上のセル力 予め決 められた中間点の色彩に一致する場合に、前記着目領域はカラービットコードを構 成するセルの候補であると判断することを特徴とするプログラムである。
[0149] (51)また、本発明は、上記 (46)〜(49)記載のいずれかのプログラムにおいて、前 記判定手順は、カラービットコードを構成するセルの候補力 成るカラービットコード と推定される色彩の領域群をカラービットコードと見なしてデコードし、原データを得 ることを特徴とするプログラムである。
[0150] (52)また、本発明は、上記(51)記載のプログラムにおいて、前記判定手順は、力 ラービットコードを構成するセルの候補力 成るカラービットコードと推定される色彩の 領域群が複数個存在する場合、それぞれの領域群をそれぞれカラービットコードと見 なしてデコードし、それぞれ原データを得ることを特徴とするプログラムである。
[0151] C.方法
(53)本発明は、上記課題を解決するために、光学式認識コードを認識する光学式 認識コード認識方法にぉ ヽて、光学式認識コードを撮像して得られた画像データを、 色彩を表すパラメータに基づき色領域に分割する分割ステップと、前記分割後の各 色領域につ ヽて、前記光学式認識コードを構成するセルであるカゝ否かを判定する判 定ステップと、を含むことを特徴とする光学式認識コード認識方法である。
[0152] (54)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記画像データが 3原色のデータ力 構成されており、前記色彩を表すパラメータは、 前記 3原色のデータであることを特徴とする光学式認識コード認識方法である。
(55)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記画像データが色相を含めて色を表すデータカゝら構成されており、前記色彩を表す ノ メータは、前記色相であることを特徴とする光学式認識コード認識方法である。
[0153] (56)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記分割ステップは、分割する領域の位置、寸法、形状に関する情報を一切用いずに
、前記色彩を表すパラメータのみに依拠して領域分割処理を行うことを特徴とする光 学式自動認識方法である。
[0154] (57)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記分割ステップは、分割して得た各領域に対して、領域を拡張する画像処理を実行 することを特徴とする光学式認識コード認識方法である。
[0155] (58)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記分割ステップは、分割して得た各領域に対して、領域を縮小する画像処理を実行 することを特徴とする光学式認識コード認識方法である。
[0156] (59)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記分割ステップは、色彩を表すパラメータに基づき前記画像データを 4値化、又は N 値化し、前記画像データをこの値に基づき色領域に分割することを特徴とする光学 式認識コード認識方法である。ここで、前記 Nは正の整数である。
[0157] (60)また、本発明は、上記(59)記載の光学式認識コード認識方法において、前 記判定ステップは、前記分割して得た各領域に対して、前記各領域の並び方 (境界 条件、領域数、並び順の適合性)のみに基づいて単数もしくは複数の 1Dカラービット コードのパターンを切り出すことを特徴とする光学式認識コード認識方法である。
[0158] (61)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記分割ステップは、前記画像データをマーキングパターンを構成する 1個又は 2個以 上の色彩と、クワイアットゾーンを表す色彩と、の領域に分割し、前記クワイアットゾ一 ンを表す色彩は、前記マーキングパターンを構成する色彩以外のスペース色である ことを特徴とする光学式認識コード認識方法である。
[0159] (62)また、本発明は、上記(61)記載の光学式認識コード認識方法において、前 記判定ステップは、ある着目領域が下記のいずれかの条件を満足する場合に、その 着目領域がカラービットコードを構成するセルの候補であると判断することを特徴とす る光学式認識コード認識方法である。
[0160] (中間セル条件 a)その着目領域の周囲に他の 4領域が隣接し、この他の 4領域の 色彩力 その着目領域を中心とする周方向にスペース色 他色 スペース色 他 色であること。
[0161] (終端セル条件 b)その着目領域の周囲に他の 2領域が隣接し、この他の 2領域の 色彩が、スペース色と他色であること。
[0162] ここで、他色とは、前記着目領域の色彩と異なるマーキングパターンを構成する他 の色彩をいう。
[0163] (63)また、本発明は、上記(61)又は(62)記載の光学式認識コード認識方法にお いて、前記クワイアットゾーンを表すスペース色は白又は黒であることを特徴とする光 学式認識コード認識方法である。
[0164] (64)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記判定ステップは、ある着目領域力 S1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードを構成するセルの数力 予め決められた数と 一致する場合に、前記着目領域はカラービットコードを構成するセルの候補であると 判断することを特徴とする光学式認識コード認識方法である。
[0165] (65)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記判定ステップは、ある着目領域力 S1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードの始点と終点とを検知し、始点を構成する 1 個以上のセルと、終点を構成する 1個以上のセルとが、予め決められた始点と終点の 色彩に一致する場合に、前記着目領域はカラービットコードを構成するセルの候補 であると判断することを特徴とする光学式認識コード認識方法である。
[0166] (66)また、本発明は、上記(53)記載の光学式認識コード認識方法において、前 記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮定し た場合のその 1Dカラービットコードの中間点を検知し、中間点を構成する 1個以上の セルが、予め決められた中間点の色彩に一致する場合に、前記着目領域はカラービ ットコードを構成するセルの候補であると判断することを特徴とする光学式認識コード 認識方法である。
[0167] (67)また、本発明は、上記(62)〜(65)記載のいずれかの光学式認識コード認識 方法において、前記判定ステップは、カラービットコードを構成するセルの候補から 成るカラービットコードと推定される色彩の領域群をカラービットコードと見なしてデコ ードし、原データを得ることを特徴とする光学式認識コード認識方法である。
[0168] (68)また、本発明は、上記(67)記載の光学式認識コード認識方法において、前 記判定ステップは、カラービットコードを構成するセルの候補力も成るカラービットコ ードと推定される色彩の領域群が複数個存在する場合、それぞれの領域群をそれぞ れカラービットコードと見なしてデコードし、それぞれ原データを得ることを特徴とする 光学式認識コード認識方法である。
[0169] 「手段その 3」
(69)また、本発明は、上記課題を解決するために、所定の色彩が付された色彩の 領域であるセルを所定個数線状に配置して成る光学式認識コードにおいて、 1個の コードシンボル中の前記セル数の範囲が定められており、係る範囲の中であれば異 なるセル数のコードシンボルの混在を許容する光学式認識コードである。
[0170] (70)また、本発明は、所定の色彩が付された色彩の領域であるセルを所定個数線 状に配置して成る光学式認識コードにおいて、表現したいデータを、複数のコードシ ンボルを用いて表現した光学式認識コードである。
[0171] (71)また、本発明は、(70)記載の光学式認識コードにおいて、前記複数のコード シンボルは、そのセル数が全て同一であることを特徴とする光学式認識コードである
[0172] (72)また、本発明は、(70)又は(71)記載の光学式認識コードにおいて、前記複 数のコードシンボルのそれぞれは、前記コードシンボル力 所定のデータを表す複数 のコードシンボル群のグループに含まれることを示すために、前記コードシンボル群 が属する前記グループを識別するグループ識別データと、前記コードシンボルの、前 記グループ内における順番を示すグループ内順識別データと、を含むことを特徴と する光学式認識コードである。 [0173] (73)また、本発明は、上記(72)記載の光学式認識コードにおいて、前記グループ を識別するグループ識別データは、前記コードシンボル中の所定のセル群が表すデ ータであることを特徴とする光学式認識コードである。
[0174] (74)また、本発明は、上記(72)記載の光学式認識コードにおいて、前記グループ を識別するグループ識別データは、前記コードシンボル中の所定のセル群に表され た色彩パターンであることを特徴とする光学式認識コードである。
[0175] (75)また、本発明は、上記(72)記載の光学式認識コードにおいて、前記グループ 内順識別データは、前記コードシンボル中の所定のセル群が表すデータであること を特徴とする光学式認識コードである。
[0176] (76)また、本発明は、上記(72)記載の光学式認識コードにおいて、前記グループ 内順識別データは、前記コードシンボル中の所定のセル群に表された色彩パターン であることを特徴とする光学式認識コードである。
[0177] (77)また、本発明は、上記(69)又は(70)記載の光学式認識コードにおいて、前 記各コードシンボルは、その端部の読み落としによる誤読を未然に防止するよう、左 端及び右端に、端部識別用色彩配列を設け、前記端部識別用色彩配列は、その一 部が欠けて読み取られた場合に、読み落としがあったことが判別しうることを特徴とす る光学式認識コードである。
[0178] (78)また、本発明は、上記(77)記載の光学式認識コードにおいて、前記各コード シンボルを構成するセル数が N又は N— 1であり、前記各コードシンボルが使用する 色彩が 3色以上であり、前記各コードシンボルの一方端の端部に前記端部識別用色 彩配列として第 1の色彩のセルを配置し、他方端の端部に前記端部識別用色彩配 列として第 2の色彩のセルを配置したことを特徴とする光学式認識コードである。ここ で、前記 Nは自然数であり、前記第 1の色彩と前記第 2の色彩とは異なる色彩である
[0179] (79)また、本発明は、上記(77)記載の光学式認識コードにおいて、前記各コード シンボルを構成するセル数が N又は N— 1であり、前記各コードシンボルが使用する 色彩が 3色以上であり、前記各コードシンボルの一方端に設けられた前記端部識別 用色彩配列は、一方端部から順に、第 1の色彩のセルと、第 2の色彩のセルと、から 構成され、前記各コードシンボルの他方端に設けられた前記端部識別用色彩配列 は、他方端部力も順に、第 1の色彩のセルと、第 3の色彩のセルと、から構成されてい ることを特徴とする光学式認識コードである。ここで、前記第 1の色彩、第 2の色彩、第 3の色彩は互いに異なる色彩であり、前記 Nは自然数である。
[0180] (80)また、本発明は、上記(77)記載の光学式認識コードにおいて、前記各コード シンボルを構成するセル数が N以下、 N— k以上であり、前記各コードシンボルが使 用する色彩が 3色以上であり、前記各コードシンボルの一方端に設けられた前記端 部識別用色彩配列は、一方端部から順に、第 1の色彩のセルと、第 1の繰り返しセル 部と、から構成され、前記各コードシンボルの他方端に設けられた前記端部識別用 色彩配列は、他方端部力 順に、第 2の色彩のセルと、第 2の繰り返しセル部と、から 構成され、前記第 1の繰り返しセル部は、前記一方端部側から前記コードシンボルの 内側に向力つて、第 3の色彩のセルと、第 2の色彩のセルとを交互に連結し、連結し た合計セル数が k個であり、前記第 2の繰り返しセル部は、前記他方端部側から前記 コードシンボルの内側に向かって、第 3の色彩のセルと、第 1の色彩のセルとを交互 に連結し、連結した合計セル数が k個であることを特徴とする光学式認識コード。ここ で、前記 Nは自然数であり、前記 kは、 1以上 N未満の整数である。
[0181] (81)また、本発明は、上記(77)記載の光学式認識コードにおいて、前記各コード シンボルを構成するセル数が N以下、 N— k以上であり、前記各コードシンボルが使 用する色彩が 3色以上であり、前記各コードシンボルの一方端に設けられた前記端 部識別用色彩配列は、一方端部から順に、第 1の色彩のセルと、第 1の繰り返しセル 部と、から構成され、前記各コードシンボルの他方端に設けられた前記端部識別用 色彩配列は、他方端部力 順に、第 1の色彩のセルと、第 2の繰り返しセル部と、から 構成され、前記第 1の繰り返しセル部は、前記一方端部側から前記コードシンボルの 内側に向力つて、第 2の色彩のセルと、第 3の色彩のセルとを交互に連結し、連結し た合計セル数が k個であり、前記第 2の繰り返しセル部は、前記他方端部側から前記 コードシンボルの内側に向かって、第 3の色彩のセルと、第 2の色彩のセルとを交互 に連結し、連結した合計セル数が k個であることを特徴とする光学式認識コード。ここ で、前記 Nは自然数であり、前記 kは、 1以上 N未満の整数である。 [0182] (82)また、本発明は、上記 (69)〜(81)記載の光学式認識コードが付された物品 である。
発明の効果
[0183] 「効果その 1」
本発明の光学式シンボルにおいてでは、構成セルを追跡することによって、構成セ ルの順番を特定することができる。そして、構成セルの色彩の組み合わせ等によって データを表現したので、構成セルの大きさが変化してもデータの読み取りに影響を与 えることがないコード体系が得られる。
[0184] また、シンボルを構成するセル群の相対的な位置関係の自由度が高!、ので、表面 が柔軟な物品にも使用することができる。
[0185] 例えば、柔らかい肉等の食品に食用色素を用いて直接シンボルを印字することが 可能である。その他、布や柔らかい物品に直接印字することが可能である。
[0186] 従来の光学式バーコードでは、シールを貼る等の処理によってシンボルを物品に 付しており、シールを貼り替える等のデータの改ざんの恐れが少なくない。これに対 して、本発明によれば、柔軟性のある物品でもシンボルの直接印字が可能となるので 、このシンボルを他のシンボルに付け直すことが極めて困難である。その結果、本発 明によれば、データの改ざんを未然に防止することができる。
[0187] また、本発明に係る光学式シンボル及びその光学式シンボルを用いたコード体系 によれば、線状にセルを並べてシンボルを構成している力 線状であれば直線でも 曲線でも良 ヽのでデザイン的な自由度が高 ヽシンボルが得られる。
[0188] 「効果その 2」
また、上述のように、本発明は、画像データ全体の中から 1Dカラービットコードの「 マーキングパターン」の条件に合ったセル群をその特徴により「背景画像」から抽出 する。したがって、従来の 2次元バーコードのように「切り出しマーク」の如き補助的な 目印を用いずにコードを認識することが出来る。
[0189] したがって、本発明には、切り出しマークを見つけるようなプロセス、手段は存在せ ず、画像データ全体を一定の方法で処理することで、「マーキングパターン」に相当 するパターンを認識して 、る。 [0190] また、従来の二次元バーコードのように切り出しのための複雑な画像認識を行なう 必要がなぐ画像処理、画像認識処理が簡単になり処理速度が速くなる。
[0191] またさらに、画像データ全体のパターンで認識するので切り出しマークを探して、位 置合わせするための精密な画像や複雑な処理は不要で、画像キヤプチャゃ画像処 理操作が簡単になる。
[0192] また同時に、読取り機器や画像処理のソフトウェア、ソフトウェアが収容されている電 気回路 (記憶装置など)も簡単な構成を利用できるので、従来のものに比べて、安価 、小型化が実現できる。
[0193] また、マーキング (光学式認識コードを付与する動作、行為)そのものの精度もラフ なもので光学式認識コードを実現できる。
[0194] また、本発明によれば複数個の 1Dカラービットコードが同一画像内にあっても特別 な手段を講じることなぐ条件に合致した領域群をすベて 1Dカラービットコードとして 認識し、原データを得る。したがって、複数個の 1Dカラービットコードを用いる場合で も、 1個の場合と同様な単純な読取り作業が適用できるという効果がある。
[0195] 「効果その 3」
さらに、上述のように、本発明によれば、複数のコードシンボルを用いて所定のデー タを表すことができる。また、複数のコードシンボルのセル数に差がある場合でも、端 部識別用色彩配列を設けることによって、読み取りの際に読み落とし (端部の欠け) 力 Sあったことを検知することができ、誤読を防止することができる。
[0196] また、本発明は、異なるセル数のコードシンボルの混在を許容する状況において、 コードシンボルの読み落とし (端部の欠け)が生じた場合を検知でき、誤読を防止す ることができる光学式認識コードが得られる。
[0197] また、これらのような光学式認識コードを付した物品によれば、複数のコードシンポ ルによって、所定のデータを表現することができる。
[0198] また、これらのような光学式認識コードを付した物品によれば、セル数の異なる複数 のコードシンボルが混在していても、端部の読み落とし (欠け)をより効率的に把握す ることができ、誤読を防止することが可能である。
図面の簡単な説明 [図 1]本実施の形態その 1における光学式シンボルの説明図である。
[図 2]本実施の形態その 1における色彩の遷移とデータとの対応し示す表である。
[図 3]本実施の形態その 1における 2種類のオプションを示す表を表す図である。
[図 4]本実施の形態その 1における他の光学式シンボルの例を示す説明図である。
[図 5]本実施例 1 1の図 1の光学式シンボルを、デザイン的に処理した例を示す説 明図である。
[図 6]数字やアルファベットをどのように変換するかを表す 3種類の変換テーブルであ る。
[図 7]色彩の変化方向の関係を示す説明図である。
[図 8]「year2000」力 光学式シンボル 1010を作成した例を示す説明図である。
[図 9]各桁毎に異なる種類の変換テーブルを準備した例を示す説明図である。
[図 10]「12345678」(十進数)を表した例を示す説明図である。
[図 11]封筒の縁部分に付した光学式シンボルの例を示す説明図である。
[図 12]端点セルと直接隣接セルの色が数回繰り返して表れる例を示す説明図である
[図 13]透明なプラスチックケースに光学式シンボルを付したの様子を示す説明図で ある。
[図 14]本実施の形態その 2において、画像データに均色化処理を行った結果の例を 示す説明図である。
[図 15]本実施の形態その 2において、切り出された 1Dカラービットコードの様子を示 す説明図である。
[図 16]本実施の形態その 3にお 、て、データを複数のコードシンボルで表現した場合 の様子を示す説明図である。
[図 17]グループ識別データ、グループ内順識別データを、色彩のパターンとして与え た場合の 1Dカラービットコードの様子を示す説明図である。
[図 18]グループ識別データ、グループ内順識別データを、色彩のパターンとして与え た場合の 1Dカラービットコードの様子を示す説明図であり、特にグループ内順識別 データをコードの中間位置に配置した例である。 [図 19]セル数 N個のコードシンボルとセル数 N— 1個のコードシンボルの混在が許さ れて 、る場合のコードシンボルの様子を示す説明図である。
[図 20]セル数 N個のコードシンボルとセル数 N— 2個のコードシンボルの混在が許さ れて 、る場合のコードシンボルの様子を示す説明図である。
[図 21]セル数 N個のコードシンボルとセル数 N— 3個のコードシンボルの混在が許さ れて 、る場合のコードシンボルの様子を示す説明図である。
[図 22]セル数 N個のコードシンボルとセル数 N— 4個のコードシンボルの混在が許さ れて 、る場合のコードシンボルの様子を示す説明図である。
[図 23]他の実施例 3— 1に係る光学式認識コードの説明図である。
[図 24]他の実施例 3— 2に係る光学式認識コードの説明図である。
[図 25]他の実施例 3— 3に係る光学式認識コードの説明図である。
[図 26]他の実施例 3—4に係る光学式認識コードの説明図である。
圆 27]従来のバーコードにおいて、複数のスキャンラインで読み取る様子を示す説明 図である。
符号の説明
1010 光学式シンボル
1012 セル (構成セル)
1020 端点セル
1022 直接隣接セル
1024 間接隣接セル
1030 スペースセノレ
1032 キャリブレーション用セル
R 赤
B 青
Y 黄
w 白
3010 ノ ■ ~"コ^ ~"ド
3012、 3014 スキャンライン 3020 コードシンボル
3030 コードシンボル
3040 コードシンボル
3042 グループパターン部
3044 グループ内順表示パターン部
3050 コードシンボル
3060 コードシンボル
3062 グループ内順表示パターン部
発明を実施するための最良の形態
[0201] 「実施の形態その 1」
以下、本発明の好適な実施の形態を図面 1〜13に基づき説明する。
本実施の形態では、セルを線状に配列した形態を有する光学式シンボルを用いる コードを提案する。この光学式シンボルは、平面形状のシンボルであり、各種物品に 付されるちのである。
[0202] セル (構成セル)と端点セル
本実施の形態の光学式シンボルは、セルと端点セルから構成される。セルとは、一 つの色彩が付される範囲.領域であり、種々の形状を取ることができる。丸や四角、三 角形、等を用いることができる。このセルを線状に配列することによって光学式シンポ ルが形成される。
[0203] また、端点セルは、線状に連なったセル群力 なる光学式シンボルの端点に位置 するセルである。本実施の形態では、端点セルは、端点セル以外のセルとは異なつ た色が付されている領域'範囲である。また、後述するように、この端点セルに隣接す る他のセルとの(色の)組み合わせによって、その端点が「始点」なのか、それとも「終 点」なのかを表すことができる。
[0204] 始点を表す場合、その端点セルをスタートセルと呼ぶ場合がある。また、終点を表 す場合、その端点セルをエンドセルと呼ぶ場合もある。
また、端点セル以外のセルを、端点セルと特に区別する場合は、「構成セル」と呼ぶ 場合もある。 [0205] Ά
本実施の形態の光学式シンボルは、上述したようにセルを線状に配列して構成す る。この線状とは、直線でも良いし、曲線でも力まわない。隣接しているセルが追跡で きればどのような線でもかまわな!/、。
[0206] 「実施例 1 1」
図 1には、数値「12345678」(十進数)を表す光学式シンボル 10の例が示されて ヽる。この実施 f列 1一: Uこお ヽて ίま、 12345678【ま2進法で【ま「10111100011000 0101001110」と表記されるので、本実施例 1—1ではこの 2進数「101111000110 000101001110」を表して!/ヽる。
[0207] 図 1にお!/ヽて、 Υ (イェローを表す)、 Μ (マゼンタを表す)、 C (シアンを表す)などが 付されている四角形がセル 1012である。このセル 1012が複数個連なって光学式シ ンボル 1010を構成している。
[0208] また、本実施例 1 1では、 2進数の構成要素「0」、 「1」は図 2の表のようにして表すこ とにしている。すなわち、色彩に「1」「0」を割り当てるのではなぐ色彩の遷移に「1」「 0」を割り当てている。本実施 1例では黒とシアン(C)、マゼンタ(Μ)、イェロー (Υ)を 用いており、 Υ力らじ、 Cから Μ、 Μから Υへの色彩の遷移が、「1」を表す(図 2参照) 。また、 Υから M、 C力ら丫、 Μから Cへの色彩の遷移が、「0」を表す(図 2参照)。
[0209] すなわち当該桁のセル 1012の色値と、その前桁のセル 1012の色値により当該桁 の値が決まる。ここで、桁とは、数値が割り当てられている部分を言う。桁が割り当てら れている部分のセル 1012を、端点セル 1020等と区別するために、特に構成セル 10 12と呼ぶことちある。
[0210] 本実施例 1—1では 2進数「101111000110000101001110」を表すために、 24 桁必要である。本実施例 1—1では、 1個の桁を、 1個のセル 1012に対応させている
[0211] 本実施例 1—1では、最初の 2個のセル 1022、 1024 (左力ら 2個のセル 1022)は、 開始を示すセルであり、表したい数値の桁には対応していないセル 1022である。す なわち、これらはデータを表す構成セル 1012ではな 、。
[0212] この最初の 2個のセル 1022、 1024を、直接隣接セル 1022、間接隣接セル 1024 と呼ぶ。これら直接隣接セル 1022、間接隣接セル 1024は、データを表す構成セル 1012とは異なる。
[0213] 直接隣接セル 0122は、端点セル 1020に隣接するセルである。また、間接隣接セ ル 1024は端点セル 1020には直接的には隣接してはいないが、直接隣接セル 102 2に隣接する力、又は、他の間接隣接セル 1024に隣接するセルである。また、端点 セル 1020は、スタートセルの場合もあるし、エンドセルの場合もある。すなわち、始点 側、終点側、のいずれにも直接隣接セル 1022や間接隣接セル 1024が存在する場 合がある。
[0214] このように、図 1の左端、右端の黒のセルは端点セル 1020a、 1020bであり、左端( スタート側)の端点セル 1020a (黒)には、直接隣接セル 1022aが接続している。この 直接隣接セル 1022aには、色彩 Y (イェロー)が付されているものと定義している。
[0215] これによつて黒の端点セル 1020a+Y (イェロー)の直接隣接セル 1022aによって 、スタート側であることが表されている。
[0216] また、右端 (終端側)の端点セル 1020b (黒)は、その端点セル 1020bに、直接隣 接セル 1022bと、間接隣接セル 1024bと、が連続して接続している。そして、この直 接隣接セル 1022bには C (シアン)が付され、間接隣接セル 1024bには M (マゼンタ )が付されるものと定義している。これによつて黒の端点セル 1020b + C (シアン)の 直接隣接セル 1022b + M (マゼンタ)の間接隣接セル 1024bによって、終端側であ ることが表されている。
[0217] このような構成の結果、色彩的には、「黒につながる Y」と「黒につながる C、 M」を探 すことによって光学式シンボル 1010の端点(始点と終点)を探し当てることができる。 またこの C、 M、 Yにより色のキャリブレーションを行うことができる。
[0218] 図 2の表に示されているように数値の「1」、 「0」を表す色の組み合わせはそれぞれ 3種類準備されている。そこで、本実施例 1—1では、スタートを示す Υの右隣 (図 1中 の Μ)からデータの記述を開始している。この場合最初の桁 (本実施例では 1)は 2種 類のオプション (選択肢)を持つことができる。
[0219] 2種類のオプションの例を示す表が図 3に示されている。図 3 (1)では、端点セル 10 20 (H)に隣接する Υのセル 1012〖こ、順に C、 Mのセル 1012が連なっている。この C 、 Mのセルの連なりによって、最初の桁の「1」が表されている。同じく図 3 (2)では、端 点セル 1020 (黒)に隣接する Yのセル 1012に、順に M、 Yのセル 1012が連なって いる。この M、 Yのセルの連なりによって、最初の桁の「1」が表されている。
[0220] 図 2に示すように、「1」を表す他の組み合わせには Y、 Cがあるが、スタート側を表 すために、端点セル 1020と Υのセルの組み合わせが用いられているので、同じ Υ色 を用いることはできない。したがって、「1」を表すには、 Y、 Cではなぐ C、 M又は M、 Yの組み合わせである必要がある。したがって、選択肢は 2種類あることになる。この 例では「1」を表す場合について説明したが、「0」を表す場合も同様に選択肢は 2種 類ある。
[0221] 以下、同様にして、色彩の遷移によって、各桁の数を順次表して 、く。
[0222] さて、図 2においては、このオプションを利用して、特別なセルを持つことなくパリテ ィやその他の区分け (プラス、マイナスの符号、 2進法表記の選択 (グレイコードなど)
)を行うことができる。もちろん左端 Yと最初の桁のセル数を増やすことでこれらのォプ シヨンを増やすことが可能である。
[0223] 例えば、図 4 (1) Yのセル 1012に引き続き、 CMの並びのセル 1012を採用した場 合の例が示されている。また、図 4 (2)には、グレイコードで「12345678」(十進数)を 表した場合の例が示されて 、る。
[0224] さらに、また、左端 (始点側 (スタート側))同様、右端 (終点側)においても最終桁と エンドセルの M · C間のセルに、チェックディジットや桁数表示などが配置可能である
[0225] ここで、エンドセルとは、終点を表す端点セル 1020を言う。また、本実施例 1— 1で は、エンドセルには隣接して順に Cのセル 1012、 Mのセル 1012が設けられることに している(図 4参照)が、この部分にも上述したように、チェックディジットや桁数表示な ど種々の機能を配置することが可能である。
[0226] また、これまで述べた例では、セル 1012、端点セル 1020はいずれも一直線状に 配列されている力 曲線状に配列していても力まわない。セル 1012同士のつながり が識別でき、そのつながりが追跡可能であれば良い。
[0227] 図 5には、本実施例 1 1の図 1の光学式シンボルを、デザイン的に処理した例を示 す。このように、セル 1012の形状は、円や四角、星形など種々の形状を採用すること が可能である。また、それらセル 1012は接続状態が識別でき、隣接するセル 1012 が追跡できれば直線状で配列されても、円状に配列されていても、曲線状に配列さ れていてもかまわない。
[0228] 「実施例 1 2」
図 6に、数字やアルファベットなどを直接 (一旦 2進数に変換せずに直接)符号ィ匕す る例を示す。図 6には、各数字やアルファベットがどのように変換するかを表す変換テ 一ブルが 3種類示されている。 3種類示したのは、最初のセル 1012の色彩に合わせ て C力 始まる変換、 M力 始まる変換、 Yから始まる変換、の 3種類用意されている ためである。
[0229] すなわち、「0」を表すには、「YMYCM」の順でセル 1012を配置する力、「MCM YCJの順でセル 1012を配置する力、「CYCMY」の順でセル 1012を配置する力、 の 3通りの表し方がある。先行するセル 1012の色彩に合わせて、 3通りのうち、いず れかが選択される。
[0230] なお、図 6、本実施例 1—2で示す手法でも、隣接するセル 1012の色の変化方向 を元にコード体系を定めている。図 7には、これら変化方向の関係を示す説明図が示 されている。図 7に示すように、「YC」という色彩の変化は「CM」「MY」という色彩の 変化と同値である。このことは図 6の表からも明らかである。また、「YM」という色彩の 変化は「CY」「MC」という色彩の変化と同値である。このことも図 6の表から明らかで ある。また、スタートは、 3種類の色が選べる点は実施例 1—1と同様である。
[0231] 図 6の表を用いて、「year2000」力 光学式シンボル 1010を作成した例が図 8に 示されている。端点セル 1020は、図 1の例と同様に黒色であり、セル 1012は C (シァ ン)、 M (マゼンタ)、 Y (イェロー)の 3色を用いている。図 8に示すように、「y」を「MY CYMYMY」で表しているので、最後の「Y」を用いて、「Υ」から始まる「e」を図 6の表 から探すと、「YCMCYMCM」が見つ力るので、これを用いる。今度は、最後が「M」 であるので、「M」から始まる「a」を探す。以下、同様にして「year2000」の各文字を 変換して最終的な光学式シンボル 1010を構成する(図 8)。
[0232] 「実施例 1 3」 色数の増加
上述した実施例 1— 1 · 1—2では、できるだけ色の読み取り誤差を防ぐため、 3色 (C MY)の場合を例に挙げてきた。 3色はこれ以外に RGBの場合も当然考えられる。ま た端点セル 1020の色を黒として説明してきた力 あえて端点セル 1020としなくとも、 地の色が黒であればそれでも力まわない。その意味で地の色が黒以外の場合、(例 えば Y)これを端点セル 1020の色として、セル 1012の色を他に選んでもかまわない
[0233] いずれも、読み取り条件との関係で、確実に差が検出できる色の組み合わせであ れば良い。そのような意味で、許す範囲で使う色の種類が増えればそれだけいろい ろな考え方が可能になる。
[0234] 本実施例 1—3では、 YMCに加えて一色 G (グリーン)を加えた場合の実施例につ いて説明する。本実施例 1—3では、 G (グリーン)を付したセル 1012をスペースセル として利用する。この結果、例えばデータと桁表示(=アドレス)を効率よく表示するこ とがでさる。
[0235] 本実施例 1—3の場合の変換テーブルが図 9に示されている。この図 9に示すように 、本実施例 1—3では、各桁毎に異なる変換テーブルを用いている。この変換テープ ルを用いて「12345678」(十進数)を表した例が図 10に示されている。この図 10に 示すように、本実施例 1— 3では G (グリーン)を付したセル 1010をスペースセル 103 0 (各桁の区切りとなるセル)として用いている。このスペースセル 1030の存在によつ て、各桁を区別することが容易となる。
[0236] 例えば、一番左側は 8桁目であるので、図 9における 8桁目のテーブルを用いる。こ のテーブル中で「1」を表すのは「YMCYMC」であるので、これを 1桁目の部分に用 いる。次にスペースセル 1030として G (グリーン)を付したセル 1010を挟み、 7桁目を 置く。 7桁目は、図 9の 7桁目のテーブルを用いる。このテーブルから「2」を探すと、「 CYMYMC」であるので、これを 7桁目として用いる。以下、同様にして、一番最後の 1桁目まで続ける。最後に、スペースセル 1030と、終端を表す Mのセル 12 + Cのセ ル 1012と、端点セル 1020を置けば、最終的な光学式シンボル 1010が完成する(図 10参照)。 [0237] このように、本実施例 1—3によれば、桁数 (=アドレス)と数値が同時に表されている ため、光学式シンボル 1010内の(桁)位置を変更できる。また複数の光学式シンポ ル 1010に分割することも可能である。すなわち、図 9から理解できるように、本実施 例 1—3では、各桁毎に変換テーブルを用いているが、変換結果は全て異なる。した がって、変換結果のパターンを見れば、それが何桁目のデータであるかを容易に知 ることが可能である。いずれにしても、本発明においては、利用する色数を増やせば 、データの集積度を確実に向上させることができる。
[0238] 「実施例 1 4」
光学式シンボルのデコード
光学式シンボル 1010を読み取って、元となったデータを復元することをデコードと 呼ぶ。デコードの手順は種々考えられる力 典型的な好ましい一例は以下の通りで ある。
[0239] (1)所定の物品に光学式シンボル 1010を含む画像を CCDカメラ等で撮影し、画 像データとして取り込む。
[0240] なお、 CCDカメラは、いわゆるエリアセンサと呼ばれるセンサの代表的な一例であり
、他のエリアセンサで画像データを取得しても良い。
[0241] (2)上記画像データから、
(a)端点セル 1020a、端点セル 1020bと、
(b)端点セル 1020aに隣接する Yのセル(直接隣接セル 1022a)と、
(c)端点セル 1020bに隣接する Cのセル(直接隣接セル 1022b) +Mのセル(間 接隣接セル 1024b)と、
を探し出す。
[0242] これら直接隣接セル 1022や、間接隣接セル 1024は、両側に連続した構成セル 1 012を持つことはないという特徴を有する。また、直接隣接セル 1022や、間接隣接 セル 1024は、構成セル 1012と接続する場合には、たかだか一方側だけであるとい う特徴を有する。このような条件を手がかりに直接隣接セル 1022や、間接隣接セル 1 024を探し出す。
[0243] (3)端点セル 1020a (スタートセル)に隣接する Yのセル(直接隣接セル 1022)と、 他の端点セル 1020b (エンドセル)に隣接する Cのセル(直接隣接セル 1022b) +M のセル(間接隣接セル 1024b)との間ををつな!/ヽで 、る構成セル 12群の連続した連 なりを追跡して特定する。
[0244] (4)画像中、白色の領域は全反射による過剰光とみてこの領域部分は光学式シン ボル 1010ではないと判断する。
[0245] (5)一定のエリア毎に画像を平均化して、ノイズや細かな影、汚れなどの成分の影 響を排除する。要するに、フィルタリングによるノイズ除去である。メジアンフィルタ、そ の他従来力も知られている種々のフィルタリング手段が利用可能である。
[0246] (6)構成セル 1012連なって 、るその線状の連続部分以外の部分 (構成セル 1012 以外の部分)について、影や下地の色などの状況に応じて、光学式シンボル 1010で はないと判断する。
[0247] (7)この際、照明の当て方を変化させた時の画像の差などを利用することも好まし い。
[0248] (8)構成セル 1012の連続の Y、 C、 Mの成分のピークをとらえ、デコード仕様に基 づき、符号化、及びチェックを行う。なお、本特許では、デコードを符号化と呼ぶ。
[0249] このような手法で、光学式シンボル 1010のデコードを実行する。
[0250] ま め 1
以上述べたように、本実施の形態で提案するコード体系は以下のような特徴を持つ ている。
[0251] ·本実施の形態その 1で使用する光学式シンボルは、端点セル 1020、直接隣接セ ル 1022、間接隣接セル 1024、によって、確実に両端力も連鎖的に隣のセルを追う ことができる。
[0252] ·使用する色は 3原色系の読み取り機器にとって純粋な色のみで構成可能であり、 退色、照明、印刷等のばらつきに対して許容度が大きい体系である。
[0253] ·データの表記法を、表現色の順番のみに依存させているので、各色の範囲(セル )の大きさがまちまちに変化しても読み取り特性に与える影響が少ない。
[0254] '隣接したセルを順に追いかけて、その色を拾っていくというコンセプトであるため、 幅が細ぐ曲がり、折れ曲がりがあっても読み取り特性に与える影響が少ない。 [0255] ·一方、各セルの形状に自由度があり、四角、三角、丸、星形や字形のセルであつ ても読み取り特性に与える影響は少な 、。
[0256] ·セルの表す符号 (データ)は、当該セルとその隣接するセルの色との関係で決定さ れる。
[0257] ·セルの符号 (データ)の表し方によって、チェック、表記法などの区別を行うことが できる。
[0258] ·また、光源の種類によって、その過剰光量に相当する色彩を使用しないことが好 ましい。
[0259] m
(1)読み取りの基準となる基準セルを所定の箇所に設けてキャリブレーションを行う ことが好適である。基準セルは C、 M、 Yの各色彩を付したセルを所定の場所に配置 しておくことで実現する。
[0260] このキャリブレーションは、構成セル 1012の色、各構成セルの間の色差に関して行 われる。
[0261] また、構成セル 1012とそれ以外の部分との差を、明確にするために、端点セル 10
20と構成セルと間の色差の確認 (キャリブレーション)を行う。
[0262] また、構成セル 1012の鎖を追跡することができるように、その両側は端点セル 102
0と同系色(且つ、構成セル 1012の色と確実に区別できる)の色彩で占めることが好 ましい。
[0263] 例えば、これまで示してきた例では、構成セル 1012は C、 M、 Yの 3色群から色彩 を選択した。そして、端点セル 1020は、これら 3色とは異なる「黒色」としていた。した がって、上記「両側」についても黒色とすることが好ましい。
[0264] (2)また、本実施の形態その 1のような 1次元に続く光学式シンボル 1010は、例え ば封筒の縁部分に付することが好適な利用法の一つである。このような利用の例が 図 11に示されている。この図 11においては、封筒の縁部分に色彩が並んで配列さ れている光学式シンボル 1010の例が示されている。このような例においては、構成 セル 1012の両側は一般に影になる。そこで、実際の例においては、光学式シンボル 1010の端点セル 1020は影と同様の黒系の無彩色が妥当である。 [0265] ここで、「両側」とは光学式シンボル 1010の伸長方向と垂直な 2個の方向を意味す る。
[0266] (3)また、端点セル 1020の外側(図 11においては封筒の地色)との区別のために 、端点セル 1020と直接隣接セル 1012の色は数回繰り返して表れることも非常に好 ましい。そのような例が図 12に示されている。
[0267] この図 12に示した例では、左端 (Start側)は、(1)両端を Yで挟まれた黒 (端点セ ル 1020a)を探し、同時にその Yを付した直接隣接セル 1022aを探し、(2)その見い だした Yの直接隣接セル 1022aのうち、隣接する両側が共に黒でな ヽ直接隣接セル 1022a,すなわち、少なくとも一方が黒 (端点セル 20)でない直接隣接セル 1022aを 探し、見つけ出した直接隣接セル 1022aを、 Start側の直接隣接セル 1022a、且つ 、キャリブレーション用の Yを定めるキャリブレーションセル 10102a、と定める。
[0268] 図 12に示す例では、 Start側に「黒、 Y、 CJという並びが存在するので、この並びの 中央の Yの構成セルが、「Start側の Yの構成セル 12、且つ、キャリブレーション用の Yを定める構成セル 1012」である。
[0269] このように認定することによって、例えば地色が黄色に近い場合でも、地色側に構 成セル 12が連続していると誤認してしまうことを防止することができる。
[0270] 図 12の例では、「端点セル 1020a+直接隣接セル 1022a」の組がスタート側にお いて 3回繰り返されている。また、終端側においては、「端点セル 1020b +直接隣接 セル 1022b +間接隣接セル 1024b」の組が終端側において 3回繰り返されている。
[0271] (4)また、透明なプラスチックケースに本実施の形態の光学式シンボルを付した場 合、構成セル 1012の上述した「両側」が白に近 、グレイ (無彩色)であることが多 、。 このような様子を示す説明図が図 13に示されている。したがって、このような場合は、 構成セル 1012の有彩色を目印として追跡し、光学式シンボルを読み取り、デコード することが好ましい。
[0272] 「実施の形態その 2」
以下、図面 14、 15を参照して、本発明に係る 1Dカラービットコードの切り出し手法 の好適な実施の形態その 2について詳細に説明する。
[0273] 第 1 1Dカラービットコードの定義 さて、本願発明者が考案した IDカラービットコードの定義を説明する。 1Dカラービ ッ卜コード、は、
•所定の色彩の領域「セル」がー列に配列したもの( =「セル列」)である。
[0274] ·複数の色彩が用いられ、各セルにはセル毎の色彩が付されている。
[0275] ·セル同士の包含はない。すなわち、あるセルが他のセルに包含されることはない。
[0276] ·配列を構成するセルの数が予め定められた数である。
[0277] ·隣接するセル同士には同色は付されず、必ず異なる色彩が付される。
[0278] というものである。 1Dカラービットコードはこの条件に基づいて作成されている。
[0279] 第 2 切り出し及びデコードの実際
2. 1 ^^面 の >け
まず、切り出しに先立って、画像データを以下のように色領域に分ける。
[0280] · 1Dカラービットコードを含んだ画像データをエリアセンサで取り込む、
•上記画像データを定義に基づき複数の色領域に区分けする
という処理を行うが、本実施の形態その 2では、青、赤、黄および白に区分けする例 を示す。
[0281] また、本実施の形態では 1Dカラービットコードは青、赤、黄の「セル」の列であり、「 セル」数は 15であるものとして説明する。すなわち、 1Dカラービットコードの各セルは 青、赤、黄のいずれかの色彩が付されている。
[0282] 元々、上のエリアセンサで取り込んだ「原画像」データは背景も含めて様々な色彩 で構成されており、それらのパターンも様々である。この原画像データ中の色彩を色 空間の中で青、赤、黄、無彩色に区分けし、各画素の色彩をいずれかの領域に当て はめる「均色化処理」を行なう。要するに、各画素をいわゆるラベリング処理を行うもの である。
[0283] ここで、上記青、赤、黄は、本来、 1Dカラービットコードのマーキングパターンを構 成する色彩 (青、赤、黄)として定義された色彩である。しかし、区分けで用いる「青、 赤、黄」は、照明、彩色、退色等のばらつきを考慮して色空間上で一定の範囲をとつ た色彩の範囲である。これを「マーキング色彩範囲」と呼ぶ。
[0284] 換言すれば、マーキングの際には定められた特定の「赤」を用いる力 読み取りの 際には、「赤」を中心とする所定の色彩範囲の色を全て「赤」(マーキング色彩範囲)と 認定するのである。これが上述した均色化処理である。
[0285] またここで、無彩色は、「マーキング色彩範囲」以外の一種として定義される。クワイ アットゾーンの色も、この「マーキング色彩範囲」以外の色彩として扱う。クワイアットゾ ーンは 1Dカラービットコード以外の部分であることを表し、コード間の仕切りの役割を 果たすので当然、このように取り扱う。
[0286] このように、マーキング色彩範囲以外の色彩を本実施の形態ではクワイアットゾーン の色 (これをスペース色と呼ぶ)と認定して!/、る。これも上述した「均色化処理」の一部 である。クワイアットゾーンの色彩であるスペース色は、本実施の形態では例えば白 である。すなわち、マーキング色彩範囲以外の色彩を全て白とみなし白に変換してい るのである。
[0287] 尚、ここでは「マーキング色彩範囲」以外と判断された画素は全て白に変換して 、る 1S 上記青、赤、黄 (マーキング色彩範囲)以外の色であればどのような色でも構わな い。これも上記均色化処理の一部である。
[0288] 「原画像」データを上記のごとく「均色化処理」をするにあたり、ノイズ成分の混入は 通常避けられない。このノイズに相当する微少部位の色彩異変は、その周囲の色彩 に合わせたり、平均化する等のノイズ除去処理をあわせて行なうことで除去することが 出来る。
[0289] このような均色化処理を行った結果の例が、図 14に示されている。
[0290] この図 14では、「背景パターン」を故意に 1Dカラービットコードと紛らわしいものとし ている。また、この図 14中で検出されるべきカラービットコードはひとつのみである。
[0291] すなわち、検出すべき正しい 1Dカラービットコードは、中央部分の色彩領域の連な りである。図 14には、その他にもこのような色彩領域の連なりがいくつか存在するが、 それらは、以下のような 3種の判定ステップによって、カラービットコードの候補から除 外されていく。最終的に、残存した候補が検出すべきカラービットコードとなる。
[0292] 2. 2 切り出しとデコード
切り出しの処理を以下述べる。
[0293] (1)判定ステップ 1 (境界条件) まず、各色の領域の境界条件を判定する。
[0294] 即ち、白色以外の各色領域にお!、て、その領域が「セル列」を構成する「セル」であ る要件は、その境界条件が以下の 、ずれかの条件を満たすことである。
[0295] (条件 a)その領域の周囲が白色 他色 白色 他色で周回が完結されているこ と、 :この場合は、その領域は「中間セル」に相当する。または、
(条件 b)その領域の周囲が白色 他色で周囲が完結されていること、 :この場合は、その領域は「終端セル」に相当する。
[0296] ここで、他色とは本例では白以外の、青、赤、黄の三色で当該セル (領域)以外の 色(当該セルが赤なら、青または黄である)を意味する。
[0297] 「中間セル」とは、セル列の両端以外の「セル」をいう。この中間セルの場合は、セル 列を構成していることから、隣接する 2個のセルが存在し、その 2個のセル(となる領 域)の色彩は、 1Dカラービットコードの定義から、その中間セルの色彩と異なる色彩 である。さらに、その 2個の領域以外の周囲は 1Dカラービットコードの定義から、クヮ ィアットゾーンで囲まれている。このクワイアットゾーンは、上述したように「無彩色」の 領域であるが、白色に変換されている。
[0298] このようにして、結局、その領域がセル列の中間セルであるならば、上記条件 aを満 足するはずである。条件 aを満たせば、その領域は中間セルである可能性がある。
[0299] 「終端セル」とは、セル列の両端の「セル」を言う。この終端セルの場合は、セル列の 端点を構成していることから、隣接するただ 1個のセルが存在し、その 1個のセル(と なる領域)の色彩は、 1Dカラービットコードの定義から、その終端セルの色彩と異な る色彩である。さらに、その隣接する 1個の領域以外の周囲は 1Dカラービットコード の定義から、クワイアットゾーンで囲まれている。このクワイアットゾーンは、上述したよ うに「無彩色」の領域であるが、白色に変換されて 、る。
[0300] 結局、その領域がセル列の終端セルであるならば、上記条件 bを満足するはずであ る。条件 bを満たせば、その領域は終端セルである可能性が高い。
[0301] さて、上記条件 aも条件 bも満たさな 、色領域 (たとえば地色を挟まず 3色が接して いる領域、一色のみで周囲を覆われている領域等)は、セル列を構成する可能性は 0であるので、「背景画像」領域と判定し、この背景画像領域に接する白色以外の色 領域をすベて「背景画像」領域と判定する。なお白色は上述したようにクワイアットゾ ーンである。
[0302] (判定ステップ 2) (セル数)
上記判定ステップ 1で排除されずに候補として残った色領域 (セル列候補領域)は 、必ず一列に連なっているはずである力 各列の連なっている色領域の数力 所望 の 1Dカラービットコードと異なっている可能性がある。したがって、このセル数の条件 で色領域を更に絞り込む(1Dカラービットコードのセル数は既知であり、これと合致し たもののみを 1Dカラービットコードの領域を構成する「セル」と判定する)。
[0303] (判定ステップ 3) (終端条件)
次に、 1Dカラービットコードの終端条件 (始点セル (群)は、黄'赤であり、終点セル は青である)力も更にコード領域を絞り込む。終端セルには、このように始点セル (群) と、終点セル (群)と、の 2種類がある。それぞれ 1個又は 2個以上のセル (群)から成る 。本実施の形態その 2では、上述のように、始点セル群は 2セルで構成され、終点セ ルは 1セルで構成されている。それぞれの色彩の設定を終端条件と呼ぶ。
[0304] また、コード領域の絞り込みは、終端条件力もではなぐ中間点条件力もであっても 構わない。セル列の両端以外の中間に位置する中間セル力 黄.赤である、あるいは 青であるというような色彩の設定を中間点条件と呼ぶ。
[0305] 上記終端点条件の変わりにこの中間点条件を用いることも好ましい。さらに、上記 終端点条件に加えてこの中間点条件も検査し、両方の条件が満たされている場合の みをセルの候補として残し、コード領域を絞り込むことも好ま 、。
[0306] (判定ステップ 4) (デコード)
上で述べた判定ステップ 1〜3を全てパスした色領域、すなわち、残された最終 1D カラービットコードの候補領域にっ 、て、すべてその色の順番を以てデコードを試み る。そして、チェックディジット等の整合性を確認する。
[0307] この結果、最終的に正常に(エラー無く)デコードできた領域とその値を以て、「切り 出し」、「デコード」を完了する。
[0308] 2. 3 補助的処理
(1)領域拡大 マーキング仕様によってはマーキングの色領域が必ずしも接して 、な 、場合も想定 される。各色領域がいわゆる飛び石状に連なっている場合もある。このように島状の 各色領域が所定距離離間しながら並んでいる場合でも、その並びが認識しうる限り( トレースできる限り) 1Dカラービットコードが成立しうる。
[0309] その場合には色領域を一定の大きさに拡張して、それぞれが接すると見なして上 記アルゴリズムを適応することが好ましい。所定の領域を拡大 (拡張)することは、画 像処理の基本的な処理 (例えば、細い線を太くする太線化処理等)として知られてお り、当業者であれば容易に実施可能である。
[0310] (2)領域縮小
また、マーキング仕様によってはマーキングの色領域が拡大し、重なり部分が多く 成りすぎる場合も考えられる。この場合、色領域の重なりが増えてしまい、各色領域の 並びの順番が把握できな!/ヽ事態も想定される。
[0311] この場合には、色領域を所定量縮小させることが好ましい。このように色領域を所定 量縮小させることによって、各色領域の並びが認識できる状態にしてから、上記アル ゴリズムを適応することが好ましい。所定の領域を縮小 (減縮)することは、画像処理 の基本的な処理 (線を細くする細線化処理等)として知られており、当業者であれば 容易に実施可能である。
[0312] 2. 4 切り出されたカラービットコードの様子
このようにして切り出された 1Dカラービットコードの様子が図 15に示されている。こ の図 15に示すように、 1Dカラービットコードとなりそうな色領域の集合 (候補)は 5個 あるが、中央の 1列のみが 1Dカラービットコードとして切り出され、デコードの対象と なる。
[0313] 左上の集合は、境界条件が不整合であるので判定ステップ 1で除外される。左下の 集合は、同じく境界条件が不整合であるので判定ステップ 1で除外される。中央下の 集合は、セル数が所望の 1Dカラービットコードの数 (ここでは 15個としている)とは合 わない(10個)であるので、判定ステップ 2で除外される。右端の集合は、境界条件が 不整合であるので判定ステップ 1で除外される。
[0314] このようにして、中央の集合のみ力 境界条件も、セル数(15個)の条件も満足する ので、最終的に IDカラービットコードとして切り出され、デコードされる。
[0315] なお、図 14、図 15中、 Rは赤色を表し、 Yは黄色を表し、 Bは青色を表す。また、 W は白色を表す。
[0316] 第 3 色領城の区分けについて
上述した「2. 1色領域の区分け」では、例えば、赤を中心とした一定範囲を全て赤と 見なす均色処理を実行している。黄や青についても同様である。ここで、一定範囲と は種々の近似した領域を採用すればよいが、例えば純粋な赤から一定のハミング距 離にある範囲とすることも好適である。
[0317] また、一般に画像データそのものは、 R (赤) G (緑) B (青)の 3原色力も成るデータ で得られる場合が多いので、その RGBデータのまま、均色化処理を行うことが好まし い。
[0318] しかし、この RGBデータを、ー且、 HSV形式にに変換して力も均色化処理を行うこ とも好適である。言うまでもなく HSVは、色相(Hue)、彩度(Saturation (純度ともい う))、明度 (Value)力 成るデータであり、色相成分を備えているので、赤を中心とし た一定範囲、黄を中心とした一定範囲、青を中心とした一定範囲、の計算が容易に なる可能性がある。もちろん、これら一定範囲以外は、上で述べたように全て「白」に 変換する。 RGBデータと、 HSVデータとを相互に変換することは従来力 行われて きたことであり、当業者であればその変換は容易である。
[0319] このような、 RGBによって表された色彩や、 HSVの H (色相)は、請求の範囲の色 彩を表すパラメータの好適な一例に相当する。
[0320] このような HSV形式は、色相を含めて色を表すデータの好適な一例に相当する。
色相が表れて 、れば、他の種類のデータ形式を採用してもょ 、。
[0321] 第 4 コンピュータとソフトウェア
(1)以上、光学式認識コードを認識する手法について説明してきた。これまで述べ た実施の形態では、基本的には画像データとしてデジタル画像データを前提として いる。そのためこのような画像データを処理できるハードウェア 'ソフトウェアによって 実行することが好ましい。
[0322] 典型的には、コンピュータと、そのコンピュータが実行するプログラムと、を用いて、 上記の動作を実行する「光学式認識コード認識装置」を構成し、「光学式認識コード 認識方法」を実行させることが好まし 、。
[0323] また、このようなプログラムは、所定の記録媒体に格納しておくことが好ま 、。例え ば、ハードディスクや各種光ディスク、フラッシュメモリ等の各種半導体記憶装置に格 納しておくことが好ましい。
[0324] さらに、これらプログラムと、コンピュータとは、別体に構成することも好ましい。例え ば、サーバーにプログラムを収容しておき、ネットワークを介して遠隔地のクライアント コンピュータがこのサーバー内のプログラムを実行するように構成することも好適であ る。
[0325] (2)画像データは、典型的には、 CCDカメラ等で撮影して得ることが好ま 、。アナ ログカメラで撮影したデータをデジタル信号に変換してもカゝまわない。
[0326] 第 5
(1)上述した例では、 1Dカラービットコードが 1個のみ存在する場合を説明したが、 複数個存在していてももちろん力まわない。最終的な候補が複数個になり、それら複 数個の候補にっ 、てデコードが行われ、それぞれ原データが得られる。
[0327] (2)上述した例では、赤、黄、青にっ 、て均色化処理を行 、、領域を分割したが、 これはどのような色でも良いし、また色の数も 4色以上でもよい。緑、シアン、マゼンタ 等を利用することも好適である。
[0328] (3)上述した例では、「マーキング色彩範囲」以外と判断された画素は全て白(スぺ ース色)に変換している力 このスペース色は、上記青、赤、黄 (マーキング色彩範囲
)以外の色であればどのような色でも構わな!/、。
[0329] 「実施の形態その 3」
以下、図面 16〜27を参照して、本発明に係る 1Dカラービットコードの切り出し手法 の好適な実施の形態その 3について詳細に説明する。
[0330] 実施の形餱 3—1 複数のコードシンボルによる表現
図 16に ίま、あるデータを 3分害 ijして 3つのコードシンポノレ 3020a、 3020b, 3020c に分けて表した例が示されている。この 3個のコードシンボル(3020a、 3020b, 302
Oc)力 成るグループで、所定のデータを表現して 、る。 [0331] 図 16で示した例では、上記グループは、表したい「データ」の他に、そのグループ を表すグループ識別データと、各コードシンボル力 そのグループ内の何番目のコー ドであるのかを示すグループ内順識別データと、を含むデータを表現して!/、る。
[0332] まず、 3個のコードシンボル 3020は、共通のグループ識別データを含んでいる。更 に、 3個のコードシンボルは、そのグループ内の何番目のコードであるのかを示すグ ループ内順識別データを含んでおり、これは各コード毎に異なる。
[0333] グループ識別データ
図 16 (1)に示す例では、グループ識別データは「00」である。コードシンボル中の データの最初の 2桁がこのグループ識別データを表す。図 16に示すように、 3個のコ ードシンボル中のグループ識別データはいずれも「00」である。尚、本実施の形態 3 1では、グループ識別データとして番号を用いているので、グループ識別データを グループ番号と呼ぶ場合もある。
[0334] 尚、グループ識別データとして、単なる数値以外のものを利用する例が下記実施の 形態 3— 2に示されている。
[0335] グループ内順識別データ
また、図 16 (1)に示す例では、グループ内順識別データは「00」、 「01」、 「10」であ り、この数を表す色彩のパターン力 コードシンボル中に含まれている。
尚、本実施の形態 3—1では、グループ内順識別データとして番号を用いているの で、グループ識別データをグループ内番号と呼ぶ場合もある。
[0336] データ表現
図 16 (1)に示す例では、各コードシンボルは、グループ識別データ、グループ内番 号順識別データ、表現したいデータ、を順に表している。表現したいデータは、上段 のコードシンボルの場合、 1048576 (十進数)であり、その 2進数表現が図 16 (1)に 示されている。同様に、中段のコードシンボルが表現したいデータは、 1 (十進数)で あり、その 2進数表現が図 16 (1)に示されている。また、下段のコードシンボルが表現 したいデータは、 1398101 (十進数)であり、その 2進数表現が図 16 (1)に示されて いる。
[0337] 結局図 16 (1)に示す例では、「1048576— 1 1398101」というデータを表すこと になる。
[0338] 読み取り
図 16 (1)の場合、 1Dカラービットコードの読み取りにおいては、これら 3つのコード シンボルを同時に読み取ることは容易である。その理由は、 1Dカラービットコードは、 所定の領域を占めるものであるので、 CCDカメラ等で所定の領域をキヤプチヤーして 読み取る必要があるためである。所定の領域をキヤプチヤーするので、複数の 1D力 ラービットコードを取得することが原理的に容易となる。従来のいわゆるバーコードに おいては、一直線状であることを前提にしているので、所定の線上し力スキャンしな い場合が多い。そのため、従来のバーコードにおいては複数個のバーコードを読み 取ることは原理的に困難である。
[0339] したがって、元の表現した 、データ(を 3分割したデータ)に加えて、グループを表 すグループ識別データ、グループ内順識別データ、を付加することで、元の表現した V、データをが容易に復元できる。
[0340] このようにして、本実施の形態その 3では、従来のステッチングとは異なり、一つの データを表すコードシンボルを複数個に分割してマーキングする手法で一度に従来 のステッチングと同様以上の効果を得ることが可能である。
[0341] 他の例
図 16 (2)には、別の例が示されている。この例では、データは、コードシンボル 303 Oa、 3030b, 3030cに分けられて記録される。この図 16 (2)で示す f列は、グノレープ 識別データが「10」である点、表した 、データが「1887436— 524351 63」 t 、う データである点、が図 16 (1)と異なる。それ以外は図 16 (1)と同様である。
[0342] 実施の形餱 3— 2 複数のコードシンボルによる表現 (その 2)
グループ識別データ、グループ内順識別データ、は数値データとして与える以外に 、色彩のパターンとして与えることも好適である。そのような例が図 17、図 18に示され ている。
[0343] 図 17には、図 16と同様に、あるデータを 3分割して 3つのコードシンボル 3040a、 3 040b, 3040cに分けて表した例が示されている。この 3個のコードシンボル(3040a 、 3040b, 3040c)力ら成るグノレープで、所定のデータを表現して ヽる。 [0344] 図 17で示した例では、グループ識別データと、グループ内順識別データと、を色彩 配列パターンで表して 、る。
[0345] グループ識別データ
図 17に示す例では、グループ識別データは「YCM」である。ここでは、色彩そのも のをグループ識別データとして利用しており、コードシンボル中のグループパターン 部 3042がこれを表す。図 17 (1)の例では、グループ識別データが「YCM」であるの で、グループパターン部 3042に、その色彩通りに「YCM」が付されている。これは、 3個のコードシンボル 3040a、 3040b, 3040c全てがそのパターンが設定されている
[0346] グループ内順識別データ
また、図 17 (1)に示す例では、グループ内順識別データは「YMY」、「MYM」、「 MCM」であり、このようなグループ内部の順番を示す色彩のパターン力 コードシン ボル中のグループ内順表示パターン部 3044に付されている。
この図 17のような構成のグループ内順識別データを採用する場合は、順番を予め 色彩で表現しておくおく必要がある。
[0347] データ表現
図 17 (1)に示す例では、各コードシンボルは、グループ識別データを表すグルー プパターン、表現したいデータ、グループ内番号順識別データ、を順に表している。 表現したいデータは、上段のコードシンボル 3040aの場合、 1048576 (十進数)で あり、その 2進数表現が図 17 (1)に示されている。同様に、中段のコードシンボル 30 40bが表現したいデータは、 1 (十進数)であり、その 2進数表現が図 17 (1)に示され ている。また、下段のコードシンボル 3040cが表現したいデータは、 1398101 (十進 数)であり、その 2進数表現が図 17 ( 1 )に示されている。
[0348] 結局図 17 (1)に示す例では、「1048576— 1 1398101」というデータを表すこと になる。
[0349] 他の例
(a)
図 17 (2)には、別の例が示されている。この例では、データは、コードシンボル 305 0a、 3050b, 3050cに分けられて記録される。この図 17 (2)で示す f列は、グノレープ 識別データが「MCY」である点、表した 、データが「1887436 - 524351— 63」と!ヽ うデータである点、のみが図 17 (1)と異なる。それ以外は、同様である。
[0350] (b)
図 18に示す f列では、データは、コードシンポノレ 3060a、 3060b, 3060cに分けら れて記録される。また、図 18の例では、グループ識別データや、グループ内順識別 データを、色彩のパターンで表現している点で、上記図 17の例と共通する。また、こ の図 18で示す例は、表したいデータ力 S「1887436— 524351— 63」というデータで あり、この点も、図 17の例と同様である。
[0351] 図 18に示す例が、図 17の例と異なる点は、グループ内順識別データの「位置」で ある。図 18に示した例では、グループ内順識別データは、グループ内順表示パター ン部 3062に記述され、これはコードシンボル 3060のおよそ中央の近傍に存在して いる。
[0352] この図 18の例から容易に理解されるように、要するに、グループ内順識別データや グループ識別データは、予め決めてさえおけば、どこに配置されていても力まわない
[0353]
Figure imgf000051_0001
以上述べてきたい各例(図 16〜図 18)の場合、これら複数のコードシンボルが存在 しているとして、読み取り処理を行う。上述したように、本実施の形態その 3のいわゆ る 1Dカラービットコードにおいては、コードシンボル中のセル数が規定されていない コードも利用することができる。それは、開始点と終了点とがある特定のパターンで指 定されており、そのある特定のノターンが検出された場合に、それぞれ、開始地点、 終了地点であると認定する(認識'判断)するのである。
[0354] このように、コードシンボルのセル数が予め規定されて!ヽな 、場合、コードシンボル の端が例えば CCDカメラの視野の関係等で切れてキヤプチヤーできな力つた時に、 残った部分が別のデータを表してしまう可能性 (誤読)が高!、。
[0355] 実施の形餱 3 - 3a:シンボルコードのセル数の制限
そこで、本実施の形態 3— 3aにおいては、コードシンボルのセル数に制限を設けて 、誤読を防止することを提案する。
[0356] 最も厳し!/、制限は、全てのコードシンボルのセル数が等し ヽと 、う制約条件である。
このような制限を設けることで無用に冗長なチェックセルを設けることを避けることが可 能である。チェックセルは、データを表すセルではなぐエラーチェックのためのセル であり、パリティや CRCなど従来力 知られている技術によるチェックセルが考えられ る。
[0357] すなわち、全てのシンボル長が等しいので画像視野に入りきらな力つたり、障害物 に隠れたり、その他の要因で端部の一部がキヤプチヤーできなかったものは全てセ ル数が足りな ヽと認識されるので、(チェックセル等が無くても)誤読を未然に防止す ることが可能である。
[0358] 尚、上述した図 17〜図 18の例は、「全てのコードシンボルのシンボル長(セル数) が等し 、」 t 、う制限が課された例であり、それぞれの 3個のコードシンボルのセル数 が等しい。
[0359] ¾施の 3— 3b: 点、 #の
上述した「全てのコードシンボルのシンボル長(セル数)が等しい」という制限は、実 際に運用する場合は厳しすぎる条件となる場合がある。
[0360] そこで、実際の運用面での使用条件を緩和するために、セル数 N個のコードシンポ ルとセル数 N—1個のコードシンボルの混在を許すことも好適である。ここで、 Nは自 然数である。
[0361] このような若干緩 、制限を設けた場合、セル数 N— 1個のコードシンボルにつ!/、て は端部がキヤプチヤーできな!、場合、セル数条件でデコードに規制がかかり誤読の おそれがない。ところが、この例では、セル数 N個のコードシンボルは端部の一つの セルがキヤプチヤーできなくても N— 1個のセル数を許して!/、るためセル数条件のデ コード規制は逃れることができるため、誤読のおそれが出てくる。
[0362] そこで、本実施の形態 3— 3bでは、セル数条件だけでなぐ端点条件の面から、誤 読を検知することを検討する。
[0363] 図 19のように、左端の端点セルの色彩が Y、右端の端点セルの色彩が Cであるとの 端点条件を定める。この場合の誤読の検出について検討する。尚、本特許では、「左 端」、「右端」と呼ぶが、これは「始点」、「終点」と読み替えても実質的に等価である。 図 19においては、太枠で記述されたセルが端点のセルである。図 19 (1) - (4)は 、正しい 1Dカラービットコードの例である。
[0364] 図 19 (1)は、セル数が N個の場合を示す。左端の Yセルの隣接セルが Mである例 を示す。図 19 (2)は、(1)と同様セル数が N個の場合であるが、左端の Yセルの隣接 セルが Cである例を示す。
[0365] 図 19 (3)は、セル数が N— 1個の場合を示す。左端の Yセルの隣接セルが Mであ る例を示す。図 19 (4)は、(3)と同様セル数が N—1個の場合である力 左端の Yセ ルの隣接セルが Cである例を示す。
[0366] 図 19 (5)— (8)には、読み取りの際、端部に欠けが生じた場合の様子が示されて おり、それぞれ、図 19 (1)一(4)に相当する。
[0367] 図 19 (5)は、図 19 (1)の 1Dカラービットコードにおいて、左端が 1セル (Yセル)欠 けて読み取ってしまった場合の様子が示されている。この場合は、明らかに端点条件 (左端が Yで、右端が Cであると 、う条件)を満たさな!/ヽ (左端が Yセルではな 、)ので 、誤読が生じたということを検知可能である。これは、左右逆に読み取ってしまった場 合も、同様に端点条件は満たさないので、いずれにしても、誤読を検出可能である。
[0368] 図 19 (6)は、図 19 (2)の 1Dカラービットコードにおいて、左端が 1セル (Yセル)欠 けて読み取ってしまった場合の様子が示されている。この場合も、明らかに端点条件 (左端が Yで、右端が Cであると 、う条件)を満たさな!/ヽ (左端が Yセルではな 、)ので 、誤読が生じたということを検知可能である。これは、左右逆に読み取ってしまった場 合も、同様に端点条件は満たさないので、いずれにしても、誤読を検出可能である。
[0369] 図 19 (7)は、図 19 (1)の 1Dカラービットコードにおいて、右端が 1セル(Cセル)欠 けて読み取ってしまった場合の様子が示されている。この場合も、端点条件を満たさ ない (右端が Cセルではない)ので、誤読が生じたということを検知可能である。これ は左右反転しても同様に満たさず、誤読が生じたと 、うことを検知可能である。
[0370] 図 19 (8)は、図 19 (2)の 1Dカラービットコードにおいて、右端が 1セル(Cセル)欠 けて読み取ってしまった場合の様子が示されている。この場合も、端点条件を満たさ ない (右端が Cセルではない)ので、誤読が生じたということを検知可能である。これ は左右反転しても同様に満たさず、誤読が生じたと 、うことを検知可能である。
[0371] さて、 1Dカラービットコードにおいての端部セル配列は、その条件として左端と右 端が必ず異なることが必要である。これは始点と終点との区別を付けるためである。し たがって、図 19に示すように N個のセルの端部一つがキヤプチヤーできない場合に は、本来の端部セルの条件 (端点条件とも呼ぶ)(この例では Yと C、左右反転も許さ れないという条件)に必ず反する。すなわち、誤読を検出することが可能である。
[0372] このように、端点条件も加味することによって(例えば、図 19の様な端部セル配列を 採用することによって)、セル数 N個のコードシンボルセル数と、 N—1個のコードシン ボルが混在しても、端部欠けによる誤読を未然に防ぐことができる。
[0373] N個のセルのコードシンボル 、 N— 2個のコードシンボル の共存
更に、 N個のセルから成るコードシンボルと、 N— 2個のセルから成るコードシンポ ルとの共存を許す場合の誤読の検出にっ 、て検討した結果が、図 20に示されて ヽ る。
[0374] 図 20に示す例の端点条件は、左端が YMC (Yセルが左端)、右端が YMC (Cセル が右端)というものである。
[0375] この端点条件の場合、端部の配列条件は上述した N個と N— 1個の場合の条件を 包含している。
[0376] すなわち、
図 19の条件 左端: Y 右端: C
図 20の条件 左端: YMC 右端: YMC
のように、左端の 1セル、右端の 1セルだけを見れば、図 20の例は図 19と同様である
[0377] したがって、図 20の例でも、図 19と同様に N個と N—1個混在の場合の誤読、左右 反転が未然に防げることはまったく同様である。
[0378] 図 20に示したケースでは、図 19で示した例に加えて、更にコードシンボルの内側 方向に端点条件を伸展させた形になっていることが理解できょう。すなわち、左端で は、 Yセルにカロえて、コードシンボルの内側方向に Mセルと Cセルが付カ卩され、右端 では、 Cセルに加えて、コードシンボルの内側方向に YMセルが付カ卩されている。 [0379] このような端点条件を採用すれば、図 20で示すように、端部のどれか 2つのセルが 欠けた!/ヽずれの場合にお!、ても端部セル配列力 元の配列と必ず異なる。
[0380] 図 20 (3)は、図 18 (1)の例の左端の Yセル及び右端の Cセルが欠けており、左右 反転の場合も含めて、明らかに上記端点条件を満たさない。
[0381] 図 20 (4)は、図 18 (1)の例の左端の YMセルが欠けており、左右反転の場合も含 めて、明らかに上記端点条件を満たさない。
[0382] 図 20 (5)は、図 18 (1)の例の右端の MCセルが欠けており、左右反転の場合も含 めて、明らかに上記端点条件を満たさない。
[0383] したがって、 N個のコードシンボルに 2個の欠けが生じた場合、必ずそのことを検知 でき、誤読を防止できる。
[0384] N個又は N—1個のコードシンボルに対して 1個の欠けが生じた場合は、図 19で示 した通り、誤読を防止できる。
[0385] N— 1個のコードシンボルに 2個以上の欠けが生じた場合は、セル数が規定の要件 を満たさず、欠けが生じたことを検知でき、誤読を防止できる。
[0386] よって、図 20に示すような端部セル配列によって (端点条件を採用することによって
)、 N個力 N— 2個までのセル数のコードシンボルの混在(自由度)を許容することが できる。
[0387] N個のセルのコードシンボル N— 3個のコードシンボル の共存
更に図 21では、 N個のセルのコードシンボルと N— 3個のコードシンボルとの共存 の例が示されている。
[0388] 図 21に示す示す例の端点条件は、左端が YMCM (Yセルが左端)、右端が MYM
C (Cセルが右端)と 、うものである。
[0389] この端点条件の場合、端部の配列条件は上述した N個と N— 1個の場合の条件( 図 19の条件)、及び、 N個と N— 2個の場合の条件(図 20の条件)を包含している。
[0390] すなわち、
図 19の条件 左端: Y 右端: C
図 20の条件 左端: YMC 右端: YMC
図 21の条件 左端: YMCM 右端: MYMC このように、左端の 3セル、右端の 3セルだけを見れば、図 21の例は、図 20 ·図 19と 同様である。
[0391] したがって、 N個と N— 1個混在の場合の誤読、左右反転が未然に防止でき、また 、 N個と N— 2個混在の場合の誤読、左右反転も未然に防止できることはまったく同 様である。
[0392] 図 21に示したケースでは、図 19、図 20で示した例に加えて、更にコードシンボル の内側方向に端点条件を伸展させた形になっていることが理解できょう。すなわち、 左端では、 Yセルに加えて、コードシンボルの内側方向に Mセルと Cセルが付カ卩され
、更に Mセルが付加されている。
[0393] そして、右端では、 Cセルにカロえて、コードシンボルの内側方向に YMセルが付カロ され、更に Mセルが付カ卩されている。
[0394] このような端点条件を採用すれば、図 21で示すように、端部のどれか 3つのセルが 欠けた!/ヽずれの場合にお!、ても端部セル配列力 元の配列と必ず異なる。
[0395] 図 21 (3)は、図 21 (1)の例の左端の YMCセルが欠けており、左右反転の場合も 含めて、明らかに上記端点条件を満たさない。
[0396] 図 21 (4)は、図 21 (1)の例の左端の YMセル及び右端の Cセルが欠けており、左 右反転の場合も含めて、明らかに上記端点条件を満たさない。
[0397] 図 21 (5)は、図 21 (1)の例の左端の Yセル及び右端の MCセルが欠けており、左 右反転の場合も含めて、明らかに上記端点条件を満たさない。
[0398] 図 21 (6)は、図 21 (1)の例の右端の YMCセルが欠けており、左右反転の場合も 含めて、明らかに上記端点条件を満たさない。
[0399] したがって、 N個のコードシンボルに 3個の欠けが生じた場合、必ずそのことを検知 でき、誤読を防止できる。
[0400] 一方、 2個のセルが欠けた場合、 1個のセルが欠けた場合は、図 19、図 20で説明 したように欠けが生じたことを検知でき、誤読を防止できる。
[0401] よって、図 21に示すような端部セル配列によって (端点条件を採用することによって
)、 N個力 N— 3個までのセル数のコードシンボルの混在(自由度)を許容することが できる。 [0402] N個のセルのコードシンボルと N— 4個のコードシンボルとの共存
また更に、図 22では N個のセルのコードシンボルと N— 4個のコードシンボルとの共 存の例が示されている。
[0403] 図 22に示す示す例の端点条件は、左端が YMCMC (Yセルが左端)、右端が YM
YMC (Cセルが右端)と!、うものである。
[0404] この端点条件の場合、端部の配列条件は上述した N個と N— 1個の場合の条件( 図 19の条件)、及び、 N個と N— 2個の場合の条件(図 20の条件)、及び、 N個と N— 3個の場合の条件(図 21の条件)とを包含して 、る。
[0405] すなわち、
図 19の条件 左端: Y 右端: C
図 20の条件 左端: YMC 右端: YMC
図 21の条件 左端: YMCM 右端: MYMC
図 22の条件 左端: YMCMC 右端: YMYMC
このように、左端の 1セル、右端の 1セルだけを見れば、図 22の例は、図 19と同様 である。また、同様に、図 22は、図 20や図 23の条件をも包含している。
[0406] したがって、 N個と N— 1個混在の場合の誤読、左右反転が未然に防止でき、また
、 N個と N— 2個混在の場合の誤読、左右反転も未然に防止できる。同様に、 N個と
N— 3個混在の場合の誤読、左右反転も未然に防止できる。
[0407] 図 22に示したケースでは、図 19、図 20、図 21で示した例に加えて、更にコードシ ンボルの内側方向に端点条件を伸展させた形になっていることが理解できょう。すな わち、左端では、 Yセルに加えて、コードシンボルの内側方向に Mセル 'Cセルが付 加され、更にまた Mセル 'Cセルが付カ卩されている。
[0408] そして、右端では、 Cセルにカロえて、コードシンボルの内側方向に Mセル ·Υセルが 付加され、更に Μセルが付加され、更に再び Υセルが付加されている。
[0409] 図 22 (1)には、上記の端点条件を満たす Νセルのコードシンボルが示されて!/、る。
また、図 22 (2)には、上記の端点条件を満たす Ν— 4セルのコードシンボルが示され ている。
[0410] このような端点条件を採用すれば、図 22で示すように、端部のどれか 4つのセルが 欠けた!/ヽずれの場合にお!、ても端部セル配列力 元の配列と必ず異なる。
[0411] 図 22 (3)は、図 22 (1)の例の左端の YMCMセルが欠けており、左右反転の場合 も含めて、明らかに上記端点条件を満たさない。
[0412] 図 22 (4)は、図 22 (1)の例の左端の YMCセル及び右端の Cセルが欠けており、 左右反転の場合も含めて、明らかに上記端点条件を満たさない。
[0413] 図 22 (5)は、図 22 (1)の例の左端の YMセル及び右端の MCセルが欠けており、 左右反転の場合も含めて、明らかに上記端点条件を満たさない。
[0414] 図 22 (6)は、図 22 (1)の例の左端の Yセル及び右端の YMCセルが欠けており、 左右反転の場合も含めて、明らかに上記端点条件を満たさない。
[0415] 図 22 (7)は、図 22 (1)の例の右端の MYMCセルが欠けており、左右反転の場合 も含めて、明らかに上記端点条件を満たさない。
[0416] よって、図 22に示すような端部セル配列によって (端点条件を採用することによって
)、 N個力 N— 4個までのセル数のコードシンボルの混在(自由度)を許容することが できる。
[0417] ま め 3— 1
図 19から帰納法的に明確なように、
3つの色彩で配列された N個又は N— 1個のコードシンボルの両端に端部識別用 色彩配列が添カ卩された 1Dカラービットコード(特願 2006— 196705)において、左 端、右端に、端部識別用色彩配列を置くことによって、端部が欠けていることを認識 するには、端部識別用色彩配列として以下のような配列を用いればよい。
[0418] すなわち、左端の配列として、第 1色、右端の配列として、第 2色、を配置すればよ い。ここで、第 1色と第 2色とは異なる色彩である。
[0419] ここで、左端、又は、右端のいずれか一方が 1セルでも欠ければ、必ず、上記の端 点条件が満たされないことは明らかである。これは、 1Dカラービットコードにおいては 、隣接するセルは必ず異なる色彩が付されるからである。
[0420] 左端が 1セルでも欠ければ、もはや第 1色がいずれかの(左力右かの)端点セルとし て表れることはないので (左右を交換した場合を考慮しても)明らかに端点条件を満 たさない。同様に、右端が 1セルでも欠ければ、もはや第 2色がいずれかの(左力右 かの)端点セルとして表れることはな 、ので (左右を交換した場合を考慮しても)明ら かに端点条件を満たさない。したがって、いずれ力 1セルが欠けることによって端点 条件が満たされないので、誤読を的確に検出することができる。
[0421] 尚、図 19の場合は、端部が 2個以上欠ければ、セル数が異なってくるので、セル数 の点から、欠けたことを判断できる。図 19の場合は、 N個のセル力もなるコードシンポ ルの端部が 1個欠けた場合を端点条件の観点から「端部欠け」であると認識できれば 、誤読を防止することが可能である。
[0422] まとめ 3— 2
図 20、図 21、図 22から帰納法的に明確なように、以下のような端部識別用色彩配 列を左右に設けることによって、読み取りの際にセルの欠けが生じたことを検出するこ とが可能である。
[0423] このような端部識別用配列は、具体的には以下のようなステップ (処理)で作成され る。
[0424] (第 1ステップ)まず、左端、右端にそれぞれ第 1色、第 2色を配置し、初期の端部識 別用配列を構成させる。すなわち、左端の端部識別用配列の初期の配列は、第 1色 のセル 1個であり、右端の端部識別用配列の初期の配列は、第 2色のセル 1個である 。以下、下記の処理によって、端部識別用配列には順次セルが加えられる。
[0425] (第 2ステップ) N個から、 N— k個までのセル数のコードシンボルの混在を許す場合 は、以下の処理 (左端側処理と右端側処理)を k回繰り返す。ここで、 kは、 2以上の整 数である。
[0426] (コードシンボルの左端側処理)
コードシンボルの左端において、端部識別用配列の右端、すなわちコードシンボル の内側方向に向力う側のセル力 第 1色又は第 3色であれば、新たに、第 2色のセル を置く。すなわち、端部識別用配列の右端に、第 2色のセル 1個が加えられる。
[0427] 一方、コードシンボルの左端にぉ 、て、端部識別用配列の右端、すなわちコードシ ンボルの内側方向に向力う側のセル力 第 2色であれば、新たに、第 3色のセルを置 く。すなわち、端部識別用配列の右端に、第 3色のセル 1個が加えられる。
[0428] (コードシンボルの右端側処理) コードシンボルの右端において、端部識別用配列の左端、すなわちコードシンボル の内側方向に向力う側のセル力 第 2色又は第 3色であれば、新たに、第 1色のセル を置く。すなわち、端部識別用配列の左端に、第 1色のセル 1個が加えられる。
[0429] 一方、コードシンボルの右端にぉ 、て、端部識別用配列の右端、すなわちコードシ ンボルの内側方向に向力う側のセル力 第 1色であれば、新たに、第 3色のセルを置 く。すなわち、端部識別用配列の左端に、第 3色のセル 1個が加えられる。
[0430] このような処理によって、コードシンボルの左端においては、端部セルのみが第 1色 であり、コードシンボルの内側に向力つて、第 3色:第 2色:第 3色:第 2色が繰り返し配 置される。一方、コードシンボルの右端においては、端部セルのみが第 2色であり、コ ードシンボルの内側に向力つて、第 3色:第 1色:第 3色:第 1色が繰り返し配置される
[0431] より正確に記述すると、上記のような処理で生成される端部識別用色彩配列は、以 下のようになる。
[0432] コードシンボルを構成するセル数が N以下〜 N—k以上である場合に、誤読を防止 するための端部識別用色彩配列は、利用する色彩が 3色の場合、以下の通りである
[0433] 左端側端部識別用色彩配列:
第 1の色彩のセル +第 1の繰り返しセル部と、力 構成される。ここで、左端の端点 セルは、第 1の色彩のセルである。
[0434] 右端側端部識別用色彩配列:
第 2の繰り返しセル部 +第 2の色彩のセルと、力 構成される。ここで、左端の端点 セルは、第 2の色彩のセルである。
[0435] そして、前記第 1の繰り返しセル部は、前記左端側から前記コードシンボルの内側 に向かって、第 3の色彩のセルと、第 2の色彩のセルとを交互に連結して構成され、 その連結した合計セル数が k個である。
[0436] また、前記第 2の繰り返しセル部は、前記右端側から前記コードシンボルの内側に 向かって、第 3の色彩のセルと、第 1の色彩のセルとを交互に連結し、連結した合計 セル数力 ¾個である。 [0437] 尚、ここで、前記 Nは自然数であり、前記 kは、 1以上 N未満の整数である。
[0438] さて、図 20 (k= 2)、図 21 (k= 3)、図 22 (k=4)の場合を模式的に表せば、以下 の通りとなる。
[0439] 図 20 左端: YMC 右端: YMC
図 21 左端: YMCM 右端: MYMC
図 22 左端: YMCMC 右端: YMYMC
すなわち、図 20〜図 22の例では、第 1色が Y、第 2色が C、そして第 3色が Mである。 これらの例では、第 1の色彩が Y、第 2の色彩が C、第 3の色彩が Mの場合の例である 。ここでは、このような組み合わせを示した力 もちろん他の組み合わせ、他の色でも かまわない。
[0440] さて、このような「まとめ 3— 2」で示した端部識別用色彩配列を用いれば、 N個から N— k個までのセル数のコードシンボルを混在させる場合に、 N個のセルから成るコ ードシンボルに k個のセルの欠けが生じた場合を検出することができる。
[0441] k個のセノレの欠け
まず、左端で k個のセルが欠けた場合は、第 1色が端部に表れないので、明らかに 端点条件を満たさず、「欠け」が生じたことを検知することができる。上の説明から明ら かなように、左端でセルが k個欠けた場合は、左端のセルは、第 2色又は第 3色になり 、一方、右端は第 2色のセルのままである。したがって、明らかに端点条件を満たさな い。
[0442] 次に、右端で k個のセルが欠けた場合は、第 2色が端部に表れないので、この場合 も、明らかに端点条件を満たさず、「欠け」が生じたことを検知することができる。上の 説明から明らかなように、右端でセルが k個欠けた場合は、右端のセルは、第 1色又 は第 3色になり、一方、左端は第 1色のセルのままである。したがって、明らかに端点 条件を満たさない。
[0443] 次に、左端において 1個以上のセルが欠け、右端において 1個以上のセルが欠け、 合計 k個のセルが欠けた場合は、右端にも左端にも第 1色のセルが表れない。その 結果、明らかに端点条件を満たさず、何らかのセルの欠けが生じ誤読が生じているこ とが検知できる。 [0444] 1個力 k— 1個までのセルの欠け
本実施の形態で提案する端部識別用色彩配列は、帰納的に構成されており、ある kの場合の配列は、 k 1の配列を包含するので、当然に、 k 1個のセルの欠けも検 知することができる。また、この k—lの配列もまた k— 2個の配列を包含するので、当 然に k— 2個の欠けも検知することができる。以下、同様にして、 1個から k—l個まで のセルの欠けが全て検知可能である。
[0445] 帰納的な説明をすれば以上の通りである力 直感的には、左端で 1個以上のセル の欠けが生じ、右端で 1個以上の欠けが生じ、その合計が k個以下であれば、明らか に端部に第 1色のセルが表れず、端点条件を満たさないことは明白である。その結果 、誤読が生じ、セルの欠けが生じたことを検知することができる、と理解しても良いで あろう。
[0446] ¾施の形能 3— 4 他の 街の ¾施例 I卜.その 2)
尚、実施の形態 3— 3で述べた手法の他の実施例を種々挙げる。
[0447] 「他の実施例 3— 1」
図 23には、端点条件を
左端: YM (Yセルが左端) 右端: CY (Yセルが右端)
とした例が示されている。この例は、図 19と同様に、 N個のコードシンボルと N—1個 のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに 1個 の欠けが生じた場合を検知可能な端点条件を提案する (端部識別用配列を提案す る)ものである。
[0448] この図 23によれば、セルの欠けが生じない場合は、両端のセルは Yセルであるが、 1個のセルの欠けが左右のいずれかに生じれば、左右の少なくともいずれか一方の セルは Yではなくなり、両端のセルが Yであると!/ヽぅ上記端点条件を満たさなくなるこ とは明らかである。
[0449] 図 23 (1)には、上記端点条件を満たす Nセル力 成るコードシンボルが示されて ヽ る。また、図 23 (2)には、上記端点条件を満たす N—1セル力も成るコードシンボル が示されている。
[0450] また、図 23 (3)には、 Nセルから成るコードシンボルの左側の 1セルが欠けて N— 1 セルとなったコードシンボルが示されている。そして、図 23 (4)には、 Nセル力も成る コードシンボルの右側の 1セルが欠けて N— 1セルとなったコードシンボルが示されて いる。
[0451] この図 23 (3)及び (4)から明らかなように、 1セル欠けた場合は、左右反転した場合 も含めて上記端点条件を満たさな!/、。
[0452] したがって、図 23に示す端部識別用配列を用いれば、 N個のコードシンボルと N— 1個のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに 1個の欠けが生じた場合を検知可能である。
[0453] 図 23の例を一般ィ匕すれば、以下のように記述することが可能である。すなわち、 左端:第 1色、第 3色、 右端 第 2色、第 1色 (いずれも第 1色が端部セル) 図 23の例では、第 1色として Y、第 2色として C、第 3色として Mの例を示した力 他 の色を割り当てたり、他の色の組み合わせを利用することももちろん好適である。
[0454] 「他の実施例 3— 2」
図 24には、端点条件を
左端: YMC (Yセルが左端) 右端: MCY (Yセルが右端)
とした例が示されている。この例は、図 20と同様に、 N個のコードシンボルと N— 2個 のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに 2個 の欠けが生じた場合を検知可能な端点条件を提案する (端部識別用配列を提案す る)ものである。
[0455] これまで述べた端部識別用配列と同様に、図 24の例は、図 23の例の端部識別用 配列の内側方向にセルを 1個ずつ加えた構成を採用している。加えるセルは左右そ れぞれ 1個である。
[0456] 図 24 (1)には、 N個のセル力 成るコードシンボルに端部識別用配列を設けた例 が示されており、図 24 (2)には、 N—1個のセル力 成るコードシンボルに端部識別 用配列を設けた例が示されて!/、る。
[0457] 図 24 (3) (4) (5)には、 N個のセルから成るコードシンボルに 2個のセルの欠けが生 じたい場合の様子が示されている。それぞれ、左右 1セルずつ欠けた場合、左が 2セ ル欠けた場合、右が 2セル欠けた場合である。 [0458] この図 24によれば、セルの欠けが生じない場合は、両端のセルは Yセルであるが、 図 24 (3) (4) (5)に示すように 2個のセルの欠けが左右のいずれかに生じれば、左右 の少なくともいずれか一方のセルは Yではなくなり、両端のセルが Yであるという上記 端点条件を満たさなくなることは明らかである。
[0459] したがって、図 24に示す端部識別用配列を用いれば、 N個のコードシンボルと N— 2個のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに 2個の欠けが生じた場合を検知可能である。
[0460] 図 24の例を一般ィ匕すれば、以下のように記述することが可能である。すなわち、 左端:第 1色、第 3色、第 2色 右端 第 3色、第 2色、第 1色
(いずれも第 1色が端部セル)
図 24の例では、第 1色として Y、第 2色として C、第 3色として Mの例を示した力 他 の色を割り当てたり、他の色の組み合わせを利用することももちろん好適である。
[0461] 「他の実施例 3— 3」
図 25には、端点条件を
左端: YMCM (Yセルが左端) 右端: CMCY (Yセルが右端)
とした例が示されている。この例は、図 21と同様に、 N個のコードシンボルと N— 3個 のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに 3個 の欠けが生じた場合を検知可能な端点条件を提案する (端部識別用配列を提案す る)ものである。
[0462] これまで述べた端部識別用配列と同様に、図 25の例は、図 24の例の端部識別用 配列の内側方向にセルを 1個ずつ加えた構成を採用している。加えるセルは左右そ れぞれ 1個である。
[0463] 図 25 (1)には、 N個のセル力も成るコードシンボルに端部識別用配列を設けた例 が示されており、図 25 (2)には、 N— 3個のセル力も成るコードシンボルに端部識別 用配列を設けた例が示されて!/、る。
[0464] 図 25 (3) (4) (5) (6)には、 N個のセルから成るコードシンボルに 3個のセルの欠け が生じたい場合の様子が示されている。順に、右端で 3セル欠けた場合。右端で 2セ ル左端で 1セル欠けた場合、右端で 1セル左端で2セル欠けた場合、左端で 3セル欠 けた場合、である。
[0465] この図 25によれば、セルの欠けが生じない場合は、両端のセルは Yセルであるが、 図 25 (3) (4) (5) (6)に示すように合計 3個のセルの欠けが左端'右端で生じた場合 、左右の少なくともいずれか一方のセルは Yではなくなり、両端のセルが Yであるとい う上記端点条件を満たさなくなることは明らかである。
[0466] したがって、図 25に示す端部識別用配列を用いれば、 N個のコードシンボルと N— 3個のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに 3個の欠けが生じた場合を検知可能である。
[0467] 図 25の例を一般ィ匕すれば、以下のように記述することが可能である。すなわち、 左端:第 1色、第 3色、第 2色、第 3色 (第 1色が端部セル)
右端:第 2色、第 3色、第 2色、第 1色 (第 1色が端部セル)
図 25の例では、第 1色として Y、第 2色として C、第 3色として Mの例を示した力 他 の色を割り当てたり、他の色の組み合わせを利用することももちろん好適である。
[0468] 「他の実施例 3— 4」
図 26には、端点条件を
左端: YMCMC (Yセルが左端) 右端: MCMCY (Yセルが右端) とした例が示されている。この例は、図 22と同様に、 N個のコードシンボルと N— 4個 のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに 4個 の欠けが生じた場合を検知可能な端点条件を提案する (端部識別用配列を提案す る)ものである。
[0469] これまで述べた端部識別用配列と同様に、図 26の例は、図 25の例の端部識別用 配列の内側方向にセルを 1個ずつ加えた構成を採用している。加えるセルは左右そ れぞれ 1個である。
[0470] 図 26 (1)には、 N個のセル力も成るコードシンボルに端部識別用配列を設けた例 が示されており、図 26 (2)には、 N— 4個のセル力 成るコードシンボルに端部識別 用配列を設けた例が示されて!/、る。
[0471] 図 26 (3) (4) (5) (6) (7)には、 N個のセルから成るコードシンボルに 4個のセルの 欠けが生じたい場合の様子が示されている。順に、右端で 4セル欠けた場合、右端で 3セル左端で 1セル欠けた場合、右端で 2セル左端で 2セル欠けた場合、右端で 1セ ル左端で 3セル欠けた場合、左端で 4セル欠けた場合、である。
[0472] この図 26によれば、セルの欠けが生じない場合は、両端のセルは Yセルであるが、 図 26 (3) (4) (5) (6) (7)に示すように合計 4個のセルの欠けが左端'右端で生じた 場合、左右の少なくともいずれか一方のセルは Yではなくなり、両端のセルが Yであ るという上記端点条件を満たさなくなることは明らかである。
[0473] したがって、図 26に示す端部識別用配列を用いれば、 N個のコードシンボルと N—
4個のコードシンボルとの混在が許された状況下で、 N個のセルのコードシンボルに
4個の欠けが生じた場合を検知可能である。
[0474] 図 26の例を一般ィ匕すれば、以下のように記述することが可能である。すなわち、 左端:第 1色、第 3色、第 2色、第 3色、第 2色 (第 1色が端部セル)
右端:第 3色、第 2色、第 3色、第 2色、第 1色 (第 1色が端部セル)
図 26の例では、第 1色として Y、第 2色として C、第 3色として Mの例を示した力 他 の色を割り当てたり、他の色の組み合わせを利用することももちろん好適である。
[0475] ま め 3— 3
図 23、図 24、図 25、図 26から帰納法的に明確なように、以下のような端部識別用 色彩配列を左右に設けることによって、読み取りの際にセルの欠けが生じたことを検 出することが可能である。
[0476] このような端部識別用配列は、具体的には以下のようなステップ (処理)で作成され る。
[0477] (第 1ステップ)まず、左端、右端にそれぞれ第 1色を配置し、初期の端部識別用配 列を構成させる。すなわち、左端の端部識別用配列の初期の配列は、第 1色のセル 1個であり、右端の端部識別用配列の初期の配列も、第 1色のセル 1個である。以下 、下記の処理によって、端部識別用配列には順次セルが加えられる。
[0478] (第 2ステップ) N個から、 N— k個までのセル数のコードシンボルの混在を許す場合 は、以下の処理 (左端側処理と右端側処理)を k回繰り返す。ここで、 kは、 1以上の整 数である。
[0479] (コードシンボルの左端側処理) コードシンボルの左端において、端部識別用配列の右端、すなわちコードシンボル の内側方向に向力う側のセル力 第 1色又は第 3色であれば、新たに、第 2色のセル を置く。すなわち、端部識別用配列の右端に、第 2色のセル 1個が加えられる。
[0480] 一方、コードシンボルの左端にぉ 、て、端部識別用配列の右端、すなわちコードシ ンボルの内側方向に向力う側のセル力 第 2色であれば、新たに、第 3色のセルを置 く。すなわち、端部識別用配列の右端に、第 3色のセル 1個が加えられる。
[0481] (コードシンボルの右端側処理)
コードシンボルの右端において、端部識別用配列の左端、すなわちコードシンボル の内側方向に向力う側のセル力 第 1色又は第 2色であれば、新たに、第 3色のセル を置く。すなわち、端部識別用配列の左端に、第 3色のセル 1個が加えられる。
[0482] 一方、コードシンボルの右端にぉ 、て、端部識別用配列の右端、すなわちコードシ ンボルの内側方向に向力う側のセル力 第 3色であれば、新たに、第 2色のセルを置 く。すなわち、端部識別用配列の左端に、第 2色のセル 1個が加えられる。
[0483] このような処理によって、コードシンボルの左端においては、端部セルのみが第 1色 であり、コードシンボルの内側に向力つて、第 2色:第 3色:第 2色:第 3色が繰り返し配 置される。一方、コードシンボルの右端においては、端部セルのみが第 1色であり、コ ードシンボルの内側に向力つて、第 3色:第 1色:第 3色:第 1色が繰り返し配置される
[0484] より正確に記述すると、上記のような処理で生成される端部識別用色彩配列は、以 下のようになる。
[0485] コードシンボルを構成するセル数が N以下〜 N—k以上である場合に、誤読を防止 するための端部識別用色彩配列は、利用する色彩が 3色の場合、以下の通りである
[0486] 左端側端部識別用色彩配列:
第 1の色彩のセル +第 1の繰り返しセル部と、力 構成される。ここで、左端の端点 セルは、第 1の色彩のセルである。
[0487] 右端側端部識別用色彩配列:
第 2の繰り返しセル部 +第 1の色彩のセルと、力 構成される。ここで、左端の端点 セルは、第 1の色彩のセルである。
[0488] そして、前記第 1の繰り返しセル部は、前記左端側から前記コードシンボルの内側 に向かって、第 2の色彩のセルと、第 3の色彩のセルとを交互に連結して構成され、 その連結した合計セル数が k個である。
[0489] また、前記第 2の繰り返しセル部は、前記右方端部側から前記コードシンボルの内 側に向力つて、第 3の色彩のセルと、第 2の色彩のセルとを交互に連結し、連結した 合計セル数が k個である。
[0490] 尚、ここで、前記 Nは自然数であり、前記 kは、 1以上 N未満の整数である。
[0491] 尚、 kは、上記の色彩の繰り返しが両端ともに、端部を除いて k回繰り返した場合に 相当する。
[0492] 図 23 (k= l)、図 24 (k= 2)、図 25 (k= 3)、図 26 (k=4)の例を模式的に表せば、 図 23 左端: YM 右端: CY
図 24 左端: YMC 右端: MCY
図 25 左端: YMCM 右端: YMCY
図 26 左端: YMCMC 右端: MYMCY
すなわち、図 23〜図 26の例では、第 1色が Y、第 2色が Μ、そして第 3色が Cである。 もちろん他の組み合わせ、他の色でもかまわない。
[0493] さて、このような「まとめ 3— 3」で示した端部識別用色彩配列を用いれば、 Ν個から Ν— k個までのセル数のコードシンボルを混在させる場合に、 N個のセルから成るコ ードシンボルに k個のセルの欠けが生じた場合を検出することができる。
[0494] k個のセルの欠け
まず、左端で k個のセルが欠けた場合は、第 1色が端部に表れないので、明らかに 端点条件を満たさず、「欠け」が生じたことを検知することができる。上の説明から明ら かなように、左端でセルが k個欠けた場合は、左端のセルは、第 2色又は第 3色になり 、一方、右端は第 1色のセルのままである。したがって、明らかに端点条件を満たさな い。
[0495] 次に、右端で k個のセルが欠けた場合は、右端は常に第 1色ではない。この場合も 、明らかに端点条件を満たさず、「欠け」が生じたことを検知することができる。上の説 明から明らかなように、右端でセルが k個欠けた場合は、右端のセルは、第 2色又は 第 3色になり、一方、左端は第 1色のセルのままである。したがって、明らかに端点条 件を満たさない。
[0496] 次に、左端において 1個以上のセルが欠け、右端において 1個以上のセルが欠け、 合計 k個のセルが欠けた場合は、右端にも左端にも第 1色のセルが表れない。その 結果、明らかに端点条件を満たさず、何らかのセルの欠けが生じ誤読が生じているこ とが検知できる。
[0497] 1個から k 1個までのセルの欠け
他の実施例 3— 1〜3—4で説明した端部識別用色彩配列は、帰納的に構成されて おり、ある kの場合の配列は、 k 1の配列を包含するので、当然に、 k 1個のセル の欠けも検知することができる。また、この k 1の配列もまた k 2個の配列を包含す るので、当然に k— 2個の欠けも検知することができる。以下、同様にして、 1個から k 1個までのセルの欠けが全て検知可能である。
[0498] 帰納的な説明をすれば以上の通りである力 直感的には、左端で 1個以上のセル の欠けが生じ、右端で 1個以上の欠けが生じ、その合計が k個以下であれば、明らか に端部に第 1色のセルが表れず、端点条件を満たさないことは明白である。その結果 、誤読が生じ、セルの欠けが生じたことを検知することができる。
[0499] その他
以上述べたように、本発明は、複数のコードシンボルによる元のデータの復元という 側面を有する力 その範疇にとどまるものではない。すなわち、本発明は、互いに独 立した複数のコードシンボルの読み取り時にも適用できることは言うまでもない。
[0500] 尚、複数のコードシンボルによる元のデータの復元の場合を考えると、これら複数 のコードシンボルは、それぞれ単独でも何らかの意味を有するように設定することで( それぞれ、日付、シリアルナンバー、価格など)、何らかの原因で元のデータを完全 に復元できない場合でも少しでも集計等に有意義な状況にすることができるので好ま しい。
[0501] 実施の形態 3— 5 その他
(1) また、上述した端点条件、すなわち端部識別用色彩配列によって読み取りの 「欠け」を検知する発明は、複数個のコードシンボルで所定の単一のデータを表す場 合だけでなぐ各コードシンボルが単独で単一のデータを表す場合にも応用できるこ とは言うまでもない。
[0502] (2)また、画像データは、典型的には、 CCDカメラ等で撮影して得ることが好ま ヽ 。アナログカメラで撮影したデータをデジタル信号に変換してもかまわな 、。
[0503] 尚、本願における要約書は、主に実施の形態その 1に関する内容のものである。実 施の形態その 2、 3に関する要約は例えば以下のようになる。
[0504] 要約 実施の形餱その 2
本願発明者が考案した 1Dカラービットコードの特長を生力した寸法、形状の歪み やぼけ、ブレなどに強い、さらに従来の二次元バーコードと異なるより容易な切り出し 手法を提供することを目的とする。
[0505] まず、 1Dカラービットコードを含んだ画像データをエリアセンサで取り込む。この画 像データを定義に基づき複数の色領域に区分けする。区分けした各領域を、境界条 件、セル数の条件、終端条件等を用いて 1Dカラービットコードを構成するセル力否 か判定し、最後に実際にデコードを行い、エラー無く正しくデコードできるか否力検査 する。このようにして、最終的に正しくデコードできた場合に、それを最終的な切り出 しの結果、デコードの結果として出力する。したがって、切り出しマーク等を用いずに 、 1Dカラービットコードのデコードを行うことが出来る。
[0506] 耍約 ¾施の形能その 3
表したいデータを複数のコードシンボルで表現した光学式認識コードを提供する。 また、セル数の異なるコードシンボルの混在を許容する場合、端部の読み落としがあ つても、その読み落としを検知し、誤認識を防止しうる光学式認識コードを提供する。
[0507] 所定のデータを複数のコードシンボルで表現し、各コードシンボル中にはその複数 のコードシンボルのグループを識別するためのグループ識別データと、そのグルー プ内における順番を示すグループ内順識別データと、を含んで 1、る。
[0508] また、コードシンボルの左端部、右端部には、それぞれ端部識別用色彩配列が設 けられている。読み取りの際の欠けが合った場合、端部識別用色彩配列が破壊され ることによって、欠けが生じたことを検知することができ、誤読を防止することが可能で
Figure imgf000071_0001

Claims

請求の範囲
[1] n色の色彩群から選択された 1個の色彩が付された領域であるセルを複数個、線状 に配列されて成る光学式シンボル。ここで、前記 nは 3以上の整数である。
[2] 請求項 1記載の光学式シンボルにおいて、
前記セルは連続、且つ、不分岐、非交差に配列され、隣接する前記セルの色が異 なることを特徴とする光学式シンボル。
[3] n色の色彩群から選択された 1個の色彩が付された領域であるセルを複数個、線状 に配列し、
前記線状配列の両端部に、前記 n色以外の色彩が付されている端点セルが設けら れていることを特徴とする光学式シンボル。ここで、前記 nは 3以上の整数である。
[4] 請求項 3記載の光学式シンボルにおいて、
前記端点セルに隣接する前記セルである第 1隣接セルの色彩が、前記 n色の色彩 群から予め決定された所定の色彩であることを特徴とする光学式シンボル。
[5] 請求項 4記載の光学式シンボルにおいて、
前記第 1隣接セルに隣接する第 2隣接セルの色彩が、前記 n色の色彩群力 予め 決定された所定の色彩であることを特徴とする光学式シンボル。
[6] 請求項 1記載の光学式シンボルにおいて、
前記 n色の色彩が、全て、前記端点セルに隣接するセル、又は、前記端点セルの 近傍の所定の位置にあるセルに付されていることを特徴とする光学式シンボル。
[7] 請求項 6記載の光学式シンボルをデコードするデコード方法にぉ 、て、
前記隣接するセル又は前記所定の位置にあるセル、に付された色彩を、前記セル の色彩のキャリブレーションに使用することを特徴とする光学式シンボルのデコード 方法。
[8] 請求項 6記載の光学式シンボルをデコードするデコード方法にぉ 、て、
前記隣接するセル又は前記所定の位置にあるセル、に付された色彩を、前記セル の間の色差のキャリブレーションに使用することを特徴とする光学式シンボルのデコ ード方法。
[9] 請求項 7又は 8記載の光学式シンボルのデコード方法にぉ 、て、 光学式シンボルに含まれる前記セルを追跡する追跡工程、
を含み、この追跡工程においては、前記端点セルに付された色彩と、前記隣接す るセル又は前記所定の位置にあるセル、に付された色彩との色差に基づき、前記セ ルを追跡することを特徴とする光学式シンボルのデコード方法。
[10] 請求項 3記載の光学式シンボルにお!/、て、
前記端点セルに付された色彩又はその同系色が、前記セルの配列以外の領域に 付されて!ヽることを特徴とする光学式シンボル。
[11] 請求項 3記載の光学式シンボルが付された物品にお 、て、
前記端点セルに付された色彩又はその同系色が、前記セルの配列以外の領域に 付されていることを特徴とする光学式シンボルが付された物品。
[12] 請求項 11記載の物品において、
前記端点セルに付された色彩又はその同系色が、黒もしくは灰色などの無彩色で あることを特徴とする物品。
[13] n色の色彩群から選択された 1個の色彩が付された領域である構成セルを複数個、 線状に配列し、
前記線状配列の両端部又は片端部に、前記 n色以外の色彩が付されている端点 セルと、前記構成セルとが、 2回以上交互に表れることを特徴とする光学式シンボル 。ここで、前記 nは 3以上の整数である。
[14] 請求項 1記載の光学式シンボルにおいて
前記セルの表す符号は、当該セルとその隣接するセルの色との関係で決まることを 特徴とする光学式シンボル。
[15] 請求項 1記載の光学式シンボルにおいて
前記セルの符号の表し方によって、チヱック、表記法などの区別を行うことを特徴と する光学式シンボル。
[16] 請求項 1記載の光学式シンボルにお!/、て、
その光学式シンボルを照らす光源の過剰光量に相当する色彩が、前記 n色の色彩 群には含まれて 、な ヽことを特徴とする前記光学式シンボル。
[17] 請求項 1〜請求項 6のいずれ力 1項、又は、請求項 13〜16のいずれ力 1項、に記 載の光学式シンボルを付した物品。
[18] 請求項 1〜請求項 6のいずれ力 1項、又は、請求項 13〜16のいずれ力 1項、に記 載の光学式シンボルを用いたコード体系。
[19] 請求項 1〜請求項 6のいずれ力 1項、又は、請求項 13〜16のいずれ力 1項、に記 載の光学式シンボルをデコードする方法において、
前記光学式シンボルを撮影し、前記光学式シンボルの画像データを得る工程と、 前記画像データ中から、始点と終点の端点セルを探す工程と、
前記見つけ出した始点と終点の 2個の端点セルに基づき、その端点セル間に設け られて!ヽる構成セルを追跡する工程と、
前記追跡した構成セルのデコードを行う工程と、
を含むことを特徴とする光学式シンボルのデコード方法。
[20] 請求項 1〜請求項 6のいずれ力 1項、又は、請求項 13〜16のいずれ力 1項、に記 載の光学式シンボルを物品に付す方法にぉ 、て、
記録したいデータに基づき前記光学式シンボルを作成する工程と、
前記作成した光学式シンボルを所定の物品に付す工程と、
を含み、
前記付す工程は、前記光学式シンボルを前記物品に印刷する工程と、前記光学式 シンボルを物品に刺繍で付する工程と、前記光学式シンボルを描 ヽた粘着シールを 前記物品に貼付する工程と、のいずれかの工程を含むことを特徴とする光学式シン ボルを物品に付す方法。
[21] 光学式認識コードを認識する光学式認識コード認識装置において、
光学式認識コードを撮像して得られた画像データを、色彩を表すパラメータに基づ き色領域に分割する分割手段と、
前記分割後の各色領域につ!ヽて、前記光学式認識コードを構成するセルであるか 否かを判定する判定手段と、
を含むことを特徴とする光学式認識コード認識装置。
[22] 請求項 21記載の光学式認識コード認識装置にぉ 、て、
前記画像データが 3原色のデータから構成されており、前記色彩を表すパラメータ は、前記 3原色のデータであることを特徴とする光学式認識コード認識装置。
[23] 請求項 21記載の光学式認識コード認識装置にぉ 、て、
前記画像データが色相を含めて色を表すデータから構成されており、前記色彩を 表すパラメータは、前記色相であることを特徴とする光学式認識コード認識装置。
[24] 請求項 21記載の光学式認識コード認識装置にお ヽて、
前記分割手段は、分割する領域の位置、寸法、形状に関する情報を一切用いずに
、前記色彩を表すパラメータのみに依拠して領域分割処理を行うことを特徴とする光 学式自動認識装置。
[25] 請求項 21記載の光学式認識コード認識装置にぉ 、て、
前記分割手段は、分割して得た各領域に対して、領域を拡張する画像処理を実行 することを特徴とする光学式認識コード認識装置。
[26] 請求項 21記載の光学式認識コード認識装置にぉ ヽて、
前記分割手段は、分割して得た各領域に対して、領域を縮小する画像処理を実行 することを特徴とする光学式認識コード認識装置。
[27] 請求項 21記載の光学式認識コード認識装置にぉ ヽて、
前記分割手段は、色彩を表すパラメータに基づき前記画像データを 4値化、又は N 値化し、前記画像データをこの値に基づき色領域に分割することを特徴とする光学 式認識コード認識装置
。ここで、前記 Nは正の整数である。
[28] 請求項 27記載の光学式認識コード認識装置にぉ ヽて、
前記判定手段は、前記分割して得た各領域に対して、前記各領域の並び方 (境界 条件、領域数、並び順の適合性)のみに基づいて単数もしくは複数の 1Dカラービット コードのパターンを切り出すことを特徴とする光学式認識コード認識装置。
[29] 請求項 21記載の光学式認識コード認識装置にぉ ヽて、
前記分割手段は、前記画像データをマーキングパターンを構成する 1個又は 2個 以上の色彩と、クワイアットゾーンを表す色彩と、の領域に分割し、
前記クワイアットゾーンを表す色彩は、前記マーキングパターンを構成する色彩以 外のスペース色であることを特徴とする光学式認識コード認識装置。
[30] 請求項 29記載の光学式認識コード認識装置にお ヽて、
前記判定手段は、ある着目領域が下記のいずれかの条件を満足する場合に、その 着目領域がカラービットコードを構成するセルの候補であると判断することを特徴とす る光学式認識コード認識装置。
(中間セル条件 a)その着目領域の周囲に他の 4領域が隣接し、この他の 4領域の 色彩力 その着目領域を中心とする周方向にスペース色 他色 スペース色 他 色であること。
(終端セル条件 b)その着目領域の周囲に他の 2領域が隣接し、この他の 2領域の 色彩が、スペース色と他色であること。
ここで、他色とは、前記着目領域の色彩と異なるマーキングパターンを構成する他 の色彩をいう。
[31] 請求項 29又は 30記載の光学式認識コード認識装置において、
前記クワイアットゾーンを表すスペース色は白又は黒であることを特徴とする光学式 認識コード認識装置。
[32] 請求項 21記載の光学式認識コード認識装置にぉ 、て、
前記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードを構成するセルの数力 予め決められた数と 一致する場合に、前記着目領域はカラービットコードを構成するセルの候補であると 判断することを特徴とする光学式認識コード認識装置。
[33] 請求項 21記載の光学式認識コード認識装置にぉ 、て、
前記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードの始点と終点とを検知し、始点を構成する 1 個以上のセルと、終点を構成する 1個以上のセルとが、予め決められた始点と終点の 色彩に一致する場合に、前記着目領域はカラービットコードを構成するセルの候補 であると判断することを特徴とする光学式認識コード認識装置。
[34] 請求項 21記載の光学式認識コード認識装置にお ヽて、
前記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードの中間点を検知し、中間点を構成する 1個以 上のセルが、予め決められた中間点の色彩に一致する場合に、前記着目領域はカラ 一ビットコードを構成するセルの候補であると判断することを特徴とする光学式認識コ ード認識装置。
[35] 請求項 30〜33記載のいずれかの光学式認識コード認識装置において、
前記判定手段は、カラービットコードを構成するセルの候補力 成るカラービットコ ードと推定される色彩の領域群をカラービットコードと見なしてデコードし、原データを 得ることを特徴とする光学式認識コード認識装置。
[36] 請求項 35記載の光学式認識コード認識装置にお ヽて、
前記判定手段は、カラービットコードを構成するセルの候補力 成るカラービットコ ードと推定される色彩の領域群が複数個存在する場合、それぞれの領域群をそれぞ れカラービットコードと見なしてデコードし、それぞれ原データを得ることを特徴とする 光学式認識コード認識装置。
[37] コンピュータを、光学式認識コードを認識する光学式認識コード認識装置として動 作させるプログラムにおいて、前記コンピュータに、
光学式認識コードを撮像して得られた画像データを、色彩を表すパラメータに基づ き色領域に分割する分割手順と、
前記分割後の各色領域につ!ヽて、前記光学式認識コードを構成するセルであるか 否かを判定する判定手順と、
を実行させることを特徴とするプログラム。
[38] 請求項 37記載のプログラムにおいて、
前記画像データが 3原色のデータから構成されており、前記色彩を表すパラメータ は、前記 3原色のデータであることを特徴とするプログラム。
[39] 請求項 37記載のプログラムにおいて、
前記画像データが色相を含めて色を表すデータから構成されており、前記色彩を 表すパラメータは、前記色相であることを特徴とするプログラム。
[40] 請求項 37記載のプログラムにおいて、
前記分割手順は、分割する領域の位置、寸法、形状に関する情報を一切用いずに 、前記色彩を表すパラメータのみに依拠して領域分割処理を行うことを特徴とするプ ログラム。
[41] 請求項 37記載のプログラムにおいて、
前記分割手順は、分割して得た各領域に対して、領域を拡張する画像処理を実行 することを特徴とするプログラム。
[42] 請求項 37記載のプログラムにおいて、
前記分割手順は、分割して得た各領域に対して、領域を縮小する画像処理を実行 することを特徴とするプログラム。
[43] 請求項 37記載のプログラムにおいて、
前記分割手順は、色彩を表すパラメータに基づき前記画像データを 4値化、又は N 値化し、前記画像データをこの値に基づき色領域に分割することを特徴とするプログ ラム。ここで、前記 Nは正の整数である。
[44] 請求項 43記載のプログラムにおいて、
前記判定手順は、前記分割して得た各領域に対して、前記各領域の並び方 (境界 条件、領域数、並び順の適合性)のみに基づいて単数もしくは複数の 1Dカラービット コードのパターンを切り出すことを特徴とするプログラム。
[45] 請求項 37記載のプログラムにおいて、
前記分割手順は、前記画像データをマーキングパターンを構成する 1個又は 2個 以上の色彩と、クワイアットゾーンを表す色彩と、の領域に分割し、
前記クワイアットゾーンを表す色彩は、前記マーキングパターンを構成する色彩以 外のスペース色であることを特徴とするプログラム。
[46] 請求項 45記載のプログラムにおいて、
前記判定手順は、ある着目領域が下記のいずれかの条件を満足する場合に、その 着目領域がカラービットコードを構成するセルの候補であると判断することを特徴とす るプログラム。
(中間セル条件 a)その着目領域の周囲に他の 4領域が隣接し、この他の 4領域の 色彩力 その着目領域を中心とする周方向にスペース色 他色 スペース色 他 色であること。
(終端セル条件 b)その着目領域の周囲に他の 2領域が隣接し、この他の 2領域の 色彩が、スペース色と他色であること。
ここで、他色とは、前記着目領域の色彩と異なるマーキングパターンを構成する他 の色彩をいう。
[47] 請求項 45又は 46記載のプログラムにお 、て、
前記クワイアットゾーンを表すスペース色は白又は黒であることを特徴とするプログ ラム。
[48] 請求項 37記載のプログラムにおいて、
前記判定手順は、ある着目領域が 1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードを構成するセルの数力 予め決められた数と 一致する場合に、前記着目領域はカラービットコードを構成するセルの候補であると 判断することを特徴とするプログラム。
[49] 請求項 37記載のプログラムにおいて、
前記判定手順は、ある着目領域が 1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードの始点と終点とを検知し、始点を構成する 1 個以上のセルと、終点を構成する 1個以上のセルとが、予め決められた始点と終点の 色彩に一致する場合に、前記着目領域はカラービットコードを構成するセルの候補 であると判断することを特徴とするプログラム。
[50] 請求項 37記載のプログラムにおいて、
前記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードの中間点を検知し、中間点を構成する 1個以 上のセルが、予め決められた中間点の色彩に一致する場合に、前記着目領域はカラ 一ビットコードを構成するセルの候補であると判断することを特徴とするプログラム。
[51] 請求項 46〜49記載のいずれかのプログラムにおいて、
前記判定手順は、カラービットコードを構成するセルの候補力 成るカラービットコ ードと推定される色彩の領域群をカラービットコードと見なしてデコードし、原データを 得ることを特徴とするプログラム。
[52] 請求項 51記載のプログラムにおいて、
前記判定手順は、カラービットコードを構成するセルの候補力 成るカラービットコ ードと推定される色彩の領域群が複数個存在する場合、それぞれの領域群をそれぞ れカラービットコードと見なしてデコードし、それぞれ原データを得ることを特徴とする プログラム。
[53] 光学式認識コードを認識する光学式認識コード認識方法にお!ヽて、
光学式認識コードを撮像して得られた画像データを、色彩を表すパラメータに基づ き色領域に分割する分割ステップと、
前記分割後の各色領域につ!ヽて、前記光学式認識コードを構成するセルであるか 否かを判定する判定ステップと、
を含むことを特徴とする光学式認識コード認識方法。
[54] 請求項 53記載の光学式認識コード認識方法にお ヽて、
前記画像データが 3原色のデータから構成されており、前記色彩を表すパラメータ は、前記 3原色のデータであることを特徴とする光学式認識コード認識方法。
[55] 請求項 53記載の光学式認識コード認識方法にぉ ヽて、
前記画像データが色相を含めて色を表すデータから構成されており、前記色彩を 表すパラメータは、前記色相であることを特徴とする光学式認識コード認識方法。
[56] 請求項 53記載の光学式認識コード認識方法にお ヽて、
前記分割ステップは、分割する領域の位置、寸法、形状に関する情報を一切用い ずに、前記色彩を表すパラメータのみに依拠して領域分割処理を行うことを特徴とす る光学式自動認識方法。
[57] 請求項 53記載の光学式認識コード認識方法にぉ ヽて、
前記分割ステップは、分割して得た各領域に対して、領域を拡張する画像処理を 実行することを特徴とする光学式認識コード認識方法。
[58] 請求項 53記載の光学式認識コード認識方法にぉ ヽて、
前記分割ステップは、分割して得た各領域に対して、領域を縮小する画像処理を 実行することを特徴とする光学式認識コード認識方法。
[59] 請求項 53記載の光学式認識コード認識方法にお ヽて、
前記分割ステップは、色彩を表すパラメータに基づき前記画像データを 4値化、又 は N値ィ匕し、前記画像データをこの値に基づき色領域に分割することを特徴とする光 学式認識コード認識方法。ここで、前記 Nは正の整数である。
[60] 請求項 59記載の光学式認識コード認識方法にお ヽて、
前記判定ステップは、前記分割して得た各領域に対して、前記各領域の並び方( 境界条件、領域数、並び順の適合性)のみに基づいて単数もしくは複数の 1Dカラー ビットコードのパターンを切り出すことを特徴とする光学式認識コード認識方法。
[61] 請求項 53記載の光学式認識コード認識方法にぉ ヽて、
前記分割ステップは、前記画像データをマーキングパターンを構成する 1個又は 2 個以上の色彩と、クワイアットゾーンを表す色彩と、の領域に分割し、
前記クワイアットゾーンを表す色彩は、前記マーキングパターンを構成する色彩以 外のスペース色であることを特徴とする光学式認識コード認識方法。
[62] 請求項 61記載の光学式認識コード認識方法にぉ ヽて、
前記判定ステップは、ある着目領域が下記のいずれかの条件を満足する場合に、 その着目領域力カラービットコードを構成するセルの候補であると判断することを特 徴とする光学式認識コード認識方法。
(中間セル条件 a)その着目領域の周囲に他の 4領域が隣接し、この他の 4領域の 色彩力 その着目領域を中心とする周方向にスペース色 他色 スペース色 他 色であること。
(終端セル条件 b)その着目領域の周囲に他の 2領域が隣接し、この他の 2領域の 色彩が、スペース色と他色であること。
ここで、他色とは、前記着目領域の色彩と異なるマーキングパターンを構成する他 の色彩をいう。
[63] 請求項 61又は 62記載の光学式認識コード認識方法において、
前記クワイアットゾーンを表すスペース色は白又は黒であることを特徴とする光学式 認識コード認識方法。
[64] 請求項 53記載の光学式認識コード認識方法にお ヽて、
前記判定ステップは、ある着目領域が 1Dカラービットコードを構成するセルであると 仮定した場合のその 1Dカラービットコードを構成するセルの数力 予め決められた数 と一致する場合に、前記着目領域はカラービットコードを構成するセルの候補である と判断することを特徴とする光学式認識コード認識方法。
[65] 請求項 53記載の光学式認識コード認識方法にぉ ヽて、
前記判定ステップは、ある着目領域が 1Dカラービットコードを構成するセルであると 仮定した場合のその 1Dカラービットコードの始点と終点とを検知し、始点を構成する
1個以上のセルと、終点を構成する 1個以上のセルとが、予め決められた始点と終点 の色彩に一致する場合に、前記着目領域はカラービットコードを構成するセルの候 補であると判断することを特徴とする光学式認識コード認識方法。
[66] 請求項 53記載の光学式認識コード認識方法にお ヽて、
前記判定手段は、ある着目領域が 1Dカラービットコードを構成するセルであると仮 定した場合のその 1Dカラービットコードの中間点を検知し、中間点を構成する 1個以 上のセルが、予め決められた中間点の色彩に一致する場合に、前記着目領域はカラ 一ビットコードを構成するセルの候補であると判断することを特徴とする光学式認識コ ード認識方法。
[67] 請求項 62〜65記載の 、ずれかの光学式認識コード認識方法にぉ 、て、
前記判定ステップは、カラービットコードを構成するセルの候補力も成るカラービット コードと推定される色彩の領域群をカラービットコードと見なしてデコードし、原データ を得ることを特徴とする光学式認識コード認識方法。
[68] 請求項 67記載の光学式認識コード認識方法にぉ ヽて、
前記判定ステップは、カラービットコードを構成するセルの候補力も成るカラービット コードと推定される色彩の領域群が複数個存在する場合、それぞれの領域群をそれ ぞれカラービットコードと見なしてデコードし、それぞれ原データを得ることを特徴とす る光学式認識コード認識方法。
[69] 所定の色彩が付された色彩の領域であるセルを所定個数線状に配置して成る光学 式認識コードにおいて、
1個のコードシンボル中の前記セル数の範囲が定められており、係る範囲の中であ れば異なるセル数のコードシンボルの混在を許容する光学式認識コード。
[70] 所定の色彩が付された色彩の領域であるセルを所定個数線状に配置して成る光学 式認識コードにおいて、 表現した!/、データを、複数のコードシンボルを用いて表現した光学式認識コード。
[71] 請求項 70記載の光学式認識コードにおいて、
前記複数のコードシンボルは、そのセル数が全て同一であることを特徴とする光学 式認識コード。
[72] 請求項 70又は 71記載の光学式認識コードにおいて、
前記複数のコードシンボルのそれぞれは、
前記コードシンボル力 所定のデータを表す複数のコードシンボル群のグループに 含まれることを示すために、前記コードシンボル群が属する前記グループを識別する グループ識別データと、
前記コードシンボルの、前記グループ内における順番を示すグループ内順識別デ ータと、
を含むことを特徴とする光学式認識コード。
[73] 前記請求項 72記載の光学式認識コードにぉ 、て、
前記グループを識別するグループ識別データは、前記コードシンボル中の所定の セル群が表すデータであることを特徴とする光学式認識コード。
[74] 前記請求項 72記載の光学式認識コードにお ヽて、
前記グループを識別するグループ識別データは、前記コードシンボル中の所定の セル群に表された色彩パターンであることを特徴とする光学式認識コード。
[75] 前記請求項 72記載の光学式認識コードにぉ 、て、
前記グループ内順識別データは、前記コードシンボル中の所定のセル群が表すデ ータであることを特徴とする光学式認識コード。
[76] 前記請求項 72記載の光学式認識コードにぉ 、て、
前記グループ内順識別データは、前記コードシンボル中の所定のセル群に表され た色彩パターンであることを特徴とする光学式認識コード。
[77] 請求項 69又は 70記載の光学式認識コードにおいて、
前記各コードシンボルは、その端部の読み落としによる誤読を未然に防止するよう、 左端及び右端に、端部識別用色彩配列を設け、
前記端部識別用色彩配列は、その一部が欠けて読み取られた場合に、読み落とし 力 Sあったことが判別しうることを特徴とする光学式認識コード。
[78] 請求項 77記載の光学式認識コードにぉ 、て、
前記各コードシンボルを構成するセル数が N又は N— 1であり、
前記各コードシンボルが使用する色彩が 3色以上であり、
前記各コードシンボルの一方端の端部に前記端部識別用色彩配列として第 1の色 彩のセルを配置し、他方端の端部に前記端部識別用色彩配列として第 2の色彩のセ ルを配置したことを特徴とする光学式認識コード。ここで、前記 Nは自然数であり、前 記第 1の色彩と前記第 2の色彩とは異なる色彩である。
[79] 請求項 77記載の光学式認識コードにぉ 、て、
前記各コードシンボルを構成するセル数が N又は N— 1であり、
前記各コードシンボルが使用する色彩が 3色以上であり、
前記各コードシンボルの一方端に設けられた前記端部識別用色彩配列は、一方端 部から順に、第 1の色彩のセルと、第 2の色彩のセルと、から構成され、
前記各コードシンボルの他方端に設けられた前記端部識別用色彩配列は、他方端 部から順に、第 1の色彩のセルと、第 3の色彩のセルと、力 構成されていることを特 徴とする光学式認識コード。ここで、前記第 1の色彩、第 2の色彩、第 3の色彩は互い に異なる色彩であり、前記 Nは自然数である。
[80] 請求項 77記載の光学式認識コードにぉ 、て、
前記各コードシンボルを構成するセル数が N以下、 N— k以上であり、 前記各コードシンボルが使用する色彩が 3色以上であり、
前記各コードシンボルの一方端に設けられた前記端部識別用色彩配列は、一方端 部から順に、第 1の色彩のセルと、第 1の繰り返しセル部と、から構成され、
前記各コードシンボルの他方端に設けられた前記端部識別用色彩配列は、他方端 部から順に、第 2の色彩のセルと、第 2の繰り返しセル部と、から構成され、
前記第 1の繰り返しセル部は、前記一方端部側から前記コードシンボルの内側に 向かって、第 3の色彩のセルと、第 2の色彩のセルとを交互に連結し、連結した合計 セル数力 ¾個であり、
前記第 2の繰り返しセル部は、前記他方端部側から前記コードシンボルの内側に 向かって、第 3の色彩のセルと、第 1の色彩のセルとを交互に連結し、連結した合計 セル数が k個であることを特徴とする光学式認識コード。ここで、前記 Nは自然数であ り、前記 kは、 1以上 N未満の整数である。
[81] 請求項 77記載の光学式認識コードにおいて、
前記各コードシンボルを構成するセル数が N以下、 N— k以上であり、 前記各コードシンボルが使用する色彩が 3色以上であり、
前記各コードシンボルの一方端に設けられた前記端部識別用色彩配列は、一方端 部から順に、第 1の色彩のセルと、第 1の繰り返しセル部と、から構成され、
前記各コードシンボルの他方端に設けられた前記端部識別用色彩配列は、他方端 部から順に、第 1の色彩のセルと、第 2の繰り返しセル部と、から構成され、
前記第 1の繰り返しセル部は、前記一方端部側から前記コードシンボルの内側に 向かって、第 2の色彩のセルと、第 3の色彩のセルとを交互に連結し、連結した合計 セル数力 ¾個であり、
前記第 2の繰り返しセル部は、前記他方端部側から前記コードシンボルの内側に 向かって、第 3の色彩のセルと、第 2の色彩のセルとを交互に連結し、連結した合計 セル数が k個であることを特徴とする光学式認識コード。ここで、前記 Nは自然数であ り、前記 kは、 1以上 N未満の整数である。
[82] 前記請求項 69〜81記載の光学式認識コードが付された物品。
PCT/JP2007/064167 2006-07-19 2007-07-18 Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program Ceased WO2008010513A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
BRPI0714333-8A BRPI0714333A2 (pt) 2006-07-19 2007-07-18 sÍmbolo àtico, artigo ao qual o sÍmbolo àtico estÁ fixado, mÉtodo para fixar o sÍmbolo àtico ao artigo, mÉtodo de decodificaÇço de sÍmbolo àtico, dispositivo relativo, e programa relativo
US12/308,938 US8113432B2 (en) 2006-07-19 2007-07-18 Apparatus for recognizing an optical recognition code in which a code symbol of a 1-dimensional color bit code indicative of certain data is divided into a plurality of code symbols
KR1020097000379A KR101348494B1 (ko) 2006-07-19 2007-07-18 광학식 심볼, 이것이 붙여진 물품 및 광학식 심볼을 물품에붙이는 방법, 광학식 심볼의 디코드 방법, 관련 장치 및 관련 프로그램
CN2007800348395A CN101553828B (zh) 2006-07-19 2007-07-18 光学识别码识别装置和光学识别码识别方法
EP07805867A EP2045761A4 (en) 2006-07-19 2007-07-18 OTIC SYMBOL, OBJECT TO WHICH IT IS CONNECTED, METHOD OF ATTACHING THE OPTICAL SYMBOL TO AN OBJECT, DECODING METHOD OF SAID SYMBOL, DEVICE AND PROGRAM THEREOF

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
JP2006196548A JP2008027029A (ja) 2006-07-19 2006-07-19 光学式シンボル及びそれが付された物品並びに光学式シンボルを物品に付す方法及び光学式シンボルのデコード方法。
JP2006-196548 2006-07-19
JP2007-130504 2007-05-16
JP2007130504A JP4404224B2 (ja) 2007-05-16 2007-05-16 光学式認識コード認識装置及び方法及びプログラム
JP2007163094A JP2009003653A (ja) 2007-06-20 2007-06-20 光学式認識コード及びそれが付された物品
JP2007-163094 2007-06-20

Publications (1)

Publication Number Publication Date
WO2008010513A1 true WO2008010513A1 (en) 2008-01-24

Family

ID=38956844

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/064167 Ceased WO2008010513A1 (en) 2006-07-19 2007-07-18 Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program

Country Status (7)

Country Link
US (1) US8113432B2 (ja)
EP (2) EP2178031B1 (ja)
KR (1) KR101348494B1 (ja)
BR (1) BRPI0714333A2 (ja)
ES (1) ES2400064T3 (ja)
TW (1) TW200820087A (ja)
WO (1) WO2008010513A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011064280A1 (en) 2009-11-26 2011-06-03 Dsm Ip Assets B.V. Method to produce fried vegetable products

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090194596A1 (en) * 2006-07-19 2009-08-06 B-Core Inc. Optical Symbol, Item to Which Optical Symbol is Attached, Method of Attaching Optical Symbol to Item, and Optical Recognition Code Recognizing Method
WO2009060942A1 (ja) * 2007-11-09 2009-05-14 B-Core Inc. 光学式認識コード及びそのマーキング方法及びその読み取り方法、並びに、光学式認識コードをマーキングした物品、並びに、色彩認識方法及びプログラム、並びに、色彩配列による自動認識コード及びそれが付された物品
CN102576415B (zh) * 2009-09-30 2015-11-25 株式会社希福特 二维码、二维码阅读器和程序
WO2011065947A1 (en) * 2009-11-25 2011-06-03 Hewlett Packard Development Company, L.P. Printed information device
TWI463410B (zh) 2012-08-10 2014-12-01 Ind Tech Res Inst 條碼之結構以及條碼之編碼方法
US9113235B2 (en) 2012-11-14 2015-08-18 Symbol Technologies, Llc Device and method for functionality sequencing
US20140231449A1 (en) * 2013-02-19 2014-08-21 Gojo Industries, Inc. Refill container labeling
US10127196B2 (en) 2013-04-02 2018-11-13 3M Innovative Properties Company Systems and methods for managing notes
KR101650833B1 (ko) 2013-04-02 2016-08-24 쓰리엠 이노베이티브 프로퍼티즈 컴파니 노트 인식을 위한 시스템 및 방법
KR102234688B1 (ko) 2013-04-02 2021-03-31 쓰리엠 이노베이티브 프로퍼티즈 컴파니 노트를 관리하기 위한 시스템 및 방법
TWI623888B (zh) 2013-07-09 2018-05-11 3M新設資產公司 藉由分段便箋用於便箋內容提取及管理之系統與方法
TWI651640B (zh) 2013-10-16 2019-02-21 3M新設資產公司 在使用者介面上組織數位便箋
US9082184B2 (en) 2013-10-16 2015-07-14 3M Innovative Properties Company Note recognition and management using multi-color channel non-marker detection
US9274693B2 (en) 2013-10-16 2016-03-01 3M Innovative Properties Company Editing digital notes representing physical notes
EP3058511A4 (en) 2013-10-16 2017-11-08 3M Innovative Properties Company Note recognition and association based on grouping
US9412174B2 (en) 2013-10-16 2016-08-09 3M Innovative Properties Company Note recognition for overlapping physical notes
TWI653571B (zh) 2013-10-16 2019-03-11 3M新設資產公司 用於處理數位便箋之方法、電腦系統、非暫時性電腦可讀取媒體及計算裝置
US9292186B2 (en) 2014-01-31 2016-03-22 3M Innovative Properties Company Note capture and recognition with manual assist
JP6387704B2 (ja) * 2014-06-27 2018-09-12 株式会社リコー 情報処理システム、情報処理方法、端末装置およびプログラム
US9973671B2 (en) 2014-08-27 2018-05-15 Symbol Technologies, Llc Method and apparatus for directing data capture devices in a mobile unit with a single operation
US9679180B2 (en) 2014-12-23 2017-06-13 Symbol Technologies, Llc Portable data capture device
US9483718B1 (en) * 2015-12-14 2016-11-01 International Business Machines Corporation Encoding and decoding data in two-dimensional symbology
CN109791623B (zh) * 2016-09-28 2022-06-28 3M创新有限公司 具有包括物理表面的基底的制品及其构造方法
CN107918790A (zh) * 2016-10-09 2018-04-17 狒特科技(北京)有限公司 光学定位标记、设备及方法
US12324537B2 (en) * 2018-03-22 2025-06-10 Bedford Systems Llc Beverage appliance with pod recognition system
EP3605308A3 (en) 2018-07-30 2020-03-25 Ricoh Company, Ltd. Information processing system for slip creation
US10929073B2 (en) 2019-03-15 2021-02-23 Ricoh Company, Ltd. Information processing system
CN114692800B (zh) * 2020-12-29 2025-03-28 华为技术有限公司 一种二维码生成方法以及相关设备
CN117057373B (zh) * 2022-11-29 2024-10-29 中知互联技术(深圳)有限公司 彩码识别装置及识别方法

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63255783A (ja) 1987-04-14 1988-10-24 Alps Electric Co Ltd バーコードの読み取り方法
JPH064700A (ja) * 1992-06-24 1994-01-14 Tokyo Electric Co Ltd 多段バーコード読取り装置
JPH07271934A (ja) * 1994-03-30 1995-10-20 Dainippon Ink & Chem Inc カラーコード
JPH08185463A (ja) 1994-12-28 1996-07-16 Pentel Kk バ−コ−ド切り出し方法
JPH08300827A (ja) 1995-05-12 1996-11-19 Nippon Kayaku Co Ltd 感熱記録体
JPH08305785A (ja) 1995-04-28 1996-11-22 Matsushita Electric Ind Co Ltd バーコード読み取り装置
JPH11161757A (ja) * 1997-11-28 1999-06-18 Takahiro Saito 情報コード及びその読み取り装置
JP2000249518A (ja) 1999-02-26 2000-09-14 Nitto Seiko Co Ltd 対象物の画像検出方法
JP2002334297A (ja) * 2001-05-08 2002-11-22 Ricoh Co Ltd 画像生成装置、画像生成方法、その方法をコンピュータで実施するためのプログラムを記録したコンピュータ読み取り可能記録媒体、そのプログラム、並びにコード
JP2002342702A (ja) 2001-05-16 2002-11-29 Cycolor System Co Ltd カラーコード記録方式
JP2003036416A (ja) * 2002-07-01 2003-02-07 Fujitsu Ltd バーコード読取装置
JP2003178277A (ja) 2001-12-11 2003-06-27 Ricoh Co Ltd 2次元コード,2次元コードの作成方法、2次元コードの復号方法,それらの方法を実行する装置、それらの方法をコンピュータで実行する為のプログラム、及び、そのプログラムを記録したコンピュータ読み取り可能記録媒体
JP2004326582A (ja) 2003-04-25 2004-11-18 Sharp Corp 複合記録担体
JP2005193578A (ja) 2004-01-09 2005-07-21 Canon Inc 印刷方式
JP2005266907A (ja) 2004-03-16 2005-09-29 Toshiba Social Automation Systems Co Ltd バーコード検出切り出し方法及びその装置、並びにプログラムを格納したコンピュータ読み取り可能な記録媒体
JP2006095586A (ja) 2004-09-30 2006-04-13 Sumitomo Metal Ind Ltd ツイン・トリプル鋳造用鋳型装置および連続鋳造方法
JP2006196705A (ja) 2005-01-13 2006-07-27 Tokyo Ohka Kogyo Co Ltd 回路素子の形成方法および多層回路素子

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3810423A (en) 1972-07-31 1974-05-14 Ncr Co Color bar printer
US3767912A (en) 1972-07-31 1973-10-23 Phoenix Prod Co Inc Floodlight having quick release support for lamp envelope
JPH05333779A (ja) 1992-05-29 1993-12-17 Tokyo Electric Co Ltd ラベル等の印刷物
DE69830597D1 (de) 1997-04-08 2005-07-21 Zih Corp Verformungsfeste, doppeldaten korrigierende, farbübergangsstreifenkode und ihres erzeugungs- und benutzungsverfahren
JP3777862B2 (ja) 1999-03-30 2006-05-24 セイコーエプソン株式会社 画像印刷方法およびその装置
US6793138B2 (en) 1999-12-15 2004-09-21 Takahiro Saito Information code and its reading device
US7185816B1 (en) * 2000-05-04 2007-03-06 Symbol Technologies, Inc. Bar code and method of forming a bar code having color for encoding supplemental information
US7020327B2 (en) * 2000-05-09 2006-03-28 Colorzip Media, Inc. Machine readable code image and method of encoding and decoding the same
AU5886801A (en) 2000-05-09 2001-11-20 Colorzip Media Inc Machine readable code and method and device of encoding and decoding the same
KR100339691B1 (ko) * 2001-11-03 2002-06-07 한탁돈 코드인식을 위한 장치 및 그 방법
US20050011955A1 (en) 2003-04-25 2005-01-20 Takahiro Saito Information code and its reading device
US7051935B2 (en) * 2003-07-28 2006-05-30 Imageid Ltd. Color calibration for color bar codes
JP3746506B2 (ja) * 2004-03-08 2006-02-15 一成 江良 立体視化パラメータ埋込装置及び立体視画像再生装置
JP4794847B2 (ja) * 2004-10-29 2011-10-19 キヤノン株式会社 2次元コードおよび情報処理方法
US7478746B2 (en) * 2006-05-31 2009-01-20 Konica Minolta Systems Laboratory, Inc. Two-dimensional color barcode and method of generating and decoding the same
US20090194596A1 (en) * 2006-07-19 2009-08-06 B-Core Inc. Optical Symbol, Item to Which Optical Symbol is Attached, Method of Attaching Optical Symbol to Item, and Optical Recognition Code Recognizing Method

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63255783A (ja) 1987-04-14 1988-10-24 Alps Electric Co Ltd バーコードの読み取り方法
JP2521088B2 (ja) 1987-04-14 1996-07-31 アルプス電気株式会社 バ―コ―ドの読み取り方法
JPH064700A (ja) * 1992-06-24 1994-01-14 Tokyo Electric Co Ltd 多段バーコード読取り装置
JPH07271934A (ja) * 1994-03-30 1995-10-20 Dainippon Ink & Chem Inc カラーコード
JPH08185463A (ja) 1994-12-28 1996-07-16 Pentel Kk バ−コ−ド切り出し方法
JPH08305785A (ja) 1995-04-28 1996-11-22 Matsushita Electric Ind Co Ltd バーコード読み取り装置
JPH08300827A (ja) 1995-05-12 1996-11-19 Nippon Kayaku Co Ltd 感熱記録体
JPH11161757A (ja) * 1997-11-28 1999-06-18 Takahiro Saito 情報コード及びその読み取り装置
JP2000249518A (ja) 1999-02-26 2000-09-14 Nitto Seiko Co Ltd 対象物の画像検出方法
JP2002334297A (ja) * 2001-05-08 2002-11-22 Ricoh Co Ltd 画像生成装置、画像生成方法、その方法をコンピュータで実施するためのプログラムを記録したコンピュータ読み取り可能記録媒体、そのプログラム、並びにコード
JP2002342702A (ja) 2001-05-16 2002-11-29 Cycolor System Co Ltd カラーコード記録方式
JP2003178277A (ja) 2001-12-11 2003-06-27 Ricoh Co Ltd 2次元コード,2次元コードの作成方法、2次元コードの復号方法,それらの方法を実行する装置、それらの方法をコンピュータで実行する為のプログラム、及び、そのプログラムを記録したコンピュータ読み取り可能記録媒体
JP2003036416A (ja) * 2002-07-01 2003-02-07 Fujitsu Ltd バーコード読取装置
JP2004326582A (ja) 2003-04-25 2004-11-18 Sharp Corp 複合記録担体
JP2005193578A (ja) 2004-01-09 2005-07-21 Canon Inc 印刷方式
JP2005266907A (ja) 2004-03-16 2005-09-29 Toshiba Social Automation Systems Co Ltd バーコード検出切り出し方法及びその装置、並びにプログラムを格納したコンピュータ読み取り可能な記録媒体
JP2006095586A (ja) 2004-09-30 2006-04-13 Sumitomo Metal Ind Ltd ツイン・トリプル鋳造用鋳型装置および連続鋳造方法
JP2006196705A (ja) 2005-01-13 2006-07-27 Tokyo Ohka Kogyo Co Ltd 回路素子の形成方法および多層回路素子

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2045761A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011064280A1 (en) 2009-11-26 2011-06-03 Dsm Ip Assets B.V. Method to produce fried vegetable products

Also Published As

Publication number Publication date
KR20090033438A (ko) 2009-04-03
EP2178031A3 (en) 2010-09-08
US8113432B2 (en) 2012-02-14
EP2178031A2 (en) 2010-04-21
ES2400064T3 (es) 2013-04-05
EP2178031B1 (en) 2013-01-09
TW200820087A (en) 2008-05-01
BRPI0714333A2 (pt) 2013-05-07
KR101348494B1 (ko) 2014-01-06
US20090314838A1 (en) 2009-12-24
EP2045761A4 (en) 2009-11-25
EP2045761A1 (en) 2009-04-08

Similar Documents

Publication Publication Date Title
WO2008010513A1 (en) Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, optical symbol decoding method, related device, and related program
CN101553828B (zh) 光学识别码识别装置和光学识别码识别方法
EP1456811B1 (en) Reconstruction of virtual raster
CN101978380B (zh) 二维符号及其读取方法
EP1909215B1 (en) Image region detection method, recording medium, and device therefor
US7949187B2 (en) Character string recognition method and device
US20020186884A1 (en) Fiducial mark patterns for graphical bar codes
CN102460478A (zh) 二维符号代码和用于读取符号代码的方法
US20010036317A1 (en) Apparatus and method for detecting a pattern
WO2008010544A1 (en) Optical symbol, article to which the optical symbol is attached, method for attaching optical symbol to article, and optical recognition code recognizing method
CN100377167C (zh) 一种用于二维码识别的二维码区域精确定位方法
JP5673257B2 (ja) コード読取装置、コード読取方法およびコード読取プログラム
TWI856222B (zh) 用於讀取應用於非均勻的背景上的二維的編碼圖案的方法及裝置
JP4404224B2 (ja) 光学式認識コード認識装置及び方法及びプログラム
JP4005621B1 (ja) 光学式シンボル及びそれが付された物品並びに光学式シンボルを物品に付す方法及び光学式シンボルのデコード方法。
JP2017102841A (ja) 二次元コード、二次元コードの解析方法、二次元コードの解析装置及び二次元コードを解析するプログラム
RU2449364C2 (ru) Оптический символ, предмет, на котором закреплен оптический символ, способ крепления оптического символа на предмете, способ декодирования оптического символа, соответствующее устройство и соответствующая программа
US6726102B2 (en) Data recording medium and code reader
JP4409595B2 (ja) 光学式認識コード及びそのマーキング方法及びその読み取り方法、並びに、光学式認識コードをマーキングした物品
HK1150461B (en) Two-dimensional symbol and method for reading same

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200780034839.5

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07805867

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12308938

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1020097000379

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2007805867

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2009105657

Country of ref document: RU

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: PI0714333

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20090119