CN105095813B - The reading method and equipment of Ultraluminescence bar code - Google Patents

The reading method and equipment of Ultraluminescence bar code Download PDF

Info

Publication number
CN105095813B
CN105095813B CN201410217534.XA CN201410217534A CN105095813B CN 105095813 B CN105095813 B CN 105095813B CN 201410217534 A CN201410217534 A CN 201410217534A CN 105095813 B CN105095813 B CN 105095813B
Authority
CN
China
Prior art keywords
bar code
color
color filter
image
filter
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.)
Active
Application number
CN201410217534.XA
Other languages
Chinese (zh)
Other versions
CN105095813A (en
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.)
Shenzhen Taibo Xunrui Technology Co ltd
Original Assignee
Mores Electronics Technology Inc Co Of Shenzhen
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 Mores Electronics Technology Inc Co Of Shenzhen filed Critical Mores Electronics Technology Inc Co Of Shenzhen
Priority to CN201410217534.XA priority Critical patent/CN105095813B/en
Publication of CN105095813A publication Critical patent/CN105095813A/en
Application granted granted Critical
Publication of CN105095813B publication Critical patent/CN105095813B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of reading method and equipment of Ultraluminescence bar code, the reading method comprises the following steps:S1, with ultraviolet source irradiation stealth Ultraluminescence bar code and excited as visible state;S2, collection are activated into the bar code image of visible state;S3, bar code image is filtered, decoding process, to obtain corresponding bar code information;S4, output bar code information;Wherein, step S3 includes:S3.1, select a color filter to be filtered processing to bar code image from multiple predetermined color filters, generate gray-value image;S3.2, decoding process is carried out to gray-value image, step S4 is performed if successfully decoded obtains corresponding bar code information;The return to step S3.1 if unsuccessful.The present invention is distinguished by color filter to stealthy Ultraluminescence bar code, easy to use, and improves the applicability of recognition.

Description

The reading method and equipment of Ultraluminescence bar code
Technical field
The present invention relates to technical field of image processing, more specifically to a kind of reading method of Ultraluminescence bar code And equipment.
Background technology
The principle that ultraviolet light fluorescence material sends visible ray is:When in atom in ultraviolet radioactive photon and fluorescent material Electron collision when, it brings up to electronics higher energy level, and subsequent excited electron is discharged into relatively low energy level and with visible ray In the range of lower energy photon form light.
Fluoresent printing ink (Ultraviolet Fluorescent Ink) is corresponding visible glimmering by being added in ink Optical compounds and it is manufactured.Because fluorescent component and ratio are different, the bar pattern printed using fluoresent printing ink, in normal light It can be invisible (stealth) under line, or present and print different shinny color with conventional printing ink;And under ultraviolet light, The phosphor pattern of clear light or the light of exception can be showed.Different fluorescence material, the ultraviolet source of different wave length and it Combination, the color of the phosphor pattern presented can be varied:Such as red, yellow, green, blue.
By the form for exciting color change, colourless, coloured and tenebrescent ink is divided into.After the printing of colorless fluorescent ink Pattern it is stealthy under natural light, the phosphor pattern of clear light is showed under ultraviolet light, it is bright in luster.Colored fluorescent Ink has color under natural light, and original color is shinny under uviol lamp, and fluorescent effect is presented.Tenebrescent ink is in natural light It is lower that a kind of color is presented, another fluorescence color is then presented under uviol lamp.
The bar code printed using fluoresent printing ink, have naked eyes invisible or be not clear to, can not replicate (chromatography) The advantages that, can be applied to bill, card, cigarette, wine, medicine, the label of cosmetics, packaging, specification etc. have it is higher it is false proof will The printing asked, is with a wide range of applications.Therefore, it is necessary to design a kind of bar code recognizing apparatus, fluoresent printing ink is entered The bar code of row printing is distinguished.
The content of the invention
The technical problem to be solved in the present invention is, there is provided a kind of reading method of Ultraluminescence bar code easy to use and Equipment.
The technical solution adopted for the present invention to solve the technical problems is:A kind of recognition side of Ultraluminescence bar code is provided Method, comprise the following steps:
S1, with ultraviolet source irradiation stealth Ultraluminescence bar code and excited as visible state;
S2, collection are activated into the bar code image of visible state;
S3, the bar code image is filtered, decoding process, to obtain corresponding bar code information;
S4, the output bar code information;
Wherein, step S3 includes:
S3.1, a color filter is selected to be filtered the bar code image from multiple predetermined color filters Processing, generate gray-value image;
S3.2, decoding process is carried out to the gray-value image, performed if successfully decoded obtains corresponding bar code information Step S4;The return to step S3.1 if unsuccessful.
Preferably, in the step S3.2, work as successfully decoded, then filter color predetermined corresponding to this successfully decoded Ripple device is as preferred filter;Preferentially using the preferred filter to the bar that is gathered during bar code reading next time Code image is filtered processing.
Preferably, the reading method also includes S0 before the step S1, determines predetermined color filter;The step Rapid S0 includes:
S0.1, with ultraviolet source irradiation be used for determine predetermined color filter stealthy Ultraluminescence bar code and swashed Send out as visible state;
S0.2, collection are activated into the bar code image of visible state;
S0.3, from multiple color filters, select a color filter to the bar code figure that is gathered by pre-defined rule As being filtered processing, gray-value image is generated;
S0.4, decoding process is carried out to the gray-value image, to obtain corresponding bar code information;, will if successfully decoded Color filter corresponding to successfully decoded is as predetermined color filter;The return to step S0.3 if unsuccessful.
Preferably, repeating said steps S0.1-S0.4, respectively to a variety of stealths for being used to determine predetermined color filter Ultraluminescence bar code is distinguished, to obtain multiple predetermined color filters.
Preferably, in the step S3.1, the color filter be the color filter based on RGB color model, Color filter based on HSI color models, the color filter based on HSV color models, the color based on HSL color models Wave filter, the color filter based on CMY color models or the color filter based on CMYK color models.
The present invention provides the reading method of another Ultraluminescence bar code, comprises the following steps:
S1 ', with ultraviolet source irradiation stealth Ultraluminescence bar code and excited as visible state;
S2 ', collection are activated into the bar code image of visible state;
S3 ', processing is filtered to the bar code image using a predetermined color filter, generates gray value figure Picture;
S4 ', decoding process is carried out to the gray-value image, obtain corresponding bar code information;
S5 ', the output bar code information.
The present invention also provides a kind of recognizing apparatus of Ultraluminescence bar code, including:
For irradiating stealthy Ultraluminescence bar code and the bar code being excited into the ultraviolet source for visible state;
For gathering the image acquisition device for the bar code image for being activated into visible state;
For receiving the bar code image of described image collector collection and using predetermined color filter to the bar code Image is filtered processing, generates the filter unit of gray-value image;
For carrying out decoding process to the gray-value image to obtain the decoder of corresponding bar code information;And
The output unit that the bar code information is exported.
Preferably, the filter unit includes one or more color filters;The predetermined color filter is from more Select to determine in the individual color filter.
Preferably, the recognizing apparatus also includes:
Selecting unit using color filter predetermined corresponding to successfully decoded as preferred filter, wherein, next Processing preferentially is filtered to the bar code image gathered using the preferred filter during secondary bar code reading.
Preferably, the color filter is the color filter based on RGB color model, based on HSI color models It is color filter, the color filter based on HSV color models, the color filter based on HSL color models, color based on CMY The color filter of color model or the color filter based on CMYK color models.
The present invention is distinguished by the color filter of software form to stealthy Ultraluminescence bar code, easy to use, phase The optically filtering piece used compared with traditional recognizing apparatus, improves the applicability of recognition, can be to a variety of stealthy Ultraluminescence bar codes Distinguished, it is multiple relative without being purchased for the Ultraluminescence bar code of different fluorescence colors, fluorescence bands or fluorescence material The recognizing apparatus answered, so as to reduce use cost.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the reading method flow chart of the Ultraluminescence bar code of one embodiment of the invention;
Fig. 2 is the reading method flow chart of the Ultraluminescence bar code of another embodiment of the present invention;
Fig. 3 is the structural representation of colour wheel corresponding to HSI wave filters in the present invention;
Fig. 4 is the recognizing apparatus logic chart of the Ultraluminescence bar code of one embodiment of the invention.
Embodiment
As shown in figure 1, the reading method of the Ultraluminescence bar code of one embodiment of the invention, comprises the following steps:
S1, with ultraviolet source irradiation stealth Ultraluminescence bar code and excited as visible state.
Stealthy Ultraluminescence bar code is formed by the ink printing added with visible fluorescence compound, by adding heterogeneity Or the visible fluorescence compound of ratio, the bar code of different excitation state colors is can print into, can be presented under ultraviolet light visible The bar code of state.In the step, Ultraluminescence bar code is first excited using ultraviolet source, is easy to follow-up bar code image to gather.Institute The bar code stated can be one-dimension code or Quick Response Code.
S2, collection are activated into the bar code image of visible state.
In step S2, the bar code image of collection is converted into the color digital image based on RGB color model, for after The filtration treatment of continuous predetermined color filter.
S3, bar code image is filtered, decoding process, to obtain corresponding bar code information.Bar code figure in the step As being the color digital image based on RGB color model.
S4, output bar code information.
Wherein, step S3 includes:
S3.1, a predetermined color filter is selected to filter bar code image from multiple predetermined color filters Ripple processing, generates gray-value image;
S3.2, decoding process is carried out to gray-value image, step is performed if successfully decoded obtains corresponding bar code information S4;The return to step S3.1 if unsuccessful.In step S3.2, decoding process step can be divided into two steps:S3.2.1, to ash Angle value image carries out module positioning, and numerical matrix corresponding to extraction;S3.2.2, logarithm value matrix carry out decoding process, to obtain Obtain bar code information.
Specifically, in step S3.1, processing is first filtered to bar code image using a predetermined color filter, Generate gray-value image;The gray-value image carries out decoding process in step S3.2, if successfully decoded obtains corresponding bar Code information then performs step S4, output bar code information, and recognition terminates;The return to step S3.1 if unsuccessful, select another pre- Fixed color filter is filtered processing to bar code image, generates gray-value image;Followed by step S3.2 is carried out, until solution Code success, obtains corresponding bar code information and exports.In addition, in step S3.1, can by pre-defined rule such as successively, traversal rule Select predetermined color filter to be filtered processing to bar code image, avoid the repetition to predetermined color filter from selecting.
In step s3, described color filter is present in the form of software filter, and software filter includes institute The parameter information of color need to be filtered out.The stealthy Ultraluminescence bar code distinguished as needed therefrom selects corresponding color filter to make For predetermined color filter, filtration treatment is carried out to stealthy Ultraluminescence bar code.In actual applications, it is necessary to be distinguished Stealthy Ultraluminescence bar code when the fluorescent wavelength ranges after being excited are unknown, use all colours wave filter to be distinguished with To successfully decoded, operational ton is big, the time of consuming is more, influences decoding effect.Therefore, more will often be made by advance setting By the use of color filter as predetermined color filter, be then directly filtered in recognition using predetermined color filter Processing, by follow-up decoding process, bar code decoding is rapidly successfully obtained into bar code information, it is easy to use, from without according to It is secondary to be filtered processing using all or most of color filter, avoid excessive time consumption caused by a large amount of operations;It is logical Cross and multiple predetermined color filters are set, suitable for the recognition of a variety of stealthy Ultraluminescence bar codes, set compared to tradition recognition The standby optically filtering piece used, improves the applicability of recognition, is not required to be directed to different fluorescence colors, fluorescence bands or fluorescence material Stealthy Ultraluminescence bar code purchase a variety of corresponding recognizing apparatus, so as to significantly reduce use cost.
Further, in step S3.2, successfully decoded is worked as, then by color filter predetermined corresponding to this successfully decoded Device is as preferred filter;During bar code image recognition next time it is preferential using preferred filter to the bar code that is gathered Image is filtered processing.In bar code image recognition next time, step S3.1, using preferred filter to being gathered Bar code image is filtered processing, generates gray-value image;Decoding process is carried out in step S3.2, to gray-value image, if solution Code successfully obtains corresponding bar code information, then performs step S4, output;The return to step S3.1 if unsuccessful, using another pre- Fixed color filter is handled bar code image, until successfully decoded.
It is to be appreciated that when distinguishing first, the bar code image gathered first is carried out by predetermined color filter Processing, decoding, and using that predetermined color filter corresponding to successfully decoded as preferred filter.Certainly, it is decoded into The predetermined color filter corresponding to work(is probably first wave filter handled, it is also possible to second or the 3rd The wave filter of successfully decoded is even more just obtained followed by processing.When distinguishing for second, then preferred filter pair is first used The bar code image of second of collection is handled, decoded, and successfully decoded then obtains corresponding bar code information;Decode it is unsuccessful then after It is continuous that bar code image is handled again using next predetermined color filter, decoded, until successfully decoded, and should know for second That predetermined color filter corresponding to reading successfully decoded is used as preferred filter again.
When to being distinguished with a collection of stealthy Ultraluminescence bar code, then preferred filter determined by recognition for the first time, after Continuous distinguished to the note of instruction code is all handled using the preferred filter, decoded, and is not required to reuse other predetermined colors Filter process, efficiency are fast.When then being distinguished to another batch of stealthy Ultraluminescence bar code, then to the first of the note of instruction code Another preferred filter is redefined during secondary recognition, to be handled, decoded, by that analogy.
The reading method of the embodiment also includes S0 before step S1, determines predetermined color filter;Step S0 can Including:
S0.1, with ultraviolet source irradiation be used for determine predetermined color filter stealthy Ultraluminescence bar code and swashed Send out as visible state.Stealthy Ultraluminescence bar code for determining predetermined color filter is that follow-up needs are distinguished Stealthy Ultraluminescence bar code sample.
S0.2, collection are activated into the bar code image of visible state.
S0.3, from multiple color filters, select a color filter to the bar code figure that is gathered by pre-defined rule As being filtered processing, gray-value image is generated.Pre-defined rule for successively or traversal etc. rule, color is selected by pre-defined rule Wave filter is filtered processing to bar code image, avoids the repetition to color filter from selecting.
S0.4, decoding process is carried out to gray-value image, to obtain corresponding bar code information;If successfully decoded, will decode Color filter is as predetermined color filter corresponding to success;The return to step S0.3 if unsuccessful.
Step S0 may also include:S0.5, output bar code information.
Specifically, in step S0.3, in multiple color filters, sequentially first using a color filter to being gathered Bar code image be filtered processing, generate gray-value image;In step S0.4, the gray-value image is carried out at decoding Reason, successfully decoded then obtain corresponding bar code information, and perform step S0.5, output, and color corresponding to successfully decoded is filtered Ripple device is stored as predetermined color filter;Unsuccessful then return to step S0.3 is decoded, uses next color filter Device is handled the bar code image gathered, until successfully decoded, and corresponding color filter is stored as pre- Fixed color filter.
In above-mentioned steps S0, the stealthy Ultraluminescence bar code for determining predetermined wave filter can be a kind of or more Kind;Preferably, multiple predetermined color filters are determined using a variety of stealthy Ultraluminescence bar codes.By repeating S0.1- S0.4, it is used to determine that the stealthy Ultraluminescence bar code of predetermined color filter is distinguished to a variety of respectively, obtains multiple pre- Fixed color filter.
Predetermined color filter quantity should not be too many, can cause operation of the software to image filtering more, time-consuming too much, shadow Decoding effect is rung, such as may be set to less than 20, the quantity of the predetermined color filter can actually use according to user to be carried out Set.In software filter, there can be storage module to store predetermined color filter.In software filter, can have There are mode of learning and use pattern, with reference to step S0 operations after mode of learning it is determined that during predetermined color filter, is selected; When bar code reading is carried out in actual use, then use pattern is selected, with reference to step S1-S4 to obtain bar code information.
When distinguishing a certain stealthy Ultraluminescence bar code in actual applications, all predetermined color filters decode It is unsuccessful, then not have the color filter to stealthy Ultraluminescence bar code should be planted in predetermined color filter temporarily, now Mode of learning can be entered back into, is operated using step S0, redefines predetermined color filter.
According to practical application, when user only needs to distinguish a kind of stealthy Ultraluminescence bar code, to make recognition more quick It is convenient, a predetermined color filter can be only set.As shown in Fig. 2 the knowledge of another embodiment of the present invention Ultraluminescence bar code Reading method, comprises the following steps:
S1 ', with ultraviolet source irradiation stealth Ultraluminescence bar code and excited as visible state.
S2 ', collection are activated into the bar code image of visible state.
S3 ', processing is filtered to bar code image using a predetermined color filter, generates gray-value image.Should Predetermined color filter carries out operation acquisition with reference to the step S0 of above-described embodiment, it is possible to understand that ground, the predetermined color filter Ripple device can also be changed according to the replacing of stealthy Ultraluminescence bar code.
S4 ', decoding process is carried out to gray-value image, obtain corresponding bar code information.
S5 ', output bar code information.
Further, the color filter in the embodiment shown in above-mentioned Fig. 1, Fig. 2 may be based on the face of RGB color model Color filter (hereinafter referred to as rgb filter).
Described rgb filter, its form are presented with one or one group of R, G, B color component.Multiple rgb filters point Multiple wave bands in other corresponding wavelength 430-790nm visible rays, each wave band is with its centre wavelength or centre wavelength and its neighbouring R, G, B color component corresponding to wave band represent, the i.e. corresponding rgb filter of R, G, B color component.For example, by wavelength 430-790nm visible rays are divided into multiple wave bands, wherein the centre wavelength of a wave band is 760nm, R, G, B corresponding to the centre wavelength Color component is R226, G63, B25, and the rgb filter for including the software form of R, G, B color component parameter then corresponds to The wave band, this rgb filter can be used for bar code image of the filtration treatment fluorescence color in the wavelength band.
Generally, it is 430-790nm that wavelength of fluorescence, which is presented, after stealthy Ultraluminescence bar code is illuminated, different a variety of stealths After Ultraluminescence bar code is illuminated present wavelength of fluorescence can in 430-790nm in different-waveband, the quantity of wave band according to The precision of division determines.Therefore, to should different-waveband in 430-790nm, there is different corresponding R, G, B color components Rgb filter, such as 430-790nm is divided into 100 wave bands, then then there are 100 rgb filters and 100 wave bands It is corresponding.Predetermined rgb filter is to select to determine from all rgb filters, multiple predetermined rgb filters pair The wave band answered can be continuous or discrete.In step S2 and step S2 ', the bar code image of collection with based on The color digital image of RGB color model is sent in rgb filter, should be based on RGB color model to be filtered processing Digital picture has corresponding R, G, B color component, therefore with corresponding wave band;R, G, B in predetermined rgb filter In the case that wave band representated by color component is consistent with wave band representated by R, G, B color component of bar code image, this is predetermined After rgb filter is filtered processing to the bar code image, the gray-value image of the generation then successfully decoded in subsequent step, obtain To corresponding bar code information.
In step S2 and step S2 ', the collection of bar code image can be realized by image acquisition device;Image acquisition device can wrap Include but be not limited to cmos image sensor or ccd image sensor.Different imaging sensors is exportable to be based on different colored moulds The image data format of type, the color conversion algorithm between different color models can be integrated in software filter.
The color filter in embodiment shown in above-mentioned Fig. 1, Fig. 2 is alternatively the color filter based on HSI color models Device (hereinafter referred to as HSI wave filters).Described HSI wave filters, its form is with the H (tone) of one or one group color, S (saturations Degree), I (intensity) components are presented.In step s 2, the coloured image of the bar code image of collection in an rgb format is sent to software In wave filter, for the processing of HSI filter filterings;Therefore in HSI filter filtering before processings, in addition to RGB color mould will be based on The color digital image of type is converted into the color digital image of HSI forms.The switch process can be completed in software filter, or Completed before bar code image reaches software filter.
Multiple HSI wave filters correspond to multiple sector regions in colour wheel (or colour disk) respectively, and each HSI wave filter is corresponding Color component in each sector region.Each sector region all has corresponding angle, and the quantity of sector region is according to division Precision determine that the quantity of HSI wave filters corresponds to the quantity of sector region;And there can be part weight per two adjacent sector regions It is folded, so as to which color component corresponding to corresponding every two neighboring HSI wave filters can also overlap.For example, as shown in figure 3, Colour wheel is divided with 60 ° of sector region, two neighboring sector region has the overlapping of 10 ° of regions, so as to which colour wheel is divided into 36 It is anti-that individual sector region, the i.e. corresponding HSI wave filter of each of which sector region, therefore HSI wave filters are used for filtration treatment Penetrate bar code image of the color in corresponding sector region.Sequentially it is filtered multiple fans corresponding to multiple HSI wave filters of processing Shape region can be distributed counterclockwise or clockwise on colour wheel along colour wheel.
One or more predetermined HSI wave filters select determination, multiple predetermined HSI wave filters from multiple HSI wave filters Corresponding multiple sector regions are in the colour wheel to be continuous or discrete.H, S, I component and bar in predetermined HSI wave filters It is raw after the predetermined HSI wave filters are filtered processing to the bar code image in the case that H, S, the I component of code image are consistent Into gray-value image in subsequent step successfully decoded, obtain corresponding bar code information.
It is to be appreciated that the color filter in embodiment shown in above-mentioned Fig. 1, Fig. 2 also may be based on HSV color models Color filter, the color filter based on HSL color models, the color filter based on CMY color models or be based on The color filter of CMYK color models.Wherein, (H tones, S saturation degrees, V are bright for the color filter based on HSV color models Degree) and color filter (H tones, S saturation degrees, L lightness) principle based on HSL color models be same as HSI wave filters;It is based on The color filter (C cyans, M magentas, Y yellow) of CMY color models and the color filter (C based on CMYK color models Cyan, M magentas, Y yellow, K black) principle is same as rgb filter.
As shown in figure 4, the recognizing apparatus of the Ultraluminescence bar code of one embodiment of the invention, including ultraviolet source 10, image Collector 20, filter unit 30, decoder 40 and output unit 50;Wherein, ultraviolet source 10 is stealthy ultraviolet glimmering for irradiating Optical bar code simultaneously excites the bar code for visible state;Image acquisition device 20 is used to gather the bar code figure for being activated into visible state Picture;Filter unit 30 is used to receive the bar code image of image acquisition device collection and using predetermined color filter to bar code image It is filtered processing, generation gray-value image;Decoder 40 is used to carry out decoding process to gray-value image to obtain accordingly Bar code information;Output unit 50 is then exported bar code information.
Wherein, image acquisition device 20 may include but be not limited to cmos image sensor or ccd image sensor;Wherein, Cmos image sensor is using CMOS (Complementary Metal Oxide Semiconductor, complementary metal oxidation Thing semiconductor) technique make color sensitive chip.Current common cmos image sensor, there is three kinds of basic colors:R (red), G (green), B (indigo plant).A kind of information of color component can only be obtained on each pixel.That typically export is Bel (Bayer) template CFA (Color Filter Array) image, the basic module of this template is 2x2 pixel:One right Two points of linea angulata are all G components;Another cornerwise two point one is R component, and one is B component.When carrying out figure During the color component processing of picture, according to the color component of each pixel surrounding pixel point, can calculate this pixel R, G, B component.The bar code image of collection is converted into the color digital image based on RGB color model by the image acquisition device 20, Filter unit is then forwarded to be handled.Accordingly, color filter be filtered processing bar code image it is actual be based on RGB The color digital image of color model.
Wherein, filter unit 30 includes one or more color filters;Predetermined color filter is filtered from multiple colors Select to determine in ripple device.Predetermined color filter is one or more, it is determined that mode mainly distinguished as needed Color filter corresponding to stealthy Ultraluminescence bar code selection.The quantity of predetermined color filter can be according to practical application needs Carry out selection determination;Quantity should not be too many, and then operation is more, time-consuming too much, influences decoding effect, and quantity such as can be less than 20.
Filter unit 30 is software filter.Color filter may be based on the color filter of RGB color model, be based on The color filter of HSI color models, the color filter based on HSV color models, the color filter based on HSL color models Device, the color filter based on CMY color models or color filter based on CMYK color models etc..It is described based on RGB The color filter (hereinafter referred to as rgb filter) of color model, its form are in one or one group of R, G, B color component It is existing;Multiple wave bands in multiple rgb filters difference corresponding wavelength 430-790nm visible rays, each wave band with its centre wavelength, Or R, G, B color component corresponding to centre wavelength and its neighbouring wave band represent, R, G, B color component i.e. corresponding RGB Wave filter.The described color filter (hereinafter referred to as HSI wave filters) based on HSI color models, its form is with one or one The group H (tone) of color, S (saturation degree), I (intensity) components are presented;Multiple HSI wave filters correspond to colour wheel (or colour disk) respectively In multiple sector regions, each HSI wave filter corresponds to the color component in each sector region.Each sector region all has There is corresponding angle, the quantity of sector region determines that the quantity of HSI wave filters corresponds to the number of sector region according to the precision of division Amount;The described color filter based on HSV color models and the color filter principle based on HSL color models is same as HSI wave filters;Color filter based on CMY color models and the color filter principle based on CMYK color models are same as Rgb filter.The rgb filter and HSI filtering implement bodies can refer to corresponding rgb filter and HSI in above-mentioned reading method Described in wave filter, it will not be repeated here.
Correspondingly HSI wave filters, HSV wave filters or HSL wave filters, the recognizing apparatus may also include conversion module, for inciting somebody to action Color digital image based on RGB color model is converted into based on HSI color models, HSV color models or HSL color models Color digital image;The modular converter can be integrated in filter unit 30 or independently of filter unit 30.
Decoder 40 may include graphics processing unit and decoding unit;Graphics processing unit is used to carry out gray-value image Module positions, and numerical matrix corresponding to extraction;Decoding unit is used for logarithm value matrix and carries out decoding process, to obtain bar code letter Breath.
Further, the recognizing apparatus also includes selecting unit 60, for color predetermined corresponding to successfully decoded to be filtered Ripple device as preferred filter, wherein, preferentially using preferred filter to being gathered during the bar code reading next time Bar code image is filtered processing.Described filter unit 30, decoder 40, output unit 50 and selecting unit 60 can be The program performed on micro controller unit, microcontroller (MCU) or digital signal processor (DSP).
Preferred filter can be fixed or dynamic.For example, selecting unit 60 will solution after first time is distinguished A predetermined color filter corresponding to code success as preferred filter, if in second recognition through the preferred filter at The bar code image of reason is remained to be decoded success, then the preferred filter is kept constant;If when distinguishing for second by the preferred filter The bar code image decoding of ripple device processing is unsuccessful, and by successfully decoded after another predetermined color filter processing, then select Unit 60 is using another predetermined color filter again as preferred filter.When distinguishing stealthy Ultraluminescence bar code, pass through Directly invoke predetermined color filter and be filtered processing, efficiency high., will by selecting unit 60 after recognition decoding first Predetermined color filter corresponding to this time processing is predetermined as first during to distinguish next time as preferred filter Color filter is filtered processing to bar code image.
From the foregoing, color filter of the recognizing apparatus by software form, can be to a variety of stealthy Ultraluminescence bars Code is distinguished, and the optically filtering piece used compared to traditional recognizing apparatus, is improved applicability and is reduced use cost.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various changes, combination and change.Within the spirit and principles of the invention, made Any modification, equivalent substitution and improvements etc., should be included within scope of the presently claimed invention.

Claims (10)

1. a kind of reading method of Ultraluminescence bar code, it is characterised in that comprise the following steps:
S1, with ultraviolet source irradiation stealth Ultraluminescence bar code and excited as visible state;
S2, collection are activated into the bar code image of visible state;
S3, the bar code image is filtered, decoding process, to obtain corresponding bar code information;The bar code image is base In the color digital image of RGB color model;
S4, the output bar code information;
Wherein, step S3 includes:
S3.1, select from multiple predetermined color filters from a color filter is filtered to the bar code image Reason, generate gray-value image;The color filter exists in the form of software filter, and the ginseng of color is filtered out including needed for Number information;
S3.2, decoding process is carried out to the gray-value image, step is performed if successfully decoded obtains corresponding bar code information S4;The return to step S3.1 if unsuccessful.
2. the reading method of Ultraluminescence bar code according to claim 1, it is characterised in that in the step S3.2, Work as successfully decoded, then using color filter corresponding to this successfully decoded as preferred filter;In bar code reading next time During processing preferentially is filtered to the bar code image gathered using the preferred filter.
3. the reading method of Ultraluminescence bar code according to claim 1, it is characterised in that the reading method is in the step Also include S0 before rapid S1, determine predetermined color filter;The step S0 includes:
S0.1, with ultraviolet source irradiation be used for determine predetermined color filter stealthy Ultraluminescence bar code and excited for Visible state;
S0.2, collection are activated into the bar code image of visible state;
S0.3, from multiple color filters, by pre-defined rule select a color filter bar code image gathered is entered Row filtering process, generate gray-value image;
S0.4, decoding process is carried out to the gray-value image, to obtain corresponding bar code information;If successfully decoded, will decode Color filter is as predetermined color filter corresponding to success;The return to step S0.3 if unsuccessful.
4. the reading method of Ultraluminescence bar code according to claim 3, it is characterised in that repeating said steps S0.1- S0.4, it is used to determine that the stealthy Ultraluminescence bar code of predetermined color filter is distinguished to a variety of respectively, it is multiple to obtain Predetermined color filter.
5. the reading method of the Ultraluminescence bar code according to claim any one of 1-4, it is characterised in that in the step In S3.1, the color filter is the color filter based on RGB color model, the color filter based on HSI color models Device, the color filter based on HSV color models, the color filter based on HSL color models, based on CMY color models Color filter or the color filter based on CMYK color models.
6. a kind of reading method of Ultraluminescence bar code, it is characterised in that comprise the following steps:
S1 ', with ultraviolet source irradiation stealth Ultraluminescence bar code and excited as visible state;
S2 ', collection are activated into the bar code image of visible state;
S3 ', processing is filtered to the bar code image using a predetermined color filter, generates gray-value image;Institute It is the color digital image based on RGB color model to state bar code image;The color filter is deposited in the form of software filter , and filter out including needed for the parameter information of color;
S4 ', decoding process is carried out to the gray-value image, obtain corresponding bar code information;
S5 ', the output bar code information.
A kind of 7. recognizing apparatus of Ultraluminescence bar code, it is characterised in that including:
For irradiating stealthy Ultraluminescence bar code and the bar code being excited into the ultraviolet source for visible state;
For gathering the image acquisition device for the bar code image for being activated into visible state;
For receiving the bar code image of described image collector collection and using predetermined color filter to the bar code image It is filtered processing, generates the color filter unit of gray-value image;
For carrying out decoding process to the gray-value image to obtain the decoder of corresponding bar code information;And
The output unit that the bar code information is exported;
The bar code image of collection is converted into the color digital image based on RGB color model by described image collector;The face Color filter unit is software filter.
8. the recognizing apparatus of Ultraluminescence bar code according to claim 7, it is characterised in that the filter unit includes one Individual or multiple color filters;The predetermined color filter selects to determine from multiple color filters.
9. the recognizing apparatus of Ultraluminescence bar code according to claim 7, it is characterised in that the recognizing apparatus also includes:
Selecting unit using color filter predetermined corresponding to successfully decoded as preferred filter, wherein, next time Processing preferentially is filtered to the bar code image gathered using the preferred filter during bar code reading.
10. the recognizing apparatus of the Ultraluminescence bar code according to claim any one of 7-9, it is characterised in that the color Wave filter is the color filter based on RGB color model, the color filter based on HSI color models, based on HSV colour moulds The color filter of type, the color filter based on HSL color models, the color filter based on CMY color models are based on The color filter of CMYK color models.
CN201410217534.XA 2014-05-22 2014-05-22 The reading method and equipment of Ultraluminescence bar code Active CN105095813B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410217534.XA CN105095813B (en) 2014-05-22 2014-05-22 The reading method and equipment of Ultraluminescence bar code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410217534.XA CN105095813B (en) 2014-05-22 2014-05-22 The reading method and equipment of Ultraluminescence bar code

Publications (2)

Publication Number Publication Date
CN105095813A CN105095813A (en) 2015-11-25
CN105095813B true CN105095813B (en) 2018-03-13

Family

ID=54576210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410217534.XA Active CN105095813B (en) 2014-05-22 2014-05-22 The reading method and equipment of Ultraluminescence bar code

Country Status (1)

Country Link
CN (1) CN105095813B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109359713A (en) * 2018-08-24 2019-02-19 杭州中粮包装有限公司 It is a kind of mark and preparation method thereof, reading method
JP7425281B2 (en) * 2018-10-23 2024-01-31 株式会社デンソーウェーブ Information code reader
CN111598200A (en) * 2020-05-26 2020-08-28 成都鹏业软件股份有限公司 Two-dimensional code generation method based on photochromic material
CN111896513A (en) * 2020-08-13 2020-11-06 广东省林业科学研究院 Big data statistical analysis system for residual detection of toxic and harmful substances

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073855A (en) * 2011-01-17 2011-05-25 万志平 Portable equipment capable of identifying various concealed information implanted in goods and identification method for concealed information
CN102446263A (en) * 2010-10-15 2012-05-09 北京赛腾工业标识系统有限公司 Collection method of bar code information data of product
CN102855510A (en) * 2011-07-01 2013-01-02 中国人民银行印制科学技术研究所 Anti-fake product and identification method thereof
CN103645617A (en) * 2013-12-24 2014-03-19 深圳市乐普泰科技股份有限公司 Color fluorescent anti-counterfeiting invisible ink powder and preparation method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446263A (en) * 2010-10-15 2012-05-09 北京赛腾工业标识系统有限公司 Collection method of bar code information data of product
CN102073855A (en) * 2011-01-17 2011-05-25 万志平 Portable equipment capable of identifying various concealed information implanted in goods and identification method for concealed information
CN102855510A (en) * 2011-07-01 2013-01-02 中国人民银行印制科学技术研究所 Anti-fake product and identification method thereof
CN103645617A (en) * 2013-12-24 2014-03-19 深圳市乐普泰科技股份有限公司 Color fluorescent anti-counterfeiting invisible ink powder and preparation method thereof

Also Published As

Publication number Publication date
CN105095813A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN105095813B (en) The reading method and equipment of Ultraluminescence bar code
EP2940628B1 (en) Information code, information code generation method, information code reader device, and information code usage system
EP2937817B1 (en) Information code, information code generation method, information code reader device, and information code usage system
US8500023B2 (en) System and method for providing sufficient illumination quality for barcodes captured with a color image sensor
JPWO2009054363A1 (en) Information code
EP1443452A3 (en) Two-dimensional code, methods and apparatuses for generating, displaying and reading same
JP3910705B2 (en) Two-dimensional code, stealth code, information code reader and stealth code reader
JP2007536837A (en) System and method for color matching overprinted documents
CN105719274B (en) Edge inspection system and method
CN101860676A (en) Imaging terminal with colour correction
CN109978111A (en) Matrix two-dimensional code, its generation, coding/decoding method and its equipment
JP5018686B2 (en) Information code, information code generation method, and information code display method
CN111686455B (en) Toy with identification code
CN103561190B (en) Image reading device and system
US9836634B2 (en) Ultraviolet fluorescent barcode reading method and device
JP4394133B2 (en) Information code, information code reader
RU2006106737A (en) METHOD FOR OBTAINING A LUMINESCENT IMAGE FROM DOTS WITHOUT OVERLAYING AND THE RELATED LUMINESCENT IMAGE
WO2020227598A1 (en) Instant ticket redundancy via multi-chromatic indicia with photoreceptor sensitivity to different wavelengths of light
RU2436157C2 (en) Method of encoding and decoding data
CN114374785A (en) Optical information acquisition device and optical information acquisition method
JPS61233876A (en) Optical reader
JPH06111084A (en) Graphic code and its deciphering method and its device
JP2008188830A (en) Process printing method and printing data creating device
CN110365861B (en) Fluorescent ink image reading method and device, storage medium and processor
CN110276431A (en) A kind of production method and false-proof detection method of fluorescent three-dimensional code

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231206

Address after: Room 1301, 13th Floor, Building A, Building A, Building B, C, and D, No. 8 Shazui Road, Shazui Community, Shatou Street, Futian District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Taibo Xunrui Technology Co.,Ltd.

Address before: 518057 floor 5 (1), Section 1, building 25, industrial plant, science and Technology Park, Central District, high tech Zone, Nanshan District, Shenzhen, Guangdong Province

Patentee before: SHENZHEN MINDE ELECTRONICS TECHNOLOGY Ltd.

TR01 Transfer of patent right