Method and apparatus for processing graphic symbol and computer-readable storage medium
AssigneeContemporary Amperex Technology (Hong Kong) Limited
InventorsXiaoyi Chen, Fei Chen, Guannan Jiang
Life of this patent
Estimating the term…
Abstract
A method for processing graphic symbol includes obtaining a luminance component image of a to-be-processed image, performing binarization processing based on the luminance component image of the to-be-processed image to obtain a binarized image, and performing a grayscale morphological operation based on the binarized image to obtain a target image, wherein the to-be-processed image has a graphic symbol.
Claims18
A method for processing a graphic symbol, comprising:
- obtaining a luminance component image of a to-be-processed image including the graphic symbol, the graphic symbol comprising at least one of a data matrix quick code and a portable data file (PDF) quick code, wherein
- luminance of the luminance component image corresponds to a luminance channel and chromaticity of the to-be-processed image corresponds to a chrominance channel,
- the luminance channel having a sampling rate higher than the chrominance channel, and
- the obtaining the luminance component image of the to-be-processed image includes converting a color space of the to-be-processed image to a target color space for separating the luminance and the chromaticity for improved recognition of the graphic symbol;
- performing binarization processing based on the luminance component image of the to-be-processed image to obtain a binarized image;
- and
- performing a grayscale morphological operation based on the binarized image to obtain a target image.
An apparatus for processing a graphic symbol, comprising:
- circuitry configured to:
- obtain a luminance component image of a to-be-processed image including the graphic symbol, the graphic symbol comprising at least one of a data matrix quick code and a portable data file (PDF) quick code, wherein
- luminance of the luminance component image corresponds to a luminance channel and chromaticity of the to-be-processed image corresponds to a chrominance channel,
- the luminance channel having a sampling rate higher than the chrominance channel, and
- the obtaining the luminance component image of the to-be-processed image includes converting a color space of the to-be-processed image to a target color space for separating the luminance and the chromaticity for improved recognition of the graphic symbol;
- perform binarization processing based on the luminance component image of the to-be-processed image to output a binarized image;
- and
- perform a grayscale morphological operation based on the binarized image to output a target image.
A non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium comprising:
- a computer program stored in the medium;
- and when the computer program runs on a computer, the computer is caused to perform a method for processing a graphic symbol, the method including:
- obtaining a luminance component image of a to-be-processed image including the graphic symbol, the graphic symbol comprising at least one of a data matrix quick code and a portable data file (PDF) quick code, wherein
- luminance of the luminance component image corresponds to a luminance channel and chromaticity of the to-be-processed image corresponds to a chrominance channel,
- the luminance channel having a sampling rate higher than the chrominance channel, and
- the obtaining the luminance component image of the to-be-processed image includes converting a color space of the to-be-processed image to a target color space for separating the luminance and the chromaticity for improved recognition of the graphic symbol;
- performing binarization processing based on the luminance component image of the to-be-processed image to obtain a binarized image;
- and
- performing a grayscale morphological operation based on the binarized image to obtain a target image.
Dependencies are inferred from the claim text.