# US 2013/0153661 A1 · Image processing device, image processing method, and computer-readable recording medium storing image processing program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0153661 A1
- Document ID: US20130153661A1
- Status: Published application
- Kind: A1
- Application number: 13/692,484
- Filed: 2012-12-03
- Published: 2013-06-20
- Earliest claimed: 2011-12-19
- Assignees: Fujitsu Limited
- Inventors: Nobuyasu YAMAGUCHI
- Web page: https://patentgrep.com/patent/US20130153661A1

## CPC

- G06K 7/10851: {Circuits for pulse shaping, amplifying, eliminating noise signals, checking the function of the sensing device (basic electronic circuitry H03)}
- G06K 7/14: using light without selection of wavelength, e.g. sensing reflected white light {(G06K7/10831 - G06K7/1097 take precedence)}
- G06K: GRAPHICAL DATA READING (image or video recognition or understanding G06V); PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS

## Abstract

An image processing device includes: a memory that stores a program including a procedure; and a processor that executes the program, the procedure including: acquiring an image including a plurality of pixels, and changing luminance of the pixel that is included in either a high luminance part of a barcode region or a low luminance part the barcode region, the barcode region being set on the image, based on a luminance difference between the high luminance part and the low luminance part.

## Claims

### Claim 1

An image processing device comprising:
a memory that stores a program including a procedure; and
a processor that executes the program, the procedure comprising:
acquiring an image including a plurality of pixels, and
changing luminance of the pixel that is included in either a high luminance part of a barcode region or a low luminance part the barcode region, the barcode region being set on the image, based on a luminance difference between the high luminance part and the low luminance part.

### Claim 2 (depends on 1)

The image processing device according to claim 1, wherein the changing comprises:
extracting line data of a line along a barcode reading direction in the barcode region on the image,
performing, on the extracted line data, smoothing processing for removing a high-frequency component generated due to luminance change in a width shorter than the minimum width of any of the parts of the barcode corresponding to the high luminance part or the low luminance arranged along the barcode reading direction,
calculating a moving average level Yn_ave of luminance level Yn for n-th pixel in the line corresponding to the line data that has been subjected to the smoothing processing,
comparing a difference between the luminance level Yn of the n-th pixel in the line corresponding to the line data that has been subjected to the smoothing processing and the moving average level Yn_ave and a minimum detectable difference, 2×Ymin, in luminance level between a high luminance part and an adjacent low luminance part of the barcode with which barcode reading can be performed,
changing the luminance level of the n-th pixel corresponding to the high luminance part of the barcode to Yn_ave+Ymin only in a case where Yn−Yn_ave≧Ymin is not satisfied, and
changing the luminance level of the n-th pixel corresponding to the low luminance part of the barcode to Yn_ave−Ymin only in a case where Yn_ave−Yn≧Ymin is not satisfied.

### Claim 3 (depends on 1)

The image processing device according to claim 1, the procedure further comprising:
acquiring information related to an image capturing date and time of the image,
wherein the barcode region represents the information.

### Claim 4 (depends on 1)

The image processing device according to claim 1, wherein the changing merges a one-dimensional barcode into the barcode region.

### Claim 5 (depends on 1)

The image processing device according to claim 1, wherein the changing merges a two-dimensional barcode into the barcode region.

### Claim 6

An image processing method executed by a computer comprising:
acquiring an image including a plurality of pixels, and
changing luminance of the pixel that is included in either a high luminance part of a barcode region or a low luminance part the barcode region, the barcode region being set on the image, based on a luminance difference between the high luminance part and the low luminance part.

### Claim 7 (depends on 6)

The image processing method according to claim 6, wherein the changing comprises:
extracting line data of a line along a barcode reading direction in the barcode region on the image,
performing, on the extracted line data, smoothing processing for removing a high-frequency component generated due to luminance change in a width shorter than the minimum width of any of the parts of the barcode corresponding to the high luminance part or the low luminance arranged along the barcode reading direction,
calculating a moving average level Yn_ave of luminance level Yn for n-th pixel in the line corresponding to the line data that has been subjected to the smoothing processing,
comparing a difference between the luminance level Yn of the n-th pixel in the line corresponding to the line data that has been subjected to the smoothing processing and the moving average level Yn_ave and a minimum detectable difference, 2×Ymin, in luminance level between a high luminance part and an adjacent low luminance part of the barcode with which barcode reading can be performed,
changing the luminance level of the n-th pixel corresponding to the high luminance part of the barcode to Yn_ave+Ymin only in a case where Yn−Yn_ave≧Ymin is not satisfied, and
changing the luminance level of the n-th pixel corresponding to the low luminance part of the barcode to Yn_ave−Ymin only in a case where Yn_ave−Yn≧Ymin is not satisfied.

### Claim 8 (depends on 6)

The image processing method according to claim 6, further comprising:
acquiring information related to an image capturing date and time of the image,
wherein the barcode region represents the information.

### Claim 9 (depends on 6)

The image processing method according to claim 6, wherein the changing merges a one-dimensional barcode into the barcode region.

### Claim 10 (depends on 6)

The image processing method according to claim 6, wherein the changing merges a two-dimensional barcode into the barcode region.

### Claim 11

A computer-readable recording medium storing an image processing program for causing a computer to execute a process for processing images, the process comprising:
acquiring an image including a plurality of pixels, and
changing luminance of the pixel that is included in either a high luminance part of a barcode region or a low luminance part the barcode region, the barcode region being set on the image, based on a luminance difference between the high luminance part and the low luminance part.

### Claim 12 (depends on 11)

The computer-readable recording medium according to claim 11, wherein the changing comprises:
extracting line data of a line along a barcode reading direction in the barcode region on the image,
performing, on the extracted line data, smoothing processing for removing a high-frequency component generated due to luminance change in a width shorter than the minimum width of any of the parts of the barcode corresponding to the high luminance part or the low luminance arranged along the barcode reading direction,
calculating a moving average level Yn_ave of luminance level Yn for n-th pixel in the line corresponding to the line data that has been subjected to the smoothing processing,
comparing a difference between the luminance level Yn of the n-th pixel in the line corresponding to the line data that has been subjected to the smoothing processing and the moving average level Yn_ave and a minimum detectable difference, 2×Ymin, in luminance level between a high luminance part and an adjacent low luminance part of the barcode with which barcode reading can be performed,
changing the luminance level of the n-th pixel corresponding to the high luminance part of the barcode to Yn_ave+Ymin only in a case where Yn−Yn_ave≧Ymin is not satisfied, and
changing the luminance level of the n-th pixel corresponding to the low luminance part of the barcode to Yn_ave−Ymin only in a case where Yn_ave−Yn≧Ymin is not satisfied.

### Claim 13 (depends on 11)

The computer-readable recording medium according claim 11, the process further comprising:
acquiring information related to an image capturing date and time of the image,
wherein the barcode region represents the information.

### Claim 14 (depends on 11)

The computer-readable recording medium according to claim 11, wherein the changing merges a one-dimensional barcode into the barcode region.

### Claim 15 (depends on 11)

The computer-readable recording medium according to claim 11, wherein the changing merges a two-dimensional barcode into the barcode region.
