Barcode Region Specification in Image Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing image processing techniques fail to accurately specify an object range within an image that includes a barcode, often resulting in extra blanks being included in the output, which can lead to separation of partial images and inefficient printing.
Innovation Solution
An image processing device that acquires target image data, specifies barcodes, determines a direction perpendicular to the bars of the barcode, and separates the image into object and blank ranges to output a partial image excluding residual blanks, using a controller and memory to execute operations such as generating projection histograms and determining printing directions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If horizontal and vertical histograms are used to specify barcode region, then barcode reading and decoding is enabled, but extra blanks are included in the output image
Solution Approach 1:
The image is divided into multiple partial images along the direction perpendicular to the barcode bars. The controller specifies object ranges and blank ranges separately for each partial image, then outputs only the object ranges. This segmentation approach allows precise control over which regions are included in the output, eliminating extra blanks while preserving the barcode and necessary surrounding content.
Solution Approach 2:
Different processing is applied to different regions of the image. The controller identifies and treats object ranges (containing barcode and necessary content) differently from blank ranges (empty spaces). By applying local quality control - outputting object ranges while excluding blank ranges - the system achieves both accurate barcode specification and elimination of unnecessary blanks.
2Productivity
If simple histogram-based barcode region specification is used, then processing is simple and fast, but object range specification is inaccurate
Solution Approach 1:
The image is divided into multiple partial images along the direction perpendicular to the barcode bars. The controller specifies object ranges and blank ranges separately for each partial image, then outputs only the object ranges. This segmentation approach allows precise control over which regions are included in the output, eliminating extra blanks while preserving the barcode and necessary surrounding content.
Solution Approach 2:
Instead of processing the entire image uniformly, the controller performs histogram analysis and range specification only on relevant partial images containing the barcode. This partial action approach maintains processing efficiency while achieving accurate object range specification where needed.
Data Source
AI summary
An image processing device includes: a controller; and memory storing instructions that, when executed by the controller, cause the controller to perform operations including: acquiring target image data, in which a target image based on the target image data includes a plurality of partial images including a barcode; specifying the barcode in the target image; deciding a first direction being a direction perpendicular to bars making at least one specified barcode; specifying a blank range where the partial image is not positioned in the first direction and an object range where the partial image is positioned in the first direction; separating the target image to one or more separated target images in accordance with the specified blank range and the specified object range, the separated target image including the object range and excluding the blank range; and outputting image data corresponding to the separated target images.


