WO2014156982A1 - 画像付の二次元コードを生成する装置及びその方法 - Google Patents

画像付の二次元コードを生成する装置及びその方法 Download PDF

Info

Publication number
WO2014156982A1
WO2014156982A1 PCT/JP2014/057820 JP2014057820W WO2014156982A1 WO 2014156982 A1 WO2014156982 A1 WO 2014156982A1 JP 2014057820 W JP2014057820 W JP 2014057820W WO 2014156982 A1 WO2014156982 A1 WO 2014156982A1
Authority
WO
WIPO (PCT)
Prior art keywords
code
dimensional code
image
area
information restriction
Prior art date
Application number
PCT/JP2014/057820
Other languages
English (en)
French (fr)
Inventor
ウィドド アリ
Original Assignee
株式会社デンソーウェーブ
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社デンソーウェーブ filed Critical 株式会社デンソーウェーブ
Priority to US14/780,886 priority Critical patent/US20160078336A1/en
Priority to DE112014001662.4T priority patent/DE112014001662T5/de
Publication of WO2014156982A1 publication Critical patent/WO2014156982A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06046Constructional details
    • G06K19/06112Constructional details the marking being simulated using a light source, e.g. a barcode shown on a display or a laser beam with time-varying intensity profile
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06046Constructional details
    • G06K19/06103Constructional details the marking being embedded in a human recognizable image, e.g. a company logo with an embedded two-dimensional code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06037Record 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 multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/06046Constructional details
    • G06K19/06075Constructional details the marking containing means for error correction

Definitions

  • the present invention relates to an apparatus and method for generating a two-dimensional code, and more particularly to an apparatus and method for generating a two-dimensional code with an image by applying the two-dimensional code to a base image.
  • the two-dimensional code expresses the code information as an inorganic two-dimensional image that cannot be understood by the user, and the design factor is not considered at all.
  • an image (such as a logo) that is meaningful to the user is used as a base image, and the two-dimensional code is applied to the base image as seen in Patent Document 1, for example.
  • Two-dimensional codes with images have been proposed.
  • the present invention has been made in view of the above problems, and has an object to improve the design of a two-dimensional code with an image and to automatically generate the two-dimensional code with an image. .
  • the first aspect of the present invention is a two-dimensional code generation device that generates a two-dimensional code with an image.
  • the two-dimensional code generation device applies a code information restriction region determination unit for determining a code information restriction region in a two-dimensional code and a two-dimensional code in which arrangement of code information is restricted in the code information restriction region to a base image.
  • a code generation unit for generating a two-dimensional code with an image.
  • the code information restriction region determination unit may determine the code information restriction region based on the base image.
  • the code information restriction region determination unit determines a specific partial region including a specific portion of the subject in the base image as the code information restriction region. Also good.
  • the code information restriction region determination unit may determine the code information restriction region based on a user designation when the specific portion is not included in the base image. In this case, it is also preferable that the code information restriction area determination unit determines the code information restriction area by combining error correction code areas.
  • the code information restriction area determination unit can determine the code information restriction area by modifying a standard area so as to match the error correction code area.
  • the image processing unit preferably prevents the code information restriction region determined based on the base image by the code information restriction region determination unit from overlapping the feature pattern of the two-dimensional code with image. First, the original image is processed.
  • the code information restriction region determination unit determines the code information restriction region so as not to overlap with the feature pattern of the two-dimensional code with image.
  • a two-dimensional code generation program causes a computer to read and execute a program stored in advance in a memory.
  • this program applies a code information restriction area determination unit for determining a code information restriction area in a two-dimensional code and a two-dimensional code having no code information in the code information restriction area to the base image, It is made to function as a two-dimensional code generation device provided with a code generation unit for generating the two-dimensional code.
  • a two-dimensional code generation method for generating a two-dimensional code with an image.
  • the two-dimensional code generation method includes a code information restriction region determination step for determining a code information restriction region in a two-dimensional code, and a two-dimensional code having no code information in the code information restriction region, applied to a base image, Generating a two-dimensional code with a code.
  • the two-dimensional code with an image is generated by applying the two-dimensional code in which the code information is restricted in the code information restriction area to the base image, the visual information of a specific part of the base image is impaired.
  • a two-dimensional code with an image can be generated without any problem.
  • FIG. 1 is a block diagram functionally showing the configuration of a two-dimensional code generation device according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing an example of a hardware configuration of the two-dimensional code generation device
  • FIG. 3 is a diagram for explaining detection of a specific partial region in the first embodiment of the present invention
  • FIG. 4 is a diagram showing a basic structure of a QR code (registered trademark) in the first embodiment
  • FIG. 5 is a flowchart showing an overview of the processing of the missing area determination unit in the first embodiment
  • FIG. 6 is a diagram for explaining the calculation of the size of the first maximum deficient allowable area in the first embodiment;
  • FIG. 1 is a block diagram functionally showing the configuration of a two-dimensional code generation device according to an embodiment of the present invention.
  • FIG. 2 is a block diagram showing an example of a hardware configuration of the two-dimensional code generation device
  • FIG. 3 is a diagram for explaining detection of a specific partial region in the first embodiment of the present invention
  • FIG. 7 is a diagram for explaining the calculation of the size of the second maximum deficiency allowable region in the first embodiment;
  • FIG. 8 is a flowchart showing an outline of processing of the image processing unit in the first embodiment;
  • FIG. 9 is a diagram illustrating an example of a two-dimensional code with an image according to the first embodiment;
  • FIG. 10 is a block diagram showing a configuration of a two-dimensional code generation device according to the second embodiment of the present invention.
  • FIG. 11 is a diagram for explaining a modification of detection of a specific part in the embodiment of the present invention;
  • FIG. 12 is a diagram for explaining a method for determining a specific portion (defect region) according to another modification of the present invention;
  • FIG. 13A is a diagram showing an error correction code area of a two-dimensional code in another modification according to the embodiment of the present invention
  • FIG. 13B is a diagram showing an example in which a rectangular missing region is applied to the two-dimensional code in the modification example
  • FIG. 13C is a diagram illustrating an example in which a rectangular defect region in the above modification is modified
  • FIG. 13D is a diagram showing another example in which the rectangular defect region in the above modification is deformed
  • FIG. 14 is a diagram illustrating another example of a QR code (registered trademark) according to another modification of the present invention.
  • QR code registered trademark
  • FIG. 1 shows the configuration of the two-dimensional code generation apparatus according to the first embodiment.
  • the two-dimensional code generation apparatus 10 according to the present embodiment generates a QR code (registered trademark) as a two-dimensional code.
  • the QR code registered trademark
  • the QR code is printed and drawn on the surface of a medium that functions as a code carrier such as paper or a signboard, or displayed on a display screen (medium) of a display device.
  • the two-dimensional code is not limited to the QR code (registered trademark), and other two-dimensional codes such as PDF417 (registered trademark), DATAMATEix (registered trademark), and Maxi Code (registered trademark) may be employed.
  • the two-dimensional code generation device 10 includes an image acquisition unit 11, a specific part detection unit 12, an image processing unit 13, a code specification determination unit 14, a code generation unit 15, and a missing region determination.
  • Unit 16 and a coded information acquisition unit 17.
  • the image acquisition unit 11, the specific part detection unit 12, the code specification determination unit 14, and the missing region determination unit 16 function as a code information restriction region determination unit.
  • the two-dimensional code generation device 10 includes an input / output interface and may be functionally realized by a computer connected to a communication module, a display device, an input device, or the like executing a program.
  • the two-dimensional code generation device may be functionally realized in the same manner on a personal computer, may be functionally realized in the same manner on a tablet terminal or a smartphone, or may function similarly on a portable dedicated device. May be realized.
  • FIG. 2 shows an example in which the two-dimensional code generation apparatus 10 is configured by a computer 22 connected to a communication module 21 that performs communication with the outside.
  • the computer 22 includes an input / output interface 23 connected to the communication module 21 and an arithmetic device 24 connected to the input / output interface 23.
  • the arithmetic unit 24 includes a central processing unit (CPU) 24A, a read-only memory (ROM) 24B, and a random access memory (RAM) 24C.
  • the CPU 24A executes various programs for generating a two-dimensional code stored in the ROM 24B in advance.
  • the arithmetic device 24 causes the image acquisition unit 11, the specific part detection unit 12, the image processing unit 13, the code specification determination unit 14, the code generation unit 15, the missing region determination unit 16, and the coding information acquisition unit 17 described above. Is functionally realized.
  • the RAM 24C can temporarily store various data at the time of generating the two-dimensional code.
  • the input / output interface 23 is also connected to the display device 25 and the input device 26.
  • the image acquisition unit 11 acquires an original image in a digital format that is the basis of an image (base image) that becomes a base when generating a two-dimensional code with an image.
  • the image acquisition unit 11 may acquire an original image by photographing using an optical module, an image sensor, or the like, or may acquire an original image by receiving it from the outside via a communication network.
  • the original image may be acquired by reading from the storage area of the storage device given to 10 or an external storage device.
  • a human face image is used as an original image will be described.
  • the subject of the original image is not necessarily limited to a human face image, and may be any image such as a landscape or a building.
  • the specific part detection unit 12 detects an area (specific partial area) including the specific part of the subject from the original image acquired by the image acquisition unit 11.
  • a human face area face area
  • FIG. 3 is a diagram illustrating detection of a specific partial area.
  • An existing technique can be adopted as a technique for detecting a human face area from an image.
  • the specific part detection unit 12 according to the present embodiment detects the eyes e1 and e2 and the mouth m as the specific parts, and uses the detected rectangular area including the eyes and mouth as the face area f. To detect.
  • the coded information acquisition unit 17 acquires information (coded information) to be coded as a two-dimensional code. This information may be input by the user using, for example, the input device 26, or may be received from the outside via a communication network.
  • the encoded information may be, for example, contact information (e-mail address or the like) of the person of the original image.
  • the code specification determination unit 14 determines the specification of the two-dimensional code.
  • the code specification includes a version and a cell size.
  • the version is determined based on the capacity (number of characters) and character type of the encoded information acquired by the encoded information acquisition unit 17 and the required error correction level.
  • the cell size is determined based on the printing resolution when printing the two-dimensional code and the reading resolution when reading the two-dimensional code.
  • FIG. 4 is a diagram showing the basic structure of a QR code (registered trademark).
  • the QR code (registered trademark) 100 is a square code as a whole. The information is expressed using a white or black square cell as a minimum unit. These cells are arranged in a matrix.
  • the QR code (registered trademark) 100 includes a cut-out symbol 101, a separator 102, format information 103, and a data cell area 105.
  • the data cell area 105 includes a timing pattern 104.
  • a margin 106 having a predetermined width is secured around the QR code (registered trademark) 100.
  • the cut-out symbol 101 is a pattern for detecting a position where the QR code (registered trademark) 100 is cut out from an image (code image) obtained by photographing the QR code (registered trademark) 100.
  • the cut-out symbol 101 is located at three corners (upper left corner, upper right corner, lower left corner) of the four corners of the QR code (registered trademark) 100.
  • the two sides of the cut-out symbol 101 are the outer edges of the QR code (registered trademark) 100.
  • the separator 102 is an area for clearly separating the cut-out symbol 101 and the information represented by the cell inside it.
  • the separator 102 is positioned along the other two sides that are not the outer edge of the QR code (registered trademark) 100 in the cut-out symbol 101.
  • the separator 102 has a width corresponding to one cell.
  • the separator 102 consists only of white cells.
  • format information 103 is provided along the two separators 102 inside the cut-out symbol 101 in the upper left corner. Format information 103 is provided along the separator 102 on the lower side of the cut-out symbol 101 in the upper right corner. Format information 103 is provided along the separator 102 on the right side of the cut-out symbol 101 in the lower left corner.
  • the format information 103 includes information on the error correction level used and information on the mask pattern as control information.
  • the format information 103 has a width for one cell.
  • a timing pattern 104 having a width corresponding to one cell is provided so as to connect adjacent cut-out symbols 101.
  • the timing pattern 104 is obtained by alternately arranging white cells and black cells, and is used for discriminating version information.
  • an area other than the cut symbol 101, the separator 102, and the format information 103 is a data cell area 105.
  • the data cell region 105 includes the timing pattern 104 as described above, but may further include an alignment pattern.
  • the code specification determination unit 14 determines the version and the cell size based on the acquired coding information.
  • the version reflects the number of cells, and the cell size reflects the size of each cell.
  • the code specification determination unit 14 increases the version as the capacity of the encoded information is larger and the error correction level is higher, and increases the cell size as the printing resolution and reading resolution are lower (rougher).
  • Information on the error correction level, the print resolution, and the reading resolution may be input by the user using an input unit (not shown), or may be acquired from the outside via a communication network.
  • the missing area determining unit 16 determines a missing area (that is, a code information restriction area) based on the specific part detected by the specific part detecting unit 12 and the code specification determined by the code specification determining unit 14. This will be described with reference to the flowchart of FIG.
  • the missing area determination unit 16 is a rectangular area located in the center of the QR code (registered trademark) 100 and is the size of the largest area (first largest deficient allowable area) that does not cover the cut-out symbol 101 that is the feature pattern.
  • W 1 is obtained (FIG. 5, step S1).
  • the QR code (registered trademark) further includes an alignment pattern as a feature pattern
  • the size W 1 is further set as the first maximum defect region with the largest region not covered by part or all of the alignment pattern as the first largest defect region. You may ask for it.
  • the maximum area that does not cover other feature patterns such as the format information 103 may be set as the first maximum defect area.
  • FIG. 6 is a diagram for explaining the calculation of the size of the first maximum defect allowable area.
  • the size W 1 [cell] of the first maximum defect allowable area 111 can be obtained by the following equation (1).
  • W 1 N ⁇ 2 ⁇ (a + ⁇ ) (1)
  • ⁇ [cell] is an adjustment parameter.
  • the adjustment parameter ⁇ may be zero.
  • the width W 1 of the first maximum defect allowable area 111 can be obtained by the following equation (1 ′).
  • W 1 N ⁇ 2 (a + ⁇ + 2) (1 ′)
  • the defect area determination unit 16 obtains the size W 2 of the maximum defect allowable area (second maximum defect allowable area) based on the error correction level (step S2 in FIG. 5).
  • FIG. 7 is a diagram for explaining the calculation of the size of the second maximum deficiency allowable area.
  • the width W 2 of the second maximum deficiency allowable region can be obtained by the following equation (3).
  • W 2 ⁇ S ⁇ (E ⁇ ) / 100 ⁇ 1/2 (3)
  • ⁇ [%] is an adjustment parameter.
  • the adjustment parameter ⁇ may be zero.
  • the second maximum deficiency allowance area means the maximum deficiency area when an error in the data cell area is allowed at a ratio of ⁇ / (S ⁇ W 2 2 ). Therefore, when the adjustment parameter ⁇ is zero, it means that no error is allowed except for the missing region.
  • the reduction ratio R 1 of the original image is determined so that the size W 4 of the specific portion is smaller than both the size W 1 of the first maximum defect allowable area and the second maximum defect allowable area size W 2 .
  • the missing area determination unit 16 outputs the reduction ratio R 1 to the image processing unit 13 (FIG. 5, step S5).
  • the image processing unit 13 detects an edge (a portion where the difference in pixel value from an adjacent pixel is equal to or greater than a predetermined threshold) from the original image acquired by the image acquisition unit 11 (step S11 in FIG. 8). Further, the image processing unit 13, the edge separator 102, format information 103, and so as not to timing pattern 104, seek the reduction rate R 2 for reducing the original image (FIG. 8, step S12). If the original image does not need to be reduced, the reduction ratio R 2 is 1.
  • the reason for reducing the original image in this way is as follows.
  • a two-dimensional code with an image the two-dimensional code is applied on the base image.
  • a cell to be expressed in white is colored or whitened in a two-dimensional code with an image depending on the base image. Then, since such switching is performed at the edge of the base image, an error is likely to occur. If the format information or the like is mapped to a region where an error is likely to occur, the format information cannot be read correctly, and as a result, the two-dimensional code with an image cannot be decoded. Therefore, the image processing unit 13 reduces the original image so that the edge of the image does not cover the format information 103 or the like.
  • the image processing unit 13 further compares the reduction rate R 1 and the reduction rate R 2 (FIG. 8, step S 13), and reduces the original image acquired by the image acquisition unit 11 with the smaller reduction rate. Then, this is output as a base image to the code generator 15 (FIG. 8, step S15).
  • the image processing unit 13 makes all of the detected specific partial areas (face areas in this example) defective areas, enables QR code (registered trademark) extraction using extracted symbols, and error correction.
  • the defect area is determined so as not to exceed the ability.
  • the missing area determination unit 16 also reduces the specific partial area at the smaller reduction ratio of the reduction ratio R 1 and the reduction ratio R 2 , and outputs this as a missing area to the code generation unit 15.
  • the code generation unit 15 generates a two-dimensional code indicating the encoding information acquired by the encoding information acquisition unit 17 in the data cell area excluding the missing area, and applies this to the base image to thereby add the image with the image. Generate a two-dimensional code.
  • a technique for generating a two-dimensional code having no code information in a defect area an existing technique can be adopted, and as a technique for applying a two-dimensional code to a base image, an existing technique (for example, the technique of Patent Document 1). ) Can be adopted.
  • FIG. 9 is a diagram showing an example of a two-dimensional code with an image generated as described above.
  • an image of a person's face is used as the base image, and the face area is a missing area 113 (an area having no code information). Since there is no code information in the face portion, the two-dimensional code 112 with an image is generated without impairing the visual information of the face.
  • the cut-out symbols 101 are set at the upper right corner, the lower left corner, and the lower right corner, respectively.
  • the missing area 113 does not cover the cut symbol 101, and QR code (registered trademark) cannot be cut out. Further, the ratio of the area of the defective region 113 to the area of the data cell region is set to be equal to or lower than the error correction level. For this reason, the error correction is not made impossible by providing the defect region 113.
  • the two-dimensional code 112 with an image generated by the code generation unit 15 is output from the two-dimensional code generation device 10 and printed on a medium MD such as predetermined paper by a printing device such as a printer, or by the display device 25. Is displayed. In the case of the display device 25, the display screen also functions as the medium MD.
  • FIG. 10 shows a configuration of a two-dimensional code generation device according to the second embodiment.
  • the same components as those of the two-dimensional code generation device 10 of the first embodiment are denoted by the same reference numerals, and description thereof is omitted.
  • the two-dimensional code generation device 10 ′ has an area specifying unit 18 added.
  • the area designating unit 18 includes a touch panel as a display device, and displays a rectangular frame for designating an area on the touch panel when the specific part detecting unit 12 cannot detect the specific partial area.
  • the user designates an area by enlarging, reducing, or moving the frame by inputting on the touch panel.
  • Information on the designated area is sent from the area designating unit 18 to the missing area determining unit 16, and the missing area determining unit 16 is determined by the rectangular area designated by the area designating unit 18 and the code specification determining unit 14. Based on the code specifications, the missing area is determined.
  • This embodiment is effective when the original image includes not a person's face but a pattern such as a logo or characters.
  • the specific part detection unit 12 does not detect the specific part area, but a two-dimensional code can be given with the logo part as a missing area.
  • the two-dimensional code generation devices 10 and 10 ′ can be further modified and implemented in various forms.
  • the two-dimensional code generation devices 10 and 10 ′ described above include the image processing unit 13 and process the original image.
  • the two-dimensional code generation device of the present invention may not include the image processing unit 13. Good.
  • the defect region 113 is determined as a smaller region of the first maximum defect allowable region and the second maximum defect allowable region.
  • the specific part detection unit 12 detects a rectangular face area from the original image as the specific partial area, but the specific partial area is not limited to this.
  • FIG. 11 is a diagram illustrating a modification of specific partial region detection.
  • the specific partial area 121 is an example in which the face area is a specific partial area as in the above embodiment, and the specific partial area 122 has a rectangular template shape including eyes and mouth detected from the original image.
  • the specific partial area 123 is an example in which the eye and mouth area detected from the original image is the specific partial area.
  • defect regions having various shapes may be determined in accordance with detection methods for various specific partial regions. In the case of the examples shown in FIGS.
  • the specific partial area is rectangular, but the specific partial area is not necessarily rectangular.
  • various shapes such as a polygon such as a triangle or a pentagon, a star shape, a diamond shape, or a heart shape may be adopted as a shape that emphasizes the design.
  • the two-dimensional code generation devices 10 and 10 ′ include the specific part detection unit 12 and detect the specific partial region including the specific part from the original image.
  • the generation device may not include the specific part detection unit 12.
  • the original image may be acquired in advance so that the eyes, nose, and mouth of the face enter the defect area.
  • a defect region is determined from the first maximum defect allowance region and the second maximum defect allowance region, and a frame indicating the defect region is displayed at the time of photographing. You may display on a preview image.
  • the defect area is rectangular and the shape thereof is fixed, and the defect area is sized so that error correction can be performed based on the error correction level.
  • the shape of the region may be determined by changing the basic shape in consideration of error correction capability. This will be described with reference to FIG.
  • FIG. 12 shows the cells constituting the two-dimensional code (QR code) 112 for each error correction code area.
  • the missing area 113 is expanded in accordance with the error correction code area EC of the two-dimensional code (QR code) 112.
  • FIG. 12A shows the error correction code area EC of the QR code 112.
  • each of a plurality of areas surrounded by a white line is an error correction code area EC (code word (8 cells)).
  • each error correction code area EC including the part thereof is determined. Loses error correction ability. For this reason, even if each error correction code area EC that has lost its error correction capability is determined as a defective area, the code reading performance is not affected as long as it is within the preset error correction level.
  • the missing area determining unit 16 that is, the CPU 24A interactively decides the missing area 113 in a rectangular shape with the user as shown in FIG. Thereafter, the missing area determination unit 16 checks the overlapping degree between the rectangular area and a plurality of error correction code areas EC located in the vicinity thereof in units of cells. Further, the missing area determination unit 16 sets the entire area EC as a missing area for each of the error correction code areas EC having overlapping portions.
  • FIG. 5C see enlarged view
  • a region that partially protrudes outward from the basic rectangular defect region 113 is added, and the defect region 113A having an indefinite shape as a whole. Is set. For this reason, code information is not given to this missing region 113A.
  • FIG. 13A shows an error correction code area of a two-dimensional code.
  • each error correction code area has a shape surrounded by a thick line, and error correction is performed in units of these error correction code areas. Therefore, when a part of cells in one error correction code area becomes a defective area, the error correction code area cannot perform an error correction function.
  • FIG. 13B shows an example in which a rectangular missing area is applied to a two-dimensional code.
  • a part of the error correction code areas a71 to a78 is made a defect area by applying the rectangular defect area 113, so that the error correction capability is lost.
  • the missing area determination unit 16 deforms the rectangular missing area 113 so that such a cell is also a missing area.
  • FIG. 13C shows an example in which the rectangular defect region 113 is deformed.
  • the missing area determination unit 16 determines a missing area by combining error correction code areas as a unit. Specifically, the defect area determination unit 16 determines the rectangular defect area 113 by the method of the above-described embodiment, and thereafter, the error correction code areas a71 to a78 that have lost the error correction capability due to the rectangular defect area 113.
  • the rectangular defect region 113 is deformed so that all of the cells are defined as the defect region, and the region 113 ′ is determined as the defect region as shown in FIG. 13C. Even when the defect area is enlarged as in the area 113 ′ of FIG. 13C, the error correction capability does not decrease compared to the case where the defect area is determined as in the area 113 of FIG. 13B. That is, according to this modified example, it is possible to enlarge the missing area without impairing the error correction capability.
  • the defect area determination unit 16 determines the defect area by combining the error correction code areas as a unit in the same manner as described above. For the error correction code area in which a predetermined ratio (for example, 50%) or more of the error correction code area is a defect area after applying the defect area 113, the entire area is regarded as an error correction area. If the error correction code area is equal to or less than a predetermined ratio, the entire error correction code area is not a defective area but a code area.
  • a predetermined ratio for example, 50%
  • FIG. 13D shows another example in which the rectangular defect region 113 is deformed.
  • FIG. 13D corresponds to FIG. 13B.
  • the error correction code areas a71 to a74 have a defect area of 50% or more due to the rectangular defect area 113. Therefore, as shown in FIG. As for a74, the rectangular defect region 113 is deformed so that the entire region becomes a defect region.
  • the error correction code areas a75 to a78 are less than 50% of the defective areas due to the rectangular defective areas 113. Therefore, as shown in FIG. As for a71 to a74, the rectangular defect region 113 is deformed so that the entire region does not become a defect region.
  • the defect area 113 ′′ As a result, it is deformed as a missing region 113 ′′ shown in FIG. 13D.
  • the number of cells regarded as the defect area as a whole is the same as that of the original rectangular defect area 113, but the number of error correction code areas losing the error correction capability is different in the rectangular defect area 113. While the number is 12 in the defect area 113 ′′, the number is 8 and the error correction capability is improved.
  • the two-dimensional code generation devices 10 and 10 ′ determine a missing region in the base image and apply a two-dimensional code having no code information to the region to the base image.
  • the two-dimensional code generation device of the present invention only needs to determine a code information limited area in the base image and apply the two-dimensional code in which the code information is limited in the area to the base image.
  • the defect area is an example of a code information restriction area.
  • the code information restriction area for example, an area in which a cell is made smaller than a cell in another area, or a cell having code information is thinned out. An area and other areas where code information is restricted are included.
  • the two-dimensional code generation device 10 that generates a two-dimensional code with an image applies a defect area determination unit 16 that determines a defect area and a two-dimensional code that does not have code information to the defect area to the base image.
  • a code generation unit 15 that generates a two-dimensional code 112 with an image. Therefore, in the two-dimensional code 112 with image, since there is no code information in the missing region 113, the two-dimensional code 112 with image can be generated without impairing the visual information of the specific part of the base image.
  • the missing area determination unit 16 determines the missing area 113 based on the base image. Since the defect area 113 is determined based on the image, it is not necessary to set the defect area 113 manually. Further, the missing area determination unit 16 determines the area including the specific portion of the subject detected from the base image as the missing area 113. Conventionally, a user has generated a two-dimensional code 112 with an image based on experience and intuition based on an original image, code information, and code specifications. However, according to the above two-dimensional code generation device 10, It is possible to automatically generate a two-dimensional code 112 with an image having a defect area 113 in a specific partial area.
  • the two-dimensional code generation device 10 includes an image processing unit 13 that generates a base image by processing an original image. Thereby, processing necessary for the original image can be automatically performed.
  • the image processing unit 13 has photographed the two-dimensional code 112 with an image in which the defect region 113 determined based on the base image by the defect region determination unit 16 is set to the corner of a square two-dimensional code.
  • the original image is processed so as not to overlap with the cut symbol 101 from the code image. Therefore, it is possible to prevent the cut-out symbol 101 from being the defective area 113 including the specific partial area and the two-dimensional code 112 with an image from being cut out from the code image.
  • the defect region 113 is not overlapped with other feature patterns such as an alignment pattern, the design can be secured so as not to disturb reading while considering the design.
  • the missing area determination unit 16 determines the missing area 113 so as not to overlap with the cut-out symbol 101. For this reason, it is possible to prevent the cut-out symbol 101 from being the defective region 113 and the two-dimensional code 112 with an image from being cut out from the code image.
  • the missing area determination unit 16 determines an area where the central area that does not overlap with the cut-out symbol 101 and the specific partial area including the specific part of the subject detected from the base image overlap as the defective area 113. Therefore, it is possible to generate a two-dimensional code with an image without impairing visual information of a specific portion of the base image and without making it impossible to cut out the two-dimensional code with image 112 from the code image.
  • the missing area determination unit 16 determines the missing area 113 based on the error correction level required for the two-dimensional code 112 with an image. For this reason, the error correction is not disabled by providing the defect region 113.
  • the missing area determination unit 16 removes an area where the second maximum missing tolerance area, which is the maximum tolerance area corresponding to the error correction level, and the specific partial area including the specific part of the subject detected from the base image are missing.
  • the region 113 is determined. Therefore, it is possible to avoid the error correction from being disabled by providing the missing region 113 without impairing the visual information of a specific portion of the base image.
  • the above two-dimensional code generation apparatus 10 includes an image processing unit 13 that generates a base image by processing an original image. Further, the two-dimensional code 100 includes format information 103 at a predetermined position. Further, the image processing unit 13 processes the original image so that the edge of the image does not overlap the position of the format information 103. Therefore, it is possible to avoid an error in the format information 103 due to the edge of the image.
  • the content of the original image applicable to the present invention is not limited to a person's face image.
  • the subject of the original image may be anything such as a landscape, a building, a painting, a figurine, a promotional picture, or a company logo.
  • 14A and 14B show examples of QR codes (registered trademark) 112A and 112B with images in which a company logo is drawn and the code generation method of the present invention is applied to an original image.
  • 14A and 14B depending on which part of the company logo the missing area 113 is set, the entire company logo is made thin as a background image, and the specific part highlighted in the missing area 113 is clearly shown. It can be shown and emphasized to enhance its design.
  • it is possible to provide a QR code (registered trademark) with an image to which necessary information to be encoded is assigned in the same manner as described above.
  • the present invention has an effect that a two-dimensional code with an image using the base image can be generated without impairing visual information of a specific portion of the base image, and a two-dimensional code for generating a two-dimensional code with an image. It is useful as a code generator.
  • Two-dimensional code generation device 11 Image acquisition unit (code information restriction area determination unit) 12 Specific part detection unit (code information restriction area determination unit) 13 Image Processing Unit 14 Code Specification Determining Unit (Code Information Restricted Area Determining Unit) 15 code generation unit 16 missing region determination unit (code information restriction region determination unit) 17 Coded information acquisition unit 100 QR code (registered trademark) (two-dimensional code) DESCRIPTION OF SYMBOLS 101 Cutout symbol 102 Separator 103 Format information 104 Timing pattern 105 Data cell area 106 Margin 111 1st largest defect

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Optics & Photonics (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

 画像付きの二次元コードを生成する二次元コード生成装置10が提供される。この装置10は、欠損領域を決定する欠損領域決定部16と、欠損領域にコード情報を持たない二次元コードをベース画像に適用して、画像付きの二次元コードを生成するコード生成部15とを備えている。

Description

画像付の二次元コードを生成する装置及びその方法
 本発明は、二次元コードを生成する装置及びその方法に関し、より詳細には、二次元コードをベース画像に適用して、画像付きの二次元コードを生成する装置及びその方法に関するものである。
 近年、カメラ付きの携帯端末の普及に伴い、広告、認証等の目的で二次元コードが多用されている。二次元コードは、コード情報をユーザには理解できない無機質な二次元画像で表現したものであり、デザイン性の要素は全くと言っていいほど考慮されていない。
 そこで、二次元コードのデザイン性を向上するために、ユーザにとって意味のある画像(ロゴ等)をベース画像として、例えば特許文献1にみられるように、そのベース画像上に二次元コードを適用した画像付きの二次元コードが提案されている。
特開2009-104451号公報
 しかしながら、従来の画像付きの二次元コードでは、ベース画像の上にセルが設定されてコード情報が付与されるため、殆どの場合、ベース画像の見栄えがよくない。また、ベース画像に二次元コードを適用する際に、ベース画像中のロゴや被写体の輪郭や特徴(例えば、被写体が顔である場合の目や口)をオペレータが手作業で設定しており、コード生成のコストが高くなる。
 本発明は、上記の課題に鑑みてなされたものであり、画像付きの二次元コードのデザイン性を向上させるとともに、その画像付きの二次元コードを自動で生成できるようにすることを目的とする。
 本発明の第1の態様は、画像付きの二次元コードを生成する二次元コード生成装置である。この二次元コード生成装置は、二次元コードにおけるコード情報制限領域を決定するコード情報制限領域決定部と、前記コード情報制限領域においてコード情報の配置が制限された二次元コードをベース画像に適用して、画像付きの二次元コードを生成するコード生成部とを備えたことを特徴とする。
 例えば、第1の態様の二次元コード生成装置において、前記コード情報制限領域決定部は、前記ベース画像に基づいて前記コード情報制限領域を決定するようにしてもよい。
 また例えば、第2の態様の二次元コード生成装置において、前記コード情報制限領域決定部は、前記ベース画像中の被写体の特定部分を含む特定部分領域を前記コード情報制限領域として決定するようにしてもよい。
 さらに、前記コード情報制限領域決定部は、前記ベース画像中に前記特定部分がないときに、ユーザの指定に基づいて前記コード情報制限領域を決定するようにしてもよい。
 この場合、前記コード情報制限領域決定部は、誤り訂正コード領域を組み合わせることで前記コード情報制限領域を決定することも好適な例である。
 さらに、前記コード情報制限領域決定部は、定型の領域を前記誤り訂正コード領域に合わせるように変形することで前記コード情報制限領域を決定することができる。
 さらに、好適には、前記画像加工部は、前記コード情報制限領域決定部にて前記ベース画像に基づいて決定される前記コード情報制限領域が、前記画像付二次元コードの特徴パターンと重ならないように、原画像を加工することである。
 また、前記コード情報制限領域決定部は、前記画像付きの二次元コードの特徴パターンと重ならないように、前記コード情報制限領域を決定することも好適な例である。
 本発明の別の態様として、二次元コード生成プログラムが提供される。この二次元コード生成プログラムは、コンピュータを、予めメモリに記憶させているプログラムを読み出して実行させる。これにより、このプログラムは、二次元コードにおけるコード情報制限領域を決定するコード情報制限領域決定部と、前記コード情報制限領域にコード情報を持たない二次元コードをベース画像に適用して、画像付きの二次元コードを生成するコード生成部とを備えた二次元コード生成装置として機能させる。
 本発明の更に別の態様として、画像付きの二次元コードを生成する二次元コード生成方法が提供される。この二次元コード生成方法は、二次元コードにおけるコード情報制限領域を決定するコード情報制限領域決定ステップと、前記コード情報制限領域にコード情報を持たない二次元コードをベース画像に適用して、画像付きの二次元コードを生成するコード生成ステップとを含む。
 本発明によれば、コード情報制限領域においてコード情報が制限された二次元コードをベース画像に適用して画像付きの二次元コードが生成されるので、ベース画像の特定部分の視覚的情報を損なうことなく画像付二次元コードを生成できる。
 添付図面において、
図1は、本発明の実施の形態における二次元コード生成装置の構成を機能的に示すブロック図、 図2は、上記二次元コード生成装置のハード的な構成の一例を示すブロック図、 図3は、本発明の第1の実施の形態における特定部分領域の検出を説明する図、 図4は、第1の実施の形態におけるQRコード(登録商標)の基本構造を示す図、 図5は、第1の実施の形態における欠損領域決定部の処理の概要を示すフローチャート、 図6は、第1の実施の形態における第1最大欠損許容領域のサイズの算出を説明する図、 図7は、第1の実施の形態における第2最大欠損許容領域のサイズの算出を説明する図、 図8は、第1の実施の形態における画像加工部の処理の概要を示すフローチャート、 図9は、第1の実施の形態における画像付二次元コードの例を示す図、 図10は、本発明の第2の実施の形態における二次元コード生成装置の構成を示すブロック図、 図11は、本発明の実施の形態における特定部分の検出の変形例を説明する図、 図12は、本発明の別の変形例に係る特定部分(欠損領域)の決定する手法を説明する図、 図13Aは、本発明の実施の形態に係る別の変形例における二次元コードの誤り訂正コード領域を示す図、 図13Bは、上記変形例における二次元コードに矩形の欠損領域を適用した例を示す図、 図13Cは、上記変形例における矩形の欠損領域を変形した例を示す図、 図13Dは、上記変形例における矩形の欠損領域を変形した別の例を示す図、 図14は、本発明の別の変形例に係るQRコード(登録商標)の別の例を説明する図、である。
 以下、本発明の実施の形態の二次元コード生成装置について、図面を参照しながら説明する。
 なお、以下に説明する実施の形態は、本発明を実施する場合の一例を示すものであって、本発明を以下に説明する具体的構成に限定するものではない。本発明の実施にあたっては、実施の形態に応じた具体的構成が適宜採用されてよい。
 [第1の実施の形態]
 図1~図9を参照して、本発明の第1の実施の形態に係る二次元コード生成装置を説明する。
 図1は、この第1の実施の形態の二次元コード生成装置の構成を示す。本実施の形態の二次元コード生成装置10は、二次元コードとしてQRコード(登録商標)を生成する。このQRコード(登録商標)は、例えば、紙、看板等のコード担体として機能する媒体の面に印刷・描画されたり、表示装置の表示画面(媒体)により表示される。なお、二次元コードはQRコード(登録商標)に限られず、PDF417(登録商標)、DATAMatEix(登録商標)、Maxi Code(登録商標)等の他の二次元コードが採用されてもよい。
 二次元コード生成装置10は、図1に示すように、画像取得部11と、特定部分検出部12と、画像加工部13と、コード仕様決定部14と、コード生成部15と、欠損領域決定部16と、コード化情報取得部17とを備えている。ここで、画像取得部11、特定部分検出部12、コード仕様決定部14、及び欠損領域決定部16は、コード情報制限領域決定部として機能する。
 二次元コード生成装置10は、入出力インタフェースを備え、通信モジュール、表示装置、入力装置等に接続されたコンピュータがプログラムを実行することで機能的に実現されてよい。また、二次元コード生成装置は、パーソナルコンピュータで同様に機能的に実現されてもよいし、タブレット端末やスマートフォンで同様に機能的に実現されてもよいし、携帯型の専用装置で同様に機能的に実現されてもよい。
 図2に、二次元コード生成装置10を、外部との通信を行う通信モジュール21に接続されたコンピュータ22で構成する例を示す。コンピュータ22は通信モジュール21に接続された入出力インタフェース23と、この入出力インタフェース23に接続された演算装置24とを備える。演算装置24は、CPU(central processing unit)24A、ROM(read-only memory)24B、及びRAM(random access memory)24Cを備える。CPU24AがROM24Bに予め格納されている二次元コード生成のための各種のプログラムを実行する。これにより、演算装置24により、上述した画像取得部11、特定部分検出部12、画像加工部13、コード仕様決定部14、コード生成部15、欠損領域決定部16、及びコード化情報取得部17が機能的に実現される。なお、RAM24Cは、その二次元コード生成時の各種のデータを一時的に格納できる。入出力インタフェース23は、表示装置25、入力装置26にも接続されている。
 以下、本実施形態の特徴である、画像付きの二次元コードの生成方法を前述した図1に示す二次元コード生成装置10の構成を使って説明する。
 画像取得部11は、画像付きの二次元コードを生成する際のベースになる画像(ベース画像)の元になるデジタルフォーマットの原画像を取得する。
 画像取得部11は、光学モジュール、撮像素子等を用いて撮影によって原画像を取得してもよいし、通信ネットワークを介して外部から受信することで原画像を取得してもよいし、この装置10に与えられた又は外部の記憶装置の記憶領域から読み出すことで原画像を取得してよい。本実施の形態では、原画像として人物の顔画像を用いる場合を説明する。なお、原画像の被写体は必ずしも人物の顔画像に限定されるものではなく、風景や建物など、どのような画像であってもよい。
 特定部分検出部12は、画像取得部11にて取得された原画像から被写体の特定部分を含む領域(特定部分領域)を検出する。本実施の形態では、原画像から人物の顔の領域(顔領域)を特定部分領域として検出する。図3は、特定部分領域の検出を説明する図である。画像から人物の顔領域を検出する技術は既存の技術を採用することができる。本実施の形態の特定部分検出部12は、図3に示すように、特定部分としての目e1、e2及び口mを検出して、検出した目及び口を含む矩形の領域を顔領域fとして検出する。
 コード化情報取得部17は、二次元コードとしてコード化すべき情報(コード化情報)を取得する。この情報は、例えば入力装置26を用いてユーザが入力してよく、または通信ネットワークを介して外部から受信してもよい。コード化情報は、例えば原画像の人物の連絡先の情報(電子メールアドレス等)であってよい。
 コード仕様決定部14は、二次元コードの仕様を決定する。コード仕様には、バージョン及びセルサイズが含まれる。バージョンは、コード化情報取得部17で取得されたコード化情報の容量(文字数)及び文字種と、要求される誤り訂正レベルに基づいて決定される。セルサイズは、二次元コードを印刷する際の印刷解像度及び二次元コードを読み取る際の読取分解能に基づいて決定される。
 図4は、QRコード(登録商標)の基本構造を示す図である。QRコード(登録商標)100は、全体として正方形のコードである。情報は、白又は黒の正方形のセルを最小単位として表現される。このセルがマトリクス状に配置される。QRコード(登録商標)100は、切出しシンボル101、セパレータ102、フォーマット情報103、及びデータセル領域105からなる。データセル領域105には、タイミングパターン104が含まれる。また、QRコード(登録商標)100の周囲には所定の幅のマージン106が確保される。
 切出しシンボル101は、QRコード(登録商標)100を撮影した画像(コード画像)からQRコード(登録商標)100を切り出す位置を検出するためのパターンである。切出しシンボル101は、QRコード(登録商標)100の4つの角のうちの3つの角(左上角、右上角、左下角)に位置する。切出しシンボル101は、その2つの辺がQRコード(登録商標)100の外縁となる。
 セパレータ102は、切出しシンボル101とそれより内側のセルで表される情報とを明確に切り離すための領域である。セパレータ102は、切出しシンボル101におけるQRコード(登録商標)100の外縁とならない他の2辺に沿って位置する。セパレータ102は1セル分の幅をもつ。セパレータ102は白セルのみからなる。
 また、左上角の切出しシンボル101の内側の2辺のセパレータ102に沿ってフォーマット情報103が設けられている。右上角の切出しシンボル101の下側の辺のセパレータ102に沿ってフォーマット情報103が設けられている。左下角の切出しシンボル101の右側のセパレータ102に沿ってフォーマット情報103が設けられている。フォーマット情報103は、制御情報として、使用されている誤り訂正レベルの情報とマスクパターンに関する情報を含んでいる。フォーマット情報103は1セル分の幅をもつ。
 また、隣り合う切出しシンボル101をつなぐように、1セル分の幅を持つタイミングパターン104が設けられている。タイミングパターン104は、白セルと黒セルを交互に配置したものであり、バージョン情報の判別のために用いられる。
 QRコード(登録商標)100における切出しシンボル101、セパレータ102、フォーマット情報103以外の領域はデータセル領域105である。なお、上述のようにデータセル領域105にはタイミングパターン104が含まれるが、さらにアライメントパターンが含まれていてもよい。
 図1に戻って説明する。コード仕様決定部14は、取得されたコード化情報に基づいてバージョン及びセルサイズを決定する。バージョンはセルの数を反映したものであり、セルサイズは、各セルの大きさを反映したものである。コード仕様決定部14は、コード化情報の容量が大きいほど、また、誤り訂正レベルが高いほど、バージョンを高くし、印刷解像度や読取分解能が低い(粗い)ほどセルサイズを大きくする。誤り訂正レベル、印刷解像度、及び読取分解能の情報は、ユーザが図示しない入力手段を用いて入力してもよいし、通信ネットワークを介して外部から取得してもよい。
 欠損領域決定部16は、特定部分検出部12にて検出された特定部分及びコード仕様決定部14が決定したコード仕様に基づいて、欠損領域(即ち、コード情報制限領域である)を決定する。これを図5のフローチャートと共に説明する。
 欠損領域決定部16は、まず、QRコード(登録商標)100の中央に位置する矩形の領域であって、特徴パターンである切出しシンボル101にかからない最大の領域(第1最大欠損許容領域)のサイズW1を求める(図5、ステップS1)。なお、QRコード(登録商標)にさらに特徴パターンとしてアライメントパターンが含まれる場合には、さらに、その一部又は全部のアライメントパターンにもかからない最大の領域を第1最大欠損領域としてそのサイズW1を求めてもよい。また、フォーマット情報103等の他の特徴パターンにもかからない最大の領域を第1最大欠損領域としてよい。
 図6は、第1最大欠損許容領域のサイズの算出を説明する図である。いま、コード仕様決定部14にて決定されたコード仕様において、QRコード(登録商標)100の幅がN[セル]であり、切出しシンボルの幅がa[セル]であるとすると、図6に示すように、第1最大欠損許容領域111のサイズW1[セル]は、以下の式(1)によって求めることができる。
 W1=N-2×(a+α)  ・・・(1)
 ここで、α[セル]は調整パラメータである。調整パラメータαはゼロであってもよい。
 セパレータ102及びフォーマット情報103の幅がそれぞれ1セルであるとすると、第1最大欠損許容領域111の幅W1は、以下の式(1´)で求めることができる。
 W1=N-2(a+α+2)  ・・・(1´)
 欠損領域決定部16は、次に、誤り訂正レベルに基づく最大欠損許容領域(第2最大欠損許容領域)のサイズW2を求める(図5、ステップS2)。図7は、第2最大欠損許容領域のサイズの算出を説明する図である。欠損領域決定部16は、まずデータセル領域105の面積Sを求める。図7において、w1=N-2×a-3、w2=a+2、w3=N-a-2であるので、データセル領域105の面積以下の式(2)によって求めることができる。
 S=w1×w2+w3 2=(N-2a-3)×(a+2)+(N-a-2)2
                          ・・・(2)
 誤り訂正レベル、即ち誤りを許容する割合をE[%]とすると、第2最大欠損許容領域の幅W2は、以下の式(3)によって求めることができる。
 W2={S×(E-β)/100}1/2  ・・・(3)
 ここで、β[%]は調整パラメータである。調整パラメータβはゼロであってもよい。この第2最大欠損許容領域は、データセル領域の誤りをβ/(S-W2 2)の割合で許す場合の最大の欠損領域を意味する。従って、調整パラメータβがゼロである場合は、欠損領域を除いて一切誤りを許さないことを意味する。
 欠損領域決定部16は、第1最大欠損許容領域と第2最大欠損許容領域のうちの小さい方のサイズW3と、特定部分領域のサイズW4とを比較する(図5、ステップS3)。特定部分領域は正方形であるとは限らないので、縦及び横の大きいほうのサイズをW4とする。欠損領域決定部16は、この比較に基づいて、原画像の縮小率R1を求める(図5、ステップS4)。具体的には、欠損領域決定部16は、W3≧W4であるときはR1=1とし、W3<W4であるときはR1=W3/W4とする。即ち、特定部分のサイズW4が第1最大欠損許容領域のサイズW1及び第2最大欠損許容領域サイズW2のいずれよりも小さくなるように、原画像の縮小率R1を決定する。欠損領域決定部16は、縮小率R1を画像加工部13に出力する(図5、ステップS5)。
 次に、図8のフローチャートと共に、画像加工部13の処理を説明する。
 画像加工部13は、画像取得部11にて取得された原画像からエッジ(隣接する画素との画素値の差が所定の閾値以上である部分)を検出する(図8、ステップS11)。さらに、画像加工部13は、このエッジがセパレータ102、フォーマット情報103、及びタイミングパターン104にかからないように、原画像を縮小するための縮小率R2を求める(図8、ステップS12)。なお、原画像を縮小する必要がない場合は、縮小率R2は1とする。
 このように原画像を縮小するのは、次の理由による。画像付きの二次元コードでは、ベース画像の上に二次元コードを適用することになる。通常の二次元コードにおいて白で表現すべきセルを、画像付きの二次元コードでは、ベース画像に応じて着色したり、白にしたりすることになる。そうすると、ベース画像のエッジでは、このような切替えが行われるため、エラーが生じやすい。フォーマット情報等がエラーの生じやすい領域にマッピングされると、正しくフォーマット情報が読み取れないこととなり、ひいては画像付きの二次元コードを解読できないことになる。よって、画像加工部13は、画像のエッジがフォーマット情報103等にかからないように原画像を縮小する。
 画像加工部13は、さらに、縮小率R1と縮小率R2とを比較し(図8、ステップS13)、そのうちの小さいほうの縮小率で、画像取得部11で取得された原画像を縮小し(図8、ステップS14)、これをベース画像としてコード生成部15に出力する(図8、ステップS15)。即ち、画像加工部13は、検出された特定部分領域(この例では顔領域)のすべてを欠損領域とし、かつ、切出しシンボルを利用したQRコード(登録商標)の切出しを可能にし、かつ誤り訂正能力を超えないように、欠損領域を決定する。また、欠損領域決定部16も、縮小率R1と縮小率R2のうちの小さいほうの縮小率で、特定部分領域を縮小し、これを欠損領域としてコード生成部15に出力する。
 コード生成部15は、欠損領域を除いたデータセル領域に、コード化情報取得部17にて取得したコード化情報を示す二次元コードを生成し、これをベース画像に適用することで画像付きの二次元コードを生成する。欠損領域にコード情報を持たない二次元コードを生成する技術としては、既存の技術を採用することができ、二次元コードをベース画像に適用する技術としては既存の技術(例えば特許文献1の技術)を採用することができる。
 図9は、上記のようにして生成された画像付きの二次元コードの例を示す図である。この例では、ベース画像として、人物の顔の画像が用いられており、顔領域が欠損領域113(コード情報を持たない領域)とされている。顔の部分にコード情報を有していないので、顔の視覚情報を損なうことなく画像付きの二次元コード112が生成されている。なお、図9の例の画像付きの二次元コード112では、切出しシンボル101は、右上角、左下角、右下角にそれぞれ設定されている。
 また、欠損領域113が切出しシンボル101にかかっておらず、QRコード(登録商標)の切出しが不能になることもない。さらに、欠損領域113の面積のデータセル領域の面積に対する比率は誤り訂正レベル以下とされている。このため、欠損領域113を設けたことによって誤り訂正が不可能になることもない。
 コード生成部15で生成された画像付きの二次元コード112は、二次元コード生成装置10から出力されて、プリンタ等の印刷装置によって所定の紙等の媒体MDに印刷され、又は表示装置25によって表示される。表示装置25の場合、その表示画面もかかる媒体MDとして機能する。
 [第2の実施の形態]
 図10を参照して、本発明の第2の実施の形態に係る二次元コード生成装置を説明する。
 図10は、第2の実施の形態に係る二次元コード生成装置の構成を示す。この第2の実施の形態の二次元コード生成装置10´において、第1の実施の形態の二次元コード生成装置10と同じ構成については、同じ符号を付して説明を省略する。二次元コード生成装置10´は、第1の実施の形態の二次元コード生成装置10と比較すると、領域指定部18が追加されている。
 この二次元コード生成装置10´では、特定部分検出部12において、画像取得部11にて取得された原画像から被写体の特定部分を含む領域(特定部分領域)を検出できなかった場合に、ユーザが領域指定部18を用いて手動で領域を指定する。領域指定部18は、表示装置としてのタッチパネルを含んでおり、特定部分検出部12にて特定部分領域を検出できなかった場合に、領域指定用の矩形の枠をタッチパネルに表示する。ユーザは、タッチパネルに入力することにより、この枠を拡大、縮小、移動させて、領域を指定する。指定された領域の情報は、領域指定部18から欠損領域決定部16に送られ、欠損領域決定部16は、領域指定部18にて指定された矩形の領域及びコード仕様決定部14が決定したコード仕様に基づいて、欠損領域を決定する。
 本実施の形態は、原画像に人物の顔ではなく、例えばロゴなどの絵柄や文字が含まれている場合に有効である。この場合には、特定部分検出部12では、特定部分領域は検出されないが、ロゴの部分を欠損領域として二次元コードを付与することができる。
 [変形例]
 上述した各実施の形態に係る二次元コード生成装置10、10´は更に様々な形態に変形して実施することができる。
 例えば、上記の二次元コード生成装置10、10´は、画像加工部13を備え、原画像を加工したが、本発明の二次元コード生成装置は、この画像加工部13を備えていなくてもよい。この場合には、欠損領域113は第1最大欠損許容領域及び第2最大欠損許容領域の小さいほうの領域として決定される。
 また、前述した各種の実施の形態では、特定部分検出部12が原画像から矩形の顔領域を特定部分領域として検出したが、特定部分領域はこれに限られない。図11は、特定部分領域検出の変形例を示す図である。図中、特定部分領域121は、上記の実施の形態のように顔領域を特定部分領域とする例であり、特定部分領域122は、原画像から検出した目及び口を含む矩形のテンプレート形状を特定部分領域とする例であり、特定部分領域123は、原画像から検出した目及び口の領域を特定部分領域とする例である。このように、種々の特定部分領域の検出方法に応じて、種々の形状の欠損領域が決定されてよい。なお、図9、図11に示した例の場合、特定部分領域が矩形であるが、この特定部分領域は必ずしも矩形である必要はない。例えば、デザイン性をより強調した形状として、三角形、五角形等の多角形、星形、ダイヤモンド形、ハート形など、多様なものを採用してもよい。
 また、前述した各種の実施の形態では、二次元コード生成装置10、10´が特定部分検出部12を備え、原画像から特定部分を含む特定部分領域を検出したが、本発明の二次元コード生成装置は、この特定部分検出部12を備えていなくてもよい。この場合において、人物の顔をベース画像とするときは、予め欠損領域に顔の眼や鼻や口が入るように原画像を取得すればよい。この場合において、撮影によって人物の顔のベース画像を生成するときには、第1最大欠損許容領域及び第2最大欠損許容領域から欠損領域を決定して、その欠損領域を示す枠を、撮影の際のプレビュー画像に表示してもよい。
 さらに、前述した各種の実施の形態では、欠損領域は矩形であってその形状は固定されており、欠損領域は誤り訂正レベルに基づいて誤り訂正が可能な大きさにされたていたが、欠損領域の形状は誤り訂正能力を考量して基本の形状を変形させることにより決定されてもよい。これを、図12を用いて説明する。
 図12は二次元コード(QRコード)112を構成するセルを誤り訂正コード領域別に表したものである。この例において、人物の顔を手入力で決定した後、欠損領域113が二次元コード(QRコード)112の誤り訂正コード領域ECに合わせて拡張される。図12(A)には、QRコード112の誤り訂正コード領域ECを示す。同図において、白線で囲む複数の領域の一つずつが誤り訂正コード領域EC(コードワード(8セル))である。このため、同図(B)に示すように、この複数の誤り訂正コード領域ECそれぞれの一部が欠損領域113に含まれるように決められた場合、その一部を含む各誤り訂正コード領域ECは誤り訂正能力を失う。このため、その誤り訂正能力を失った誤り訂正コード領域ECそれぞれの全体を欠損領域に決定したとしても、予め設定した誤り訂正レベルの範囲内であれば、コード読取性能に影響はしない。
 そこで、欠損領域決定部16、即ちCPU24Aは、欠損領域113を同図(B)に示すように、ユーザとの間でインターラクティブに矩形状に決める。この後、欠損領域決定部16は、その矩形領域とその周辺に位置する複数の誤り訂正コード領域ECとの重なり具合をセル単位でチェックする。さらに、欠損領域決定部16は、重なる部分を持つ誤り訂正コード領域ECのそれぞれについて、各領域ECの全体を欠損領域として設定する。これにより、例えば同図(C)に示すように(拡大図を参照)、基本となる矩形状の欠損領域113から外側へ部分的にはみ出した領域が追加されて全体として不定形状の欠損領域113Aが設定される。このため、この欠損領域113Aには、コード情報は付与されない。すなわち、その欠損領域113Aにはドットが打たれないため、ドットが打たれない領域が広がった分、ベース画像の描出部分が広がる。したがって、ベース画像の特定部分に託していた意図がより明確になり、その分、見栄えがより向上する。
 さらに、上述した誤り訂正コード領域に基づく欠損領域の設定法を図13A~13Dを参照して別の例として説明する。
 図13Aは、二次元コードの誤り訂正コード領域を示す。図13Aにおいて、各誤り訂正コード領域は、太線で囲った形状をしており、これらの誤り訂正コード領域を単位として、誤り訂正が行われる。従って、1つの誤り訂正コード領域において、その一部のセルが欠損領域となる場合には、その誤り訂正コード領域は、誤り訂正の機能を果たすことができなくなる。
 図13Bは、二次元コードに矩形の欠損領域を適用した例を示す。図13Bに示すように、誤り訂正コード領域a71~a78は、矩形の欠損領域113を適用することにより、その一部が欠損領域とされるので、誤り訂正能力を失う。このことは、そのような誤り訂正コード領域a71~a78については、矩形の欠損領域113では欠損領域とされていないセルについて、それらを欠損領域としても誤り訂正能力は落ちないことを意味している。そこで、欠損領域決定部16は、そのようなセルについても、欠損領域とするように、矩形の欠損領域113を変形する。
 図13Cは、矩形の欠損領域113を変形した例を示す。欠損領域決定部16は、誤り訂正コード領域を一単位としてそれらを組み合わせることにより欠損領域を決定する。具体的には、欠損領域決定部16は、上記の実施の形態の方法で矩形の欠損領域113を決定した後に、その矩形の欠損領域113によって誤り訂正能力を失った誤り訂正コード領域a71~a78のすべてのセルを欠損領域とするように、矩形の欠損領域113を変形して、図13Cに示すように、領域113´を欠損領域として決定する。図13Cの領域113´のように欠損領域を拡大した場合も、図13Bの領域113のように欠損領域を決定した場合と比較して、誤り訂正能力は低下しない。すなわち、この変形例によれば、誤り訂正能力を損なうことなく欠損領域を拡大できる。
 誤り訂正コード領域の一部が欠損領域とされるとその誤り訂正コード領域は誤り訂正能力を失うことを利用して、欠損領域を極端に大きくすることなく、誤り訂正能力を向上することもできる。この例でも、欠損領域決定部16は、上記と同様に誤り訂正コード領域を一単位としてそれらを組み合せることにより欠損領域を決定するが、この例では、上記の実施の形態と同様にして矩形の欠損領域113を適用した後に、所定の割合(例えば50%)以上の領域が欠損領域とされている誤り訂正コード領域については、その全体を誤り訂正領域とし、誤り訂正コード領域において、欠損領域とされているのが所定の割合以下である場合には、その誤り訂正コード領域は全体を欠損領域とはせずにコード領域とする。
 図13Dは、矩形の欠損領域113を変形した別の例を示す。図13Dは図13Bに対応している。図13Dに示すように、誤り訂正コード領域a71~a74は、矩形の欠損領域113によって、50%以上の領域が欠損領域とされているので、図13Dに示すように、誤り訂正コード領域a71~a74については、全体が欠損領域となるように、矩形の欠損領域113が変形されている。一方、図13Bに示すように、誤り訂正コード領域a75~a78は、矩形の欠損領域113によって、50%未満の領域が欠損領域とされているので、図13Dに示すように、誤り訂正コード領域a71~a74については、全体が欠損領域とならないように、矩形の欠損領域113が変形されている。
 その結果、図13Dに示す欠損領域113´´のように変形される。欠損領域113´´において、全体として欠損領域とされるセル数は、もとの矩形の欠損領域113と変わらないが、誤り訂正能力を失う誤り訂正コード領域の個数は、矩形の欠損領域113では12個であったのに対して、欠損領域113´´では8個となっており、誤り訂正能力が向上している。
 さらに別の変形例を説明する。前述した実施形態に係る二次元コード生成装置10、10´は、ベース画像中の欠損領域を決定して、その領域にコード情報を持たない二次元コードを当該ベース画像に適用したが、これに限らず、本発明の二次元コード生成装置は、ベース画像中のコード情報制限領域を決定して、その領域においてコード情報が制限された二次元コードを当該ベース画像に適用するものであればよい。即ち、欠損領域は、コード情報制限領域の一例であり、コード情報制限領域には、欠損領域以外に、例えばセルが他の領域のセルより小さくされた領域、コード情報を有するセルが間引きされた領域、その他のコード情報が制限された領域が含まれる。
 以上のように、画像付きの二次元コードを生成する二次元コード生成装置10は、欠損領域を決定する欠損領域決定部16と、欠損領域にコード情報を持たない二次元コードをベース画像に適用して、画像付きの二次元コード112を生成するコード生成部15とを備えている。よって、画像付二次元コード112において、欠損領域113にはコード情報がないので、ベース画像の特定部分の視覚的情報を損なうことなく画像付きの二次元コード112を生成できる。
 また、欠損領域決定部16は、ベース画像に基づいて欠損領域113を決定する。欠損領域113が画像に基づいて決定されるので、手動で欠損領域113を設定する必要がなくなる。さらに、欠損領域決定部16は、ベース画像から検出された被写体の特定部分を含む領域を欠損領域113として決定する。従来は、ユーザが原画像、コード情報、コード仕様に基づいて、経験と勘にたよって画像付きの二次元コード112を生成していたが、上記の二次元コード生成装置10によれば、画像の特定部分領域に欠損領域113を有する画像付きの二次元コード112を自動で生成できる。
 また、上記の二次元コード生成装置10は、原画像を加工することでベース画像を生成する画像加工部13を備えている。これにより、原画像に必要な加工も自動で行うことができる。
 また、画像加工部13は、欠損領域決定部16にてベース画像に基づいて決定される欠損領域113が、四角形の二次元コードの角に設定された、画像付きの二次元コード112を撮影したコード画像から切出しシンボル101と重ならいないように、原画像を加工する。よって、切出しシンボル101が特定部分領域を含む欠損領域113とされてコード画像から画像付きの二次元コード112を切り出すことができなくなることを防止できる。また、欠損領域113がアライメントパターン等の他の特徴パターンとも重ならないようにすると、デザイン性を考慮しつつ、読取りの邪魔とならないようにデザインを確保することができる。
 また、欠損領域決定部16は、切出しシンボル101と重ならないように、欠損領域113を決定する。このため、切出しシンボル101が欠損領域113とされてコード画像から画像付きの二次元コード112を切り出すことができなくなることを防止できる。
 また、欠損領域決定部16は、切出しシンボル101と重ならない中央領域と、ベース画像から検出された被写体の特定部分を含む特定部分領域との重なる領域を欠損領域113として決定する。よって、ベース画像の特定部分の視覚的情報を損なうことなく、かつコード画像からの画像付二次元コード112の切出しを不能とすることもなく、画像付きの二次元コードを生成できる。
 また、欠損領域決定部16は、画像付きの二次元コード112に求められる誤り訂正レベルに基づいて、欠損領域113を決定する。このため、欠損領域113を設けたことによって誤り訂正が不能になることがない。
 また、欠損領域決定部16は、誤り訂正レベルに応じた最大欠損許容領域である第2最大欠損許容領域と、ベース画像から検出された被写体の特定部分を含む特定部分領域との重なる領域を欠損領域113として決定する。よって、ベース画像の特定部分の視覚的情報を損なうことなく、かつ欠損領域113を設けたことによって誤り訂正が不能になることも回避できる。
 また、上記の二次元コード生成装置10では、原画像を加工することでベース画像を生成する画像加工部13を備えている。さらに、二次元コード100は所定の位置にフォーマット情報103が含まれる。さらに、画像加工部13は、画像のエッジがフォーマット情報103の位置と重ならないように、原画像を加工する。よって、画像のエッジによってフォーマット情報103に誤りが生じることを回避できる。
 なお、上述した実施形態においては、原画像の被写体が人物の顔画像である例を説明した。しかし、繰り返しになるが、本発明に適用可能な原画像の内容は、人物の顔画像に限定されるものではない。原画像の被写体は、風景、建物、絵画、置物、宣伝用の絵、会社ロゴなど、どのようなものであってもよい。図14(A),(B)には、会社ロゴを描画して原画像に、本発明のコード生成法を適用した画像付のQRコード(登録商標)112A,112Bの例を示す。図14(A),(B)共に、会社ロゴのどの部分に欠損領域113を設定するかによって、会社ロゴの全体を背景画として薄く見せるとともに、その欠損領域113で強調された特定部分を明瞭に見せて強調し、そのデザイン性を高めることできる。勿論、必要なコード化したい情報も前述した内容と同様に付与された画像付きのQRコード(登録商標)を提供することができる。
 本発明は、ベース画像の特定部分の視覚的情報を損なうことなく、そのベース画像を用いた画像付きの二次元コードを生成できるという効果を有し、画像付きの二次元コードを生成する二次元コード生成装置等として有用である。
 10 二次元コード生成装置
 11 画像取得部(コード情報制限領域決定部)
 12 特定部分検出部(コード情報制限領域決定部)
 13 画像加工部
 14 コード仕様決定部(コード情報制限領域決定部)
 15 コード生成部
 16 欠損領域決定部(コード情報制限領域決定部)
 17 コード化情報取得部
 100 QRコード(登録商標)(二次元コード)
 101 切出しシンボル
 102 セパレータ
 103 ファーマット情報
 104 タイミングパターン
 105 データセル領域
 106 マージン
 111 第1最大欠損許容領域
 112 画像付二次元コード
 113,113A、113´、113´´ 欠損領域
 MD  二次元コードの担体としての媒体
 EC  誤り訂正コード領域

Claims (16)

  1.  二次元コード生成装置であって、
     二次元コードにおけるコード情報制限領域を決定するコード情報制限領域決定部と、
     前記コード情報制限領域においてコード情報の配置が制限された二次元コードをベース画像に適用して画像付きの二次元コードを生成するコード生成部と、
     を備えたことを特徴とする二次元コード生成装置。
  2.  前記コード情報制限領域決定部は、前記ベース画像に基づいて前記コード情報制限領域を決定することを特徴とする請求項1に記載の二次元コード生成装置。
  3.  前記コード情報制限領域決定部は、前記ベース画像中の被写体の特定部分を含む特定部分領域を前記コード情報制限領域として決定することを特徴とする請求項2に記載の二次元コード生成装置。
  4.  前記コード情報制限領域決定部は、前記ベース画像中に前記特定部分がないときに、ユーザの指定に基づいて前記コード情報制限領域を決定することを特徴とする請求項3に記載の二次元コード生成装置。
  5.  前記コード情報制限領域決定部は、誤り訂正コード領域を組み合わせることで前記コード情報制限領域を決定することを特徴とする請求項1ないし4のいずれか一項に記載の二次元コード生成装置。
  6.  前記コード情報制限領域決定部は、定型の領域を前記誤り訂正コード領域に合わせるように変形することで前記コード情報制限領域を決定することを特徴とする請求項5に記載の二次元コード生成装置。
  7.  原画像を加工することで前記ベース画像を生成する画像加工部をさらに備えたことを特徴とする請求項2ないし4の何れか一項に記載の二次元コード生成装置。
  8.  前記画像加工部は、前記コード情報制限領域決定部にて前記ベース画像に基づいて決定される前記コード情報制限領域が、前記画像付きの二次元コードの特徴パターンと重なりを排除するように、原画像を加工することを特徴とする請求項7に記載の二次元コード生成装置。
  9.  前記コード情報制限領域決定部は、前記画像付きの二次元コードの特徴パターンと重なりを排除するように、前記コード情報制限領域を決定することを特徴とする請求項1に記載の二次元コード生成装置。
  10.  前記コード情報制限領域決定部は、前記画像付きの二次元コードの特徴パターンと重ならない領域と、前記ベース画像中の被写体の特定部分を含む特定部分領域との重なる領域を前記コード情報制限領域として決定することを特徴とする請求項9に記載の二次元コード生成装置。
  11.  前記特徴パターンは、四角形の前記二次元コードの角に設定された前記画像付きの二次元コードを撮影したコード画像から前記画像付きの二次元コードを切り出すための切出しシンボルであることを特徴とする請求項8ないし10のいずれかに記載の二次元コード生成装置。
  12.  前記コード情報制限領域決定部は、前記画像付きの二次元コードに求められる誤り訂正レベルに基づいて、前記コード情報制限領域を決定することを特徴とする請求項1又は9に記載の二次元コード生成装置。
  13.  前記コード情報制限領域決定部は、前記誤り訂正レベルに応じた最大コード情報制限許容領域の大きさを超えない領域であって、前記ベース画像中の被写体の特定部分を含む特定部分領域を、前記コード情報制限領域として決定することを特徴とする請求項12に記載の二次元コード生成装置。
  14.  原画像を加工することで前記ベース画像を生成する画像加工部をさらに備え、
     前記二次元コードは、所定の位置に当該コードの制御情報を含み、
     前記画像加工部は、前記画像のエッジが前記制御情報の位置と重ならないように、前記原画像を加工する
     ことを特徴とする請求項1に記載の二次元コード生成装置。
  15.  コンピュータを、予めメモリに記憶させているプログラムを読み出して実行させることにより、
     二次元コードを生成する二次元コード生成装置であって、
     前記二次元コードおけるコード情報制限領域を決定するコード情報制限領域決定部と、
     前記コード情報制限領域にコード情報を持たない二次元コードをベース画像に適用して、画像付きの二次元コードを生成するコード生成部と、
     を備えた二次元コード生成装置として機能させるための二次元コード生成プログラム。
  16.  二次元コード生成方法であって、
     二次元コードにおけるコード情報制限領域を決定するコード情報制限領域決定ステップと、
     前記コード情報制限領域にコード情報を持たない二次元コードをベース画像に適用して、画像付きの二次元コードを生成するコード生成ステップと、
     を含むことを特徴とする二次元コード生成方法。
PCT/JP2014/057820 2013-03-27 2014-03-20 画像付の二次元コードを生成する装置及びその方法 WO2014156982A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US14/780,886 US20160078336A1 (en) 2013-03-27 2014-03-20 Apparatus and method for generating image-included two dimensional code
DE112014001662.4T DE112014001662T5 (de) 2013-03-27 2014-03-20 Vorrichtung und Verfahren zum Erzeugen eines in einem Bild enthaltenen zweidimensionalen Codes

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013-065984 2013-03-27
JP2013065984 2013-03-27

Publications (1)

Publication Number Publication Date
WO2014156982A1 true WO2014156982A1 (ja) 2014-10-02

Family

ID=51623959

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/057820 WO2014156982A1 (ja) 2013-03-27 2014-03-20 画像付の二次元コードを生成する装置及びその方法

Country Status (4)

Country Link
US (1) US20160078336A1 (ja)
JP (1) JP2014209338A (ja)
DE (1) DE112014001662T5 (ja)
WO (1) WO2014156982A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109118291A (zh) * 2018-08-29 2019-01-01 有米科技股份有限公司 广告任务推广中用户认证方法、装置和计算机设备

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763178B (zh) * 2014-01-03 2016-10-05 腾讯科技(深圳)有限公司 一种信息推送方法、服务器、用户终端以及***
US9111164B1 (en) * 2015-01-19 2015-08-18 Snapchat, Inc. Custom functional patterns for optical barcodes
JP6277981B2 (ja) 2015-03-13 2018-02-14 株式会社デンソー 情報コード画像表示システム、情報コード画像表示端末、情報コード画像表示プログラム
TWI599907B (zh) * 2015-10-29 2017-09-21 財團法人工業技術研究院 資料傳遞裝置、資料讀取裝置、資料編解碼系統及其方法
JP6465051B2 (ja) * 2016-03-04 2019-02-06 株式会社デンソーウェーブ 情報コードおよび情報コードの読取方法
CN106709543B (zh) * 2016-08-31 2019-06-28 腾讯科技(深圳)有限公司 图形标识码生成方法及装置
CN108734250B (zh) * 2018-05-29 2021-06-15 西安理工大学 基于Sobel算子的视觉二维码生成方法
CN110633773B (zh) * 2018-06-22 2022-04-12 北京京东尚科信息技术有限公司 用于终端设备的二维码生成方法和装置
KR102200161B1 (ko) * 2018-11-05 2021-01-07 상명대학교산학협력단 피듀셜 마커 영상 생성 장치 및 방법
CN114004320B (zh) * 2021-10-15 2023-11-28 库卡机器人(广东)有限公司 图形码的生成方法和装置、识别方法和装置、电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090255992A1 (en) * 2006-04-29 2009-10-15 Gmedia Corporation System for Synthesizing a Two Dimensional Code and a Logo and the Method Thereof
JP2011039878A (ja) * 2009-08-13 2011-02-24 Fuji Xerox Co Ltd 画像処理装置及びプログラム
JP2013025782A (ja) * 2011-07-25 2013-02-04 Koji Sakahashi 二次元コードを出力する計算機及び当該計算機に実行されるプログラム

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101753914B1 (ko) * 2011-06-10 2017-07-05 삼성전자주식회사 휴대단말기에서 바코드 생성 및 인식할 수 있는 장치 및 방법

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090255992A1 (en) * 2006-04-29 2009-10-15 Gmedia Corporation System for Synthesizing a Two Dimensional Code and a Logo and the Method Thereof
JP2011039878A (ja) * 2009-08-13 2011-02-24 Fuji Xerox Co Ltd 画像処理装置及びプログラム
JP2013025782A (ja) * 2011-07-25 2013-02-04 Koji Sakahashi 二次元コードを出力する計算機及び当該計算機に実行されるプログラム

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109118291A (zh) * 2018-08-29 2019-01-01 有米科技股份有限公司 广告任务推广中用户认证方法、装置和计算机设备
CN109118291B (zh) * 2018-08-29 2020-08-25 有米科技股份有限公司 广告任务推广中用户认证方法、装置和计算机设备

Also Published As

Publication number Publication date
US20160078336A1 (en) 2016-03-17
DE112014001662T5 (de) 2015-12-17
JP2014209338A (ja) 2014-11-06

Similar Documents

Publication Publication Date Title
WO2014156982A1 (ja) 画像付の二次元コードを生成する装置及びその方法
US11482040B2 (en) Face anti-counterfeiting detection methods and systems, electronic devices, programs and media
JP4557866B2 (ja) 混合コード、及び、混合コードの生成方法と装置、記録媒体
US9892525B2 (en) Saliency-preserving distinctive low-footprint photograph aging effects
US20150339838A1 (en) Image mask providing a machine-readable data matrix code
US9230343B2 (en) Image processing apparatus and storage medium
JP4694613B2 (ja) 原稿方向判定装置、原稿方向判定方法、プログラムおよびその記録媒体
GB2560456A (en) Billboard containing encoded information
KR20230012651A (ko) 이미지 기반 테이블 정보 생성 방법
WO2015068841A1 (ja) 画像付の二次元コードを作成する装置及びその方法
JP4957607B2 (ja) 画像における顔領域の検出
JP2010074342A (ja) 画像処理装置、画像形成装置、及びプログラム
JP2015049753A (ja) 2次元コードを表示する装置、方法、およびプログラムならびに2次元コードを読み取る装置、方法、およびプログラム
US9886629B2 (en) Techniques for restoring content from a torn document
JP6883199B2 (ja) 画像処理装置、画像読み取り装置、および、プログラム
JP6749519B1 (ja) 多角形検出装置、多角形検出方法、及び多角形検出プログラム
JP7230566B2 (ja) 画像形成装置
JP5865337B2 (ja) 画像処理装置及びその制御方法、プログラム
WO2018061189A1 (ja) 情報処理装置、表示方法、読取方法、およびコンピュータ読み取り可能な非一時的記憶媒体
JP2010068296A (ja) 画像処理装置と画像処理方法とプログラムとコンピュータ読み取り可能な記録媒体
US20240046057A1 (en) Information processing system
JP2010183388A (ja) 画像処理装置、プログラム
JPWO2017010351A1 (ja) 画像処理装置、画像処理方法、及びプログラム
JP6686694B2 (ja) 情報処理装置、データ配置方法、プログラム
JP5803643B2 (ja) 画像処理装置、画像処理方法およびコンピュータープログラム

Legal Events

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

Ref document number: 14774734

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14780886

Country of ref document: US

Ref document number: 112014001662

Country of ref document: DE

Ref document number: 1120140016624

Country of ref document: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14774734

Country of ref document: EP

Kind code of ref document: A1