CN103546675B - Brightness adjustment method and electronic equipment - Google Patents

Brightness adjustment method and electronic equipment Download PDF

Info

Publication number
CN103546675B
CN103546675B CN201210245801.5A CN201210245801A CN103546675B CN 103546675 B CN103546675 B CN 103546675B CN 201210245801 A CN201210245801 A CN 201210245801A CN 103546675 B CN103546675 B CN 103546675B
Authority
CN
China
Prior art keywords
image information
ambient image
brightness value
image
information
Prior art date
Application number
CN201210245801.5A
Other languages
Chinese (zh)
Other versions
CN103546675A (en
Inventor
付荣耀
贺志强
柴海新
阳光
Original Assignee
联想(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 联想(北京)有限公司 filed Critical 联想(北京)有限公司
Priority to CN201210245801.5A priority Critical patent/CN103546675B/en
Publication of CN103546675A publication Critical patent/CN103546675A/en
Application granted granted Critical
Publication of CN103546675B publication Critical patent/CN103546675B/en

Links

Abstract

The invention discloses a brightness adjustment method used for improving shooting quality. The method includes: acquiring first image information including environmental image information and object image information of at least one shooting object; performing brightness analysis on the first image information to generate a brightness analysis result; judging whether a brightness value of an environmental image corresponding to the environmental image information is required to be adjusted or not according to preset conditions and the brightness analysis result; if yes, adjusting the brightness value of the environmental image corresponding to the environmental image information. The invention further discloses electronic equipment used for implementing the method.

Description

A kind of brightness adjusting method and electronic equipment

Technical field

The present invention relates to computer and built-in field, more particularly to a kind of brightness adjusting method and electronic equipment.

Background technology

An object is placed on a display screen, and when being shot to the object, may be lighted by screen itself is influenceed, So as to the quality for disturbing the subject image to be acquired, the photo of shooting may be made not clear enough, reduce the identified probability of object.

The content of the invention

The embodiment of the present invention provides a kind of brightness adjusting method and electronic equipment, for solving in the prior art when shooting The technical problem of brightness cannot be adjusted, the technique effect for improving shooting quality is realized.

A kind of brightness adjusting method, is applied to an electronic equipment, and the electronic equipment has a display screen, and the electronics sets It is standby to include the image acquisition units that shoot display screen top object, comprise the following steps:

The first image information is obtained, described first image information includes ambient image information and at least one reference object Object images information;

Luminance Analysis are carried out to described first image information, a Luminance Analysis result is generated;

Judged whether to need according to pre-conditioned and described Luminance Analysis result to corresponding to the ambient image information The brightness value of ambient image is adjusted;

When judged result is to be, the brightness value to the ambient image corresponding to the ambient image information is adjusted.

Preferably, the step of carrying out Luminance Analysis to described first image information includes:Using central average metering, part Light-metering, spot light-metering, Multi spot metering or segmentation Exposure Metering carry out Luminance Analysis to described first image information.

Preferably, judging whether to need to the ambient image information institute according to pre-conditioned and described Luminance Analysis result The step of brightness value of corresponding ambient image is adjusted includes:When the Luminance Analysis result shows the object images letter In the corresponding object images of breath in a little less brightness value and the ambient image corresponding to the ambient image information at least When the difference of the brightness value of any is not within the preset range, it is determined that needing to the ring corresponding to the ambient image information Should be adjusted to a little less brightness value in the image of border.

Preferably, when judged result is to be, the brightness value to the ambient image corresponding to the ambient image information enters The step of row regulation, includes:The brightness value of the ambient image corresponding to the ambient image information is entered according to the preset range Row regulation.

Preferably, also including step:Described first image information is taken pictures after brightness value regulation is carried out, obtains it The first corresponding image.

Preferably, also including step after the first image corresponding to it is obtained:The first image to obtaining is known Not, recognition result is obtained.

A kind of electronic equipment, the electronic equipment has a display screen, including:

The image acquisition units of display screen top object can be shot, for obtaining the first image information, described first Image information includes the object images information of ambient image information and at least one reference object, and described first image is believed Breath carries out Luminance Analysis, generates a Luminance Analysis result;

Judging unit, for judging whether to need to the ambient image according to pre-conditioned and described Luminance Analysis result The brightness value of the ambient image corresponding to information is adjusted;

Adjustment unit, for when judged result is to be, to the bright of the ambient image corresponding to the ambient image information Angle value is adjusted.

Preferably, described image collecting unit is specifically for using central average metering, Partial metering, spot light-metering, multiple spot Light-metering or segmentation Exposure Metering carry out Luminance Analysis to described first image information.

Preferably, the judging unit when the Luminance Analysis result specifically for showing that the object images information institute is right It is extremely a little less with the ambient image corresponding to the ambient image information to a little less brightness value in the object images answered When the difference of brightness value is not within the preset range, it is determined that needing to the ambient image corresponding to the ambient image information In should be adjusted to a little less brightness value.

Preferably, the adjustment unit specifically for:According to the preset range to corresponding to the ambient image information The brightness value of ambient image be adjusted.

Preferably, described image collecting unit is additionally operable to carry out described first image information after brightness value regulation is carried out Take pictures, obtain the first image corresponding to it.

Preferably, the electronic equipment also includes recognition unit, for being identified to the first image for obtaining, known Other result.

To obtain the first image information, described first image information includes brightness adjusting method in the embodiment of the present invention The object images information and ambient image information of at least one reference object;Luminance Analysis are carried out to described first image information, Generate a Luminance Analysis result;Judged whether to need to believe the ambient image according to pre-conditioned and described Luminance Analysis result The brightness value of the corresponding ambient image of breath is adjusted;When judged result is to be, to corresponding to the ambient image information The brightness value of ambient image be adjusted.When the brightness of ambient image has influence on the brightness of reference object, then to ambient image Brightness be adjusted, make reference object try one's best clearly, improve reference object discrimination.

Brief description of the drawings

Fig. 1 is the main method flow chart of brightness regulation in the embodiment of the present invention;

Fig. 2 is the detailed structure view of electronic equipment in the embodiment of the present invention.

Specific embodiment

To obtain the first image information, described first image information includes brightness adjusting method in the embodiment of the present invention The object images information and ambient image information of at least one reference object;Luminance Analysis are carried out to described first image information, Generate a Luminance Analysis result;Judged whether to need to believe the ambient image according to pre-conditioned and described Luminance Analysis result The brightness value of the corresponding ambient image of breath is adjusted;When judged result is to be, to corresponding to the ambient image information The brightness value of ambient image be adjusted.When the brightness of ambient image has influence on the brightness of reference object, then to ambient image Brightness be adjusted, make reference object try one's best clearly, improve reference object discrimination.

Referring to Fig. 1, the main flow of brightness adjusting method is as follows in the embodiment of the present invention, and methods described can apply to one In electronic equipment, the electronic equipment includes a display screen, and the electronic equipment can also can shoot the display screen including one The image acquisition units of top object:

Step 101:The first image information is obtained, described first image information includes ambient image information and at least one The object images information of reference object.

Described image collecting unit may be located at electronic equipment top, or may be located at the electronic equipment it is oblique on Side, it belongs to the electronic equipment, and it can be connected with the electronic equipment by wired or wireless way.

Described image collecting unit can obtain the first image information, and ambient image can be included in first image information The object images information of information and at least one reference object.For example, the electronic equipment is a PAD (panel computer), its tool There is a touch-screen, an article is placed with the touch-screen, such as article is an apple, then this apple is the shooting Object.Described image collecting unit may be located at the PAD tops, and described image collecting unit can be shot, such as institute Stating image acquisition units can obtain the object images information and a range of ambient image information of surrounding of apple.

Step 102:Luminance Analysis are carried out to described first image information, a Luminance Analysis result is generated.

In the embodiment of the present invention, using central average metering, middle body light-metering, spot light-metering, Multi spot metering or can divide Cut the modes such as light-metering carries out Luminance Analysis to described first image information.

For example, central average metering is using a kind of most metering modes, almost all of camera factory commercial city will The Exposure Metering that central average metering is given tacit consent to as camera.Central average metering is mainly will be clapped in view of general cameraman custom Taking the photograph main body namely needs the thing of Correct exposure to be placed on the centre of view finder, so this part content of shooting is most important. Therefore the photo-sensitive cell for being responsible for light-metering can be organic separate by the overall light value of camera, and the photometric data of middle body occupies big absolutely Fraction, and the photometric data beyond picture center plays the booster action of light-metering as fraction ratio.By camera Ratio after processor is average to this two lattice numeric weights, the camera photometering data for being shot.The camera of such as certain brand What is used is exactly central emphasis average metering, and the middle body light-metering of the brand camera occupies 75% (this of whole light-metering ratio Individual ratio difference because each producer's brand is different), the photometric data that other non-central portion gradually extend to edge is occupied 25% ratio.In the case of most of shooting central heavy spot light-metering be it is a kind of it is very useful, be also most widely used survey Optical mode, but if the main body for shooting does not shoot in the center of picture or under backlighting condition, central heavy spot light-metering is just It is not very applicable.

Central average metering is a kind of traditional Exposure Metering, and the light-metering algorithm of most of cameras is to pay attention to picture center about 2/ 3 position, also gives surrounding the consideration in some degree.

Again for example, middle body light-metering is two kinds of different Exposure Meterings with central average metering, central average metering is Other regions are the Exposure Metering of auxiliary based on middle section, and middle body light-metering is then one piece of area only to picture center Domain carries out light-metering, and photometric range is about 12 3 percent to 1 and carries out light-metering.Middle body metering mode is suitable The more complicated scene of some light, now needs more accurately to be exposed, and can be shot using middle body light-metering The photo of main body Correct exposure.Middle body light-metering can be directed to some special severe shooting environmental applications, can more ensure Camera processor calculates frame out center light exposure mainly required for expressive object part.In scenes such as stage, performance, backlight In this pattern it is the most suitable, but due to the rise of segmentation light-metering (matrix light-metering) pattern, this pattern is now gradually It is less to occur in that in the camera.

Partial metering's mode is to carry out light-metering to a certain part of picture.When shot subject and background have strong light and shade anti- Difference, and picture shared by shot subject ratio it is little when, it is most suitable with this Exposure Metering;In this case, it is local Light-metering is more accurate than the one or two kind of Exposure Metering, and needs certain light-metering warp because light-metering point is too narrow and small not as spot light-metering mode Test and be just not easy error.

Again for example, central average metering (central emphasis average metering) is although the light of whole picture can be showed sufficiently Reaction, but also there are many weak points, such as when needing that accurately the exposure of small range object is accurate, central average metering (in Centre emphasis average metering) just less easily make, even middle body light-metering (Partial metering) sometimes scope also some are big.For Overcome these weak points, some manufacturers develop this kind of point (SPOT) metering mode to avoid light complex condition or inverse Influence of the environment light source to main body light-metering under light state.The scope of spot light-metering is made with a very low range region in picture window center It is Expose f iotaducials point, the photometry region of most of spot light-meterings is 1 percent to 3 percent, and shooting unit is narrower according to this The light that region measures, as exposure foundation.This is a kind of fairly accurate Exposure Metering.

The spot light-metering only accurate light-metering in region to very little, outside region the light and shade of scenery on light-metering without influence, so light-metering is smart Degree is very high, and its purposes is mainly can be to specific zonule light-metering at a distance.

As for Multi spot metering and segmentation light-metering, here is omitted, and those skilled in the art can need selection according to different Different Exposure Meterings.System can specifically be set in advance, brightness point is carried out according to the Exposure Metering of setting by system Analysis, or Exposure Metering can also be automatically selected by system, it can be according to specific reference object and shooting ring that this is automatically selected Border is selected, or can also be random selection.

After Luminance Analysis are carried out to described first image information using one of which Exposure Metering, can survive a brightness Analysis result.

Step 103:Judge whether to need to the ambient image information according to pre-conditioned and described Luminance Analysis result The brightness value of corresponding ambient image is adjusted.

In the embodiment of the present invention, can judge whether to need to the ambient image information according to the Luminance Analysis result The brightness value of corresponding ambient image is adjusted.The side of the brightness of adjusting ambient image is employed in the embodiment of the present invention Formula, i.e., when the brightness of ambient image has influence on the definition of reference object, employ the mode of the brightness of adjusting ambient image. Or when can also work as the two brightness and influencing each other, it is also possible to the brightness of reference object is adjusted, so that reference object can be made to try one's best It is clearly adjustment criteria.

Can there are at least one preset range, the object images corresponding to the object images information in the embodiment of the present invention In any point brightness value and the ambient image corresponding to the ambient image information in every bit brightness value difference It is both needed within the preset range corresponding to it.Wherein, in the embodiment of the present invention, what the difference referred to can be the absolute of difference Value.

The brightness value and the ambient image information of any point in object images corresponding to the object images information The difference of the brightness value of the every bit in corresponding ambient image can correspond to same preset range;Or, the object First point in object images corresponding to image information of brightness value and the ambient image corresponding to the ambient image information In the difference of brightness value of any point can correspond to the first preset range, the object images corresponding to the object images information In second point brightness value and the ambient image corresponding to the ambient image information in any point brightness value difference The second preset range can be corresponded to, first preset range can be differently configured from second preset range;Or, the object First point in object images corresponding to image information of brightness value and the ambient image corresponding to the ambient image information In first point of the difference of brightness value can correspond to the 3rd preset range, the object images corresponding to the object images information In first point of brightness value and the ambient image corresponding to the ambient image information in second point brightness value difference The 4th preset range can be corresponded to, the 3rd preset range can be differently configured from the 4th preset range.Or can also have Other situations.That is, described preset range can have one, or can have multiple, if set the object images information institute M pixel is included in corresponding object images, N number of pixel is included in the ambient image corresponding to the ambient image information Point, then the preset range can have up to NMIt is individual.

Every bit in the first image according to corresponding to the Luminance Analysis result can obtain described first image information Corresponding brightness value, you can to obtain the brightness value of every bit in the object images corresponding to the object images information and described The brightness value of every bit in ambient image corresponding to ambient image information, then can be according to described pre-conditioned and described brightness Analysis result judged, judges brightness value and the institute of any point in the object images corresponding to the object images information State every bit in the ambient image corresponding to ambient image information brightness value difference whether the default model corresponding to it Within enclosing.

For example, the brightness value and the ambient image of any point in object images corresponding to the object images information It is same preset range that the difference of the brightness value of the every bit in ambient image corresponding to information is corresponding.When the object diagram In first point in object images as corresponding to information of brightness value and the ambient image corresponding to the ambient image information First point brightness value difference not within the preset range when, it may be determined that to the ambient image information institute it is right First point of brightness value is adjusted described in the ambient image answered, right with object images information institute to be adjusted to it The difference of first point of brightness value is defined within the preset range in the object images answered.

Such as, first point in object images corresponding to the object images information of brightness value and the environment The difference of the brightness value of any point in ambient image corresponding to image information can correspond to the first preset range, the object The brightness value of the second point in object images corresponding to image information and the ambient image corresponding to the ambient image information In the difference of brightness value of any point can correspond to the second preset range, first preset range can be differently configured from described Two preset ranges.When the brightness value and the ambient image of first point in the object images corresponding to the object images information When the difference of first point in the ambient image corresponding to information of brightness value is not within first preset range, can be true Surely first point described in the ambient image corresponding to the ambient image information of brightness value is adjusted, is adjusted To its with the object images corresponding to the object images information in first point brightness value difference in the described first default model It is defined within enclosing.

Step 104:When judged result is to be, the brightness value to the ambient image corresponding to the ambient image information enters Row regulation.

When judging to determine to need to be adjusted the brightness value of the ambient image corresponding to the ambient image information, root The brightness value of the ambient image corresponding to the ambient image information is entered according to described pre-conditioned and described Luminance Analysis result Row regulation.

For example, the brightness value and the ambient image of any point in object images corresponding to the object images information It is same preset range that the difference of the brightness value of the every bit in ambient image corresponding to information is corresponding.When the object diagram In first point in object images as corresponding to information of brightness value and the ambient image corresponding to the ambient image information First point brightness value difference not within the preset range when, it may be determined that to the ambient image information institute it is right First point of brightness value is adjusted described in the ambient image answered, right with object images information institute to be adjusted to it The difference of first point of brightness value is defined within the preset range in the object images answered.For example, the preset range is [0,5], first point in object images before the regulation corresponding to the object images information of brightness value and the environment map The difference of first point in the ambient image as corresponding to information of brightness value is 6, beyond the preset range, then can be adjusted First point described in the ambient image corresponding to the ambient image information of brightness value is saved, for example, can be adjusted to make this First point of difference with first point described in the object images corresponding to the object images information is 5, i.e., in the default model Within enclosing.

Such as, first point in object images corresponding to the object images information of brightness value and the environment The difference of the brightness value of any point in ambient image corresponding to image information can correspond to the first preset range, the object The brightness value of the second point in object images corresponding to image information and the ambient image corresponding to the ambient image information In the difference of brightness value of any point can correspond to the second preset range, first preset range can be differently configured from described Two preset ranges.When the brightness value and the ambient image of first point in the object images corresponding to the object images information When the difference of first point in the ambient image corresponding to information of brightness value is not within first preset range, can be true Surely first point described in the ambient image corresponding to the ambient image information of brightness value is adjusted, is adjusted To its with the object images corresponding to the object images information in first point brightness value difference in the described first default model It is defined within enclosing.For example, the preset range is [0,5], the object before the regulation corresponding to the object images information First point in first point in image of brightness value and the ambient image corresponding to the ambient image information of brightness value Difference is 6, beyond the preset range, then can be adjusted described in the ambient image corresponding to the ambient image information The brightness value of a bit, can for example be adjusted to make this first point with the object images corresponding to the object images information in Described first point of difference is 5, i.e., within the preset range.

In the embodiment of the present invention, after brightness regulation is carried out, described first image information can also be taken pictures, obtained Obtain the first image corresponding to it.

After described first image is obtained, the first image for obtaining can be identified, an identification knot can be obtained Really.

The method that brightness regulation of the present invention is introduced below by way of several specific embodiments.

Embodiment one:

The electronic equipment is a PAD, and an apple is placed with the PAD, and the apple is reference object, and the PAD is environment Image, the apple and PAD constitute the first image.The PAD has an image acquisition units, and the image acquisition units are located on PAD Side, can be in the surface of the PAD down shooting image.The PAD is attached with the image acquisition units by wired mode.

The electronic equipment obtains described first image information first, and described first image information includes the environment map As information and the object images information.

Luminance Analysis are carried out using central average metering mode, the overall light value of camera is organic separate, middle body Photometric data occupy most ratios, and the photometric data beyond picture center plays the auxiliary of light-metering as fraction ratio Help effect.By the ratio to this two lattice numeric weights after average, the photometric data needed for being shot obtains a brightness point Analysis result.

In the present embodiment, the brightness value and the ring of any point in object images corresponding to the object images information It is same preset range that the difference of the brightness value of the every bit in ambient image corresponding to the image information of border is corresponding.

First point in object images corresponding to the object images information of brightness value and the ambient image information The difference of first point in corresponding ambient image of brightness value is not within the preset range, and object images letter In first point in the corresponding object images of breath of brightness value and the ambient image corresponding to the ambient image information the The difference of 2 points of brightness value is not within the preset range, it may be determined that be to the ring corresponding to the ambient image information The brightness value of first point and the second point described in the image of border is adjusted.To be both adjusted to it with the object images The difference of first point of brightness value is defined within the preset range in object images corresponding to information.

In the present embodiment, the preset range is [0,10].For example, before the regulation corresponding to the object images information First point in first point in object images of brightness value and the ambient image corresponding to the ambient image information of brightness The difference of value is 11, beyond the preset range, then in can adjusting the ambient image corresponding to the ambient image information Described first point of brightness value, for example, can be adjusted to make at this first point with the object corresponding to the object images information First point of difference described in image is 10, i.e., within the preset range;The object images information institute is right before regulation Second point in first point in the object images answered of brightness value and the ambient image corresponding to the ambient image information The difference of brightness value is 13, beyond the preset range, then can adjust the environment map corresponding to the ambient image information First point of the brightness value as described in, can for example be adjusted to make this first point with corresponding to the object images information First point of difference described in object images is 9, i.e., within the preset range.

After brightness regulation is carried out, described first image information can be taken pictures, obtain first corresponding to it Image.

After the first image is obtained, the first image to obtaining is identified, and obtains recognition result.The recognition result can To show, by the more clear of object images shooting, to improve the resolution of object images.

Embodiment two:

The electronic equipment is a PAD, and a cup is placed with the PAD, and the cup is reference object, and the PAD is environment Image, the cup and PAD constitute the first image.The PAD has an image acquisition units, and the image acquisition units are located on PAD Side, can be in the surface of the PAD down shooting image.The PAD is wirelessly attached with the image acquisition units.

The electronic equipment obtains described first image information first, and described first image information includes the environment map As information and the object images information.

Luminance Analysis are carried out using middle body Exposure Metering, one piece of region to picture center carries out light-metering, light-metering model Enclosing 12 about 3 percent to 1 carries out light-metering, obtains a Luminance Analysis result.

In the present embodiment, first point in object images corresponding to the object images information of brightness value and the ring The difference of the brightness value of any point in ambient image corresponding to the image information of border can correspond to the first preset range, described right The brightness value of the second point in object images as corresponding to image information and the environment map corresponding to the ambient image information The difference of the brightness value of any point as in can correspond to the second preset range, and first preset range can be differently configured from described Second preset range.

First point in object images corresponding to the object images information of brightness value and the ambient image information The difference of first point in corresponding ambient image of brightness value not within first preset range, the object images In first point in object images corresponding to information of brightness value and the ambient image corresponding to the ambient image information The difference of the brightness value of second point not within first preset range, and, the object corresponding to the object images information First point in the brightness value of the second point in image and the ambient image corresponding to the ambient image information of brightness value Difference is not within second preset range, it may be determined that be to institute in the ambient image corresponding to the ambient image information The brightness value for stating and the second point at first point is adjusted.

In the present embodiment, first preset range is [0,5], and second preset range is [0,6].For example, adjusting First point in object images before section corresponding to the object images information of brightness value is right with ambient image information institute The difference of first point in the ambient image answered of brightness value is 6, beyond first preset range, then can adjust described First point of brightness value described in ambient image corresponding to ambient image information, for example, can be adjusted to make at this first point Difference with first point described in the object images corresponding to the object images information is 5, i.e., in first preset range Within;First point in object images before the regulation corresponding to the object images information of brightness value and the ambient image The difference of the brightness value of the second point in ambient image corresponding to information is 7, beyond first preset range, then can be with First point described in the ambient image corresponding to the ambient image information of brightness value is adjusted, for example, can be adjusted to make This first point difference with first point described in the object images corresponding to the object images information is 4, i.e., described first Within preset range;The brightness value of the second point in object images before the regulation corresponding to the object images information with it is described The difference of first point in the ambient image corresponding to ambient image information of brightness value is 7, beyond the described second default model Enclose, then can adjust first point described in the ambient image corresponding to the ambient image information of brightness value, for example can be by It is adjusted such that difference of the second point with first point described in the object images corresponding to the object images information is 4, i.e., Within second preset range.

In the present embodiment, the same point in the ambient image corresponding to ambient image information will be with object images information institute Difference in corresponding object images is compared, because it has different preset ranges, it is thus possible to ambient image information Same point in corresponding ambient image can be related to different regulative modes.In the present embodiment, being adjusted to energy Meet each pre-conditioned for optimal, if cannot be satisfied by, to meet most pre-conditioned be preferred.

After brightness regulation is carried out, described first image information can be taken pictures, obtain first corresponding to it Image.

After the first image is obtained, the first image to obtaining is identified, and obtains recognition result.The recognition result can To show, by the more clear of object images shooting, to improve the resolution of object images.

Embodiment three:

The electronic equipment is a PAD, and a book is placed with the PAD, and the book is reference object, and the PAD is environment map Picture, the book and PAD constitute the first image.The PAD has an image acquisition units, and the image acquisition units are located at PAD oblique uppers, Can be in the oblique upper of the PAD down shooting image.The PAD is attached with the image acquisition units by wired mode.

The electronic equipment obtains described first image information first, and described first image information includes the environment map As information and the object images information.

Luminance Analysis are carried out using spot light-metering mode, the very low range region using picture window center is used as Expose f iotaducials Point, photometry region is 2 percent, the light that shooting unit is measured according to this narrower region, used as exposure foundation.Obtain one Luminance Analysis result.

In the present embodiment, first point in object images corresponding to the object images information of brightness value and the ring The difference of first point in the ambient image corresponding to the image information of border of brightness value can correspond to the 3rd preset range, described right The brightness value of the second point in object images as corresponding to image information and the environment map corresponding to the ambient image information The difference of the brightness value of the second point as in can correspond to the 4th preset range, and the 3rd preset range can be differently configured from described 4th preset range.

First point in object images corresponding to the object images information of brightness value and the ambient image information The difference of first point in corresponding ambient image of brightness value not within the 3rd preset range, the object images In first point in object images corresponding to information of brightness value and the ambient image corresponding to the ambient image information The difference of the brightness value of second point not within the 4th preset range, and, the object corresponding to the object images information Brightness value thirdly in first point in image of brightness value and the ambient image corresponding to the ambient image information Difference is not within the 5th preset range, it may be determined that be to institute in the ambient image corresponding to the ambient image information State at first point, the second point and the brightness value thirdly be adjusted.

In the present embodiment, the 3rd preset range is [0,5], and the 4th preset range is [0,6], and the described 5th is pre- If scope is [0,8].For example, the brightness value of first point in object images before the regulation corresponding to the object images information Difference with the brightness value of first point in the ambient image corresponding to the ambient image information is 6, beyond the described 3rd Preset range, then can adjust first point described in the ambient image corresponding to the ambient image information of brightness value, for example Can be adjusted to make this first point difference with first point described in the object images corresponding to the object images information It is 5, i.e., within the 3rd preset range;Before the regulation corresponding to the object images information in object images first The difference of the brightness value of the second point in brightness value and the ambient image corresponding to the ambient image information of point is 7, is exceeded 4th preset range, then can adjust described in the ambient image corresponding to the ambient image information first point bright Angle value, can for example be adjusted to make this first point with first described in the object images corresponding to the object images information The difference of point is 4, i.e., within the 4th preset range;Object images before the regulation corresponding to the object images information In first point of brightness value and the ambient image corresponding to the ambient image information in brightness value thirdly difference It is 10, beyond the 5th preset range, then can adjusts described in the ambient image corresponding to the ambient image information Brightness value thirdly, can for example be adjusted to make this thirdly with the object images corresponding to the object images information Described in first point difference be 8, i.e., within the 5th preset range.

After brightness regulation is carried out, described first image information can be taken pictures, obtain first corresponding to it Image.

After the first image is obtained, the first image to obtaining is identified, and obtains recognition result.The recognition result can To show, by the more clear of object images shooting, to improve the resolution of object images.

Example IV:

The electronic equipment is a PAD, and a book is placed with the PAD, and the book is reference object, and the PAD is environment map Picture, the book and PAD constitute the first image.The PAD has an image acquisition units, and the image acquisition units are located at PAD oblique uppers, Can be in the oblique upper of the PAD down shooting image.The PAD is wirelessly attached with the image acquisition units.

The electronic equipment obtains described first image information first, and described first image information includes the environment map As information and the object images information.

Luminance Analysis are carried out using spot light-metering mode, the very low range region using picture window center is used as Expose f iotaducials Point, photometry region is 2 percent, the light that shooting unit is measured according to this narrower region, used as exposure foundation.Obtain one Luminance Analysis result.

In the present embodiment, first point in object images corresponding to the object images information of brightness value and the ring The difference of first point in the ambient image corresponding to the image information of border of brightness value can correspond to the 3rd preset range, described right The brightness value of the second point in object images as corresponding to image information and the environment map corresponding to the ambient image information The difference of the brightness value of the second point as in can correspond to the 4th preset range, and the 3rd preset range can be differently configured from described 4th preset range.

The Luminance Analysis result shows the brightness of the every bit in the ambient image corresponding to the ambient image information Value and the object images information corresponding to object images in every bit brightness value difference all within preset range, Therefore without being adjusted to any point in the ambient image corresponding to the ambient image information.

Directly described first image information is taken pictures, the first image corresponding to it is obtained.

After the first image is obtained, the first image to obtaining is identified, and obtains recognition result.The recognition result can To show, by the more clear of object images shooting, to improve the resolution of object images.

Referring to Fig. 2, the present invention also provides a kind of electronic equipment, and the electronic equipment includes image acquisition units 201, may be used also With including judging unit 202 and adjustment unit 203.Electronic equipment described in the embodiment of the present invention can also include recognition unit 204.The electronic equipment also has a display screen.

Image acquisition units 201 are used to obtain the first image information, and described first image information includes that ambient image is believed The object images information of breath and at least one reference object, and Luminance Analysis are carried out to described first image information, generation one is bright Degree analysis result.

Image acquisition units 201 can shoot the object above the display screen, and image acquisition units 201 can be arranged at The surface or oblique upper of the electronic equipment, it can be attached with the electronic equipment by wired or wireless way.

Image acquisition units 201 specifically can be used for using central average metering, Partial metering, spot light-metering, Multi spot metering Or segmentation Exposure Metering carries out Luminance Analysis to described first image information.

Image acquisition units 201 can be also used for clapping described first image information after brightness value regulation is carried out According to obtaining the first image corresponding to it.

Judging unit 202 is used to judge whether to need to the environment map according to pre-conditioned and described Luminance Analysis result The brightness value of the ambient image as corresponding to information is adjusted.

Judging unit 202 specifically can be used for showing corresponding to the object images information when the Luminance Analysis result To a little less brightness value and extremely a little less brightness in the ambient image corresponding to the ambient image information in object images When the difference of value is not within the preset range, it is determined that needing to being somebody's turn to do in the ambient image corresponding to the ambient image information It is adjusted to a little less brightness value.

Adjustment unit 203 is used for when judged result is to be, to the ambient image corresponding to the ambient image information Brightness value is adjusted.

Adjustment unit 203 specifically can be used for according to the preset range to the environment corresponding to the ambient image information The brightness value of image is adjusted.

Recognition unit 204 can be used for being identified the first image for obtaining, and obtain recognition result.The recognition result can To show, after being adjusted using the brightness adjusting method in the embodiment of the present invention, the image of the reference object of acquisition is more For clear.

To obtain the first image information, described first image information includes brightness adjusting method in the embodiment of the present invention The object images information and ambient image information of at least one reference object;Luminance Analysis are carried out to described first image information, Generate a Luminance Analysis result;Judged whether to need to believe the ambient image according to pre-conditioned and described Luminance Analysis result The brightness value of the corresponding ambient image of breath is adjusted;When judged result is to be, to corresponding to the ambient image information The brightness value of ambient image be adjusted.When the brightness of ambient image has influence on the brightness of reference object, then to ambient image Brightness be adjusted, make reference object try one's best clearly, improve reference object discrimination.

Different Exposure Meterings can be used in the embodiment of the present invention, can be selected as the case may be.

Ring that can be according to corresponding to Luminance Analysis result adjusts the ambient image information respectively in the embodiment of the present invention The brightness value of each pixel in the image of border, can make regulation result more accurate, can obtain relatively sharp shooting right The image of elephant.

It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.And, the present invention can be used and wherein include the computer of computer usable program code at one or more The shape of the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.

The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that every first-class during flow chart and/or block diagram can be realized by computer program instructions The combination of flow and/or square frame in journey and/or square frame and flow chart and/or block diagram.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of being specified in present one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames.

These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that instruction of the storage in the computer-readable memory is produced and include finger Make the manufacture of device, the command device realize in one flow of flow chart or multiple one square frame of flow and/or block diagram or The function of being specified in multiple square frames.

These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented treatment, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.

Obviously, those skilled in the art can carry out various changes and modification without deviating from essence of the invention to the present invention God and scope.So, if these modifications of the invention and modification belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising these changes and modification.

Claims (12)

1. a kind of brightness adjusting method, is applied to an electronic equipment, and the electronic equipment has a display screen, it is characterised in that The electronic equipment includes the image acquisition units that can shoot display screen top object, comprises the following steps:
Obtain the first image information, described first image information includes the right of ambient image information and at least one reference object As image information;
Luminance Analysis are carried out to described first image information, a Luminance Analysis result is generated;
Judged whether to need according to pre-conditioned and described Luminance Analysis result to the environment corresponding to the ambient image information The brightness value of image is adjusted;Wherein, the ambient image is the display screen;
When judged result is to be, the brightness value to the ambient image corresponding to the ambient image information is adjusted.
2. the method for claim 1, it is characterised in that the step of Luminance Analysis are carried out to described first image information bag Include:Using central average metering, Partial metering, spot light-metering, Multi spot metering or segmentation Exposure Metering to described first image information Carry out Luminance Analysis.
3. the method for claim 1, it is characterised in that judged whether according to pre-conditioned and described Luminance Analysis result Needing the step of being adjusted to the brightness value of the ambient image corresponding to the ambient image information includes:When the brightness point Believe with the ambient image to a little less brightness value in the object images that analysis result shows corresponding to the object images information When extremely the difference of a little less brightness value is not within the preset range in the corresponding ambient image of breath, it is determined that needing to institute The extremely a little less brightness value be adjusted in stating the ambient image corresponding to ambient image information.
4. the method for claim 1, it is characterised in that when judged result is to be, to the ambient image information institute The step of brightness value of corresponding ambient image is adjusted includes:According to the preset range to the ambient image information institute The brightness value of corresponding ambient image is adjusted.
5. the method for claim 1, it is characterised in that also including step:To described after brightness value regulation is carried out One image information is taken pictures, and obtains the first image corresponding to it.
6. method as claimed in claim 5, it is characterised in that also include step after the first image corresponding to it is obtained Suddenly:The first image to obtaining is identified, and obtains recognition result.
7. a kind of electronic equipment, the electronic equipment has a display screen, it is characterised in that including:
The image acquisition units of display screen top object can be shot, for obtaining the first image information, described first image Information includes the object images information of ambient image information and at least one reference object, and described first image information is entered Row Luminance Analysis, generate a Luminance Analysis result;
Judging unit, for judging whether to need to the ambient image information according to pre-conditioned and described Luminance Analysis result The brightness value of corresponding ambient image is adjusted;Wherein, the ambient image is the display screen;
Adjustment unit, for when judged result is to be, to the brightness value of the ambient image corresponding to the ambient image information It is adjusted.
8. electronic equipment as claimed in claim 7, it is characterised in that described image collecting unit is specifically for flat using center Equal light-metering, Partial metering, spot light-metering, Multi spot metering or segmentation Exposure Metering carry out Luminance Analysis to described first image information.
9. electronic equipment as claimed in claim 7, it is characterised in that the judging unit is specifically for when the Luminance Analysis To a little less brightness value and the ambient image information in the object images that result shows corresponding to the object images information When extremely the difference of a little less brightness value is not within the preset range in corresponding ambient image, it is determined that needing to described Should be adjusted to a little less brightness value in ambient image corresponding to ambient image information.
10. electronic equipment as claimed in claim 7, it is characterised in that the adjustment unit specifically for:According to described default Scope is adjusted to the brightness value of the ambient image corresponding to the ambient image information.
11. electronic equipments as claimed in claim 7, it is characterised in that described image collecting unit is additionally operable to carrying out brightness Described first image information is taken pictures after value regulation, obtains the first image corresponding to it.
12. electronic equipments as claimed in claim 7, it is characterised in that the electronic equipment also includes recognition unit, for right The first image for obtaining is identified, and obtains recognition result.
CN201210245801.5A 2012-07-16 2012-07-16 Brightness adjustment method and electronic equipment CN103546675B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210245801.5A CN103546675B (en) 2012-07-16 2012-07-16 Brightness adjustment method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210245801.5A CN103546675B (en) 2012-07-16 2012-07-16 Brightness adjustment method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103546675A CN103546675A (en) 2014-01-29
CN103546675B true CN103546675B (en) 2017-05-24

Family

ID=49969698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210245801.5A CN103546675B (en) 2012-07-16 2012-07-16 Brightness adjustment method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103546675B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105578062B (en) * 2014-10-14 2019-06-14 宏碁股份有限公司 The selection method of metering mode and its image acquiring device
CN105657282B (en) * 2014-11-11 2019-03-08 宁波舜宇光电信息有限公司 A kind of visual identity method that brightness of image actively optimizes
CN104618661A (en) * 2015-03-05 2015-05-13 广东欧珀移动通信有限公司 Camera light supplementing control method and device
CN104754134B (en) * 2015-03-31 2018-03-16 酷派软件技术(深圳)有限公司 A kind of screen luminance adjustment method and system
CN105025229B (en) * 2015-07-30 2018-06-29 广东欧珀移动通信有限公司 Adjust the method and relevant apparatus of lightness
CN106550198B (en) * 2016-11-30 2020-04-10 努比亚技术有限公司 Method for determining shooting exposure value and electronic equipment
CN107135341B (en) * 2017-05-03 2019-12-27 Oppo广东移动通信有限公司 Image sensor, camera module and electronic device
CN109923856A (en) * 2017-05-11 2019-06-21 深圳市大疆创新科技有限公司 Light supplementing control device, system, method and mobile device
CN110392216A (en) * 2018-08-08 2019-10-29 乐清市川嘉电气科技有限公司 Light variable quantity judges system immediately

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010160B1 (en) * 1998-06-16 2006-03-07 Konica Minolta Co., Ltd. Backlight scene judging method
CN101282425A (en) * 2008-04-30 2008-10-08 北京中星微电子有限公司 Method and device for compensating backlight
CN101399924A (en) * 2007-09-25 2009-04-01 展讯通信(上海)有限公司 Automatic exposure method and device based on brightness histogram
US7548270B2 (en) * 2005-09-08 2009-06-16 Delphi Technologies, Inc. Method of exposure control for an imaging system
CN101848327A (en) * 2009-03-25 2010-09-29 株式会社尼康 Camera head and image processing method
CN102238339A (en) * 2011-06-21 2011-11-09 深圳市先河系统技术有限公司 Method for compensating backlight

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081278A (en) * 2010-11-19 2011-06-01 华为终端有限公司 Flash control method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010160B1 (en) * 1998-06-16 2006-03-07 Konica Minolta Co., Ltd. Backlight scene judging method
US7548270B2 (en) * 2005-09-08 2009-06-16 Delphi Technologies, Inc. Method of exposure control for an imaging system
CN101399924A (en) * 2007-09-25 2009-04-01 展讯通信(上海)有限公司 Automatic exposure method and device based on brightness histogram
CN101282425A (en) * 2008-04-30 2008-10-08 北京中星微电子有限公司 Method and device for compensating backlight
CN101848327A (en) * 2009-03-25 2010-09-29 株式会社尼康 Camera head and image processing method
CN102238339A (en) * 2011-06-21 2011-11-09 深圳市先河系统技术有限公司 Method for compensating backlight

Also Published As

Publication number Publication date
CN103546675A (en) 2014-01-29

Similar Documents

Publication Publication Date Title
US10771706B2 (en) Method and electronic device for focus control
US9172888B2 (en) Determining exposure times using split paxels
US10469714B2 (en) Systems and methods for capturing digital images
US9407831B2 (en) Intelligent auto-exposure bracketing
US8866927B2 (en) Determining an image capture payload burst structure based on a metering image capture sweep
KR101698876B1 (en) Generation of ghost-free high dynamic range images
JP5871862B2 (en) Image blur based on 3D depth information
US8994845B2 (en) System and method of adjusting a camera based on image data
JP4867365B2 (en) Imaging control apparatus, imaging apparatus, and imaging control method
US8089524B2 (en) Flicker correction apparatus, flicker correction method, and image sensing apparatus
US9218653B2 (en) Method and apparatus for dynamic range enhancement of an image
CN103248828B (en) Exposure value adjustment apparatus and method
US8582001B2 (en) Exposure control for high dynamic range image capture
RU2528590C2 (en) Image capturing device, method of controlling same and storage medium
CN103220482B (en) A kind of full degree of freedom adjusts the method for projected picture position and size
EP3496383A1 (en) Image processing method, apparatus and device
US20160284095A1 (en) Machine learning of real-time image capture parameters
US8339479B2 (en) Image capturing device and image synthesis method thereof
JP5615973B2 (en) Device operation for capturing high dynamic range images
CN104301624B (en) A kind of image taking brightness control method and device
CN101365070B (en) Imaging apparatus
US20150098651A1 (en) Color balance in digital photography
CN103856721B (en) For calculating the apparatus and method of flicker assessed value
CN103379281B (en) For carrying out image processing equipment and the image processing method of image synthesis
JP2017055310A (en) Imaging apparatus and control method

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant