CN201927036U - Two-dimensional coordinate scanning device for processing bar code image - Google Patents

Two-dimensional coordinate scanning device for processing bar code image Download PDF

Info

Publication number
CN201927036U
CN201927036U CN2010202130149U CN201020213014U CN201927036U CN 201927036 U CN201927036 U CN 201927036U CN 2010202130149 U CN2010202130149 U CN 2010202130149U CN 201020213014 U CN201020213014 U CN 201020213014U CN 201927036 U CN201927036 U CN 201927036U
Authority
CN
China
Prior art keywords
coordinate
scanning
bar code
image
code image
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN2010202130149U
Other languages
Chinese (zh)
Inventor
王贤福
蔡小丹
庄国梁
郑曦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujian Newland Computer Co Ltd
Original Assignee
Fujian Newland Computer Co Ltd
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 Fujian Newland Computer Co Ltd filed Critical Fujian Newland Computer Co Ltd
Priority to CN2010202130149U priority Critical patent/CN201927036U/en
Application granted granted Critical
Publication of CN201927036U publication Critical patent/CN201927036U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

The utility model provides a two-dimensional coordinate scanning device for processing a bar code image, comprising a memorizer, a scanning circuit and a coordinate transformation module, wherein the memorizer is used for storing image information and comprises an address storing space used for storing the coordinates of image pixels; the scanning circuit is used for establishing a scanning coordinate system and generating scanning coordinates; and the coordinate transformation module is connected with the memorizer and the scanning circuit, and is used for mapping the scanning coordinates generated by the scanning circuit into the address storing space of the memorizer through coordinate transformation. The device dispenses with a logic circuit, and is based on the coordinate transformation module arranged between the scanning circuit and the coordinate address memorizer to carry out coordinate system transformation on the scanning coordinates generated by the scanning circuit, thus achieving the effect of scanning the image in different directions.

Description

A kind of two-dimensional coordinate scanning device for bar code image processing
[technical field]
The utility model relates to a kind of Flame Image Process two-dimensional coordinate scanning device, relates in particular to a kind of two-dimensional coordinate scanning device for bar code image processing.
[background technology]
In the bar-code identification process, the original image information that obtains is stored in the image address space with the storage mode of a definite sequence.In the hardware Flame Image Process, the image pixel coordinate that sweep circuit produces is associated with image address, and its scanning logic of getting a little is very complicated.
In the bar code search procedure, the direction of bar code in image is unknown.Therefore in order to detect bar code, need at least to scan from orthogonal both direction (for example, horizontal direction and vertical direction); And for the bar code of mirror image, prior art then can't be discerned.
Realize in the prior art that the mode that image is scanned from different directions has following several: a kind of mode is to change the direction of scanning by the control optical system, and the optics control system that is adopted is comparatively complicated; Another kind is to get a logic by the scanning that changes sweep circuit to change the direction of scanning, and this causes the hardware configuration of sweep circuit very complicated.Technique scheme all has complex structure, is difficult for the shortcoming of implementing.
[utility model content]
In order to solve image scanning complex structure in the prior art, the problem that is difficult for enforcement, the utility model provides a kind of two-dimensional coordinate scanning device for bar code image processing based on coordinate transform, by a coordinate transformation module is set between sweep circuit and coordinate address storer, based on this coordinate transformation module the scanning coordinate that sweep circuit produces is carried out coordinate system transformation, thereby realize effect the scanning of image different directions.
The utility model provides a kind of two-dimensional coordinate scanning device for bar code image processing, and two-dimensional coordinate scanning device for bar code image processing comprises: storer; Sweep circuit; And coordinate transformation module, be connected with storer and sweep circuit.
The two-dimensional coordinate scanning device for bar code image processing that the utility model provides need not be changed the hardware configuration and the hardware logic of sweep circuit, by a coordinate transformation module is set between sweep circuit and storer, the scanning coordinate that sweep circuit is produced based on this coordinate transformation module is through coordinate transform and map to the address storage space of storer, thereby realizes bar code image is carried out the scanning of different directions.Coordinate transformation module can be realized multiple different scan pattern, fully satisfies the demand that identification is handled for bar code image, and this coordinate transformation module is very little to original hardware structure influence, have simple in structure, implement advantage easily.
[description of drawings]
The utility model is described in further detail below in conjunction with drawings and Examples, in the accompanying drawing:
Fig. 1 is the theory structure synoptic diagram according to two-dimensional coordinate scanning device for bar code image processing of the present utility model;
Fig. 2 is the synoptic diagram according to bar code image storage mode of the present utility model;
Fig. 3 is the principle schematic according to two-dimensional coordinate scanning device for bar code image processing coordinate transform of the present utility model;
Fig. 4 is that two-dimensional coordinate scanning device for bar code image processing according to the utility model one embodiment is by coordinate transform realization level and vertical scanning effect; And
Fig. 5 is the coordinate transform mode of paper being had an X-rayed bar code according to the two-dimensional coordinate scanning device for bar code image processing of the utility model one embodiment.
[embodiment]
The utility model provides a kind of two-dimensional coordinate scanning device for bar code image processing.Fig. 1 is the theory structure synoptic diagram according to two-dimensional coordinate scanning device for bar code image processing of the present utility model.As shown in Figure 1, this two-dimensional coordinate scanning device for bar code image processing comprises: storer 1, coordinate transformation module 2 and sweep circuit 3.
Storer 1 is used to store the original image information of bar code image.The original image information of bar code image comprises image pixel coordinate and image pixel gray-scale value etc.These original image informations are stored in the storer 1 with the storage mode of a definite sequence.Further, storer also comprises address storage space (figure does not show), the address storage space is used for the memory image pixel coordinate, the address that image pixel coordinate corresponding address storage space is interior, and the storage mode of image pixel coordinate in the storage space of address is sequential storage.
Fig. 2 is the synoptic diagram according to bar code image storage mode of the present utility model.As shown in Figure 2, the pixel of m * n bar code image is stored in image pixel in the address space successively with from left to right order.Pixel (x ', y ') (x ' ∈ int (0~m-1), the planimetric rectangular coordinates of y ' ∈ int (0~n-1)) remarked pixel on bar code image, each image pixel coordinate (x ', y ') an interior address F of corresponding address storage space.The gray scale of gray-scale value z remarked pixel.Gray-scale value z and pixel coordinate (x ', y ') can be placed in the array, for representing conveniently, herein with both separately expressions.According to the storage mode of image pixel coordinate in the storage space of address is that the logical relation of sequential storage can draw certain pixel coordinate (x ', y ') corresponding address and is:
F=x′+y′×m
Sweep circuit 3 is set up scan coordinate system, and (x, y), (x y) corresponding to image pixel coordinate (x ', y '), is used for the original image information in the swept memory 1 to scanning coordinate to produce scanning coordinate.
Coordinate transformation module 2 is arranged between sweep circuit 3 and the storer 1, and (x is y) through coordinate transform and map to the address storage space of storer 1 for the scanning coordinate that is used for sweep circuit 3 is produced.
Fig. 3 is the principle schematic according to two-dimensional coordinate scanning device for bar code image processing coordinate transform of the present utility model.Concrete, as shown in Figure 3, scan coordinate system has i * j pixel, and the initial pictures coordinate system has m * n pixel, and as required, i can equal m, and j can equal n.Coordinate transformation module 2 is at first with scanning coordinate S (x, y) (x ∈ int (0~i-1), y ∈ int (0~J-1)) through coordinate transform be transformed into corresponding image pixel coordinate P (x ', y ') (x ' ∈ int (0~m-1), y ' ∈ int (0~n-1)), obtain the corresponding address F in storer 1 of this image pixel coordinate P (x ', y ') by formula F=x '+y ' * m then, thereby realized image is carried out the scanning of different directions.
The coordinate transform function of coordinate transformation module 2 comprises a kind of or its combination in coordinate translation conversion, Rotating Transition of Coordinate or the coordinate axis exchange conversion at least.
The coordinate translation conversion can realize by following formula:
x ′ = x + h y ′ = y + k Translation vector
Figure DEST_PATH_GDA0000056978340000032
Wherein, (x ', y ') be the image pixel coordinate, (x y) is scanning coordinate, translation vector
Figure DEST_PATH_GDA0000056978340000033
The coordinate of initial pictures coordinate origin in the coordinate system at scanning coordinate place for image pixel coordinate place.
Rotating Transition of Coordinate can realize by following formula:
x ′ = x cos θ + y sin θ y ′ = - x sin θ + y cos θ
Wherein, (x ', y ') be the image pixel coordinate, (x y) is scanning coordinate, and θ is the angle that image pixel coordinate place initial pictures coordinate system is rotated counterclockwise with respect to scanning coordinate place coordinate system.When image pixel coordinate place coordinate system was rotated counterclockwise with respect to scanning coordinate place coordinate system, the value of θ comprised one of 0 degree, 90 degree, 180 degree or 270 degree.
Coordinate axis is exchanged conversion and can be realized by following formula:
x ′ = y y ′ = x
Wherein, (x ', y ') be the image pixel coordinate, (x y) is scanning coordinate.
Fig. 4 is that two-dimensional coordinate scanning device for bar code image processing according to the utility model one embodiment is by coordinate transform realization level and vertical scanning effect.As shown in Figure 4, by coordinate transform, in the horizontal direction, coordinate system A realized with by a left side → right side, by last → under the identical effect of scanning; Coordinate system C realized with by the right side → left side, by down → on the identical effect of scanning; Coordinate system F realized with by a left side → right side, by down → on the identical effect of scanning; And coordinate system H realized with by the right side → left side, by last → under the identical effect of scanning.In vertical direction, coordinate system B realized with by down → on, by the identical effect of the scanning on a left side → right side; Coordinate system D realized with by last → down, by the identical effect of the scanning on a right side → left side; Coordinate system E realized with by last → down, by the identical effect of the scanning on a left side → right side; And coordinate system G realized with by down → on, by the identical effect of the scanning on a right side → left side.
Especially, the utility model two-dimensional coordinate scanning device for bar code image processing also can be used for the scanning of the bar code image of paper perspective, and the scanning of the bar code image of the paper perspective of especially two-dimentional determinant bar code is as PDF417 bar code, Micro PDF417 bar code.Fig. 5 is the coordinate transform mode of paper being had an X-rayed bar code according to the two-dimensional coordinate scanning device for bar code image processing of the utility model one embodiment.As shown in Figure 5, for paper perspective bar code (mirror image), the bar empty graph case of the initial code of its bar code and end zone is identical with normal bar code, but number to put in order be opposite to the row of the row of paper perspective bar code (mirror image) number and normal bar code.And different rows number pairing decoding rule is different, if can not identify correct bar code row number, will cause and can't decode, and therefore must carry out the paper perspective and become a full member.
The embodiment that carries out the paper perspective transform that the utility model provides is: x axle and y axle are exchanged, image pixel coordinate place coordinate system is rotated counterclockwise 270 degree with respect to scanning coordinate place coordinate system, true origin is moved to (i-1,0).The utility model two-dimensional coordinate scanning device for bar code image processing has been realized the identification to paper perspective bar code (mirror image) by the combination of coordinate translation conversion, Rotating Transition of Coordinate and coordinate axis exchange conversion.
The two-dimensional coordinate scanning device for bar code image processing that the utility model provides need not be changed the hardware configuration and the hardware logic of sweep circuit, by a coordinate transformation module is set between sweep circuit and storer, the scanning coordinate that sweep circuit is produced based on this coordinate transformation module is through coordinate transform and map to the address storage space of storer, thereby realizes bar code image is carried out the scanning of different directions.Coordinate transformation module can be realized multiple different scan pattern, fully satisfies the demand that identification is handled for bar code image, and this coordinate transformation module is very little to original hardware structure influence, have simple in structure, implement advantage easily.
In the above-described embodiments, only the utility model has been carried out exemplary description, but those skilled in the art can carry out various modifications to the utility model after reading present patent application under the situation that does not break away from spirit and scope of the present utility model.

Claims (1)

1. a two-dimensional coordinate scanning device for bar code image processing is characterized in that, described two-dimensional coordinate scanning device for bar code image processing comprises:
Storer;
Sweep circuit; And
Coordinate transformation module is connected with described storer and described sweep circuit.
CN2010202130149U 2010-06-01 2010-06-01 Two-dimensional coordinate scanning device for processing bar code image Expired - Fee Related CN201927036U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010202130149U CN201927036U (en) 2010-06-01 2010-06-01 Two-dimensional coordinate scanning device for processing bar code image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010202130149U CN201927036U (en) 2010-06-01 2010-06-01 Two-dimensional coordinate scanning device for processing bar code image

Publications (1)

Publication Number Publication Date
CN201927036U true CN201927036U (en) 2011-08-10

Family

ID=44430876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010202130149U Expired - Fee Related CN201927036U (en) 2010-06-01 2010-06-01 Two-dimensional coordinate scanning device for processing bar code image

Country Status (1)

Country Link
CN (1) CN201927036U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908121A (en) * 2010-06-01 2010-12-08 福建新大陆电脑股份有限公司 Two-dimensional coordinate scanning device for bar code image processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908121A (en) * 2010-06-01 2010-12-08 福建新大陆电脑股份有限公司 Two-dimensional coordinate scanning device for bar code image processing
CN101908121B (en) * 2010-06-01 2012-12-12 福建新大陆电脑股份有限公司 Two-dimensional coordinate scanning device for bar code image processing

Similar Documents

Publication Publication Date Title
CN107194962B (en) Point cloud and plane image fusion method and device
US9977981B2 (en) Method and apparatus for calibrating a three-dimensional (3D) image in a tiled display
EP3351001B1 (en) Method for encoding a light field content
CN110637461B (en) Compact optical flow handling in computer vision systems
Parian et al. Sensor modeling, self-calibration and accuracy testing of panoramic cameras and laser scanners
CN104048652B (en) Form the method for limiting the grid of the first opposite referential
CN101908121B (en) Two-dimensional coordinate scanning device for bar code image processing
CN105046183A (en) Decoding method and system for distorted QR (Quick Response) code
Joo et al. Globally optimal inlier set maximization for Atlanta frame estimation
CN101882220A (en) Bar code image correction method based on dynamic template and method for acquiring correction point
CN201927036U (en) Two-dimensional coordinate scanning device for processing bar code image
ES2539700T3 (en) Optoelectronic code reader and procedure for diagnosis and improvement of reading behavior
CN100383810C (en) Distorted QR code image correction method
CN110651475A (en) Hierarchical data organization for dense optical flows
CN101882213B (en) Method for sampling barcode images
RU97199U1 (en) SYSTEM, MOBILE DEVICE AND READING DEVICE FOR TRANSFER OF TEXT INFORMATION USING GRAPHIC IMAGES
CN112259043A (en) Method, device and system for setting LED display screen connection line by two-dimensional code
Chen et al. A 2-point algorithm for 3D reconstruction of horizontal lines from a single omni-directional image
CN108776338A (en) Signal source space method for sensing, device and active sensor-based system
CN101908144B (en) Bar code image correction method and correction point acquisition method
US11308634B2 (en) Unsupervised anchor handling for machine vision system
CN205451193U (en) Image mapping converting means based on many camera lenses multisensor
Zhang et al. Omnidirection image restoration based on spherical perspective projection
CN105095823A (en) Imaging device of image-type barcode scanner, barcode reading method and barcode scanner
CN105046256A (en) Distortion image correction based QR (quick response) code decoding method and system

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110810

Termination date: 20170601