2D Code Color Adaptation for Image Readability
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for printing two-dimensional codes alongside images often result in the code being printed outside the image area or in a way that diminishes the aesthetic quality of the image, and they may not ensure clear readability due to contrast issues.
Innovation Solution
An image processing apparatus that acquires color information from the region where the two-dimensional code is to be printed and its peripheral region, and uses this information to determine the colors of the foreground and background of the code, ensuring a high contrast ratio for clear readability while harmonizing with the image.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Area of stationary object
If the two-dimensional code is printed on a partial region of the photographic image, then the code and image both fit within the printable region, but the aesthetic quality of the image is diminished and a sense of incongruity is generated
Solution Approach 1:
The patent applies color changes by adjusting the transparency of the two-dimensional code to match the background image colors. The code's color parameters are modified so that it blends harmoniously with the underlying photographic image, eliminating the sense of incongruity while maintaining readability through sufficient contrast.
Solution Approach 2:
The patent applies local quality by making different parts of the two-dimensional code have different transparency levels. The background region behind the code maintains its original image qualities, while the code regions adjust their transparency based on local background characteristics, creating a harmonious integration.
2Ease of manufacture
If the transmittance of the partial region of the two-dimensional code is adjusted to match background colors, then the code harmonizes with the image, but the contrast ratio decreases and readability diminishes when gradation step differences are large
Solution Approach 1:
The patent applies parameter changes by dynamically adjusting the transparency parameter of the two-dimensional code based on the background image characteristics. The system calculates appropriate transparency values that maintain both aesthetic harmony and sufficient contrast for readability, modifying the code's visual parameters to adapt to different background conditions.
3Measurement precision
If the two-dimensional code is printed with high contrast colors (white and black), then the code is easily readable, but it creates a sense of incongruity and diminishes the beauty of the photographic image
Solution Approach 1:
The patent applies color changes by replacing the traditional high-contrast black and white color scheme with colors that match the background image. The two-dimensional code adopts color parameters from the underlying photographic image, creating visual harmony while maintaining sufficient contrast through transparency adjustments rather than extreme color differences.
Data Source
AI summary
An image processing apparatus according to the present invention includes a processor, and a memory storing a program which, when executed by the processor, causes the image processing apparatus to perform acquisition processing to acquire color information of at least one of a region in which a two-dimensional code is to be disposed and a peripheral region of the region on an image, and perform drawing processing to draw the two-dimensional code on the image, wherein in the drawing processing, respective colors of a foreground and a background of the two-dimensional code are determined based on the color information.


