CN106454140B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN106454140B CN106454140B CN201510477818.7A CN201510477818A CN106454140B CN 106454140 B CN106454140 B CN 106454140B CN 201510477818 A CN201510477818 A CN 201510477818A CN 106454140 B CN106454140 B CN 106454140B
- Authority
- CN
- China
- Prior art keywords
- section
- brightness
- image
- predetermined luminance
- value
- 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
Abstract
The present invention provides a kind of information processing method and electronic equipment, which comprises obtains the preview image of an image acquisition region;Predetermined luminance section needed for obtaining the first brightness section and Image Acquisition of the pixel on first part's image in the preview image;Judge whether first brightness section matches with the predetermined luminance section;When first brightness section and the predetermined luminance section mismatch, adjustment image acquisition parameter carries out Image Acquisition.Method provided by the invention is existing in the prior art for solving, the technical issues of the light detection ability of sensor is not made full use of during taking pictures, and then can not sufficiently show image detail.
Description
Technical field
The present invention relates to electronic technology field, in particular to a kind of information processing method and electronic equipment.
Background technique
With the fast development of digital image acquisition technology, not only image capture devices such as digital camera, digital camera
It has been popularized that, and the handheld terminals such as smart phone, tablet computer also have good image collecting function.
But since the dynamic range of the sensor of current camera is limited, the region-wide dynamic range of human eye can not be covered, is led
Cause can not pass through the true environment of picture showing.In order to solve this problem, there is HDR (high dynamic range images, High-
Dynamic Range), compared to common image, HDR image can provide more dynamic ranges and image detail, according to not
LDR (Low-Dynamic Range) image of same time for exposure, utilizes the LDR of corresponding best details of each time for exposure
Image synthesizes final HDR image, can preferably reflect the visual effect in true environment.
But present inventor during inventive technique scheme, has found above-mentioned technology extremely in realizing the embodiment of the present application
It has the following technical problems less:
During using HDR to take pictures, the light exposure of key area is only taken into account when shooting image, if exposure
To measure larger, sensor only detects bloom part, and image can be made partially bright on the whole, and low light part lacks image detail, if
Light exposure is smaller, and sensor only detects low light part, will lead to image on the whole partially secretly, and bloom part lacks image detail,
As it can be seen that the prior art exists, the light detection ability of sensor is not made full use of during taking pictures, and then can not sufficiently open up
The technical issues of existing image detail.
Summary of the invention
The present invention provides a kind of information processing method and electronic equipment, of the existing technology for solving, and is taking pictures
Not the technical issues of not making full use of the light detection ability of sensor in journey, and then can not sufficiently showing image detail.
On the one hand, the embodiment of the present application provides a kind of information processing method, comprising:
Obtain the preview image of an image acquisition region;
It obtains needed for the first brightness section and Image Acquisition of the pixel on first part's image in the preview image
Predetermined luminance section;
Judge whether first brightness section matches with the predetermined luminance section;
When first brightness section and the predetermined luminance section mismatch, adjustment image acquisition parameter carries out image
Acquisition.
Optionally, in the first brightness section and image for obtaining the pixel on first part's image in the preview image
Before predetermined luminance section needed for acquisition, the method also includes:
Detection obtains user for the operation of choosing of the preview image, and chooses operation based on described, from the preview
First part's image is determined on image;Or
The preview image intensity of light is located at the image on the region in a default range of light intensities be determined as it is described
First part's image.
Optionally, before judging whether first brightness section matches with the predetermined luminance section, the method
Further include:
Obtain pre-set normalization threshold value;
The first brightness value and the second brightness value are obtained according to the normalization threshold value, wherein first brightness value
Less than second brightness value;
Second brightness section is determined according to first brightness value and second brightness value, wherein described first
Brightness value is the first end point value of second brightness section, and second brightness value is the second end of second brightness section
Point value;
It is described to judge whether first brightness section matches with the predetermined luminance section, comprising:
Judge whether second brightness section matches with the predetermined luminance section;
When second brightness section and the predetermined luminance section mismatch, first brightness section and institute are determined
State predetermined luminance section mismatch.
Optionally, judge whether first brightness section matches with the predetermined luminance section, comprising:
The ratio value of the pixel in second brightness section is obtained, the ratio value refers on first part's image
Brightness is located at the ratio of pixel quantity total in the pixel quantity and first part's image in second brightness section;
The ratio value be greater than a proportion threshold value when, judge second brightness section whether with the predetermined luminance area
Between match;
When second brightness section and the predetermined luminance section mismatch, first brightness section and institute are determined
State predetermined luminance section mismatch.
Optionally, the adjustment image acquisition parameter carries out Image Acquisition, comprising:
According to the relationship of second brightness section and the predetermined luminance section, described image acquisition parameter is adjusted, and
Image Acquisition is carried out according to image acquisition parameter adjusted.
On the other hand, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Image acquisition units;
Processor is connect with described image acquisition unit, and the processor is used for: obtaining the preview of an image acquisition region
Image;It obtains pre- needed for the first brightness section and Image Acquisition of the pixel on first part's image in the preview image
If brightness section;Judge whether first brightness section matches with the predetermined luminance section;In first brightness section
When mismatching with the predetermined luminance section, adjustment image acquisition parameter carries out Image Acquisition.
Optionally, the processor is also used to:
In the first brightness section and the Image Acquisition institute for obtaining the pixel on first part's image in the preview image
Before the predetermined luminance section needed, detection obtains user for the operation of choosing of the preview image, and chooses behaviour based on described
Make, first part's image is determined from the preview image;Or
The preview image intensity of light is located at the image on the region in a default range of light intensities be determined as it is described
First part's image.
Optionally, the processor is also used to:
Before judging whether first brightness section matches with the predetermined luminance section, pre-set return is obtained
One changes threshold value;The first brightness value and the second brightness value are obtained according to the normalization threshold value, wherein described first is bright
Angle value is less than second brightness value;Second brightness region is determined according to first brightness value and second brightness value
Between, wherein first brightness value is the first end point value of second brightness section, and second brightness value is described second
Second endpoint value of brightness section;Judge whether second brightness section matches with the predetermined luminance section;Described
When two brightness sections and the predetermined luminance section mismatch, first brightness section and the predetermined luminance section are determined not
Matching.
Optionally, the processor is also used to:
The ratio value of the pixel in second brightness section is obtained, the ratio value refers on first part's image
Brightness is located at the ratio of pixel quantity total in the pixel quantity and first part's image in second brightness section;?
When the ratio value is greater than a proportion threshold value, judge whether second brightness section matches with the predetermined luminance section;?
When second brightness section and the predetermined luminance section mismatch, first brightness section and the predetermined luminance are determined
Section mismatches.
Optionally, the processor is also used to:
According to the relationship of second brightness section and the predetermined luminance section, described image acquisition parameter is adjusted, and
Image Acquisition is carried out according to image acquisition parameter adjusted.
On the other hand, the embodiment of the present application also provides a kind of electronic equipment, comprising:
Preview image obtaining unit, for obtaining the preview image of an image acquisition region;
Brightness section obtaining unit, first for obtaining the pixel on first part's image in the preview image are bright
Predetermined luminance section needed for spending section and Image Acquisition;
Judging unit, for judging whether first brightness section matches with the predetermined luminance section;
Adjustment unit, for when first brightness section and the predetermined luminance section mismatch, adjustment image to be adopted
Collect parameter and carries out Image Acquisition.
The one or more technical solutions provided in the embodiment of the present invention have at least the following technical effects or advantages: this
In the scheme for applying for embodiment, by obtaining the preview image of an image acquisition region during taking pictures, and obtain described pre-
Look at predetermined luminance section needed for the first brightness section and Image Acquisition of the pixel on first part's image in image;Judgement
Whether first brightness section matches with the predetermined luminance section;In first brightness section and the predetermined luminance area
Between when mismatching, adjustment image acquisition parameter carries out Image Acquisition.Wherein, predetermined luminance section refers to the sensing in electronic equipment
Device needs the brightness section detected, the first brightness section and predetermined luminance of the pixel of first part's image of preview image
Section matching, show the first brightness section be a biggish brightness range, can show bloom part image detail and
Show the image detail of low light part, so that the bloom part of whole image and low light part are more balanced, to alleviate existing
There is technology not make full use of the light detection photoperceptivity of sensor during taking pictures, and then it is thin sufficiently to show image
The technical issues of section, realizes the light detection photoperceptivity for making full use of sensor during taking pictures, and then sufficiently shows image
The technical effect of details.
Detailed description of the invention
Fig. 1 is the flow chart of information processing method in the embodiment of the present application one;
Fig. 2 is the selection schematic diagram of first part's image in the embodiment of the present application one;
Fig. 3 is the schematic diagram of histogram in the embodiment of the present application one;
Fig. 4 is the schematic diagram of normalization histogram in the embodiment of the present application one;
Fig. 5 is the structural block diagram of electronic equipment in the embodiment of the present application two;
Fig. 6 is the structural block diagram of electronic equipment in the embodiment of the present application three.
Specific embodiment
The embodiment of the present invention provides a kind of information processing method and electronic equipment, for solving the prior art in the process of taking pictures
In do not make full use of the light detection photoperceptivity of sensor, it is real and then the technical issues of can not sufficiently show image detail
The light detection photoperceptivity of sensor is made full use of during taking pictures now, and then sufficiently shows the technical effect of image detail.
In order to solve the above technical problems, general thought is as follows for technical solution in the embodiment of the present invention:
A kind of information processing method, comprising:
Obtain the preview image of an image acquisition region;
It obtains needed for the first brightness section and Image Acquisition of the pixel on first part's image in the preview image
Predetermined luminance section;
Judge whether first brightness section matches with the predetermined luminance section;
When first brightness section and the predetermined luminance section mismatch, adjustment image acquisition parameter carries out image
Acquisition.
From above scheme as can be seen that by by the first brightness section of the pixel of acquired image and Image Acquisition institute
The predetermined luminance section needed is matched, wherein predetermined luminance section refers to the brightness range that sensor is able to detect that, at this
In brightness range, it usually can adequately show the details of low light part and bloom part on image, and then alleviating existing skill
Art does not make full use of the light detection photoperceptivity of sensor during taking pictures, and then can not sufficiently show image detail
Technical problem realizes the light detection photoperceptivity for making full use of sensor, and then sufficiently shows the technical effect of image detail.
With reference to the accompanying drawing to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solution
The beneficial effect that can reach is explained in detail.
Embodiment one
The embodiment of the present application provides a kind of information processing method, and this method is applied in electronic equipment, and electronic equipment can be with
For smart phone, tablet computer, digital camera etc., the photosensitive element of these electronic equipments can be charge coupled cell (English:
Charge-coupled Device;Referred to as: CCD), be also possible to complementary metal oxide semiconductor (English:
Complementary Metal Oxide Semiconductor;Referred to as: CMOS) or other are able to carry out photosensitive imaging
Sensitive component.
As shown in Figure 1, which comprises
S101: the preview image of an image acquisition region is obtained.
S102: the first brightness section and Image Acquisition of the pixel on first part's image in the preview image are obtained
Required predetermined luminance section.
S103: judge whether first brightness section matches with the predetermined luminance section.
S104: when first brightness section and the predetermined luminance section mismatch, adjustment image acquisition parameter into
Row Image Acquisition.
In S101, image acquisition region refers to the region in space environment, and preview image refers to be adopted according to present image
Collect the image that parameter acquisition obtains.
After obtaining preview image, electronic equipment executes S102, obtains on first part's image in the preview image
Pixel the first brightness section and Image Acquisition needed for predetermined luminance section.
Wherein, first part's image refers to that a part of image on preview image, this parts of images are to need to be exposed
The image of control.In the embodiment of the present application, first part's image can be determined by following two mode, had been embodied
Cheng Zhong is not limited to following two mode.
First way, detection obtain user for the operation of choosing of the preview image, and choose operation based on described,
First part's image is determined from the preview image.As shown in Fig. 2, the region in dotted line frame is the area that user chooses
Domain, when carrying out choosing operation, user can move the position of dotted line frame, and be sized, and then, electronic equipment is by dotted line
The image in region in frame is as first part's image.
The preview image intensity of light (i.e. brightness) is located at the region in a default range of light intensities by the second way
Interior image is determined as first part's image.Specifically, luminous intensity unit is candela cd (candela), electronic equipment
In can preset a range of light intensities, such as: user wishes the details of the object by luminous intensity in 200cd to 400cd
Shoot it is clear, then can be set range of light intensities be 200cd to 400cd.Then electronic equipment can arrive luminous intensity in 200cd
Image of the 400cd within the scope of this is as first part's image, wherein and luminous intensity can be the average luminous intensity in a region,
If the maximum region of area can be chosen there are the isolated area that multiple range of light intensities are 200cd to 400cd on image
Interior image is as first part's image.
Further, selection first part's image can also be the combination of both modes, for example first use the second way
The image-region fallen within the scope of a brightness section is found out, then with the second way i.e. by user by selecting in the image
First part's image is chosen in region.First user can also be allowed substantially to select one piece of region using first way, then used
The second way accurately selects the first part's image fallen within the scope of luma target in this block region.
In S102, the first brightness section refers to the range of the brightness value of all pixels on first part's image.In reality
In the application of border, the distribution situation of pixel in histogram table diagram picture can be used.Histogram refers to graphically each of image
The pixel quantity of gray scale or normalized pixel ratio show the distribution situation of pixel in the picture.As shown in figure 3, being
The histogram of one image, the low smooth partial pixel point that can be seen that the image from pixel distribution situation are less.
In S102, predetermined luminance section needed for Image Acquisition refers to that the sensor needs in electronic equipment detect
Brightness section, predetermined luminance section is a biggish brightness range, including low light part and bloom part, when the picture of image
When the brightness section of element is distributed within this range, illustrate that the image sufficiently presents the details of low light part and bloom part.
In other words, predetermined luminance section refers to the parameter of sensor itself, i.e. the brightness range that is able to detect that of sensor.The application is real
It applies in example, predetermined luminance section can be preset in the electronic device.Such as: assuming that sensor be able to detect that it is most light
Angle value is max, and the brightness range that sensor is able to detect that is [0, max], then it is [a, b] that predetermined luminance section, which can be set,
Wherein, a and b indicates that brightness value, b are less than max, then [b, max] refers to the part bloom part that sensor does not use,
[0, a] refers to the low light part in part that sensor does not use.
In practical applications, though sensor do not use the low light part in part bloom part [b, max] and part [0,
A], since [a, b] is a biggish brightness range, when the brightness section of the pixel of image is distributed within this range,
It is considered that image sufficiently presents the details of low light part and bloom part.
Next, electronic equipment executes S103, that is, judge whether are first brightness section and the predetermined luminance section
Matching.Specifically, it is assumed that the first brightness section is [c, d], wherein c and d indicate brightness value, if c≤a and d >=b, i.e.,
The range of first brightness section is more than or equal to predetermined luminance section, then can determine the first brightness section and predetermined luminance area
Between match;If c>a and/or d<b can then determine that the first brightness section and predetermined luminance section mismatch.
Next, electronic equipment executes S104, i.e., when the first brightness section and predetermined luminance section mismatch, adjustment figure
As acquisition parameter carries out Image Acquisition.
In the embodiment of the present application, image acquisition parameter is the parameter for controlling light exposure, and image acquisition parameter can be aperture
Size, shutter speed etc..Specifically, if c > a, show that the pixel of low light part on image is less, be unable to fully show
The image detail of low light part then needs to increase aperture, reduces shutter speed, to increase light exposure., whereas if d <b, shows
The pixel of bloom part is less on image, is unable to fully show the image detail of bloom part, then needs to reduce aperture, increases
Shutter speed, to reduce light exposure.
In the embodiment of the present application, the first brightness section can be the brightness section of all pixels on first part's image.It can
Choosing, the first brightness section can also be the brightness section of partial pixel on first part's image.Specifically, described in the judgement
Before whether the first brightness section matches with the predetermined luminance section, the method also includes:
Obtain pre-set normalization threshold value;The first brightness value and the are obtained according to the normalization threshold value
Two brightness values, wherein first brightness value is less than second brightness value;According to first brightness value and described second bright
Angle value determines second brightness section, wherein first brightness value is the first end point value of second brightness section, institute
State the second endpoint value that the second brightness value is second brightness section.
Specifically, as shown in figure 4, being normalization histogram, wherein L is to preset a normalization threshold value,
If ratio shared by the quantity of the pixel of certain gray scales is less than the normalization threshold value on first part's image, this
A little pixels will ignore.It in the specific implementation process, can be to the value of L according to the image brightness distribution situation of different images
It is set.Such as: biggish L value can be set in the image concentrated for the Luminance Distribution of image, the brightness point for image
The wide image of cloth can set lesser L value.
Next, determining the first end point value e and the second break value of the second brightness section according to L value and normalization histogram
F, as shown in figure 4, determining that the intersection point of straight line y=L and normalized function f (x) are respectively e and f, in the specific implementation process, such as
Fruit have according to the intersection point of L value and function f (x) it is multiple, then can take minimum value therein be e, maximum value f.Then, according to first
Endpoint value e and the second endpoint value f determines that the second brightness section is [e, f].
After determining the second brightness section, S103 include: judge second brightness section whether with it is described preset it is bright
Spend section matching;When second brightness section and the predetermined luminance section mismatch, first brightness section is determined
It is mismatched with the predetermined luminance section.
Specifically, that is, the range of the second brightness section is more than or equal to predetermined luminance section, then if e≤a and f >=b
It can determine that the second brightness section is matched with predetermined luminance section;If c>a and/or d<b can then determine the second brightness section
It is mismatched with predetermined luminance section.
Then, when the second brightness section is matched with predetermined luminance section, the first brightness section and predetermined luminance area are determined
Between match, when the second brightness section is matched with predetermined luminance section, determine that the first brightness section is matched with predetermined luminance section.
In the embodiment of the present application, in order to which the pixel for being located at gray scale in the second brightness section [e, f] contains first
Most of pixel on parts of images, the method also includes:
The first step, obtains the ratio value of the pixel in second brightness section, and the ratio value refers to described first
Brightness is located at pixel quantity total in the pixel quantity and first part's image in second brightness section on partial image
Ratio.
Second step, the ratio value be greater than a proportion threshold value when, judge second brightness section whether with it is described pre-
If brightness section matches.
Third step determines first brightness when second brightness section and the predetermined luminance section mismatch
Section and the predetermined luminance section mismatch.
Specifically, firstly, calculating ratio value shared by the pixel in the second brightness section [e, f].Wherein, ratio value is
Refer to that the brightness of pixel is located at the ratio of pixel quantity total in the pixel quantity and first part's image in the second brightness section [e, f]
Value.Assuming that normalized function is f (x), the then pixel quantity in the second brightness section [e, f]SefFor e, f it
Between envelope in area the ratio value is then determined according to pixel quantity total in pixel quantity and first part's image.
In the embodiment of the present application, a proportion threshold value can be preset.If the pixel institute in the second brightness section [e, f]
The ratio value accounted for is more than or equal to proportion threshold value, then it is assumed that the pixel in the second brightness section contains on first part's image
Most of pixel, if ratio value shared by pixel in the second brightness section [e, f] is less than proportion threshold value, then it is assumed that second
Pixel in brightness section does not include most of pixel on first part's image.Wherein, proportion threshold value can for 80% or
Person 90%, and the application is without limitation.
Further, it is more than or equal to proportion threshold value, and the second brightness section and predetermined luminance section in the ratio value
When matching, determine that the first brightness section is matched with predetermined luminance section.It is more than or equal to proportion threshold value in the ratio value, and
When second brightness section and predetermined luminance section mismatch, determine that the first brightness section and predetermined luminance section mismatch.And
The ratio value is less than proportion threshold value, does not judge the second brightness section and predetermined luminance section, and then can not determine
The matching relationship of first brightness section and predetermined luminance section.
In the embodiment of the present application, after the matching relationship for determining the second brightness section and predetermined luminance section, S104 packet
It includes: according to the relationship of second brightness section and the predetermined luminance section, adjusting described image acquisition parameter, and according to tune
Image acquisition parameter after whole carries out Image Acquisition.
Specifically, image acquisition parameter be control light exposure parameter, image acquisition parameter can for f-number size,
Shutter speed etc..If e > a, show that the pixel of low light part on image is less, then need to increase aperture, reduces shutter speed
Degree, to increase light exposure., whereas if f <b, shows that the pixel of bloom part on image is less, then need to reduce aperture, increases
Big shutter speed, to reduce light exposure.
In the embodiment of the present application, after changing shutter speed and aperture size, preview image can occur to change accordingly,
The method in the embodiment of the present application is then repeated, until the first brightness section and predetermined luminance section match, then according to current
Image acquisition parameter carry out Image Acquisition.When the first brightness section and predetermined luminance section match, biography can make full use of
The light detection photoperceptivity of sensor, and then sufficiently show image in the details of low light part and bloom part.
Embodiment two
Based on the same inventive concept, the embodiment of the present application also provides a kind of electronic equipment, as shown in Figure 5, comprising:
Image acquisition units 20;
Processor 21 is connect with described image acquisition unit 20, and the processor 21 is used for: obtaining an image acquisition region
Preview image;Obtain the first brightness section and the Image Acquisition institute of the pixel on first part's image in the preview image
The predetermined luminance section needed;Judge whether first brightness section matches with the predetermined luminance section;It is bright described first
When spending section and predetermined luminance section mismatch, adjustment image acquisition parameter carries out Image Acquisition.
Optionally, the processor 21 is also used to:
In the first brightness section and the Image Acquisition institute for obtaining the pixel on first part's image in the preview image
Before the predetermined luminance section needed, detection obtains user for the operation of choosing of the preview image, and chooses behaviour based on described
Make, first part's image is determined from the preview image;Or
The preview image intensity of light is located at the image on the region in a default range of light intensities be determined as it is described
First part's image.
Optionally, the processor 21 is also used to:
Before judging whether first brightness section matches with the predetermined luminance section, pre-set return is obtained
One changes threshold value;The first brightness value and the second brightness value are obtained according to the normalization threshold value, wherein described first is bright
Angle value is less than second brightness value;Second brightness region is determined according to first brightness value and second brightness value
Between, wherein first brightness value is the first end point value of second brightness section, and second brightness value is described second
Second endpoint value of brightness section;Judge whether second brightness section matches with the predetermined luminance section;Described
When two brightness sections and the predetermined luminance section mismatch, first brightness section and the predetermined luminance section are determined not
Matching.
Optionally, the processor 21 is also used to:
The ratio value of the pixel in second brightness section is obtained, the ratio value refers on first part's image
Brightness is located at the ratio of pixel quantity total in the pixel quantity and first part's image in second brightness section;?
When the ratio value is greater than a proportion threshold value, judge whether second brightness section matches with the predetermined luminance section;?
When second brightness section and the predetermined luminance section mismatch, first brightness section and the predetermined luminance are determined
Section mismatches.
Optionally, the processor 21 is also used to:
According to the relationship of second brightness section and the predetermined luminance section, described image acquisition parameter is adjusted, and
Image Acquisition is carried out according to image acquisition parameter adjusted.
Embodiment three
Based on the same inventive concept, the embodiment of the present application also provides a kind of electronic equipment, as shown in Figure 6, comprising:
Preview image obtaining unit 30, for obtaining the preview image of an image acquisition region;
Brightness section obtaining unit 31, for obtaining first of the pixel on first part's image in the preview image
Predetermined luminance section needed for brightness section and Image Acquisition;
Judging unit 32, for judging whether first brightness section matches with the predetermined luminance section;
Adjustment unit 33, for adjusting image when first brightness section and the predetermined luminance section mismatch
Acquisition parameter carries out Image Acquisition.
Optionally, the electronic equipment further include:
First part's image acquiring unit, for obtaining the pixel on first part's image in the preview image
Before predetermined luminance section needed for first brightness section and Image Acquisition, detection obtains the choosing that user is directed to the preview image
Middle operation, and operation is chosen based on described, first part's image is determined from the preview image;Or
The preview image intensity of light is located at the image on the region in a default range of light intensities be determined as it is described
First part's image.
Optionally, the electronic equipment further include:
Second brightness section determination unit, for judge whether are first brightness section and the predetermined luminance section
Before matching, pre-set normalization threshold value is obtained;According to the normalization threshold value obtain the first brightness value and
Second brightness value, wherein first brightness value is less than second brightness value;According to first brightness value and described second
Brightness value determines second brightness section, wherein first brightness value is the first end point value of second brightness section,
Second brightness value is the second endpoint value of second brightness section;
The judging unit 32 is specifically used for judging whether second brightness section matches with the predetermined luminance section;
When second brightness section and the predetermined luminance section mismatch, determine first brightness section with it is described preset it is bright
Section is spent to mismatch.
Optionally, the judging unit 32 is specifically used for:
The ratio value of the pixel in second brightness section is obtained, the ratio value refers on first part's image
Brightness is located at the ratio of pixel quantity total in the pixel quantity and first part's image in second brightness section;?
When the ratio value is greater than a proportion threshold value, judge whether second brightness section matches with the predetermined luminance section;?
When second brightness section and the predetermined luminance section mismatch, first brightness section and the predetermined luminance are determined
Section mismatches.
Optionally, the adjustment unit 33 is specifically used for according to second brightness section and the predetermined luminance section
Relationship adjusts described image acquisition parameter, and carries out Image Acquisition according to image acquisition parameter adjusted.
By one or more technical solutions in the embodiment of the present application, following one or more technology effects may be implemented
Fruit:
The one or more technical solutions provided in the embodiment of the present invention have at least the following technical effects or advantages: this
In the scheme for applying for embodiment, by obtaining the preview image of an image acquisition region during taking pictures, and obtain described pre-
Look at predetermined luminance section needed for the first brightness section and Image Acquisition of the pixel on first part's image in image;Judgement
Whether first brightness section matches with the predetermined luminance section;In first brightness section and the predetermined luminance area
Between when mismatching, adjustment image acquisition parameter carries out Image Acquisition.Wherein, predetermined luminance section refers to the sensing in electronic equipment
Device needs the brightness section detected, the first brightness section and predetermined luminance of the pixel of first part's image of preview image
Section matching, show the first brightness section be a biggish brightness range, can show bloom part image detail and
Show the image detail of low light part, so that the bloom part of whole image and low light part are more balanced, to alleviate existing
The technical issues of having the light detection ability for not making full use of sensor in technology, and then can not sufficiently showing image detail,
It realizes the light detection ability for making full use of sensor, and then sufficiently shows the technical effect of image detail.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Specifically, the corresponding computer program instructions of information processing method in the embodiment of the present application can be stored in
CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions quilt corresponding with information processing method in storage medium
One electronic equipment reads or is performed, and includes the following steps:
Obtain the preview image of an image acquisition region;
It obtains needed for the first brightness section and Image Acquisition of the pixel on first part's image in the preview image
Predetermined luminance section;
Judge whether first brightness section matches with the predetermined luminance section;
When first brightness section and the predetermined luminance section mismatch, adjustment image acquisition parameter carries out image
Acquisition.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
It is rapid: to obtain and preset needed for the first brightness section and Image Acquisition of the pixel on first part's image in the preview image
Brightness section, corresponding computer instruction are performed before, are performed, include the following steps: when executed
Detection obtains user for the operation of choosing of the preview image, and chooses operation based on described, from the preview
First part's image is determined on image;Or
The preview image intensity of light is located at the image on the region in a default range of light intensities be determined as it is described
First part's image.
Optionally, be also stored with other computer instruction in the storage medium, these computer instructions with step
It is rapid: judge whether first brightness section matches with the predetermined luminance section, corresponding computer instruction is performed before,
It is performed, includes the following steps: when executed
Obtain pre-set normalization threshold value;
The first brightness value and the second brightness value are obtained according to the normalization threshold value, wherein first brightness value
Less than second brightness value;
Second brightness section is determined according to first brightness value and second brightness value, wherein described first
Brightness value is the first end point value of second brightness section, and second brightness value is the second end of second brightness section
Point value.
Optionally, store in the storage medium and step: judge first brightness section and the predetermined luminance
Whether section matches, and corresponding computer instruction specifically comprises the following steps: during being specifically performed
Judge whether second brightness section matches with the predetermined luminance section;
When second brightness section and the predetermined luminance section mismatch, first brightness section and institute are determined
State predetermined luminance section mismatch.
Optionally, store in the storage medium and step: judge first brightness section and the predetermined luminance
Whether section matches, and corresponding computer instruction specifically comprises the following steps: during being specifically performed
The ratio value of the pixel in second brightness section is obtained, the ratio value refers on first part's image
Brightness is located at the ratio of pixel quantity total in the pixel quantity and first part's image in second brightness section;
The ratio value be greater than a proportion threshold value when, judge second brightness section whether with the predetermined luminance area
Between match;
When second brightness section and the predetermined luminance section mismatch, first brightness section and institute are determined
State predetermined luminance section mismatch.
Optionally, store in the storage medium and step: adjustment image acquisition parameter carries out Image Acquisition, corresponding
Computer instruction specifically comprises the following steps: during being specifically performed
According to the relationship of second brightness section and the predetermined luminance section, described image acquisition parameter is adjusted, and
Image Acquisition is carried out according to image acquisition parameter adjusted.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (11)
1. a kind of information processing method, comprising:
Obtain the preview image of an image acquisition region;
It obtains pre- needed for the first brightness section and Image Acquisition of the pixel on first part's image in the preview image
If brightness section;
Judge whether first brightness section matches with the predetermined luminance section;
When first brightness section and the predetermined luminance section mismatch, adjustment image acquisition parameter carries out image and adopts
Collection;
Wherein, judge whether first brightness section matches with the predetermined luminance section, comprising: the model of the first brightness section
It encloses and is more than or equal to predetermined luminance section, determine that the first brightness section is matched with predetermined luminance section.
2. the method as described in claim 1, which is characterized in that on obtaining first part's image in the preview image
Before predetermined luminance section needed for the first brightness section and Image Acquisition of pixel, the method also includes:
Detection obtains user for the operation of choosing of the preview image, and chooses operation based on described, from the preview image
On determine first part's image;Or
The image preview image intensity of light being located on the region in a default range of light intensities is determined as described first
Parts of images.
3. method according to claim 2, which is characterized in that judging first brightness section and the predetermined luminance area
Between whether match before, the method also includes:
Obtain pre-set normalization threshold value;
The first brightness value and the second brightness value are obtained according to the normalization threshold value, wherein first brightness value is less than
Second brightness value;
The second brightness section is determined according to first brightness value and second brightness value, wherein first brightness value is
The first end point value of second brightness section, second brightness value are the second endpoint value of second brightness section;
It is described to judge whether first brightness section matches with the predetermined luminance section, comprising:
Judge whether second brightness section matches with the predetermined luminance section;
When second brightness section and the predetermined luminance section mismatch, determine first brightness section with it is described pre-
If brightness section mismatches.
4. method as claimed in claim 3, which is characterized in that judge first brightness section and the predetermined luminance section
Whether match, comprising:
The ratio value of the pixel in second brightness section is obtained, the ratio value refers to brightness on first part's image
The ratio of total pixel quantity in pixel quantity and first part's image in second brightness section;
The ratio value be greater than a ratio threshold when, judge second brightness section whether with the predetermined luminance section
Match;
When second brightness section and the predetermined luminance section mismatch, determine first brightness section with it is described pre-
If brightness section mismatches.
5. the method as claimed in claim 3 or 4, which is characterized in that the adjustment image acquisition parameter carries out Image Acquisition, packet
It includes:
According to the relationship of second brightness section and the predetermined luminance section, described image acquisition parameter is adjusted, and according to
Image acquisition parameter adjusted carries out Image Acquisition.
6. a kind of electronic equipment, comprising:
Image acquisition units;
Processor is connect with described image acquisition unit, and the processor is used for;Obtain the preview graph of an image acquisition region
Picture;It obtains and is preset needed for the first brightness section and Image Acquisition of the pixel on first part's image in the preview image
Brightness section;Judge whether first brightness section matches with the predetermined luminance section;First brightness section with
When the predetermined luminance section mismatches, adjustment image acquisition parameter carries out Image Acquisition;
Wherein, judge whether first brightness section matches with the predetermined luminance section, comprising: the model of the first brightness section
It encloses and is more than or equal to predetermined luminance section, determine that the first brightness section is matched with predetermined luminance section.
7. electronic equipment as claimed in claim 6, which is characterized in that the processor is also used to:
Needed for the first brightness section and Image Acquisition for obtaining the pixel on first part's image in the preview image
Before predetermined luminance section, detection obtains user for the operation of choosing of the preview image, and chooses operation based on described, from
First part's image is determined on the preview image;Or
The image preview image intensity of light being located on the region in a default range of light intensities is determined as described first
Parts of images.
8. electronic equipment as claimed in claim 7, which is characterized in that the processor is also used to:
Before judging whether first brightness section matches with the predetermined luminance section, pre-set normalization is obtained
Threshold value;The first brightness value and the second brightness value are obtained according to the normalization threshold value, wherein first brightness value
Less than second brightness value;The second brightness section is determined according to first brightness value and second brightness value, wherein institute
The first end point value that the first brightness value is second brightness section is stated, second brightness value is second brightness section
Second endpoint value;Judge whether second brightness section matches with the predetermined luminance section;In second brightness section
When mismatching with the predetermined luminance section, determine that first brightness section and the predetermined luminance section mismatch.
9. electronic equipment as claimed in claim 8, which is characterized in that the processor is also used to;
The ratio value of the pixel in second brightness section is obtained, the ratio value refers to brightness on first part's image
The ratio of total pixel quantity in pixel quantity and first part's image in second brightness section;Described
When ratio value is greater than a proportion threshold value, judge whether second brightness section matches with the predetermined luminance section;Described
When second brightness section and the predetermined luminance section mismatch, first brightness section and the predetermined luminance section are determined
It mismatches.
10. electronic equipment as claimed in claim 8 or 9, which is characterized in that the processor is also used to;
According to the relationship of second brightness section and the predetermined luminance section, described image acquisition parameter is adjusted, and according to
Image acquisition parameter adjusted carries out Image Acquisition.
11. a kind of electronic equipment, comprising:
Preview image obtaining unit, for obtaining the preview image of an image acquisition region;
Brightness section obtaining unit, for obtaining the first brightness region of the pixel on first part's image in the preview image
Between and Image Acquisition needed for predetermined luminance section;
Judging unit, for judging whether first brightness section matches with the predetermined luminance section, wherein described in judgement
Whether the first brightness section matches with the predetermined luminance section, comprising: the range of the first brightness section is more than or equal to pre-
If brightness section, determine that the first brightness section is matched with predetermined luminance section;
Adjustment unit, for when first brightness section and the predetermined luminance section mismatch, adjustment Image Acquisition to be joined
Number carries out Image Acquisition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510477818.7A CN106454140B (en) | 2015-08-06 | 2015-08-06 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510477818.7A CN106454140B (en) | 2015-08-06 | 2015-08-06 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106454140A CN106454140A (en) | 2017-02-22 |
CN106454140B true CN106454140B (en) | 2019-06-25 |
Family
ID=58092912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510477818.7A Active CN106454140B (en) | 2015-08-06 | 2015-08-06 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454140B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108234889A (en) * | 2018-03-19 | 2018-06-29 | 浙江国自机器人技术有限公司 | A kind of method, apparatus and storage medium for adjusting Image Acquisition brightness |
CN109862282B (en) * | 2019-02-18 | 2021-04-30 | Oppo广东移动通信有限公司 | Method and device for processing person image |
CN110933799B (en) * | 2019-12-25 | 2021-06-18 | 浙江杜比医疗科技有限公司 | Dynamic self-adaptive linear prediction control method, system and device |
WO2021196208A1 (en) * | 2020-04-03 | 2021-10-07 | 深圳市大疆创新科技有限公司 | Image processing method, zoom camera, camera load device, and unmanned aerial vehicle |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953515A (en) * | 2006-11-21 | 2007-04-25 | 北京中星微电子有限公司 | A method to automatically regulate the image brightness and automatic imaging device |
CN101873437A (en) * | 2009-09-15 | 2010-10-27 | 杭州海康威视系统技术有限公司 | Method and device for regulating exposure |
CN103607523A (en) * | 2013-11-26 | 2014-02-26 | 深圳市金立通信设备有限公司 | Method and terminal for adjusting colors of images |
CN104052931A (en) * | 2014-06-27 | 2014-09-17 | 宇龙计算机通信科技(深圳)有限公司 | Image shooting device, method and terminal |
CN104301624A (en) * | 2014-10-30 | 2015-01-21 | 青岛海信移动通信技术股份有限公司 | Image shooting brightness control method and device |
CN104754200A (en) * | 2013-12-31 | 2015-07-01 | 联芯科技有限公司 | Method and system for adjusting automatic exposure |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101822655B1 (en) * | 2011-06-21 | 2018-01-29 | 삼성전자주식회사 | Object recognition method using camera and camera system for the same |
TWI521964B (en) * | 2012-02-13 | 2016-02-11 | 宏達國際電子股份有限公司 | Exposure value adjustment apparatus, method, and computer program product thereof |
KR101864829B1 (en) * | 2012-05-30 | 2018-07-04 | 삼성전자주식회사 | Photographing apparatus, method for controlling the same, and computer-readable recording medium |
-
2015
- 2015-08-06 CN CN201510477818.7A patent/CN106454140B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1953515A (en) * | 2006-11-21 | 2007-04-25 | 北京中星微电子有限公司 | A method to automatically regulate the image brightness and automatic imaging device |
CN101873437A (en) * | 2009-09-15 | 2010-10-27 | 杭州海康威视系统技术有限公司 | Method and device for regulating exposure |
CN103607523A (en) * | 2013-11-26 | 2014-02-26 | 深圳市金立通信设备有限公司 | Method and terminal for adjusting colors of images |
CN104754200A (en) * | 2013-12-31 | 2015-07-01 | 联芯科技有限公司 | Method and system for adjusting automatic exposure |
CN104052931A (en) * | 2014-06-27 | 2014-09-17 | 宇龙计算机通信科技(深圳)有限公司 | Image shooting device, method and terminal |
CN104301624A (en) * | 2014-10-30 | 2015-01-21 | 青岛海信移动通信技术股份有限公司 | Image shooting brightness control method and device |
Non-Patent Citations (1)
Title |
---|
一种亮度可控与细节保持的高动态范围图像色调映射方法;陆许明、朱雄泳、李智文、麦建业、谭洪舟;《自动化学报》;20150615;第41卷(第6期);全文 |
Also Published As
Publication number | Publication date |
---|---|
CN106454140A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107635102B (en) | Method and device for acquiring exposure compensation value of high-dynamic-range image | |
CN111028189B (en) | Image processing method, device, storage medium and electronic equipment | |
CN108335279B (en) | Image fusion and HDR imaging | |
US9363446B2 (en) | Automatic exposure control for sequential images | |
US9407831B2 (en) | Intelligent auto-exposure bracketing | |
CN108322646B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
CN107888840B (en) | High-dynamic-range image acquisition method and device | |
JP6160004B2 (en) | Scene recognition method and apparatus | |
CN108668093B (en) | HDR image generation method and device | |
US10805508B2 (en) | Image processing method, and device | |
CN107948538B (en) | Imaging method, imaging device, mobile terminal and storage medium | |
EP3479559A1 (en) | Systems and methods for capturing digital images | |
CN111028190A (en) | Image processing method, image processing device, storage medium and electronic equipment | |
US9307213B2 (en) | Robust selection and weighting for gray patch automatic white balancing | |
CN106454140B (en) | A kind of information processing method and electronic equipment | |
CN108924427A (en) | A kind of video camera focus method, device and video camera | |
CN110445986A (en) | Image processing method, device, storage medium and electronic equipment | |
CN112261292B (en) | Image acquisition method, terminal, chip and storage medium | |
CN110740266B (en) | Image frame selection method and device, storage medium and electronic equipment | |
CN105556957B (en) | A kind of image processing method, computer storage media, device and terminal | |
WO2013109192A1 (en) | Method and device for image processing | |
US10972676B2 (en) | Image processing method and electronic device capable of optimizing hdr image by using depth information | |
CN108337448B (en) | High dynamic range image acquisition method and device, terminal equipment and storage medium | |
TWI778476B (en) | Dual sensor imaging system and imaging method thereof | |
CN106686320A (en) | Tone mapping method based on numerical density balance |
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 |