CN102984463A - Method and system for image processing - Google Patents

Method and system for image processing Download PDF

Info

Publication number
CN102984463A
CN102984463A CN2012103400717A CN201210340071A CN102984463A CN 102984463 A CN102984463 A CN 102984463A CN 2012103400717 A CN2012103400717 A CN 2012103400717A CN 201210340071 A CN201210340071 A CN 201210340071A CN 102984463 A CN102984463 A CN 102984463A
Authority
CN
China
Prior art keywords
exposure
average brightness
image
video data
image processing
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
Application number
CN2012103400717A
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.)
QIHAN TECHNOLOGY Co Ltd
Original Assignee
QIHAN TECHNOLOGY 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 QIHAN TECHNOLOGY Co Ltd filed Critical QIHAN TECHNOLOGY Co Ltd
Priority to CN2012103400717A priority Critical patent/CN102984463A/en
Publication of CN102984463A publication Critical patent/CN102984463A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Studio Devices (AREA)

Abstract

The invention provides a method for image processing. The method for the image processing comprises an image exposure adjusting processing method. The image exposure adjusting processing method includes the following steps: A. Acquiring a brightness average value of video data in an exposure measurement area of the video data. B. Comparing the brightness average value with a mode brightness average value, increasing exposure parameters and carrying out step C if the brightness average value is smaller than the mode brightness average value; decreasing the exposure parameters and carrying out the step C if the brightness average value is bigger than the mode brightness average value; maintaining the exposure parameters if the brightness average value is equal to the mode brightness average value. C. Transmitting the changed exposure parameters to an image sensor. The method and the system for the image processing have the advantages that the method for the image processing is capable of significantly increasing exposure response speed and improving camera exposure speed.

Description

Image processing method and system
Technical field
The present invention relates to image processing field, relate in particular to image processing method and system.
Background technology
In current intelligent security guard industry, owing to need to carry out more Intelligent treatment to video, for example intelligent video identification, so the requirement to picture quality is more and more higher, especially in the more and more general situation of high-definition camera, how to comply with the fast change and obtain the problem that high quality graphic becomes each manufacturer's research of different video occasion.
Traditional video camera exposure all is the CPU that adopts in the special-purpose asic chip, calculate the brightness value of the video data of output, then by serial communication interface the exposure parameter that draws is write in the open register of imageing sensor, then imageing sensor can respond the output video data at next frame.Because the CPU arithmetic speed is limited, video rate is higher, and the CPU of asic chip inside can't provide exposure change processing scheme in current image frame at present, and several frames even tens frames so the exposure response can lag behind cause the video camera film speed fast not.
Summary of the invention
In order to solve the fast not problem of video camera film speed in the prior art, the invention provides a kind of image processing method.
The invention provides a kind of image processing method, comprise image exposure adjustment processing method, this image exposure is adjusted processing method and is comprised the steps:
A. obtain the average brightness of video data in the exposure measuring and calculating zone of video data;
B. average brightness and pattern average brightness compare, such as average brightness less than the pattern average brightness, increase exposure parameter and execution in step C so; Such as average brightness greater than the pattern average brightness, reduce exposure parameter and execution in step C so; Identical with the pattern average brightness such as average brightness, do not change exposure parameter so;
C. the exposure parameter after will changing transfers to imageing sensor.
As a further improvement on the present invention, in described steps A, comprise the steps:
A1. calculate all rgb values of range statistics video data in exposure;
A2. then all rgb value additions are obtained the average brightness of video data divided by the pixel number.
As a further improvement on the present invention, in described steps A 1, by FPGA unit all rgb values at exposure measuring and calculating range statistics video data.
As a further improvement on the present invention, in described step C, the exposure parameter after the change is transferred to imageing sensor by serial line interface.
As a further improvement on the present invention, this image processing method comprises that also image color draws high method, and this image color draws high method and the exposure adjustment processing method is finished in same frame; Draw high in the method at image color and to comprise the steps:
(1). the bright dark distribution situation of the scope of each pixel point value of statistical picture, judgement entire image;
(2) ratio of selecting image color to draw high according to the bright dark distribution situation of entire image.
The present invention also provides a kind of image processing system, comprising:
Acquisition module is used for the regional average brightness that obtains video data of exposure measuring and calculating at video data;
Comparison module is used for average brightness and pattern average brightness and compares;
Transport module, the exposure parameter after being used for changing transfers to imageing sensor.
As a further improvement on the present invention, described acquisition module comprises:
Statistical module is used for all rgb values at exposure measuring and calculating range statistics video data;
Computing module is for the average brightness that then all rgb value additions is obtained video data divided by the pixel number.
The invention has the beneficial effects as follows: this image processing method can promote the speed of exposure response greatly, accelerates the video camera film speed.
Description of drawings
Fig. 1 is the flow chart that image exposure of the present invention is adjusted processing method.
Fig. 2 is the flow chart that image exposure of the present invention is adjusted processing method one embodiment.
Fig. 3 is the flow chart that image color of the present invention draws high method.
Embodiment
As shown in Figure 1, the invention discloses a kind of image processing method, comprise image exposure adjustment processing method, this image exposure is adjusted processing method and is comprised that step S1 is to step S3.
In step S1, obtain the average brightness of video data in the exposure measuring and calculating zone of video data.
In step S2, average brightness and pattern average brightness compare, such as average brightness less than the pattern average brightness, increase exposure parameter and execution in step S3 so; Such as average brightness greater than the pattern average brightness, reduce exposure parameter and execution in step S3 so; Identical with the pattern average brightness such as average brightness, do not change exposure parameter so.
In step S3, the exposure parameter after the change is transferred to imageing sensor.
As shown in Figure 2, in described step S1, comprise following two step: step SS1, at all rgb values of exposure measuring and calculating range statistics video data; Then step SS2 obtains all rgb value additions the average brightness of video data divided by the pixel number.
In described step SS1, by FPGA unit all rgb values at exposure measuring and calculating range statistics video data.
In step S3, the exposure parameter after the change is transferred to imageing sensor by serial line interface.
In step S1,3/4ths zone line is set is exposure measuring and calculating zone.In step S2, according to different scene fine setting pattern average brightness, such as the 12bit pixel value, the pattern average brightness is 1280 so.
In addition; high-definition camera system of the prior art is more and more higher to the requirement of wide dynamically (HDR/WDR); and the good transducer of cost performance itself does not have the wide dynamic ability of supporting at present; so the user can improve the frame per second of obtaining image usually; such as being 30Hz originally, the user rises to 60Hz with frame per second now, adopts overexposure and owes to expose to the sun to operate twice; then with two width of cloth image co-registration, to reach the wide dynamic images of 30Hz.Under static shooting target, this scheme is feasible, if but monitoring objective is moving, and mobile speed has surpassed the response speed of 60Hz, the so this wide dynamic approach of taking two frames to merge will obtain the image of serious smear, has affected greatly the video monitoring quality.
In order to solve the serious problem of image streaking, image processing method of the present invention comprises that also image color draws high method, and this image color draws high method and the exposure adjustment processing method is finished in same frame.
As shown in Figure 3, draw high at image color and comprise following two steps in the method:
The bright dark distribution situation of the scope of each pixel point value of step Q1. statistical picture, judgement entire image;
The ratio that step Q2. selects image color to draw high according to the bright dark distribution situation of entire image.In step Q2, take the data of 12bit bit wide as the basis, drawing high desired value is 8bit.The section of drawing high is 3 sections, and the ratio that draws high is difference along with the different light environment.
The average brightness that exposure measuring and calculating zone obtains is in conjunction with the parameter of the average brightness selection exposure of view picture picture, and the corresponding ratio that draws high that arranges.
The present invention passes through FPGA unit performing step S1 to step S3.
Simultaneously, in same frame, the scope of the value of each pixel of statistical picture is mainly judged the bright dark distribution situation of entire image with this, with this ratio of selecting image color to draw high.Equally, just can draw assessed value in two field picture the inside.Because any sub-picture has the ranks blanking zone, so with the single clock disposal ability of FPGA unit, draw a conclusion in the horizontal blanking district of last several row of image, and parameter is assigned to lower width of cloth image.
In conjunction with the Total tune that exposes and color draws high, will give lower two field picture with good processing.Reach higher picture quality.
The present invention adopts the FPGA unit to realize that present frame calculates, and present frame is provided exposure and the wide method that dynamically draws high, give the next frame image response, will greatly promote the speed of exposure response, and the dynamic range of the image that greatly stretched can not brought any smear effect simultaneously.
The invention discloses a kind of image processing system, comprising: acquisition module is used for the regional average brightness that obtains video data of exposure measuring and calculating at video data; Comparison module is used for average brightness and pattern average brightness and compares; Transport module, the exposure parameter after being used for changing transfers to imageing sensor.
Described acquisition module comprises: statistical module is used for all rgb values at exposure measuring and calculating range statistics video data; Computing module is for the average brightness that then all rgb value additions is obtained video data divided by the pixel number.
Above content is the further description of the present invention being done in conjunction with concrete preferred implementation, can not assert that implementation of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (7)

1. an image processing method is characterized in that, comprises image exposure adjustment processing method, and this image exposure is adjusted processing method and comprised the steps:
A. obtain the average brightness of video data in the exposure measuring and calculating zone of video data;
B. average brightness and pattern average brightness compare, such as average brightness less than the pattern average brightness, increase exposure parameter and execution in step C so; Such as average brightness greater than the pattern average brightness, reduce exposure parameter and execution in step C so; Identical with the pattern average brightness such as average brightness, do not change exposure parameter so;
C. the exposure parameter after will changing transfers to imageing sensor.
2. image processing method according to claim 1 is characterized in that, comprises the steps: in described steps A
A1. calculate all rgb values of range statistics video data in exposure;
A2. then all rgb value additions are obtained the average brightness of video data divided by the pixel number.
3. image processing method according to claim 2 is characterized in that, in described steps A 1, by FPGA unit all rgb values at exposure measuring and calculating range statistics video data.
4. image processing method according to claim 3 is characterized in that, in described step C, the exposure parameter after the change is transferred to imageing sensor by serial line interface.
5. according to claim 1 to 4 each described image processing methods, it is characterized in that this image processing method comprises that also image color draws high method, this image color draws high method and the exposure adjustment processing method is finished in same frame;
Draw high in the method at image color and to comprise the steps:
(1). the bright dark distribution situation of the scope of each pixel point value of statistical picture, judgement entire image;
(2) ratio of selecting image color to draw high according to the bright dark distribution situation of entire image.
6. an image processing system is characterized in that, comprising:
Acquisition module is used for the regional average brightness that obtains video data of exposure measuring and calculating at video data;
Comparison module is used for average brightness and pattern average brightness and compares;
Transport module, the exposure parameter after being used for changing transfers to imageing sensor.
7. image processing system according to claim 6 is characterized in that, described acquisition module comprises:
Statistical module is used for all rgb values at exposure measuring and calculating range statistics video data;
Computing module is for the average brightness that then all rgb value additions is obtained video data divided by the pixel number.
CN2012103400717A 2012-09-14 2012-09-14 Method and system for image processing Pending CN102984463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103400717A CN102984463A (en) 2012-09-14 2012-09-14 Method and system for image processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103400717A CN102984463A (en) 2012-09-14 2012-09-14 Method and system for image processing

Publications (1)

Publication Number Publication Date
CN102984463A true CN102984463A (en) 2013-03-20

Family

ID=47858163

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103400717A Pending CN102984463A (en) 2012-09-14 2012-09-14 Method and system for image processing

Country Status (1)

Country Link
CN (1) CN102984463A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105374022A (en) * 2014-08-26 2016-03-02 联想(北京)有限公司 Image data processing method and electronic device
CN107071260A (en) * 2016-11-29 2017-08-18 努比亚技术有限公司 A kind of filming apparatus and method, and terminal device
CN107888839A (en) * 2017-10-30 2018-04-06 广东欧珀移动通信有限公司 High-dynamic-range image acquisition method, device and equipment
CN108593958A (en) * 2017-12-15 2018-09-28 北京航空航天大学 The synchronous method and apparatus for obtaining gas-particle two-phase Velocity Field of Flow
CN108810509A (en) * 2018-07-06 2018-11-13 北京中安未来科技有限公司 A kind of image color correction method and device
CN112567730A (en) * 2020-05-28 2021-03-26 深圳市大疆创新科技有限公司 Exposure control method, device, equipment, movable platform and storage medium
CN112687211A (en) * 2020-12-11 2021-04-20 合肥维信诺科技有限公司 Method and device for measuring smear of display panel and storage medium
CN113329188A (en) * 2021-05-07 2021-08-31 浙江大华技术股份有限公司 Exposure control method and device, electronic equipment and storage medium
CN116977214A (en) * 2023-07-21 2023-10-31 萱闱(北京)生物科技有限公司 Image optimization method, device, medium and computing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247480A (en) * 2008-03-26 2008-08-20 北京中星微电子有限公司 Automatic exposure method based on objective area in image
CN101442617A (en) * 2008-12-23 2009-05-27 北京中星微电子有限公司 Method for blocked exposure and apparatus thereof
US20110211732A1 (en) * 2009-04-23 2011-09-01 Guy Rapaport Multiple exposure high dynamic range image capture
CN102298452A (en) * 2010-06-22 2011-12-28 原相科技股份有限公司 Method for adjusting an exposure condition of an optical sensor module and an optical sensor module thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101247480A (en) * 2008-03-26 2008-08-20 北京中星微电子有限公司 Automatic exposure method based on objective area in image
CN101442617A (en) * 2008-12-23 2009-05-27 北京中星微电子有限公司 Method for blocked exposure and apparatus thereof
US20110211732A1 (en) * 2009-04-23 2011-09-01 Guy Rapaport Multiple exposure high dynamic range image capture
CN102298452A (en) * 2010-06-22 2011-12-28 原相科技股份有限公司 Method for adjusting an exposure condition of an optical sensor module and an optical sensor module thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
梁佳毅: "高性能数码相机自动曝光算法研究与实现", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》, no. 03, 15 March 2009 (2009-03-15) *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105374022A (en) * 2014-08-26 2016-03-02 联想(北京)有限公司 Image data processing method and electronic device
CN107071260A (en) * 2016-11-29 2017-08-18 努比亚技术有限公司 A kind of filming apparatus and method, and terminal device
CN107888839A (en) * 2017-10-30 2018-04-06 广东欧珀移动通信有限公司 High-dynamic-range image acquisition method, device and equipment
CN107888839B (en) * 2017-10-30 2019-12-06 Oppo广东移动通信有限公司 high dynamic range image acquisition method, device and equipment
CN108593958A (en) * 2017-12-15 2018-09-28 北京航空航天大学 The synchronous method and apparatus for obtaining gas-particle two-phase Velocity Field of Flow
CN108593958B (en) * 2017-12-15 2019-12-10 北京航空航天大学 Method and device for synchronously acquiring gas-solid two-phase flow velocity field
CN108810509A (en) * 2018-07-06 2018-11-13 北京中安未来科技有限公司 A kind of image color correction method and device
CN108810509B (en) * 2018-07-06 2020-08-11 北京中安未来科技有限公司 Image color correction method and device
CN112567730A (en) * 2020-05-28 2021-03-26 深圳市大疆创新科技有限公司 Exposure control method, device, equipment, movable platform and storage medium
CN112687211A (en) * 2020-12-11 2021-04-20 合肥维信诺科技有限公司 Method and device for measuring smear of display panel and storage medium
CN113329188A (en) * 2021-05-07 2021-08-31 浙江大华技术股份有限公司 Exposure control method and device, electronic equipment and storage medium
CN116977214A (en) * 2023-07-21 2023-10-31 萱闱(北京)生物科技有限公司 Image optimization method, device, medium and computing equipment

Similar Documents

Publication Publication Date Title
CN102984463A (en) Method and system for image processing
CN101739672B (en) A kind of histogram equalizing method based on sub-regional interpolation and device
CN101350933B (en) Method for regulating lighteness of filmed display screen based on image inductor
KR102149187B1 (en) Electronic device and control method of the same
US20170263198A1 (en) System and method for adjusting luminance of a display screen
JP2022071177A (en) Multiplexed high dynamic range image
US20180324286A1 (en) Camera assembly and mobile electronic device
CN106210712A (en) A kind of dead pixel points of images detection and processing method
CN112118388A (en) Image processing method, image processing device, computer equipment and storage medium
WO2019056549A1 (en) Image enhancement method, and image processing device
CN104580945A (en) Image sensor structure and method for achieving high-dynamic-range image
WO2021076359A1 (en) Systems and methods region-of-interest automatic gain or exposure control
WO2020034702A1 (en) Control method, device, electronic equipment and computer readable storage medium
CN104618691A (en) Panoramic brightness balance regulating system and regulating method
CN101690160A (en) Methods, systems and apparatuses for motion detection using auto-focus statistics
CN101742084A (en) Contrast ratio enhancement processing method and processing device
CN106506984B (en) Image processing method and device, control method and device, imaging and electronic device
WO2018214838A1 (en) Surveillance image capture method, apparatus, and system
CN100542211C (en) A kind of method of dynamic adjustment image quality
WO2019148997A1 (en) Image processing method and device, storage medium, and electronic apparatus
CN103616775A (en) Method for automatically adjusting Auto-Flicker of liquid crystal module on basis of machine vision
JP2015194567A (en) display device
US8767088B2 (en) White balancing method and image capturing device
CN105323493B (en) Localized reinforcements, multiple-exposure image system and local enhancement methods
EP2658245B1 (en) System and method of adjusting camera image data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130320

RJ01 Rejection of invention patent application after publication