CN110177280A - The exposure regulating method of twodimensional decoder - Google Patents
The exposure regulating method of twodimensional decoder Download PDFInfo
- Publication number
- CN110177280A CN110177280A CN201910262453.4A CN201910262453A CN110177280A CN 110177280 A CN110177280 A CN 110177280A CN 201910262453 A CN201910262453 A CN 201910262453A CN 110177280 A CN110177280 A CN 110177280A
- Authority
- CN
- China
- Prior art keywords
- exposure
- time
- image
- decoding
- optimum gradation
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/73—Circuitry for compensating brightness variation in the scene by influencing the exposure time
Abstract
A kind of exposure regulating method of twodimensional decoder of the invention, by default optimum gradation value as reference, it is adjusted according to time for exposure of the time for exposure of the gray value of present image, optimum gradation value and present image to next frame image, until image decoding success, suitable for multi-light condition, while it is big to be applicable in bar code distance range.User can be according to actual use situation adjustment optimum gradation value and first exposed frame time to reach best decoding effect, easy to operate, practicability and effectiveness.
Description
Technical field
The present invention relates to mobile terminal bidimensional image decoding exposure technique field more particularly to a kind of exposures of twodimensional decoder
Light regulation method.
Background technique
The decoded key of bidimensional image is to obtain a well-exposed picture, and apply the two dimension in mobile terminal at present
The automatic exposure that decoder is generally carried using fixed exposure and imaging sensor, wherein using fixed exposure to external environment
The requirement of light is high, and the distance range of adaptating lighting and bar code is small, is very easy to the luminance shortage for picture occur and overexposure;Use biography
The included automatic exposure mode of sensor is adjusted although the suitable picture of sensor adjust automatically time for exposure available brightness
Whole speed is slower, especially the variation of environment light, floor light switchs movement, all adjustment time can be caused too long, obtained simultaneously
Picture brightness it is not necessarily most suitable.
Summary of the invention
The purpose of the present invention is to solve disadvantages existing in the prior art, and a kind of exposure of the twodimensional decoder proposed
Light regulation method.
To achieve the above object, present invention employs following technical solutions: a kind of exposure regulating method of twodimensional decoder,
The following steps are included:
S1. the automatic exposure function of imaging sensor is closed, first exposed frame time t0 and decoding optimum gradation are rule of thumb set
Value E0, and exposure register is written into first exposed frame time t0;
S2. present image, exposed frame time t0 headed by the time for exposure are obtained using fixed exposure;
S3. present image is decoded,
If successfully decoded, exports decoding result and terminate;
If decoding is unsuccessful, gray value of image E is calculated, time for exposure t is obtained from exposure register, according to the time for exposure
T, gray value of image E and decoding optimum gradation value E0 calculates the time for exposure t1 of next frame image, and by next frame image
Exposure register is written in time for exposure t1;
S4. present image is obtained using fixed exposure, the time for exposure is the time for exposure t1 of next frame image;
S5. step S3, S4 is repeated until successfully decoded.
Preferably, different solutions can be suitable for by adjusting first exposed frame time t0 and/or decoding optimum gradation value E0
Code-bar part is to reach best decoding.
Preferably, the time for exposure t1 of next frame image is less than when gray value of image E is greater than decoding optimum gradation value E0
Time for exposure t, when gray value of image E is less than decoding optimum gradation value E0, the time for exposure t1 of next frame image is greater than exposure
Time t.
Compared with prior art, the invention has the benefit that by default optimum gradation value as reference, according to current
The time for exposure of the gray value of image, optimum gradation value and present image is adjusted the time for exposure of next frame image, directly
Until image decoding success, it is suitable for multi-light condition, while it is big to be applicable in bar code distance range.User can be according to reality
Service condition adjusts optimum gradation value and first exposed frame time to reach best decoding effect, easy to operate, practicability and effectiveness.
Detailed description of the invention
Fig. 1 is the flow diagram of the exposure regulating method of the twodimensional decoder of one embodiment of the invention.
Specific embodiment
To make to have further understanding to the purpose of the present invention, construction, feature and its function, hereby cooperate embodiment detailed
It is described as follows.
Please refer to Fig. 1, the exposure regulating method of twodimensional decoder of the invention, comprising the following steps:
S1. the automatic exposure function of imaging sensor is closed, first exposed frame time t0 and decoding optimum gradation are rule of thumb set
Value E0, and exposure register is written into first exposed frame time t0;
S2. present image, exposed frame time t0 headed by the time for exposure are obtained using fixed exposure;
S3. present image is decoded,
If successfully decoded, exports decoding result and terminate;
If decoding is unsuccessful, gray value of image E is calculated, time for exposure t is obtained from exposure register, according to the time for exposure
T, gray value of image E and decoding optimum gradation value E0 calculates the time for exposure t1 of next frame image, and by next frame image
Exposure register is written in time for exposure t1;
S4. present image is obtained using fixed exposure, the time for exposure is the time for exposure t1 of next frame image;
S5. step S3, S4 is repeated until successfully decoded.
In the method, the decoding optimum gradation value E0 of default setting corresponds to optimum solution code-bar part.In step s3, it decodes
When unsuccessful, if gray value of image E is greater than decoding optimum gradation value E0, illustrate that the brightness of present image is greater than best decoding
The brightness of image, at this time, it may be necessary to shorten the time for exposure, therefore, the time for exposure t1 of next frame image is less than time for exposure t;Phase
Anti-, if gray value of image E is greater than decoding optimum gradation value E0, illustrate that the brightness of present image is less than best decoding image
Brightness, at this time, it may be necessary to prolonging exposure time, therefore, the time for exposure t1 of next frame image is greater than time for exposure t.In reality
In use process, by reasonably adjusting optimum gradation value E0, decoding time can be shortened and reaching optimal decoding effect.
By adjusting first exposed frame time t0 and/or decoding optimum gradation value E0 can be suitable for different decoding conditions with
Reach best decoding.
The exposure regulating method of twodimensional decoder of the invention, by default optimum gradation value as reference, according to current
The time for exposure of the gray value of image, optimum gradation value and present image is adjusted the time for exposure of next frame image, directly
Until image decoding success, it is suitable for multi-light condition, while it is big to be applicable in bar code distance range.User can be according to reality
Service condition adjusts optimum gradation value and first exposed frame time to reach best decoding effect, easy to operate, practicability and effectiveness.
The present invention is described by above-mentioned related embodiment, however above-described embodiment is only to implement example of the invention.
It must be noted that the embodiment disclosed is not limiting as the scope of the present invention.On the contrary, do not depart from spirit of the invention and
It is changed and retouched made by range, belongs to scope of patent protection of the invention.
Claims (3)
1. a kind of exposure regulating method of twodimensional decoder, which comprises the following steps:
S1. the automatic exposure function of imaging sensor is closed, first exposed frame time t0 and decoding optimum gradation are rule of thumb set
Value E0, and exposure register is written into first exposed frame time t0;
S2. present image, exposed frame time t0 headed by the time for exposure are obtained using fixed exposure;
S3. present image is decoded,
If successfully decoded, exports decoding result and terminate;
If decoding is unsuccessful, gray value of image E is calculated, time for exposure t is obtained from exposure register, according to the time for exposure
T, gray value of image E and decoding optimum gradation value E0 calculates the time for exposure t1 of next frame image, and by next frame image
Exposure register is written in time for exposure t1;
S4. present image is obtained using fixed exposure, the time for exposure is the time for exposure t1 of next frame image;
S5. step S3, S4 is repeated until successfully decoded.
2. the exposure regulating method of twodimensional decoder as described in claim 1, which is characterized in that when by adjusting first exposed frame
Between t0 and/or decoding optimum gradation value E0 can be suitable for different decoding conditions to reach best decoding.
3. the exposure regulating method of twodimensional decoder as described in claim 1, which is characterized in that when gray value of image E is greater than
When decoding optimum gradation value E0, the time for exposure t1 of next frame image is less than time for exposure t, when gray value of image E is less than decoding
When optimum gradation value E0, the time for exposure t1 of next frame image is greater than time for exposure t.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910262453.4A CN110177280A (en) | 2019-04-02 | 2019-04-02 | The exposure regulating method of twodimensional decoder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910262453.4A CN110177280A (en) | 2019-04-02 | 2019-04-02 | The exposure regulating method of twodimensional decoder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110177280A true CN110177280A (en) | 2019-08-27 |
Family
ID=67689005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910262453.4A Pending CN110177280A (en) | 2019-04-02 | 2019-04-02 | The exposure regulating method of twodimensional decoder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110177280A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030068638A1 (en) * | 2001-08-03 | 2003-04-10 | William Cork | Nanoparticle imaging system and method |
JP2008123562A (en) * | 2008-02-22 | 2008-05-29 | Casio Comput Co Ltd | Code reader |
JP2008123563A (en) * | 2008-02-22 | 2008-05-29 | Casio Comput Co Ltd | Code reader |
CN101783888A (en) * | 2010-03-23 | 2010-07-21 | 中国科学院西安光学精密机械研究所 | Automatic exposure method based on analogous column diagram |
CN106657807A (en) * | 2017-03-09 | 2017-05-10 | 上海航天控制技术研究所 | Automatic exposure method of color camera |
-
2019
- 2019-04-02 CN CN201910262453.4A patent/CN110177280A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030068638A1 (en) * | 2001-08-03 | 2003-04-10 | William Cork | Nanoparticle imaging system and method |
JP2008123562A (en) * | 2008-02-22 | 2008-05-29 | Casio Comput Co Ltd | Code reader |
JP2008123563A (en) * | 2008-02-22 | 2008-05-29 | Casio Comput Co Ltd | Code reader |
CN101783888A (en) * | 2010-03-23 | 2010-07-21 | 中国科学院西安光学精密机械研究所 | Automatic exposure method based on analogous column diagram |
CN106657807A (en) * | 2017-03-09 | 2017-05-10 | 上海航天控制技术研究所 | Automatic exposure method of color camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5981053B2 (en) | Imaging device with scene-adaptive automatic exposure compensation | |
CN102694981B (en) | Automatic exposure method based on adaptive threshold segmentation and histogram equalization | |
US9654701B2 (en) | Global display management based light modulation | |
CN105208281B (en) | A kind of night scene image pickup method and device | |
CN105578068B (en) | A kind of generation method of high dynamic range images, device and mobile terminal | |
JP2010501898A (en) | Dynamic automatic exposure compensation for image capture devices | |
JP2007065608A (en) | Device and method for improving image contrast | |
US10742897B2 (en) | Low-power auto-exposure control (AEC) for multi-sensor systems | |
KR20130035682A (en) | Method and apparatus for controlling of image output in projector | |
CN103685973B (en) | Method and device for local area exposure adjustment on basis of encoder | |
JP2004274637A (en) | Portable terminal, light luminance changing method using the same, and its program | |
JP4949612B2 (en) | Image processing method for improving contrast in digital display panel | |
KR100614334B1 (en) | Image processing device | |
CN112422934A (en) | Projection device and brightness adjusting method thereof | |
CN110177280A (en) | The exposure regulating method of twodimensional decoder | |
KR20030097261A (en) | Method for controlling exposure of digital camera | |
JP2022160498A (en) | Projection controller, projector, projection control method, and program | |
US10534249B2 (en) | Control apparatus, projection display apparatus and non-transitory computer-readable storage medium | |
JP2005203942A (en) | Projection type video display device | |
CN110418066B (en) | Image processing method, device, equipment and storage medium | |
US20110221932A1 (en) | Apparatus and method for processing image, and computer-readable storage medium | |
CN114339061A (en) | Quick response automatic exposure control method | |
US10762830B2 (en) | Display apparatus, method, and storage medium | |
KR100686358B1 (en) | Image improving system and method thereof | |
US20230395004A1 (en) | Projection apparatus controlling light emission amount according to projected image, control method of projection apparatus, and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190827 |
|
RJ01 | Rejection of invention patent application after publication |