[go: up one dir, main page]

CN106131398B - A kind of image browsing method and mobile terminal - Google Patents

A kind of image browsing method and mobile terminal Download PDF

Info

Publication number
CN106131398B
CN106131398B CN201610486329.2A CN201610486329A CN106131398B CN 106131398 B CN106131398 B CN 106131398B CN 201610486329 A CN201610486329 A CN 201610486329A CN 106131398 B CN106131398 B CN 106131398B
Authority
CN
China
Prior art keywords
image
brightness value
value
pixel
screen
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
Application number
CN201610486329.2A
Other languages
Chinese (zh)
Other versions
CN106131398A (en
Inventor
殷求明
雷润芝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201610486329.2A priority Critical patent/CN106131398B/en
Publication of CN106131398A publication Critical patent/CN106131398A/en
Application granted granted Critical
Publication of CN106131398B publication Critical patent/CN106131398B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Image Processing (AREA)
  • Studio Devices (AREA)

Abstract

The present invention provides a kind of image browsing method and mobile terminals, wherein the described method includes: obtaining to the corresponding photographed data of image browsing;Based on the photographed data, target screen brightness value is determined;Browsing it is described to image browsing during, with the target screen brightness value show described in image browsing.The picture browsing scheme provided through the invention can guarantee that shown image frame shading value is moderate, be supplied to the optimal picture browsing picture of user.

Description

A kind of image browsing method and mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of image browsing method and mobile terminals.
Background technique
With the continuous improvement of mobile terminal camera pixel, image taking is carried out substantially instead of biography using mobile terminal The camera of system is taken pictures.Mobile terminal can satisfy the demand that user takes pictures in any occasion, any time.Due to shooting Occasion, the difference of shooting time will necessarily result in shooting environmental brightness difference when each image taking, correspondingly mobile terminal institute The brightness for each image shot is also different.
When mobile terminal carries out picture browsing at present, brightness and the color of mobile terminal screen will not be dynamically adjusted, is only Reading is shown to image browsing.And existing this picture browsing scheme, when browsing the image of low-light level, if mobile Terminal current screen brightness is very low, then can not show and clearly browse picture.When browsing image of high brightness, if mobile whole Hold current screen brightness very high, then shown browsing picture seems too bright, and user can not still browse to the good figure of effect Picture.
As it can be seen that brightness of the existing picture browsing scheme due to can not dynamically adjust mobile terminal screen, it can not It is shown to the good picture browsing picture of user's effect.
Summary of the invention
The embodiment of the present invention provides a kind of image browsing method and mobile terminal, with solve existing picture browsing scheme without Method is shown to the problem of good picture browsing picture of user's effect.
In a first aspect, being applied to mobile terminal, the method packet the embodiment of the invention provides a kind of image browsing method It includes: obtaining to the corresponding photographed data of image browsing;Based on the photographed data, target screen brightness value is determined;In browsing institute It states to be shown with the target screen brightness value described to image browsing during image browsing.
Second aspect, the embodiment of the invention also provides a kind of mobile terminals, comprising: module is obtained, for obtaining to clear The corresponding photographed data of image of looking at;Determining module, the photographed data for being got based on the acquisition module, determines target screen Curtain brightness value;Display module, for browsing it is described to image browsing during, shown with the target screen brightness value described in To image browsing.
In this way, image browsing method provided in an embodiment of the present invention and mobile terminal, obtained first in image browsing to The corresponding photographed data of image browsing determines screen brightness value according to photographed data, when image browsing that movement is whole in display The screen brightness value at end is adjusted to determining screen intensity, since determining screen brightness value is that display is best when image browsing Screen brightness value, the screen of mobile terminal shown under determining screen brightness value can guarantee to image browsing it is shown Image frame shading value is moderate, therefore, is capable of providing and gives user optimal picture browsing picture.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention Example, for those of ordinary skill in the art, without any creative labor, can also be according to these attached drawings Obtain other attached drawings.
Fig. 1 is a kind of flow chart of image browsing method of the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of image browsing method of the embodiment of the present invention two;
Fig. 3 is a kind of flow chart of image browsing method of the embodiment of the present invention three;
Fig. 4 is a kind of flow chart of image browsing method of the embodiment of the present invention four;
Fig. 5 is a kind of flow chart of image browsing method of the embodiment of the present invention five;
Fig. 6 is a kind of flow chart of image browsing method of the embodiment of the present invention six;
Fig. 7 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention seven;
Fig. 8 is the structural block diagram of another mobile terminal of the embodiment of the present invention seven;
Fig. 9 is a kind of structural block diagram of the determining module of mobile terminal of the embodiment of the present invention seven;
Figure 10 is a kind of structural block diagram of the amendment pixel determining module of mobile terminal of the embodiment of the present invention seven;
Figure 11 is a kind of structural block diagram of the adjustment module of mobile terminal of the embodiment of the present invention seven;
Figure 12 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention eight;
Figure 13 is a kind of structural block diagram of mobile terminal of the embodiment of the present invention nine.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Embodiment one
Referring to Fig.1, a kind of flow chart of image browsing method of the embodiment of the present invention one is shown.
The image browsing method of the embodiment of the present invention the following steps are included:
Step 101: obtaining to the corresponding photographed data of image browsing.
Mobile terminal when image browsing, can generate the image corresponding photographed data in shooting during shooting, And photographed data is subjected to corresponding storage with image.
Photographed data includes but is not limited to: shooting environmental brightness value, the time for exposure, exposure gain, shooting image in it is each Corresponding best screen brightness value of gray value, the image of pixel etc., to the parameter for including with photographed data in present example Value is not specifically limited.
Mobile terminal obtains the corresponding photographed data of image, it is therefore an objective to which determining according to photographed data should before image browsing The best screen brightness value is determined target screen brightness value by the corresponding best screen brightness value of image.
Step 102: being based on photographed data, determine target screen brightness value.
It is if in photographed data including best screen brightness value, best screen brightness value is true when determining target brightness value It is set to target screen brightness value;If in photographed data not including best screen brightness value, further determined that according to other parameters Target screen brightness value.In the embodiment of the present invention, for determining that the concrete scheme of target screen brightness value does not limit specifically It is fixed.
Step 103: during browsing is to image browsing, being shown with target screen brightness value to image browsing.
After determining target screen brightness value, the screen intensity of mobile terminal can be adjusted to target screen by when image browsing Brightness indicated by curtain brightness value, makes to show best picture effect to image browsing, can prompt the viewing experience of user.
The image browsing method of the embodiment of the present invention is obtained to the corresponding shooting number of image browsing first in image browsing According to foundation photographed data determines screen brightness value, is adjusted to the screen brightness value of mobile terminal when image browsing in display Determining screen intensity, it is mobile whole since determining screen brightness value is display optimal screen brightness value when image browsing The screen at end is shown under determining screen brightness value can guarantee that shown image frame shading value is moderate to image browsing, Therefore, it is capable of providing and gives user optimal picture browsing picture.
Embodiment two
Referring to Fig. 2, a kind of flow chart of image browsing method of the embodiment of the present invention two is gone out.
The image browsing method of the embodiment of the present invention the following steps are included:
Step 201: obtaining to the corresponding photographed data of image browsing.
Wherein, the embodiment of the present invention is by taking photographed data includes shooting environmental brightness value as an example, to figure browsing side of the invention Method is illustrated.During specific implementation, it includes other parameter values that photographed data, which can also be arranged, such as: the time for exposure, Exposure gain etc..
Shooting environmental brightness value is able to reflect shooting environmental brightness when carrying out image taking.
Step 202: based between shooting environmental brightness value and preset shooting environmental brightness value and screen brightness value Corresponding relationship determines target screen brightness value.
Wherein, screen brightness value and shooting environmental brightness value inverse correlation, shooting environmental brightness value is bigger, and screen brightness value is got over It is small;Shooting environmental brightness value is smaller, and screen brightness value is bigger.That is, when image taking the more dark corresponding screen intensity of environment more It is bright;Environment when image taking is brighter, and corresponding screen intensity is darker.
The corresponding relationship being preset in mobile terminal between shooting environmental brightness value and screen brightness value, when shooting environmental is bright After angle value determines, screen brightness value can determine by the corresponding relationship, determining screen brightness value is finally determined as target Screen brightness value.
It should be noted that being to obtain shooting environmental in image browsing Shi Xiancong photographed data in the embodiment of the present invention Brightness value, according to the corresponding pass between the shooting environmental brightness value and shooting environmental brightness value and screen brightness value got It is the explanation for determining and being carried out for target screen brightness value.It, can also be in image taking, according to bat during specific implementation The corresponding relationship taken the photograph between ambient brightness value and shooting environmental brightness value and screen brightness value determines target screen brightness value, and The target screen brightness value calculated is added in photographed data.In this way, when carrying out picture browsing, directly from photographed data Middle acquisition target screen brightness value.
Step 203: during browsing is to image browsing, being shown with target screen brightness value to image browsing.
After determining target screen brightness value, the screen intensity of mobile terminal can be adjusted to target screen by when image browsing Brightness indicated by curtain brightness value makes to show that picture effect light and shade is moderate to image browsing, can prompt the viewing experience of user.
The image browsing method of the embodiment of the present invention is obtained in the photographed data of image browsing first in image browsing The shooting environmental brightness value for including determines screen brightness value according to the shooting environmental brightness value obtained, in display to image browsing When the screen brightness value of mobile terminal is adjusted to determining screen intensity, since determining screen brightness value is shown wait browse Optimal screen brightness value when image, the screen of mobile terminal show under determining screen brightness value and can protect to image browsing The shown image frame shading value of card is moderate, therefore, is capable of providing and gives user optimal picture browsing picture.
Embodiment three
Referring to Fig. 3, a kind of flow chart of image browsing method of the embodiment of the present invention three is gone out.
The image browsing method of the embodiment of the present invention the following steps are included:
Step 301: obtaining to the corresponding photographed data of image browsing.
Wherein, in the embodiment of the present invention for including: time for exposure and exposure gain in photographed data, to of the invention Figure browsing method is illustrated.During specific implementation, it includes other parameter values that photographed data, which can also be arranged, such as: The gray value of each pixel, best screen brightness value etc. in shooting environmental brightness value, image.
Step 302: target screen intensity being calculated using preset formula according to time for exposure for getting, exposure gain Value.
Preset formula can be with are as follows: L=aX+b;
Wherein, L is target screen brightness value, and X is the product of time for exposure and exposure gain, and a and b are positive integer.
It should be noted that determined according to the linear relationship between time for exposure, exposure gain in the embodiment of the present invention The explanation carried out for target screen brightness value can also be according between time for exposure, exposure gain during specific implementation Non-linear relation determine target screen brightness value, specifically in such a way that non-limiting relationship determines target screen brightness value referring to The relevant technologies are not specifically limited this in the embodiment of the present invention.
Step 303: during browsing is to image browsing, being shown with determining target screen brightness value to image browsing.
After determining target screen brightness value, the screen intensity of mobile terminal can be adjusted to target screen by when image browsing Brightness indicated by curtain brightness value makes to show that picture effect light and shade is moderate to image browsing, can prompt the viewing experience of user.
It should be noted that when being to obtain exposure in image browsing Shi Xiancong photographed data in the embodiment of the present invention Between, exposure gain, determine the explanation carried out for target screen brightness value according to time for exposure for getting, exposure gain.? During specific implementation, target screen brightness value can also be just calculated according to time for exposure, exposure gain in image taking, And the target screen brightness value calculated is added in photographed data.In this way, when carrying out picture browsing, directly from shooting number It is bright without spending time and process resource to calculate target screen again in image browsing according to middle acquisition target screen brightness value Angle value.
The image browsing method of the embodiment of the present invention is obtained in the photographed data of image browsing first in image browsing The time for exposure for including and exposure gain determine screen intensity using preset formula according to the time for exposure and exposure gain obtained The screen brightness value of mobile terminal is adjusted to determining screen intensity when image browsing in display, due to determining screen by value Curtain brightness value is display optimal screen brightness value when image browsing, and the screen of mobile terminal is under determining screen brightness value Showing can guarantee that shown image frame shading value is moderate to image browsing, therefore, be capable of providing and give user optimal figure As browsing picture.
Example IV
Referring to Fig. 4, a kind of flow chart of image browsing method of the embodiment of the present invention four is gone out.
The image browsing method of the embodiment of the present invention the following steps are included:
Step 401: obtaining to the corresponding photographed data of image browsing.
Wherein, the embodiment of the present invention to be for including: the gray value to pixel each in image browsing in photographed data, Figure browsing method of the invention is illustrated.During specific implementation, it includes other ginsengs that photographed data, which can also be arranged, Numerical value, such as: time for exposure, exposure gain, shooting environmental brightness value etc..
For statistical analysis, the ash of the available image by the gray value for treating each pixel in image browsing Degree distribution can determine target screen curtain brightness value, specific method of determination such as institute in step 402 to step 404 according to intensity profile It states.
Step 402: counting the corresponding number of pixels of each gray value.
The corresponding gray value of multiple pixels may be identical in image, and therefore, it is necessary to for each gray scale Data-Statistics, its is right The number of pixels answered.
Step 403: the corresponding number of pixels of each gray value of sum of the grayscale values based on each pixel calculates average gray Value.
It can reflect the intensity profile situation of image by the corresponding number of pixels of each gray value.
Step 404: based on the corresponding relationship between average gray value and preset average gray value and screen brightness value, Determine target screen brightness value.
Wherein, screen brightness value and average gray value inverse correlation.In order to guarantee the result of browse of image, in image averaging ash Screen intensity is dimmed when angle value is high, picture is avoided to seem too bright dazzling;When image averaging gray value is low by screen intensity It is turned up, picture is avoided secretly can not clearly to show excessively.Therefore, it is necessary to which screen brightness value and average gray value are carried out inverse correlation, with Achieve the purpose that brightness complementation.
The corresponding relationship being preset in mobile terminal between gray value and screen brightness value, when the average gray value of image is true After fixed, screen brightness value can determine by the corresponding relationship, it is bright that determining screen brightness value is finally determined as target screen Angle value.
Step 405: during browsing is to image browsing, being shown with determining target screen brightness value to image browsing.
After determining target screen brightness value, the screen intensity of mobile terminal can be adjusted to target screen by when image browsing Brightness indicated by curtain brightness value makes to show that picture effect light and shade is moderate to image browsing, can prompt the viewing experience of user.
It should be noted that being to obtain each pixel in image browsing Shi Xiancong photographed data in the embodiment of the present invention The gray value of point, the gray value according to each pixel got determine the explanation carried out for target screen brightness value.? , can also be in image taking during specific implementation, the gray value according to each pixel in captured image calculates target Screen brightness value, and the target screen brightness value calculated is added in the photographed data of the image.In this way, when carrying out image When browsing, target screen brightness value is obtained directly from photographed data, without spending time and place again in image browsing Manage Resource Calculation target screen brightness value.
The image browsing method of the embodiment of the present invention is obtained in the photographed data of image browsing first in image browsing The gray value for each pixel for including, the gray value according to each pixel determine screen brightness value, in display when image browsing The screen brightness value of mobile terminal is adjusted to determining screen intensity, since determining screen brightness value is display to browse graph Optimal screen brightness value when picture, the screen of mobile terminal is shown under determining screen brightness value can guarantee to image browsing Shown image frame shading value is moderate, therefore, is capable of providing and gives user optimal picture browsing picture.
Embodiment five
Referring to Fig. 5, a kind of flow chart of image browsing method of the embodiment of the present invention five is gone out.
The image browsing method of the embodiment of the present invention the following steps are included:
Step 501: obtaining to the corresponding photographed data of image browsing.
Wherein, in the embodiment of the present invention with photographed data include: to pixel each in image browsing sum of the grayscale values it is every For the corresponding pixel coordinate of a gray value, figure browsing method of the invention is illustrated.During specific implementation, also It includes other parameter values that photographed data, which can be set, such as: time for exposure, exposure gain etc..
Step 502: obtaining preset first gamma curve.
Wherein, the first gamma curve is the preset curve to control each pixel brightness in screen in mobile terminal.
Step 503: based on the gray value to pixel each in image browsing, adjusting the first gamma curve, obtain second Gamma curve.
Gamma curve is able to reflect out the relationship between gray scale and gray scale intensities.In this step, according to in image browsing It is bent to adjust out the second gamma for being most suitable for showing to image browsing to adjust the first gamma curve for the gray value of each pixel Line controls the screen intensity of each pixel in mobile terminal screen using the second gamma curve adjusted, then can guarantee institute The picture brightness degree of the image browsing of display is moderate.
Step 504: the gray value based on the second gamma curve and each pixel is determined to picture each in image browsing The corresponding target screen intensity of vegetarian refreshments.
It should be noted that being to obtain each pixel in image browsing Shi Xiancong photographed data in the embodiment of the present invention The gray value of point adjusts the first gamma curve and obtains the explanation carried out for the second gamma curve.During specific implementation, also Can be in image taking, the gray value according to each pixel in captured image adjusts the first gamma curve and obtains the second gal Horse curve, and the second gamma curve calculated is added in the photographed data of the image.In this way, when carrying out picture browsing When, the second gamma curve is directly obtained from photographed data, then again according in the second gamma curve adjustment mobile terminal screen The screen brightness value of each pixel is shown to image browsing.
Step 505: during browsing is to image browsing, being shown with determining target screen brightness value to image browsing.
After determining target screen brightness value, when image browsing, can be by the brightness value of pixel each in mobile terminal screen It is adjusted to brightness indicated by corresponding target screen brightness value, makes to show that picture effect light and shade is moderate to image browsing, it can Prompt the viewing experience of user.
The image browsing method of the embodiment of the present invention is obtained in the photographed data of image browsing first in image browsing The gray value for each pixel for including, the gray value according to each pixel determine the second gamma curve, in display to image browsing When according to the second gamma curve the screen intensity of mobile terminal is adjusted to optimal brightness, the screen of mobile terminal is in optimal brightness Lower display can guarantee that shown image frame shading value is moderate to image browsing, therefore, be capable of providing optimal to user Picture browsing picture.
Embodiment six
Referring to Fig. 6, a kind of flow chart of image browsing method of the embodiment of the present invention six is gone out.
The image browsing method of the embodiment of the present invention the following steps are included:
Step 601: obtaining to the corresponding photographed data of image browsing.
Mobile terminal when image browsing, can generate the image corresponding photographed data in shooting during shooting, And photographed data is subjected to corresponding storage with image.
Photographed data includes but is not limited to: shooting environmental brightness value, the time for exposure, exposure gain, shooting image in it is each Corresponding best screen brightness value of gray value, the image of pixel etc., to the parameter for including with photographed data in present example Value is not specifically limited.
Step 602: being based on photographed data, determine target screen brightness value.
When determining target screen brightness value based on photographed data, it can appoint using described in embodiment two to embodiment five It anticipates the method for determining target screen brightness value a kind of, this is repeated no more in the embodiment of the present invention.
In order to keep the picture effect of the image of browsing more preferable, pixel to be modified in image browsing is also treated in screen Corresponding pixel is modified.Such as: image to be browsed is facial image, and there are some colours of skin are dark yellow in facial image The dark yellow part of the colour of skin can be modified in the browsing picture of display image, be made by this kind of preferred mode by part Obtaining face complexion becomes ruddy, shows the better result of browse of user.Specifically, pixel to be modified in image browsing is treated The point mode that corresponding pixel is modified in screen is as shown in step 603 and step 605.
Step 603: obtaining the image parameter to pixel each in image browsing.
Image parameter is corresponding with to pixel each in image browsing, wherein image parameter includes but is not limited to: color phase Position, saturation degree and brightness.
Step 604: based on the image parameter and preset image parameter range got, determining in mobile terminal screen Pixel to be modified.
The mode of pixel to be modified is as follows in a kind of preferred determining mobile terminal screen:
Firstly, for each pixel in image browsing, respectively by the corresponding color phase of the pixel, saturation degree And brightness is matched with preset color phase range, saturation degree range and brightness range.
It is respectively arranged with value range for color phase, saturation degree and brightness in mobile terminal, it, will when being matched The color phase of pixel is matched with color phase range, and the saturation degree of pixel is matched with saturation degree range, The brightness of pixel is matched with brightness range.
Secondly, then pixel is being moved when at least one image parameter of pixel is when within corresponding preset range The pixel of corresponding position is determined as pixel to be modified in screen in dynamic terminal screen.
Step 605: default corrected parameter being called to be modified pixel to be modified in mobile terminal screen.
Wherein, default corrected parameter includes but is not limited to: color phase correction values, saturation degree correction value and brightness correction Value.
A kind of preferred side for calling default corrected parameter to be modified pixel to be modified in mobile terminal screen Formula is as follows:
The pixel to be modified for each of mobile terminal screen determines the image parameter item for being in preset range; It calls and the matched preset correction value of image parameter item;Using the preset correction value of calling, to be modified in mobile terminal screen The parameter value of correspondence image parameter item of pixel be replaced, to complete the amendment to pixel to be modified in screen.
Pixel to be modified in mobile terminal screen is modified by using default corrected parameter, can achieve Show the purpose for the dark yellow part of the colour of skin being modified in the browsing picture of image.
Step 606: bright with determining target screen in the screen after the completion of amendment during browsing is to image browsing Angle value is shown to image browsing.
The screen intensity of mobile terminal is adjusted to brightness indicated by target screen brightness value when image browsing, is made to clear Image of looking at shows that picture effect light and shade is moderate, can prompt the viewing experience of user.
Image browsing method provided in an embodiment of the present invention, using default corrected parameter to be modified in mobile terminal screen Pixel be modified, can play to image carry out local correction purpose, using determining target screen brightness value pair Screen intensity carries out integrated regulation, can play to the whole modified purpose of brightness of image, in summary two kinds of correcting modes pair Image browsing is modified, so that the image browsing picture effect shown is more preferable.
Embodiment seven
Referring to Fig. 7, a kind of structural block diagram of mobile terminal of the embodiment of the present invention seven is shown.
The mobile terminal 10 of the embodiment of the present invention includes: to obtain module 101, for obtaining to the corresponding shooting of image browsing Data;Determining module 102, the photographed data for being got based on the acquisition module, determines target screen brightness value;Display Module 103, for browsing it is described to image browsing during, with the target screen brightness value show described in browse graph Picture.
Referring to Fig. 8, on the basis of Fig. 7, mobile terminal 10 further includes following module:
Image parameter obtains module 104, for being based on the photographed data in the determining module 102, determines target screen After curtain brightness value, the image parameter to pixel each in image browsing is obtained;Pixel determining module 105 is corrected, base is used for In the image parameter and preset image parameter range that get, pixel to be modified in mobile terminal screen is determined;It adjusts Mould preparation block 106, the mobile terminal screen for calling default corrected parameter to determine the amendment pixel determining module In pixel to be modified be modified.
Preferably, the structural block diagram of the determining module 102 is as shown in figure 9, the determining module 102 may include as follows Submodule:
First submodule 1021, for being based on the shooting ring when the photographed data includes shooting environmental brightness value Corresponding relationship between border brightness value and preset shooting environmental brightness value and screen brightness value determines that the target screen is bright Angle value, wherein the screen brightness value and the shooting environmental brightness value inverse correlation.
Second submodule 1022, for when the photographed data includes time for exposure and exposure gain, according to formula L= The target screen brightness value is calculated in aX+b, wherein L is the target screen brightness value, and X is the time for exposure and institute The product of exposure gain is stated, a and b are positive integer.
Statistic submodule 1023, for described when the photographed data includes described to pixel each in image browsing When gray value, the corresponding number of pixels of each gray value is counted;Computational submodule 1024, for being based on each pixel The corresponding number of pixels of each gray value of the sum of the grayscale values of point, calculates average gray value;First brightness value determines submodule 1025, for based on the corresponding relationship between the average gray value and preset average gray value and screen brightness value, really The fixed target screen brightness value, wherein the screen brightness value and the average gray value inverse correlation.
Acquisition submodule 1026, for including the gray scale to pixel each in image browsing when the photographed data When value, preset first gamma curve is obtained;Adjusting submodule 1027, for based on each pixel in the image browsing Gray value adjusts the first gamma curve, obtains the second gamma curve;Second brightness value determines submodule 1028, for being based on The gray value of second gamma curve and each pixel determines described to the corresponding institute of pixel each in image browsing State target screen intensity.
Preferably, the structural block diagram of the amendment pixel determining module 105 is as shown in Figure 10, and amendment pixel determines mould Block 105 includes following submodule:
Matched sub-block 1051, for when described image parameter includes: color phase, saturation degree and brightness, for Each pixel in image browsing, respectively by the corresponding color phase of the pixel, saturation degree and brightness with Preset color phase range, saturation degree range and brightness range are matched;Submodule 1052 is determined, for working as the picture When at least one image parameter of vegetarian refreshments is within corresponding preset range, then by the pixel in the mobile terminal screen The pixel of middle corresponding position is determined as pixel to be modified in the screen.
Preferably, the structural block diagram of the adjustment module 106 is as described in Figure 11, and the adjustment module 106 includes following son Module:
Parameter item determines submodule 1061, for including: color phase correction values, saturation degree when the default corrected parameter When correction value and intensity modifier value, the pixel to be modified for each of the mobile terminal screen is determined in pre- If the image parameter item of range;Preset correction value calls submodule 1062, matched pre- with described image parameter item for calling If correction value;Submodule 1063 is corrected, described preset for calling submodule 1062 to call using the preset correction value is repaired Positive value is replaced the parameter value of the correspondence image parameter item of pixel to be modified in the mobile terminal screen, with complete The amendment of pixel to be modified in the pairs of screen.
The corresponding picture browsing into embodiment six for realizing previous embodiment one of the mobile terminal of the embodiment of the present invention Method, details are not described herein.
The mobile terminal of the embodiment of the present invention is obtained to the corresponding shooting number of image browsing first when carrying out picture browsing According to foundation photographed data determines screen brightness value, is adjusted to the screen brightness value of mobile terminal when image browsing in display Determining screen intensity, it is mobile whole since determining screen brightness value is display optimal screen brightness value when image browsing The screen at end is shown under determining screen brightness value can guarantee that shown image frame shading value is moderate to image browsing, Therefore, it is capable of providing and gives user optimal picture browsing picture.
Embodiment eight
Referring to Fig.1 2, show the structural block diagram of the mobile terminal of the embodiment of the present invention eight.
The mobile terminal 700 of the embodiment of the present invention includes: at least one processor 701, memory 702, at least one net Network interface 704 and user interface 703.Various components in mobile terminal 700 are coupled by bus system 705.It can manage Solution, bus system 705 is for realizing the connection communication between these components.Bus system 705 is in addition to including data/address bus, also Including power bus, control bus and status signal bus in addition.But for the sake of clear explanation, in Figure 12 all by various buses It is designated as bus system 705.
Wherein, user interface 703 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 702 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM (ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is slow to be used as external high speed It deposits.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory (SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory (DirectRambusRAM, DRRAM).The memory 702 of the system and method for description of the embodiment of the present invention is intended to include but unlimited In the memory of these and any other suitable type.
In some embodiments, memory 702 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 7021 and application program 7022.
Wherein, operating system 7021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 7022 includes various application programs, such as media Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side The program of method may be embodied in application program 7022.
In embodiments of the present invention, by the program or instruction of calling memory 702 to store, specifically, can be application The program or instruction stored in program 7022, processor 701 is for obtaining to the corresponding photographed data of image browsing;Based on described Photographed data determines target screen brightness value;Browsing it is described to image browsing during, call in user interface 703 and include Display shown with the target screen brightness value it is described to image browsing.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the instruction of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), specific integrated circuit (ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array (FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic Device, discrete hardware components.It may be implemented or execute disclosed each method, step and the logical box in the embodiment of the present invention Figure.General processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with the present invention The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and execute completion, or use decoding processor In hardware and software module combination execute completion.Software module can be located at random access memory, and flash memory, read-only memory can In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage Medium is located at memory 702, and processor 701 reads the information in memory 702, and the step of the above method is completed in conjunction with its hardware Suddenly.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application SpecificIntegratedCircuits, ASIC), digital signal processor (DigitalSignalProcessing, DSP), Digital signal processing appts (DSPDevice, DSPD), programmable logic device (ProgrammableLogicDevice, PLD), Field programmable gate array (Field-ProgrammableGateArray, FPGA), general processor, controller, microcontroller In device, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, the module (such as process, function etc.) of function described in the execution embodiment of the present invention can be passed through To realize technology described in the embodiment of the present invention.Software code is storable in memory and is executed by processor.Storage Device can in the processor or portion realizes outside the processor.
Optionally, when the photographed data includes shooting environmental brightness value, the processor 701 is based on the shooting number According to being specifically used for when determining target screen brightness value: based on the shooting environmental brightness value and preset shooting environmental brightness Be worth screen brightness value between corresponding relationship, determine the target screen brightness value, wherein the screen brightness value with it is described Shooting environmental brightness value inverse correlation.
Optionally, when the photographed data includes time for exposure and exposure gain, the reason device 701 is based on the shooting Data are specifically used for when determining target screen brightness value: the target screen brightness value is calculated according to formula L=aX+b, Wherein, L is the target screen brightness value, and X is the product of the time for exposure and the exposure gain, and a and b are positive whole Number.
Optionally, when the photographed data includes described when the gray value of pixel each in image browsing, the place Reason device 701 is based on the photographed data and is specifically used for when determining target screen brightness value: each gray value of statistics is corresponding Number of pixels;The corresponding number of pixels of each gray value of sum of the grayscale values based on each pixel, calculates average Gray value;Based on the corresponding relationship between the average gray value and preset average gray value and screen brightness value, determine The target screen brightness value, wherein the screen brightness value and the average gray value inverse correlation.
Optionally, when the photographed data includes described when the gray value of pixel each in image browsing, the place Reason device 701 is based on the photographed data and is specifically used for when determining target screen brightness value: obtaining preset first gamma curve; Based on the gray value to pixel each in image browsing, the first gamma curve is adjusted, the second gamma curve is obtained;Base In second gamma curve and the gray value of each pixel, determine described corresponding to pixel each in image browsing The target screen intensity.
Optionally, the processor 701 is also used to: it is being based on the photographed data, after determining target screen brightness value, Obtain the image parameter to pixel each in image browsing;Based on the image parameter and preset image parameter model got It encloses, determines pixel to be modified in mobile terminal screen;Call default corrected parameter to be repaired in the mobile terminal screen Positive pixel is modified.
Optionally, when described image parameter includes color phase, saturation degree and brightness, the processor 701 is based on The image parameter and preset image parameter range got, when determining pixel to be modified in mobile terminal screen, tool Body is used for: for each pixel in image browsing, respectively by the corresponding color phase of the pixel, saturation degree And brightness is matched with preset color phase range, saturation degree range and brightness range;When the pixel extremely When a kind of few image parameter is within corresponding preset range, then the pixel is corresponded into position in the mobile terminal screen The pixel set is determined as pixel to be modified in the screen.
Optionally, when the default corrected parameter includes color phase correction values, saturation degree correction value and brightness correction When value, the processor 701 calls default corrected parameter to be modified pixel to be modified in the mobile terminal screen When, be specifically used for: the pixel to be modified for each of the mobile terminal screen determines the image for being in preset range Parameter item;It calls and the matched preset correction value of described image parameter item;Using the preset correction value of calling, to the shifting The parameter value of the correspondence image parameter item of pixel to be modified is replaced in dynamic terminal screen, to complete in the screen The amendment of pixel to be modified.
Mobile terminal 700 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal of the embodiment of the present invention is obtained to the corresponding shooting of image browsing first when carrying out picture browsing Data determine screen brightness value according to photographed data, adjust the screen brightness value of mobile terminal when image browsing in display It is mobile since determining screen brightness value is display optimal screen brightness value when image browsing for determining screen intensity The screen of terminal is shown under determining screen brightness value can guarantee that shown image frame shading value is suitable to image browsing In, therefore, it is capable of providing and gives user optimal picture browsing picture.
Embodiment nine
Referring to Fig.1 3, show the structural block diagram of the mobile terminal of the embodiment of the present invention nine.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Figure 13 includes radio frequency (RadioFrequency, RF) circuit 810, memory 820, input unit 830, display unit 840, processor 860, voicefrequency circuit 870, WiFi (WirelessFidelity) module 880 and power supply 890.
Wherein, input unit 830 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 800 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 8301.Touch panel 8301, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 8301 such as finger, stylus), and according to pre- The formula first set drives corresponding attachment device.Optionally, touch panel 8301 may include touch detecting apparatus and touch control Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, it will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then give the processor 860, and order that processor 860 is sent can be received and executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 8301.It is defeated in addition to touch panel 8301 Enter unit 830 can also include other input equipments 8302, other input equipments 8302 can include but is not limited to physical keyboard, One of function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 840 can be used for showing information input by user or be supplied to the information and movement of user The various menu interfaces of terminal.Display unit 840 may include display panel 8401, optionally, can use LCD or organic light emission The forms such as diode (OrganicLight-EmittingDiode, OLED) configure display panel 8401.
It should be noted that touch panel 8301 can cover display panel 8401, touch display screen is formed, when the touch display screen After detecting touch operation on it or nearby, processor 860 is sent to determine the type of touch event, is followed by subsequent processing device 860 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 860 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone A part by running or execute the software program and/or module that are stored in first memory 8201, and is called and is stored in Data in second memory 8202 execute the various functions and processing data of mobile terminal, to carry out to mobile terminal whole Body monitoring.Optionally, processor 860 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 8201 in software program and/or module and/ Or the data in the second memory 8202, processor 860 is for obtaining to the corresponding photographed data of image browsing;Based on described Photographed data determines target screen brightness value;Browsing it is described to image browsing during, call display unit 840 with described Target screen brightness value shows described to image browsing.
Optionally, when the photographed data includes shooting environmental brightness value, the processor 860 is based on the shooting number According to being specifically used for when determining target screen brightness value: based on the shooting environmental brightness value and preset shooting environmental brightness Be worth screen brightness value between corresponding relationship, determine the target screen brightness value, wherein the screen brightness value with it is described Shooting environmental brightness value inverse correlation.
Optionally, when the photographed data includes time for exposure and exposure gain, the reason device 701 is based on the shooting Data are specifically used for when determining target screen brightness value: the target screen brightness value is calculated according to formula L=aX+b, Wherein, L is the target screen brightness value, and X is the product of the time for exposure and the exposure gain, and a and b are positive whole Number.
Optionally, when the photographed data includes described when the gray value of pixel each in image browsing, the place Reason device 860 is based on the photographed data and is specifically used for when determining target screen brightness value: each gray value of statistics is corresponding Number of pixels;The corresponding number of pixels of each gray value of sum of the grayscale values based on each pixel, calculates average Gray value;Based on the corresponding relationship between the average gray value and preset average gray value and screen brightness value, determine The target screen brightness value, wherein the screen brightness value and the average gray value inverse correlation.
Optionally, when the photographed data includes described when the gray value of pixel each in image browsing, the place Reason device 860 is based on the photographed data and is specifically used for when determining target screen brightness value: obtaining preset first gamma curve; Based on the gray value to pixel each in image browsing, the first gamma curve is adjusted, the second gamma curve is obtained;Base In second gamma curve and the gray value of each pixel, determine described corresponding to pixel each in image browsing The target screen intensity.
Optionally, the processor 860 is also used to: it is being based on the photographed data, after determining target screen brightness value, Obtain the image parameter to pixel each in image browsing;Based on the image parameter and preset image parameter model got It encloses, determines pixel to be modified in mobile terminal screen;Call default corrected parameter to be repaired in the mobile terminal screen Positive pixel is modified.
Optionally, when described image parameter includes color phase, saturation degree and brightness, the processor 860 is based on The image parameter and preset image parameter range got, when determining pixel to be modified in mobile terminal screen, tool Body is used for: for each pixel in image browsing, respectively by the corresponding color phase of the pixel, saturation degree And brightness is matched with preset color phase range, saturation degree range and brightness range;When the pixel extremely When a kind of few image parameter is within corresponding preset range, then the pixel is corresponded into position in the mobile terminal screen The pixel set is determined as pixel to be modified in the screen.
Optionally, when the default corrected parameter includes color phase correction values, saturation degree correction value and brightness correction When value, the processor 860 calls default corrected parameter to be modified pixel to be modified in the mobile terminal screen When, be specifically used for: the pixel to be modified for each of the mobile terminal screen determines the image for being in preset range Parameter item;It calls and the matched preset correction value of described image parameter item;Using the preset correction value of calling, to the shifting The parameter value of the correspondence image parameter item of pixel to be modified is replaced in dynamic terminal screen, to complete in the screen The amendment of pixel to be modified.
The mobile terminal of the embodiment of the present invention is obtained to the corresponding shooting number of image browsing first when carrying out picture browsing According to foundation photographed data determines screen brightness value, is adjusted to the screen brightness value of mobile terminal when image browsing in display Determining screen intensity, it is mobile whole since determining screen brightness value is display optimal screen brightness value when image browsing The screen at end is shown under determining screen brightness value can guarantee that shown image frame shading value is moderate to image browsing, Therefore, it is capable of providing and gives user optimal picture browsing picture.For device embodiment, due to itself and embodiment of the method base This is similar, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
Provided herein picture browsing scheme not with any certain computer, virtual system or the intrinsic phase of other equipment It closes.Various general-purpose systems can also be used together with teachings based herein.As described above, construction has present invention side Structure required by the system of case is obvious.In addition, the present invention is also not directed to any particular programming language.It should be bright It is white, it can use various programming languages and realize summary of the invention described herein, and retouched above to what language-specific was done State is in order to disclose the best mode of carrying out the invention.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
It will appreciated by the skilled person that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in picture browsing scheme according to an embodiment of the present invention or The some or all functions of person's whole component.The present invention is also implemented as one for executing method as described herein Point or whole device or device programs (for example, computer program and computer program product).Such this hair of realization Bright program can store on a computer-readable medium, or may be in the form of one or more signals.It is such Signal can be downloaded from an internet website to obtain, and is perhaps provided on the carrier signal or is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
Those of ordinary skill in the art may be aware that the embodiment in conjunction with disclosed in the embodiment of the present invention describe it is each Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through others Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unit It connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (14)

1.一种图像浏览方法,应用于移动终端,其特征在于,所述方法包括:1. An image browsing method, applied to a mobile terminal, wherein the method comprises: 获取待浏览图像对应的拍摄数据;其中,所述浏览图像和所述拍摄数据是拍摄完成已存储的数据;Acquiring the shooting data corresponding to the image to be browsed; wherein, the browsing image and the shooting data are data that has been stored after shooting; 基于所述拍摄数据,确定目标屏幕亮度值;当所述拍摄数据包括拍摄环境亮度值时,所述基于所述拍摄数据,确定目标屏幕亮度值的步骤,包括:基于所述拍摄环境亮度值以及预设的拍摄环境亮度值与屏幕亮度值之间的对应关系,确定所述目标屏幕亮度值,其中,所述屏幕亮度值与所述拍摄环境亮度值反相关;Determine the brightness value of the target screen based on the shooting data; when the shooting data includes the brightness value of the shooting environment, the step of determining the brightness value of the target screen based on the shooting data includes: based on the brightness value of the shooting environment and The preset correspondence between the brightness value of the shooting environment and the brightness value of the screen determines the brightness value of the target screen, wherein the brightness value of the screen is inversely correlated with the brightness value of the shooting environment; 在浏览所述待浏览图像过程中,以所述目标屏幕亮度值显示所述待浏览图像。During the process of browsing the image to be browsed, the image to be browsed is displayed with the brightness value of the target screen. 2.根据权利要求1所述的方法,其特征在于,当所述拍摄数据包括曝光时间和曝光增益时,所述基于所述拍摄数据,确定目标屏幕亮度值的步骤,包括:2. The method according to claim 1, wherein when the shooting data includes exposure time and exposure gain, the step of determining the brightness value of the target screen based on the shooting data comprises: 根据公式L=aX+b计算得到所述目标屏幕亮度值,其中,L为所述目标屏幕亮度值,X为所述曝光时间与所述曝光增益的乘积,a和b均为正整数。The target screen brightness value is calculated according to the formula L=aX+b, where L is the target screen brightness value, X is the product of the exposure time and the exposure gain, and a and b are both positive integers. 3.根据权利要求1所述的方法,其特征在于,当所述拍摄数据包括所述待浏览图像中每个像素点的灰度值时,所述基于所述拍摄数据,确定目标屏幕亮度值的步骤,包括:3 . The method according to claim 1 , wherein, when the shooting data includes the grayscale value of each pixel in the image to be browsed, determining the brightness value of the target screen based on the shooting data. 4 . steps, including: 统计每个所述灰度值对应的像素个数;Count the number of pixels corresponding to each of the grayscale values; 基于所述每个像素点的灰度值和每个所述灰度值对应的像素个数,计算平均灰度值;Calculate the average gray value based on the gray value of each pixel and the number of pixels corresponding to each gray value; 基于所述平均灰度值以及预设的平均灰度值与屏幕亮度值之间的对应关系,确定所述目标屏幕亮度值,其中,所述屏幕亮度值与所述平均灰度值反相关。The target screen brightness value is determined based on the average grayscale value and a preset correspondence between the average grayscale value and the screen brightness value, wherein the screen brightness value is inversely correlated with the average grayscale value. 4.根据权利要求1所述的方法,其特征在于,当所述拍摄数据包括所述待浏览图像中每个像素点的灰度值时,所述基于所述拍摄数据,确定目标屏幕亮度值的步骤,包括:4 . The method according to claim 1 , wherein when the shooting data includes the grayscale value of each pixel in the image to be browsed, determining the brightness value of the target screen based on the shooting data. 5 . steps, including: 获取预设的第一伽马曲线;Get the preset first gamma curve; 基于所述待浏览图像中每个像素点的灰度值,调整所述第一伽马曲线,得到第二伽马曲线;Adjusting the first gamma curve based on the grayscale value of each pixel in the image to be browsed to obtain a second gamma curve; 基于所述第二伽马曲线以及每个像素点的灰度值,确定所述待浏览图像中每个像素点对应的所述目标屏幕亮度。Based on the second gamma curve and the gray value of each pixel point, the target screen brightness corresponding to each pixel point in the image to be browsed is determined. 5.根据权利要求1所述的方法,其特征在于,在所述基于所述拍摄数据,确定目标屏幕亮度值的步骤之后,所述方法还包括:5. The method according to claim 1, wherein after the step of determining the brightness value of the target screen based on the shooting data, the method further comprises: 获取待浏览图像中各像素点的图像参数;Obtain the image parameters of each pixel in the image to be browsed; 基于获取到的图像参数以及预设的图像参数范围,确定移动终端屏幕中待修正的像素点;Determine the pixels to be corrected in the screen of the mobile terminal based on the acquired image parameters and the preset image parameter range; 调用预设修正参数对所述移动终端屏幕中待修正的像素点进行修正。The preset correction parameters are called to correct the pixels to be corrected in the screen of the mobile terminal. 6.根据权利要求5所述的方法,其特征在于,当所述图像参数包括颜色相位、饱和度以及亮度时,所述基于获取到的图像参数以及预设的图像参数范围,确定移动终端屏幕中待修正的像素点的步骤,包括:6 . The method according to claim 5 , wherein when the image parameters include color phase, saturation and brightness, the mobile terminal screen is determined based on the obtained image parameters and a preset image parameter range. 7 . The steps of pixel points to be corrected include: 对于所述待浏览图像中的每个像素点,分别将所述像素点对应的颜色相位、饱和度以及亮度与预设的颜色相位范围、饱和度范围以及亮度范围进行匹配;For each pixel in the image to be browsed, respectively matching the color phase, saturation and brightness corresponding to the pixel with a preset color phase range, saturation range and brightness range; 当所述像素点的至少一种图像参数在相应的预设范围之内时,则将所述像素点在所述移动终端屏幕中对应位置的像素点确定为所述屏幕中待修正的像素点。When at least one image parameter of the pixel is within the corresponding preset range, the pixel at the corresponding position on the screen of the mobile terminal is determined as the pixel to be corrected in the screen . 7.根据权利要求6所述的方法,其特征在于,当所述预设修正参数包括颜色相位修正值、饱和度修正值以及亮度修正值时,所述调用预设修正参数对所述移动终端屏幕中待修正的像素点进行修正的步骤,包括:7 . The method according to claim 6 , wherein when the preset correction parameters include a color phase correction value, a saturation correction value, and a brightness correction value, the calling of the preset correction parameters is used for the mobile terminal. 8 . The steps of correcting the pixels to be corrected in the screen include: 对于所述移动终端屏幕中的每个待修正的像素点,确定处于预设范围的图像参数项;For each pixel to be corrected in the screen of the mobile terminal, determine an image parameter item in a preset range; 调用与所述图像参数项匹配的预设修正值;calling a preset correction value matching the image parameter item; 采用调用的所述预设修正值,对所述移动终端屏幕中待修正的像素点的对应图像参数项的参数值进行替换,以完成对所述屏幕中待修正像素点的修正。Using the called preset correction value, the parameter value of the corresponding image parameter item of the pixel point to be corrected in the screen of the mobile terminal is replaced, so as to complete the correction of the pixel point to be corrected in the screen. 8.一种移动终端,其特征在于,包括:8. A mobile terminal, comprising: 获取模块,用于获取待浏览图像对应的拍摄数据;其中,所述浏览图像和所述拍摄数据是拍摄完成已存储的数据;an acquisition module, configured to acquire the shooting data corresponding to the image to be browsed; wherein, the browsing image and the shooting data are the data stored after shooting; 确定模块,用于基于所述获取模块获取到的拍摄数据,确定目标屏幕亮度值;其中,所述确定模块包括:第一子模块,用于当所述拍摄数据包括拍摄环境亮度值时,基于所述拍摄环境亮度值以及预设的拍摄环境亮度值与屏幕亮度值之间的对应关系,确定所述目标屏幕亮度值,其中,所述屏幕亮度值与所述拍摄环境亮度值反相关;a determining module, configured to determine the brightness value of the target screen based on the shooting data acquired by the acquiring module; wherein, the determining module includes: a first sub-module, configured to, when the shooting data includes the shooting environment brightness value, determine the brightness value of the target screen based on The corresponding relationship between the shooting environment brightness value and the preset shooting environment brightness value and the screen brightness value determines the target screen brightness value, wherein the screen brightness value is inversely correlated with the shooting environment brightness value; 显示模块,用于在浏览所述待浏览图像过程中,以所述目标屏幕亮度值显示所述待浏览图像。The display module is configured to display the to-be-browse image with the target screen brightness value during the process of browsing the to-be-browse image. 9.根据权利要求8所述的移动终端,其特征在于,所述确定模块包括:9. The mobile terminal according to claim 8, wherein the determining module comprises: 第二子模块,用于当所述拍摄数据包括曝光时间和曝光增益时,根据公式L=aX+b计算得到所述目标屏幕亮度值,其中,L为所述目标屏幕亮度值,X为所述曝光时间与所述曝光增益的乘积,a和b均为正整数。The second sub-module is configured to calculate and obtain the target screen brightness value according to the formula L=aX+b when the shooting data includes exposure time and exposure gain, where L is the target screen brightness value, and X is the target screen brightness value. The product of the exposure time and the exposure gain, a and b are both positive integers. 10.根据权利要求8所述的移动终端,其特征在于,所述确定模块包括:10. The mobile terminal according to claim 8, wherein the determining module comprises: 统计子模块,用于当所述拍摄数据包括所述待浏览图像中每个像素点的灰度值时,统计每个所述灰度值对应的像素个数;A statistics submodule, configured to count the number of pixels corresponding to each of the gray values when the shooting data includes the gray value of each pixel in the image to be browsed; 计算子模块,用于基于所述每个像素点的灰度值和每个所述灰度值对应的像素个数,计算平均灰度值;A calculation submodule for calculating an average gray value based on the gray value of each pixel and the number of pixels corresponding to each of the gray values; 第一亮度值确定子模块,用于基于所述平均灰度值以及预设的平均灰度值与屏幕亮度值之间的对应关系,确定所述目标屏幕亮度值,其中,所述屏幕亮度值与所述平均灰度值反相关。a first brightness value determination sub-module, configured to determine the target screen brightness value based on the average gray value and the corresponding relationship between the preset average gray value and the screen brightness value, wherein the screen brightness value is inversely related to the mean gray value. 11.根据权利要求8所述的移动终端,其特征在于,所述确定模块包括:11. The mobile terminal according to claim 8, wherein the determining module comprises: 获取子模块,用于当所述拍摄数据包括所述待浏览图像中每个像素点的灰度值时,获取预设的第一伽马曲线;an acquisition submodule, configured to acquire a preset first gamma curve when the shooting data includes the grayscale value of each pixel in the image to be browsed; 调整子模块,用于基于所述浏览图像中每个像素点的灰度值,调整所第一伽马曲线,得到第二伽马曲线;an adjustment submodule for adjusting the first gamma curve based on the grayscale value of each pixel in the browsing image to obtain a second gamma curve; 第二亮度值确定子模块,用于基于所述第二伽马曲线以及每个像素点的灰度值,确定所述待浏览图像中每个像素点对应的所述目标屏幕亮度。The second brightness value determination sub-module is configured to determine the target screen brightness corresponding to each pixel in the image to be browsed based on the second gamma curve and the gray value of each pixel. 12.根据权利要求8所述的移动终端,其特征在于,所述移动终端还包括:12. The mobile terminal according to claim 8, wherein the mobile terminal further comprises: 图像参数获取模块,用于在所述确定模块基于所述拍摄数据,确定目标屏幕亮度值之后,获取待浏览图像中各像素点的图像参数;an image parameter acquisition module, configured to acquire the image parameters of each pixel in the image to be browsed after the determination module determines the brightness value of the target screen based on the shooting data; 修正像素点确定模块,用于基于获取到的图像参数以及预设的图像参数范围,确定移动终端屏幕中待修正的像素点;A correction pixel point determination module, configured to determine the pixel point to be corrected in the screen of the mobile terminal based on the acquired image parameters and the preset image parameter range; 调整模块,用于调用预设修正参数对所述修正像素点确定模块确定的所述移动终端屏幕中待修正的像素点进行修正。The adjustment module is configured to call preset correction parameters to correct the pixel points to be corrected in the screen of the mobile terminal determined by the correction pixel point determination module. 13.根据权利要求12所述的移动终端,其特征在于,所述修正像素点确定模块包括:13. The mobile terminal according to claim 12, wherein the correction pixel point determination module comprises: 匹配子模块,用于当所述图像参数包括:颜色相位、饱和度以及亮度时,对于所述待浏览图像中的每个像素点,分别将所述像素点对应的颜色相位、饱和度以及亮度与预设的颜色相位范围、饱和度范围以及亮度范围进行匹配;A matching sub-module, used for when the image parameters include: color phase, saturation and brightness, for each pixel in the image to be browsed, respectively, the color phase, saturation and brightness corresponding to the pixel Match the preset color phase range, saturation range and brightness range; 确定子模块,用于当所述像素点的至少一种图像参数在相应的预设范围之内时,则将所述像素点在所述移动终端屏幕中对应位置的像素点确定为所述屏幕中待修正的像素点。A determination sub-module, configured to determine the pixel point at the corresponding position of the pixel point in the screen of the mobile terminal as the screen when at least one image parameter of the pixel point is within a corresponding preset range The pixels to be corrected in . 14.根据权利要求13所述的移动终端,其特征在于,所述调整模块包括:14. The mobile terminal according to claim 13, wherein the adjustment module comprises: 参数项确定子模块,用于当所述预设修正参数包括:颜色相位修正值、饱和度修正值以及亮度修正值时,对于所述移动终端屏幕中的每个待修正的像素点,确定处于预设范围的图像参数项;The parameter item determination submodule is used to determine that, for each pixel to be corrected in the screen of the mobile terminal, when the preset correction parameters include: a color phase correction value, a saturation correction value and a brightness correction value, the Image parameter items in the preset range; 预设修正值调用子模块,用于调用与所述图像参数项匹配的预设修正值;The preset correction value calling submodule is used to call the preset correction value matching the image parameter item; 修正子模块,用于采用所述预设修正值调用子模块调用的所述预设修正值,对所述移动终端屏幕中待修正的像素点的对应图像参数项的参数值进行替换,以完成对所述屏幕中待修正像素点的修正。A correction sub-module, configured to use the preset correction value to call the preset correction value called by the sub-module, and replace the parameter value of the corresponding image parameter item of the pixel to be corrected in the screen of the mobile terminal to complete Correction of the pixels to be corrected in the screen.
CN201610486329.2A 2016-06-24 2016-06-24 A kind of image browsing method and mobile terminal Active CN106131398B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610486329.2A CN106131398B (en) 2016-06-24 2016-06-24 A kind of image browsing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610486329.2A CN106131398B (en) 2016-06-24 2016-06-24 A kind of image browsing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106131398A CN106131398A (en) 2016-11-16
CN106131398B true CN106131398B (en) 2019-03-05

Family

ID=57266629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610486329.2A Active CN106131398B (en) 2016-06-24 2016-06-24 A kind of image browsing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106131398B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106683638B (en) * 2016-12-19 2020-02-11 Oppo广东移动通信有限公司 Method and device for adjusting screen
CN106847150B (en) * 2017-01-04 2020-11-13 捷开通讯(深圳)有限公司 Device and method for adjusting brightness of display screen
CN110086995B (en) * 2019-05-15 2021-01-15 深圳市道通智能航空技术有限公司 Image brightness adjusting method and device and unmanned aerial vehicle
CN110336917B (en) * 2019-06-21 2021-02-26 惠州Tcl移动通信有限公司 Picture display method and device, storage medium and terminal
CN112289279B (en) * 2020-11-05 2022-04-12 Oppo广东移动通信有限公司 Screen brightness adjusting method and device, storage medium and electronic equipment
CN113064682A (en) * 2021-03-11 2021-07-02 浙江大华技术股份有限公司 Picture display method and device of display equipment and display equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536555A (en) * 2003-04-04 2004-10-13 乐金电子(中国)研究开发中心有限公 Liquid crystal display picture brightness automatic regulating device and its method
CN103294429A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Display method and device
CN104869242A (en) * 2015-05-05 2015-08-26 惠州Tcl移动通信有限公司 Method and system for adjusting screen brightness

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI482145B (en) * 2013-06-20 2015-04-21 Novatek Microelectronics Corp Image display apparatus and backlight adjusting method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1536555A (en) * 2003-04-04 2004-10-13 乐金电子(中国)研究开发中心有限公 Liquid crystal display picture brightness automatic regulating device and its method
CN103294429A (en) * 2012-03-05 2013-09-11 联想(北京)有限公司 Display method and device
CN104869242A (en) * 2015-05-05 2015-08-26 惠州Tcl移动通信有限公司 Method and system for adjusting screen brightness

Also Published As

Publication number Publication date
CN106131398A (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN106131398B (en) A kind of image browsing method and mobile terminal
CN105872148B (en) A kind of generation method and mobile terminal of high dynamic range images
CN105227858B (en) A kind of image processing method and mobile terminal
CN106101544B (en) An image processing method and mobile terminal
CN105827971B (en) A kind of image processing method and mobile terminal
CN106060419B (en) A kind of photographic method and mobile terminal
CN105847674B (en) A kind of preview image processing method and mobile terminal based on mobile terminal
CN106170058B (en) A kind of exposure method and mobile terminal
CN106506960B (en) A kind of processing method and mobile terminal of image data
CN105898143B (en) A kind of grasp shoot method and mobile terminal of moving object
CN106161967B (en) Backlight scene panoramic shooting method and mobile terminal
CN106937054B (en) A kind of take pictures weakening method and the mobile terminal of mobile terminal
CN107454330B (en) Image processing method, mobile terminal and computer-readable storage medium
CN107205120A (en) The processing method and mobile terminal of a kind of image
CN106126108B (en) A kind of generation method and mobile terminal of thumbnail
CN106412457B (en) A kind of image processing method and mobile terminal
CN105959559A (en) Night scene shooting method and mobile terminal
CN107492067B (en) A kind of image beautification method and mobile terminal
CN106097398B (en) A kind of detection method and mobile terminal of Moving Objects
CN105959574B (en) A kind of photographic method and mobile terminal
CN106572349A (en) Camera cleanliness detection method and mobile terminal
CN105827963B (en) Scene-change detecting method and mobile terminal during one kind is taken pictures
CN107465874B (en) A kind of dark current processing method and mobile terminal
CN109120850A (en) A kind of image processing method and mobile terminal
CN107222686A (en) A kind for the treatment of method and apparatus of view data

Legal Events

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