CN104427254B - Photosensitive control method and sensitive control device - Google Patents
Photosensitive control method and sensitive control device Download PDFInfo
- Publication number
- CN104427254B CN104427254B CN201310410033.9A CN201310410033A CN104427254B CN 104427254 B CN104427254 B CN 104427254B CN 201310410033 A CN201310410033 A CN 201310410033A CN 104427254 B CN104427254 B CN 104427254B
- Authority
- CN
- China
- Prior art keywords
- pixel
- sensitive time
- light intensity
- sub
- pixel region
- 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
Links
Landscapes
- Studio Devices (AREA)
Abstract
Disclose a kind of photosensitive control method and device, the photosensitive control method includes: to carry out surveying light analysis to the preview image of scene collected, the preview image of the acquisition is divided into multiple pixel regions, light intensity value is calculated for each pixel region in the multiple pixel region;According to the light intensity value of the multiple pixel region calculated is calculated each pixel region corresponding sensitive time for the preview image of the acquisition;And it for each pixel region, is carried out according to its corresponding sensitive time photosensitive.Using the photosensitive control method and device, the overexposure and under-exposed phenomenon for existing simultaneously region too dark or too bright in photographed scene and being likely to occur can be effectively avoided.
Description
Technical field
The present invention relates to CMOS sensitive technologies fields, and relate more specifically to a kind of photosensitive control method and photosensitive control
Device.
Background technique
Although CMOS sensor has been widely used in digital camera, in many cases since CMOS is photosensitive
The photosensitive domain of device is limited to cause region too dark or too bright in photographed scene that can not be total in the image under same exposure parameter
It deposits.
For example, tri- color of R, G, B is respectively 8 bits in the case where CMOS sensor generates the pixel data of 24 bits,
Therefore the ratio of tri- sub-pixels of R, G, B are respectively able to reflect maximum brightness and minimum brightness should be 28Within.In shooting field
The ratio of tri- color of R, G, B any maximum brightness and minimum brightness exceeds 2 in scape8In the case where, join in the same exposure of application
May occur the problem of overexposure or under-exposure when counting the photo to shoot the scene.For example, area stronger for light intensity
Domain, in fact it could happen that overexposure situation, and the region weaker for light intensity, in fact it could happen that under-exposed situation.
In order to solve the problems, such as that such excessive lightness or darkness region can not coexist, it has been proposed that high dynamic range images
Processing technique (HDR), although can compensate for the image local mistake due to caused by overexposure or under-exposure to a certain extent
Bright or excessively dark problem, however if there is shake between adjacent two images, it is difficult to carry out HDR synthesis.
Therefore, it is necessary to a kind of photosensitive control method and sensitive control devices, can avoid the occurrence of overexposure when shooting
Or under-exposed phenomenon.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of photosensitive control method and sensitive control devices, pass through
According to the sensitive time of each pixel region in the light intensity adjustment CMOS sensor of each region in photographed scene, and feeling
Photosensitive, Ke Yizeng is carried out according to its corresponding sensitive time respectively for pixel region each in CMOS sensor in photoreduction process
The region too dark or too bright in same shooting image coexists in the photosensitive domain for adding CMOS sensor.
According to an aspect of the present invention, a kind of photosensitive control method is provided, comprising: to the preview image of scene collected
It carries out surveying light analysis, the preview image of the acquisition is divided into multiple pixel regions, in the multiple pixel region
Each pixel region calculates light intensity value;For the preview image of the acquisition, according to the multiple pixel region calculated
Light intensity value calculates each pixel region corresponding sensitive time;It is corresponding according to it and for each pixel region
Sensitive time carry out it is photosensitive.
According to a further aspect of the invention, a kind of sensitive control device is provided, comprising: image analysis part, for adopting
The preview image of the scene of collection carries out surveying light analysis, the preview image of the acquisition is divided into multiple pixel regions, for institute
The each pixel region stated in multiple pixel regions calculates light intensity value;Sensitive time calculating unit, for for the acquisition
It is photosensitive accordingly to calculate each pixel region according to the light intensity value of the multiple pixel region calculated for preview image
Time;And sensitive time control unit, for for each pixel region, according to its corresponding sensitive time to its into
Row is photosensitive.
Using photosensitive control method according to the present invention and sensitive control device, for pixel each in CMOS sensor
Corresponding sensitive time is respectively set in region, and the photosensitive mistake of each pixel region is controlled according to set sensitive time
Journey so that be effectively prevented from region too dark or too bright is existed simultaneously in photographed scene and the overexposure that is likely to occur and exposure not
The phenomenon of foot.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by specification, right
Specifically noted structure is achieved and obtained in claim and attached drawing.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the invention
It applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 illustrates the schematic diagrames of the photo-process of existing CMOS sensor;
Fig. 2 illustrates the flow chart of photosensitive control method according to an embodiment of the present invention;
Fig. 3 illustrate in photosensitive control method according to an embodiment of the present invention in the case where acquiring two preview images into
The schematic flow chart that row surveys light analysis and sensitive time determines;
Fig. 4 illustrate in photosensitive control method according to an embodiment of the present invention in the case where acquiring a preview image into
The schematic flow chart that row surveys light analysis and sensitive time determines;
Fig. 5 A illustrates pixel intensity in photosensitive control method according to an embodiment of the present invention and determines that one kind of step is specific
Flow chart;
Fig. 5 B illustrates another tool that pixel intensity in photosensitive control method according to an embodiment of the present invention determines step
Body flow chart;
Fig. 6 illustrates the schematic diagram of CMOS photo-process according to an embodiment of the present invention;
Fig. 7 illustrates the schematic block diagram of sensitive control device according to an embodiment of the present invention;
Fig. 8 illustrates image analysis part and sensitive time calculating in sensitive control device according to an embodiment of the present invention
First schematic block diagram of component;
Fig. 9 illustrates image analysis part and sensitive time calculating in sensitive control device according to an embodiment of the present invention
Second schematic block diagram of component;
The brightness value that Figure 10 A illustrates in sensitive control device according to an embodiment of the present invention determines the first specific of component
Block diagram;And
The brightness value that Figure 10 B illustrates in sensitive control device according to an embodiment of the present invention determines the second specific of component
Block diagram.
Specific embodiment
It will be described in detail with reference to the accompanying drawings each embodiment according to the present invention.Here it is to be noted that it in the accompanying drawings,
It assigns identical appended drawing reference to component part substantially with same or like structure and function, and will omit about it
Repeated description.
As shown in Figure 1, illustrating the schematic diagram of the photo-process of existing CMOS sensor.In existing CMOS sensor
Photo-process in, all sub-pixels all in accordance with same exposure parameter carry out it is photosensitive, in all sub-pixels according to the same exposure
After optical parameter progress is photosensitive, i.e., after the photosensitive end of all sub-pixels, every row of CMOS sensor is read line by line
The quantity of electric charge (or capacitance voltage) that is stored in capacitor in each sub-pixel in pixel and correspondingly by the read quantity of electric charge (or
Capacitance voltage) storage is in memory.
Since in the case where the capacitance of capacitor is certain, the quantity of electric charge stored in capacitor is directly proportional to capacitance voltage, because
This is unfolded to describe with the quantity of electric charge stored in capacitor in this application, it is to be appreciated that the embodiment of the present invention can be answered similarly
Use capacitance voltage.
Therefore, as previously mentioned, in the photo-process of existing CMOS sensor, the sensitive time of each sub-pixel unites
One, thus existed simultaneously in photographed scene it is bright and in the case where cross dark areas may in shooting image there are overexposure or
Under-exposed phenomenon.
In embodiments of the present invention, it is desirable to avoid shooting figure by being adjusted differently than sensitive time for different subpixel
The phenomenon of overexposure or under-exposure as in.
As shown in Fig. 2, illustrating the flow chart of photosensitive control method according to an embodiment of the present invention.
Photosensitive control method according to an embodiment of the present invention starts in step S201.
In step S210, the preview image of scene collected is carried out to survey light analysis, by the preview image of the acquisition
Multiple pixel regions are divided into, light intensity value is calculated for each pixel region in the multiple pixel region.
In step S220, for the preview image of the acquisition, according to the light intensity of the multiple pixel region calculated
Value calculates each pixel region corresponding sensitive time.
By carrying out surveying light analysis, it can determine that each region is (corresponding to each of CMOS sensor in photographed scene
Pixel region (or even each pixel)) at light intensity situation so that according to area each in identified photographed scene
Light intensity situation at domain individually adjusts sensitive time to be directed to each pixel region of CMOS sensor.
According to embodiments of the present invention, at least two preview images can be acquired according to different exposure parameters, wherein every
The image data of all sub-pixels is to carry out photosensitive and obtain according to same exposure parameter in a preview image, then according to institute
At least two preview images are stated survey light analysis.
Illustrated in Fig. 3 carried out in the case where acquiring two preview images survey light analysis and sensitive time determine
Schematic flow chart.
In step S310, calculates and carry out each pixel in photosensitive obtained first preview image using the first sensitive time
First light intensity value in region, and calculate and carry out each picture in photosensitive obtained second preview image using the second sensitive time
Second light intensity value in plain region, first sensitive time are different from second sensitive time.
For example, second sensitive time is longer than the first sensitive time, second sensitive time is default sensitive time,
First sensitive time is the sensitive time shorter and longer than minimum sensitive time than default sensitive time.In the case, may be used
To come that sensitive time is arranged for each pixel region in the following way.
In step S320, judge whether the first light intensity value is greater than the first predetermined Intensity threshold.
In the case where judging that the first light intensity value is greater than the first predetermined Intensity threshold in step s 320, first and second are judged
Sensitive time is too long, in step S330, the sensitive time of the pixel region was set smaller than for the first sensitive time and is greater than etc.
In minimum sensitive time.
Judge that the first light intensity value no more than in the case where the first predetermined Intensity threshold, is sentenced in step S340 in step s 320
Whether disconnected second light intensity value is greater than the first predetermined Intensity threshold.
Judge in step S340 the second light intensity value be greater than the first predetermined Intensity threshold in the case where, determine second it is photosensitive when
Between it is too long, the sensitive time of the pixel region is set smaller than second sensitive time in step S350 and is more than or equal to
The minimum sensitive time, such as first sensitive time.
In the case where judging the second light intensity value in step S340 no more than the first predetermined Intensity threshold, in step S360
Whether the second light intensity value is judged less than the second predetermined Intensity threshold, and the second predetermined Intensity threshold is less than the first predetermined Intensity threshold.
In the case where judging the second light intensity value in step S360 less than the second predetermined Intensity threshold, first and second are judged
Sensitive time is too short, and the sensitive time of the pixel was set greater than for the second sensitive time in step S370 and is less than or equal to maximum
Sensitive time.
In the case where judging the second light intensity value in step S360 not less than the second predetermined Intensity threshold, in step S380
Judge the first light intensity value whether less than the second predetermined Intensity threshold.
In the case where judging the first light intensity value in step S380 less than the second predetermined Intensity threshold, determine first it is photosensitive when
Between it is too short, the sensitive time of the pixel region is set greater than first sensitive time in step S390 and is less than or equal to
The maximum sensitive time, such as second sensitive time.
In the case where judging the first light intensity value in step S380 not less than the second predetermined Intensity threshold, that is, the first light intensity
Value and the second light intensity value are all between the first predetermined Intensity threshold and the second predetermined Intensity threshold, by pixel in step S395
The sensitive time in region is set as second sensitive time or first sensitive time.
According to embodiments of the present invention, alternatively, preview image can also be acquired according to a certain default exposure parameter, point
It analyses with the presence or absence of overexposure region and/or region of underexposure in preview image collected, and then based on the analysis results
The sensitive time of each pixel region is set.For example, can be surveyed to according to default exposure parameter preview image collected
Light analysis.
Illustrated in Fig. 4 carried out in the case where acquiring a preview image survey light analysis with sensitive time determination show
Meaning property flow chart.In Fig. 4, the operating procedure carried out for a pixel region illustrate only, it is, therefore, to be understood that for pressing
According to default exposure parameter preview image collected, operation shown in Fig. 4 is executed to each of which pixel region.
In step S410, first light intensity value in current pixel region is calculated.
In step S420, judge whether the first light intensity value of the pixel region is greater than the first predetermined Intensity threshold.
In the case where step S420 judges the first light intensity value of the pixel region greater than the first predetermined Intensity threshold, the survey
Light analytic process proceeds to step S430.
In step S430, using the half of the sensitive time of the pixel region as the new sensitive time of the pixel region.
It, should in the case where step S420 judges the first light intensity value of the pixel region no more than the first predetermined Intensity threshold
It surveys light analytic process and proceeds to step S440.
In step S440, judge the first light intensity value of the pixel region whether less than the second predetermined Intensity threshold, described
Two predetermined Intensity thresholds are less than the described first predetermined Intensity threshold.
In the case where step S440 judges the first light intensity value of the pixel region less than the second predetermined Intensity threshold, the survey
Light analytic process proceeds to step S450.
In step S450, by twice of the sensitive time of the pixel region new sensitive time as the pixel region.
In the case where step S440 judges the first light intensity value of the pixel region not less than the second predetermined Intensity threshold, i.e.,
The pixel region the first light intensity value between the described first predetermined Intensity threshold and the second predetermined Intensity threshold
In the case of, which proceeds to step S460.
In step S460, the sensitive time of the pixel region is remained unchanged into the new sensitive time as the pixel region.
After new sensitive time has been determined for each pixel region, acquisition is felt using identified new sensitive time
Light preview image obtained, and continue to repeat survey shown in Fig. 4 to each pixel region in preview image collected
Light analysis and sensitive time determination process, until the light intensity value of each pixel region is in the described first predetermined Intensity threshold and described
Between second predetermined Intensity threshold or new sensitive time reaches minimum sensitive time or maximum sensitive time.
After sensitive time has been determined for each pixel region, photosensitive control method according to an embodiment of the present invention is carried out
To step S230.
In step S230, for each pixel region, carried out according to its corresponding sensitive time photosensitive.
Then, photosensitive control method according to an embodiment of the present invention can terminate in step S299.
In addition, photosensitive control method according to an embodiment of the present invention is corresponding photosensitive according to it for each pixel region
After time progress is photosensitive, the brightness of each sub-pixel in shooting image can also be further determined that.Specifically, for each
Pixel region according to its corresponding sensitive time carry out it is photosensitive after, can use the charge stored in capacitor in each sub-pixel
Amount (or capacitance voltage) sensitive time corresponding with the sub-pixel determines the first brightness value of the sub-pixel.More specifically, can
It is corresponding with the sub-pixel with brightness value corresponding to the quantity of electric charge (or capacitance voltage) that will be stored in capacitor in each sub-pixel
Sensitive time is collectively stored in memory, and stored charge amount and sensitive time is then recycled to determine the of the sub-pixel
One brightness value.
Fig. 5 A illustrates pixel intensity in photosensitive control method according to an embodiment of the present invention and determines that one kind of step is specific
Flow chart.
In step S510, for each sub-pixel, the charge meter stored in capacitor after photosensitive in the sub-pixel is utilized
Calculate the second brightness value.
In step S520, for each sub-pixel, using its second brightness value and the ratio of its sensitive time as the son
First brightness value of pixel.
Specifically, after step S510, it (can also be not shown in Fig. 5 A) in step S512 and be first somebody's turn to do calculated
The corresponding sensitive time storage of the second brightness value and the sub-pixel of sub-pixel in memory, then (is schemed in step S514
It is not shown in 5A) further according to the second brightness value and the sensitive time for needing to read the sub-pixel from memory.
For example, the feelings that the brightness value in each R, G, B sub-pixel is indicated by 8 bits and sensitive time is indicated by 4 bits
Under condition, the second brightness value of the first sub-pixel be 200 and first sub-pixel corresponding sensitive time be 2, the of the second sub-pixel
Two brightness values be 150 and second sub-pixel corresponding sensitive time be 12, then can calculate: the first brightness value of the first sub-pixel
For 200/2*15(available maximum sensitive time)=1500, the first brightness value of the second sub-pixel is 150/12*15=187.5
≈ 188,8 bits for thus extending the brightness value of each R, G, B sub-pixel indicate ability.In this case, it is possible to by each
R, the brightness value of G, B sub-pixel indicates that ability is extended to 12 bits, that is to say, that the maximum brightness and minimum bright in shooting image
The ratio between degree can be from 28Expand to 212.Here, in fact, for each sub-pixel, calculate its second brightness value and its it is photosensitive when
Between ratio, and using the ratio and maximum the product of sensitive time can be used as the first brightness value of the sub-pixel.
Fig. 5 B illustrates another tool that pixel intensity in photosensitive control method according to an embodiment of the present invention determines step
Body flow chart.
In step S560, for each sub-pixel, the charge meter stored in capacitor after photosensitive in the sub-pixel is utilized
Calculate the second brightness value.
In step S570, the maximum sensitive time in all sub-pixels is determined.
In step S580, for each sub-pixel, the ratio of maximum sensitive time and its sensitive time are calculated, and by institute
First brightness value of the result that the second brightness value read is multiplied with ratio calculated as the sub-pixel.
Specifically, after step s 560, it (can also be not shown in Fig. 5 B) in step S562 and be first somebody's turn to do calculated
The corresponding sensitive time storage of the second brightness value and the sub-pixel of sub-pixel in memory, then (is schemed in step S564
It is not shown in 5B) further according to the second brightness value and the sensitive time for needing to read the sub-pixel from memory.
For example, the feelings that the brightness value in each R, G, B sub-pixel is indicated by 8 bits and sensitive time is indicated by 4 bits
Under condition, the second brightness value of the first sub-pixel be 200 and first sub-pixel corresponding sensitive time be 2, the of the second sub-pixel
Two brightness values be 150 and second sub-pixel corresponding sensitive time be 12, maximum sensitive time of each sub-pixel is 12, then may be used
To calculate: the ratio of maximum sensitive time and the sensitive time of the first sub-pixel are 6, maximum sensitive time and the second sub-pixel
The ratio of sensitive time is 1, and the first brightness value of the first sub-pixel is 200 × 6=1200, the first brightness value of the second sub-pixel
For 150 × 1=150,8 bits for thus extending the brightness value of each R, G, B sub-pixel indicate ability.In the case, may be used
The brightness value of each R, G, B sub-pixel is indicated that ability is extended to 12 bits, that is to say, that the maximum brightness in shooting image
It can be from 2 with the ratio between minimum brightness8Expand to 212。
According to embodiments of the present invention, pixel region can for one-row pixels, a column pixel, a pixel, by several phases
The pixel region that adjacent pixel is constituted or the pixel region being made of the multiple sub-pixels of light intensity value within a predetermined range.According to
It needs, those skilled in the art can constitute pixel region using multiple sub-pixels or pixel according to other selection criteria.
Fig. 6 illustrates the schematic diagram of CMOS photo-process according to an embodiment of the present invention.
As shown in fig. 6, in CMOS photo-process according to an embodiment of the present invention, control each sub-pixel it is photosensitive when
Between, that is, control the charging time of capacitor in each sub-pixel.
In photo-process, according to the photosensitive control method described above with reference to Fig. 2-4 each pixel region calculated
Sensitive time carry out it is photosensitive, specifically, increase the control switch for controlling the sensitive time of each sub-pixel, for each
For sub-pixel, control switch conducting is within its sensitive time to fill the capacitor in the sub-pixel by photo-process
Electricity, and the control switch is disconnected to terminate the charging to the capacitor after its sensitive time.
The control switch module being shown in FIG. 6 may include being respectively used to the control switch of each sub-pixel in a line.
It will be appreciated that a control switch can control a sub-pixel, a pixel, the unit being made of at least two adjacent pixels
Photo-process.
Fig. 7 illustrates the schematic block diagram of sensitive control device 700 according to an embodiment of the present invention.
Sensitive control device 700 according to an embodiment of the present invention includes: image analysis part 710, sensitive time calculation part
Part 720, sensitive time control unit 740 and brightness value determine component 730.
Image analysis part 710 is used to carry out the preview image of the scene of acquisition to survey light analysis, by the pre- of the acquisition
Image of looking at is divided into multiple pixel regions, calculates light intensity value for each pixel region in the multiple pixel region.
Sensitive time calculating unit 720 is used for the preview image for the acquisition, according to the multiple picture calculated
The light intensity value in plain region calculates each pixel region corresponding sensitive time.
Sensitive time control unit 730 is used for for each pixel region, according to its corresponding sensitive time to it
It carries out photosensitive.
Brightness value determines component 740 for utilizing for each sub-pixel in each pixel in each pixel region
The quantity of electric charge and sensitive time that store in capacitor in the sub-pixel after photosensitive determine the first brightness value of the sub-pixel.
As shown in figure 8, showing the image analysis part 710 in sensitive control device according to an embodiment of the present invention and sense
First schematic block diagram of calculating unit 720 between light time.
Image analysis part 710 may include the first light intensity calculating unit 7110 and the second light intensity calculating unit 7120.
The first light intensity calculating unit 7110, which is calculated, is carrying out photosensitive obtained first in advance using the first sensitive time
Look at the first light intensity value of each pixel region in image.
The second light intensity calculating unit 7120, which is calculated, is carrying out photosensitive obtained second in advance using the second sensitive time
The second light intensity value of each pixel region in image is look at, wherein the second sensitive time is longer than the first sensitive time.
For example, second sensitive time is longer than the first sensitive time, second sensitive time is default sensitive time,
First sensitive time is the sensitive time shorter and longer than minimum sensitive time than default sensitive time.In the case, feel
Between light time calculating unit 720 may include first threshold comparing unit 7210, second threshold comparing unit 7220 and it is photosensitive when
Between set parts 7230.
First light intensity value is compared by the first threshold comparing unit 7210 with the first predetermined Intensity threshold, described
In the case that first threshold comparing unit 7210 judges that the first light intensity value is greater than the first predetermined Intensity threshold, the sensitive time is set
Component 7230 is set the sensitive time of the pixel region was set smaller than for the first sensitive time and is more than or equal to minimum sensitive time.
The case where the first light intensity value is no more than the first predetermined Intensity threshold is judged in the first threshold comparing unit 7210
Under, the first threshold comparing unit 7210 is also by the second light intensity value compared with the first predetermined Intensity threshold, in first threshold
When value comparing unit 7210 judges that the second light intensity value is greater than the first predetermined Intensity threshold, the sensitive time set parts 7230 will
The sensitive time of the pixel region is set smaller than second sensitive time and is more than or equal to the minimum sensitive time.
The case where the second light intensity value is no more than the first predetermined Intensity threshold is judged in the first threshold comparing unit 7210
Under, the second light intensity value is compared by the second threshold comparing unit 7220 with the second predetermined Intensity threshold, the second predetermined light
Strong threshold value judges that the second light intensity value is pre- less than second less than the first predetermined Intensity threshold, in the second threshold comparing unit 7220
In the case where determining Intensity threshold, the sensitive time of the pixel is set greater than the second sense by the sensitive time set parts 7230
Between light time and it is less than or equal to maximum sensitive time.
The case where the second light intensity value is not less than the second predetermined Intensity threshold is judged in the second threshold comparing unit 7220
Under, the first light intensity value is also compared by the second threshold comparing unit 7220 with the second predetermined Intensity threshold, described
In the case that two threshold value comparison components 7220 judge the first light intensity value less than the second predetermined Intensity threshold, the sensitive time setting
The sensitive time of the pixel was set greater than for the first sensitive time and is less than or equal to maximum sensitive time by component 7230.
The case where the first light intensity value is not less than the second predetermined Intensity threshold is judged in the second threshold comparing unit 7220
Under, the sensitive time of the pixel region is set second sensitive time or described by the sensitive time set parts 7230
First sensitive time.
In addition, as shown in figure 9, showing the image analysis part in sensitive control device according to an embodiment of the present invention
710 the second schematic block diagram.
Image analysis part 710 may include the first light intensity value calculating unit 7160.
Sensitive time calculating unit 720 may include first threshold comparing unit 7260, second threshold comparing unit 7270,
Sensitive time set parts 7280.
The first light intensity value calculating unit 7160 calculates the first light of each pixel region in preview image collected
Intensity values.
The first threshold comparing unit 7260 is by the first light intensity value of each pixel region and the first predetermined Intensity threshold
It is compared.The second threshold comparing unit 7270 is by the first light intensity value of each pixel region and the second predetermined Intensity threshold
It is compared, the second predetermined Intensity threshold is less than the described first predetermined Intensity threshold.
Judge that the first light intensity value of the pixel region is greater than the first predetermined light intensity in the first threshold comparing unit 7260
In the case where threshold value, the sensitive time set parts 7280 are using the half of the sensitive time of the pixel region as the pixel region
The new sensitive time in domain.
Judge the first light intensity value of the pixel region less than the second predetermined light intensity in the second threshold comparing unit 7270
In the case where threshold value, the sensitive time set parts 7280 are used as the pixel region for twice of the sensitive time of the pixel region
The new sensitive time in domain.
Judge the first light intensity value of the pixel region no more than the first predetermined light in the first threshold comparing unit 7260
Strong threshold value and the second threshold comparing unit 7270 judge the first light intensity value of the pixel region not less than the second predetermined light intensity
In the case where threshold value, i.e., make a reservation in the first light intensity value of the pixel region between the described first predetermined Intensity threshold and described second
In the case where between Intensity threshold, the sensitive time of the pixel region is remained unchanged work by the sensitive time set parts 7280
For the new sensitive time of the pixel region.
The brightness value that Figure 10 A illustrates in sensitive control device according to an embodiment of the present invention determines the first of component 730
Specific block diagram.
As shown in Figure 10 A, brightness value determines that component 730 includes brightness value calculating unit 7310 and brightness value conversion portion
Part 7320.
Brightness value calculating unit 7310 is used for for each sub-pixel, using being stored in capacitor after photosensitive in the sub-pixel
The quantity of electric charge calculate the second brightness value.
Brightness value scaling member 7320 is used for for each sub-pixel, when the second brightness value of the sub-pixel is photosensitive with its
Between first brightness value of the ratio as the sub-pixel.
Although being not shown in Figure 10, brightness value determines that component 730 can also include data storage part 7330 and data
Read component 7340.Data storage part 7330 is used for the second brightness value of the sub-pixel calculated is corresponding with the sub-pixel
Sensitive time storage in memory.Reading data component 7340 from memory for reading the sub-pixel as needed
Second brightness value and sensitive time.
The brightness value that Figure 10 B illustrates in sensitive control device according to an embodiment of the present invention determines the second of component 730
Specific block diagram.
As shown in Figure 10 B, brightness value determines that component 730 includes brightness value calculating unit 7360 and brightness value conversion portion
Part 7370.
Brightness value calculating unit 7360 is used for for each sub-pixel, using being stored in capacitor after photosensitive in the sub-pixel
The quantity of electric charge calculate the second brightness value.
Brightness value scaling member 7370 is used to determine maximum sensitive time in all sub-pixels, and for every height picture
Element calculates the ratio of maximum sensitive time and its sensitive time, by the second brightness value of the sub-pixel and ratio phase calculated
First brightness value of the result multiplied as the sub-pixel.
Although being not shown in Figure 10, brightness value determines that component 730 can also include data storage part 7380 and data
Read component 7390.
Data storage part 7380 is used to accordingly feel the second brightness value of the sub-pixel calculated and the sub-pixel
It is stored in memory between light time.Reading data component 7390 from memory for reading the second of the sub-pixel as needed
Brightness value and sensitive time.
Sensitive time control unit 740 is capacitor charging time control unit, may include multiple control switches, for
For each sub-pixel, the corresponding control switch conducting of the sub-pixel is within its sensitive time to pass through photo-process to the sub- picture
Capacitor in element charges, and the control switch is disconnected to terminate the charging to the capacitor after its sensitive time.
It will be appreciated that a control switch can control a sub-pixel, a pixel, be made of at least two adjacent pixels
Unit photo-process.
According to embodiments of the present invention, each picture of CMOS sensor can be adjusted according to the light intensity of each region in photographed scene
It is the sensitive time in plain region, photosensitive by being carried out for each pixel region using different sensitive times, it can be effectively avoided
The problem of the overexposure or under-exposure that are likely to occur when carrying out photographed scene using same exposure parameter.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
It is realized in the mode of software plus required hardware platform, naturally it is also possible to all be implemented by software or hardware.Based on this
The understanding of sample, technical solution of the present invention to background technique contribute in whole or in part can be in the form of software products
It embodies, which can store in storage medium, such as ROM/RAM, disk, CD, including several
Instruction is used so that a computer equipment executes method described in certain parts of each embodiment of the present invention or embodiment.
Each embodiment of the invention has been described in detail above.However, it should be appreciated by those skilled in the art that not taking off
In the case where from the principle and spirit of the invention, these embodiments can be carry out various modifications, combination or sub-portfolio, and in this way
Modification should fall within the scope of the present invention.
Claims (14)
1. a kind of photosensitive control method, comprising:
The preview image of scene collected is carried out to survey light analysis, the preview image of the acquisition is divided into multiple pixel regions
Domain calculates light intensity value for each pixel region in the multiple pixel region;Wherein, calculate using the first sensitive time into
First light intensity value of each pixel region in photosensitive the first obtained preview image of row, and calculate using the second sensitive time into
Second light intensity value of each pixel region in photosensitive the second obtained preview image of row;Wherein, second sensitive time compares institute
It is long to state for the first sensitive time;
For the preview image of the acquisition, according to the first light intensity value and the second light intensity of the multiple pixel region calculated
Value calculates each pixel region corresponding sensitive time;And
For each pixel region, carried out according to its corresponding sensitive time photosensitive.
2. photosensitive control method as described in claim 1, further includes: for every in each pixel in each pixel region
A sub-pixel determines the first of the sub-pixel using the quantity of electric charge and sensitive time that are stored in capacitor after photosensitive in the sub-pixel
Brightness value.
3. photosensitive control method as claimed in claim 2, wherein for each sub-pixel using after photosensitive in the sub-pixel
The quantity of electric charge stored in capacitor and sensitive time determine that the first brightness value of the sub-pixel includes:
For each sub-pixel, the second brightness value is calculated using the quantity of electric charge stored in capacitor after photosensitive in the sub-pixel;
For each pixel, using its second brightness value and the ratio of its sensitive time as the first brightness value of the sub-pixel.
4. photosensitive control method as claimed in claim 2, wherein for each sub-pixel using after photosensitive in the sub-pixel
The quantity of electric charge stored in capacitor and sensitive time determine that the first brightness value of the sub-pixel includes:
For each sub-pixel, the second brightness value is calculated using the quantity of electric charge stored in capacitor after photosensitive in the sub-pixel;
Determine the maximum sensitive time in all sub-pixels;And
For each sub-pixel, the ratio of maximum sensitive time and its sensitive time are calculated, and by its second brightness value and institute
First brightness value of the result that the ratio of calculating is multiplied as the sub-pixel.
5. photosensitive control method as described in claim 1, wherein a pixel region is one-row pixels, a column pixel, one
It pixel, the pixel region being made of several adjacent pixels or is made of the multiple sub-pixels of light intensity value within a predetermined range
Pixel region.
6. photosensitive control method as described in claim 1, wherein second sensitive time is default sensitive time, for
Preview image collected, when photosensitive accordingly according to each pixel region of the light intensity value of each pixel region calculated calculating
Between include: for each pixel region,
Judge whether the first light intensity value is greater than the first predetermined Intensity threshold, is judging the first light intensity value greater than the first predetermined light intensity threshold
In the case where value, when being set smaller than for the first sensitive time by the sensitive time of the pixel region and be more than or equal to minimum photosensitive
Between;
In the case where judging the first light intensity value no more than the first predetermined Intensity threshold, judge whether the second light intensity value is greater than first
Predetermined Intensity threshold, and in the case where judging that the second light intensity value is greater than the first predetermined Intensity threshold, by the pixel region
Sensitive time is set smaller than second sensitive time and is more than or equal to the minimum sensitive time;
In the case where judging the second light intensity value no more than the first predetermined Intensity threshold, judge the second light intensity value whether less than second
Predetermined Intensity threshold, the second predetermined Intensity threshold are judging the second light intensity value less than less than the first predetermined Intensity threshold
In the case where two predetermined Intensity thresholds, the sensitive time of the pixel was set greater than for the second sensitive time and is less than or equal to maximum sense
Between light time;
In the case where judging the second light intensity value not less than the second predetermined Intensity threshold, judge the first light intensity value whether less than second
Predetermined Intensity threshold, and in the case where judging the first light intensity value less than the second predetermined Intensity threshold, by the pixel region
Sensitive time is set greater than first sensitive time and is less than or equal to the maximum sensitive time;And
In the case where judging the first light intensity value not less than the second predetermined Intensity threshold, set the sensitive time of pixel region to
Second sensitive time or first sensitive time.
7. photosensitive control method as described in claim 1, wherein for each pixel region according to its corresponding sensitive time
It is carried out photosensitive include:
For each sub-pixel in each pixel region, the capacitor in the sub-pixel is filled during corresponding sensitive time
Electricity, and stop after beyond corresponding sensitive time to its capacitor charging.
8. a kind of sensitive control device, comprising:
Image analysis part, the preview image for the scene to acquisition carries out surveying light analysis, by the preview image of the acquisition
Multiple pixel regions are divided into, light intensity value is calculated for each pixel region in the multiple pixel region;Wherein, the figure
As analysis component further includes the first light intensity calculating unit and the second light intensity calculating unit, the first light intensity calculating unit is matched
It is set to the first light intensity value for calculating and carrying out each pixel region in photosensitive the first obtained preview image using the first sensitive time,
And the second light intensity calculating unit is configured as calculating and carries out photosensitive the second obtained preview graph using the second sensitive time
The second light intensity value of each pixel region as in;Wherein, second sensitive time is longer than first sensitive time;
Sensitive time calculating unit, for the preview image for the acquisition, according to the multiple pixel region calculated
The first light intensity value and the second light intensity value, calculate each pixel region corresponding sensitive time;And
Sensitive time control unit, for being felt to it according to its corresponding sensitive time for each pixel region
Light.
9. sensitive control device as claimed in claim 8, further includes: brightness value determines component, for for each pixel region
Each sub-pixel in each pixel in domain, using the quantity of electric charge that is stored in capacitor in the sub-pixel after photosensitive and it is photosensitive when
Between determine the sub-pixel the first brightness value.
10. sensitive control device as claimed in claim 9, wherein the brightness value determines that component includes:
Brightness value calculating unit utilizes the charge stored in capacitor after photosensitive in the sub-pixel for for each sub-pixel
Amount calculates the second brightness value;And
Brightness value scaling member is used for for each sub-pixel, using its second brightness value and the ratio of its sensitive time as this
First brightness value of sub-pixel.
11. sensitive control device as claimed in claim 9, wherein the brightness value determines that component includes:
Brightness value calculating unit utilizes the charge stored in capacitor after photosensitive in the sub-pixel for for each sub-pixel
Amount calculates the second brightness value;And
Brightness value scaling member is calculated for determining the maximum sensitive time in all sub-pixels, and for each sub-pixel
The ratio of maximum sensitive time and its sensitive time, the result that its second brightness value is multiplied with ratio calculated is as the son
First brightness value of pixel.
12. sensitive control device as claimed in claim 8, wherein a pixel region is one-row pixels, a column pixel, one
A pixel, the pixel region being made of several adjacent pixels or multiple sub-pixel structures by light intensity value within a predetermined range
At pixel region.
13. sensitive control device as claimed in claim 8, wherein second sensitive time is default sensitive time, described
Sensitive time calculating unit includes first threshold comparing unit, second threshold comparing unit and sensitive time set parts;
Wherein, the first light intensity value is compared by the first threshold comparing unit with the first predetermined Intensity threshold, described
In the case that one threshold value comparison component judges that the first light intensity value is greater than the first predetermined Intensity threshold, the sensitive time set parts
The sensitive time of the pixel region was set smaller than for the first sensitive time and is more than or equal to minimum sensitive time;
In the case where the first threshold comparing unit judges the first light intensity value no more than the first predetermined Intensity threshold, described the
One threshold value comparison component judges also by the second light intensity value compared with the first predetermined Intensity threshold in the first threshold comparing unit
When second light intensity value is greater than the first predetermined Intensity threshold, the sensitive time set parts set the sensitive time of the pixel region
It is set to less than second sensitive time and is more than or equal to the minimum sensitive time;
In the case where the first threshold comparing unit judges the second light intensity value no more than the first predetermined Intensity threshold, described the
Second light intensity value is compared by two threshold value comparison components with the second predetermined Intensity threshold, and the second predetermined Intensity threshold is less than first
Predetermined Intensity threshold judges the case where the second light intensity value is less than the second predetermined Intensity threshold in the second threshold comparing unit
Under, the sensitive time of the pixel was set greater than for the second sensitive time and is less than or equal to maximum by the sensitive time set parts
Sensitive time;
In the case where the second threshold comparing unit judges the second light intensity value not less than the second predetermined Intensity threshold, described
First light intensity value is also compared by second threshold comparing unit with the second predetermined Intensity threshold, in the second threshold comparing section
In the case that part judges the first light intensity value less than the second predetermined Intensity threshold, the sensitive time set parts are by the sense of the pixel
It was set greater than for the first sensitive time between light time and is less than or equal to maximum sensitive time;And
In the case where the second threshold comparing unit judges the first light intensity value not less than the second predetermined Intensity threshold, the sense
The sensitive time of the pixel region is set second sensitive time or first sensitive time by set parts between light time.
14. sensitive control device as claimed in claim 8, wherein sensitive time control unit is capacitor charging time control
Component, for each sub-pixel in each pixel region, to the capacitor in the sub-pixel during corresponding sensitive time
Charging, and stop after beyond corresponding sensitive time to its capacitor charging.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310410033.9A CN104427254B (en) | 2013-09-10 | 2013-09-10 | Photosensitive control method and sensitive control device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310410033.9A CN104427254B (en) | 2013-09-10 | 2013-09-10 | Photosensitive control method and sensitive control device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104427254A CN104427254A (en) | 2015-03-18 |
CN104427254B true CN104427254B (en) | 2019-01-15 |
Family
ID=52975050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310410033.9A Active CN104427254B (en) | 2013-09-10 | 2013-09-10 | Photosensitive control method and sensitive control device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104427254B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105163039A (en) * | 2015-09-18 | 2015-12-16 | 联想(北京)有限公司 | Control method and control device |
CN107079083B (en) | 2015-11-25 | 2020-11-06 | 华为技术有限公司 | Photographing method, photographing device and terminal |
JP6780662B2 (en) * | 2016-01-22 | 2020-11-04 | ソニー株式会社 | Light receiving device, control method, and electronic equipment |
CN107172364B (en) * | 2017-04-28 | 2021-01-26 | 努比亚技术有限公司 | Image exposure compensation method and device and computer readable storage medium |
CN107360378B (en) * | 2017-07-24 | 2020-01-07 | 努比亚技术有限公司 | Exposure control method, mobile terminal and computer storage medium |
CN109547669A (en) * | 2017-09-21 | 2019-03-29 | 比亚迪股份有限公司 | Imaging sensor and its exposal control method, device |
CN108055530A (en) * | 2017-12-26 | 2018-05-18 | 深圳怡化电脑股份有限公司 | Bearing calibration, device, atm device and the storage medium of imaging sensor |
CN108401120B (en) * | 2018-04-28 | 2020-11-10 | 歌尔科技有限公司 | Photographing method and device and wearable smart watch |
CN111385486B (en) * | 2018-12-29 | 2022-04-08 | 北京小米移动软件有限公司 | Control method and device of image acquisition equipment |
CN111565265A (en) * | 2019-02-14 | 2020-08-21 | 上海银镐环境科技有限公司 | Frequency difference value camera device |
CN110581956A (en) * | 2019-08-26 | 2019-12-17 | Oppo广东移动通信有限公司 | Image processing method, image processing device, storage medium and electronic equipment |
WO2021120107A1 (en) * | 2019-12-19 | 2021-06-24 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Method of generating captured image and electrical device |
CN116095503A (en) * | 2022-06-15 | 2023-05-09 | 荣耀终端有限公司 | Terminal device and method for creating/displaying HDR image |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399924A (en) * | 2007-09-25 | 2009-04-01 | 展讯通信(上海)有限公司 | Automatic exposure method and device based on brightness histogram |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7133069B2 (en) * | 2001-03-16 | 2006-11-07 | Vision Robotics, Inc. | System and method to increase effective dynamic range of image sensors |
JP2005117276A (en) * | 2003-10-06 | 2005-04-28 | Konica Minolta Photo Imaging Inc | Imaging device |
JP4905187B2 (en) * | 2007-03-09 | 2012-03-28 | ソニー株式会社 | Image processing apparatus, imaging apparatus, image processing method, and computer program |
-
2013
- 2013-09-10 CN CN201310410033.9A patent/CN104427254B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101399924A (en) * | 2007-09-25 | 2009-04-01 | 展讯通信(上海)有限公司 | Automatic exposure method and device based on brightness histogram |
Also Published As
Publication number | Publication date |
---|---|
CN104427254A (en) | 2015-03-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104427254B (en) | Photosensitive control method and sensitive control device | |
KR102428127B1 (en) | Apparatus and method detecting motion mask | |
US9426382B2 (en) | Image processing apparatus and method in which first and second images are combined in a weighted manner based on a third image | |
US20160150215A1 (en) | Method for performing multi-camera capturing control of an electronic device, and associated apparatus | |
CN103002290A (en) | Image capture device, image capture device control method, and program | |
CN103945145A (en) | Apparatus and method for processing image | |
US20110033132A1 (en) | Image correction apparatus and image correction method | |
CN101978687A (en) | Controlling multiple-image capture | |
CN105894449A (en) | Method and system for overcoming abrupt color change in image fusion processes | |
KR20130018330A (en) | Imaging apparatus, image processing method, and recording medium for recording program thereon | |
CN104754212A (en) | Electronic Apparatus And Method Of Capturing Moving Subject By Using The Same | |
JP6304605B2 (en) | Imaging apparatus, flicker detection method, and program | |
CN105763767B (en) | Image processing apparatus, photographic device and image processing method | |
US9172890B2 (en) | Method, apparatus, and manufacture for enhanced resolution for images from high dynamic range (HDR) interlaced sensors | |
US10311327B2 (en) | Image processing apparatus, method of controlling the same, and storage medium | |
US11818466B2 (en) | Notifying apparatus, image capturing apparatus, notifying method, image capturing method, and storage medium | |
JP4996402B2 (en) | Imaging device | |
CN104243804B (en) | Picture pick-up device, image processing equipment and its control method | |
EP3565238A1 (en) | Imaging device, camera and imaging method | |
CN104219455A (en) | Imaging apparatus, method of detecting flicker, and information processing unit | |
US9007394B2 (en) | Method and system for dynamic brightness correction in digital images | |
US11477384B2 (en) | Information processing apparatus, imaging apparatus, information processing method, control method for imaging apparatus, and storage medium for notifying of a subject blur occuring in a captured image | |
JP2009071706A5 (en) | ||
US20180220065A1 (en) | Information processing apparatus, image capturing apparatus, information processing method, and recording medium storing program | |
JP2003348455A (en) | System and method for adaptively compensating for dark current in image capture device |
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 |