CN105007472A - Photo display method and device - Google Patents
Photo display method and device Download PDFInfo
- Publication number
- CN105007472A CN105007472A CN201510439677.XA CN201510439677A CN105007472A CN 105007472 A CN105007472 A CN 105007472A CN 201510439677 A CN201510439677 A CN 201510439677A CN 105007472 A CN105007472 A CN 105007472A
- Authority
- CN
- China
- Prior art keywords
- photo
- displayed
- saturation
- value
- pixels
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Color Image Communication Systems (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a photo display method and a device, wherein the method comprises the following steps: determining a photosensitive value when a photo to be displayed is shot; acquiring the saturation of the photo to be displayed; adjusting the saturation of the photo to be displayed according to the sensitization value; and displaying the photo to be displayed by using the adjusted saturation. According to the embodiment of the invention, the corresponding saturation can be adjusted according to the photosensitive value of the photo to be displayed, and the display effect of the photo can be improved.
Description
Technical field
The embodiment of the present invention relates to technical field of mobile terminals, particularly relates to a kind of photo display packing and device.
Background technology
Along with popularizing of mobile terminal, we are more often checked and the photo sharing shooting by mobile terminal.
Current mobile terminal, when display photo, is all the data of original photo directly exported to show on a display screen, and without any process.Or, have small part mobile terminal when display photo, necessarily can process the data of original photo, to improve the saturation of photo.
But above-mentioned two kinds of methods all existing defects, original view data directly exported at display screen without any process, make photo seem more flat like this, color is gorgeous not.And second method is relative to the first situation, although photo can be made to seem to want more bright-coloured.But this method is all the same for all photo disposal modes, for the photo that the time for exposure is shorter, in order to take into account the photo of long time for exposure, saturation only improves a little, and photo seems it is not also bright-coloured especially; And for time for exposure long photo, in order to take into account time for exposure short photo, saturation also improves, and this makes the noise of photo seem more serious.
Summary of the invention
The embodiment of the present invention provides a kind of photo display packing and device, to improve the display effect of photo.
First aspect, embodiments provides a kind of photo display packing, comprising:
Determine photosensitive value when taking photo to be shown;
Obtain the saturation of described photo to be shown;
According to the saturation of the described photo to be shown of described photosensitive value adjustment;
The described photo to be shown of saturation display after Use Adjustment.
Second aspect, the embodiment of the present invention also provides a photo display unit, comprising:
Photosensitive value determination module, for determining photosensitive value when taking photo to be shown;
Saturation acquisition module, for obtaining the saturation of described photo to be shown;
Saturation adjusting module, for the saturation according to the described photo to be shown of described photosensitive value adjustment;
Display module, for the described photo to be shown of saturation display after Use Adjustment.
The embodiment of the present invention by determining photosensitive value when taking photo to be shown, and adjusts the saturation of described photo to be shown according to described photosensitive value; The described photo to be shown of saturation display after Use Adjustment.The embodiment of the present invention can according to the photosensitive value of photo to be shown, and the saturation that adjustment is corresponding can improve the display effect of photo.
Accompanying drawing explanation
The schematic flow sheet of the photo display packing that Fig. 1 provides for the embodiment of the present invention one;
The schematic flow sheet of the photo display packing that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the photo display unit that Fig. 3 provides for the embodiment of the present invention three.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not entire infrastructure.
The executive agent of the photo display packing that the embodiment of the present invention provides, can be installation photo display unit on the terminal device, or be integrated with the terminal equipment of photo display unit (such as, smart mobile phone and panel computer etc.), this photo display unit can adopt hardware or software simulating.
Embodiment one
The schematic flow sheet of the photo display packing that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, specifically comprises:
Step 11, the photosensitive value determining when taking photo to be shown;
Wherein, photosensitive value is the sensitivity measured value that the camera applications of mobile terminal is reacted light, and generally with ISO numerical code expression, number larger expression sensing optical activity is stronger, otherwise number less expression sensing optical activity is more weak.
Before taking pictures, user can arrange photosensitive value according to actual conditions in the camera applications of mobile terminal, and uses the photosensitive value arranged to take pictures, and this photosensitive value also can be recorded in the form head of the photo of taking pictures.This photosensitive value can be obtained by resolving photo.
Step 12, obtain the saturation of described photo to be shown;
Wherein, when taking pictures, described saturation also can be recorded in the form head of the photo of taking pictures.This saturation is obtained equally by resolving photo.In addition, can also by corresponding by photo, (RedGreenBlue, RGB) RGB color space conversion is to (HueSaturationValue, HSV) tone saturation lightness colors space, obtain corresponding saturation, the detailed description about this step can see following example.
Step 13, saturation according to the described photo to be shown of described photosensitive value adjustment;
Concrete, when the photosensitive value of the photo to be shown got is lower, then illustrating that photo to be shown is taken under high light, in order to make photo to be shown seem more gorgeous in face on a display screen, suitably can increase saturation during display; When the photosensitive value of photo to be shown is larger, illustrating that photo to be shown is taken under the low light level, in order to make photo to be shown seem that noise is smaller in face on a display screen, suitably can reduce saturation during display.
The described photo to be shown of saturation display after step 14, Use Adjustment.
The present embodiment by determining photosensitive value when taking photo to be shown, and adjusts the saturation of described photo to be shown according to described photosensitive value; The described photo to be shown of saturation display after Use Adjustment, can according to the photosensitive value of photo to be shown, and the saturation that adjustment is corresponding, can improve the display effect of photo.
Exemplary, on the basis of above-described embodiment, the saturation according to the described photo to be shown of described photosensitive value adjustment comprises:
When described photosensitive value is lower than the first predetermined threshold value, described saturation is increased by the first preset value;
When described photosensitive value is higher than the first predetermined threshold value, described saturation is reduced the second preset value.
Wherein, the first predetermined threshold value can value be the photosensitive value corresponding when normal exposure, can be an occurrence, also can be a span.Described first preset value and described second preset value can be identical value, also can be different value.
When specific implementation, first the corresponding relation of photosensitive value and saturation adjusted value is set up, namely the maximum photosensitive value that can support of mobile terminal and minimum photosensitive value is obtained, the i.e. possible span of photosensitive value, according to predetermined interval, grade classification is carried out to the possible span of photosensitive value, obtain each sub-span, according to the relation of each sub-span photosensitive value span corresponding with when the first predetermined threshold value and normal exposure, the saturation adjusted value that each sub-span is corresponding is set.Namely when group span is lower than photosensitive value span corresponding during normal exposure, then increase by the first preset value, and the first preset value of the lower correspondence of sub-span is larger; When group span is higher than photosensitive value span corresponding during normal exposure, then reduce the second preset value, and the second preset value of the higher correspondence of sub-span is less.
When adjusting the saturation of described photo to be shown, by the corresponding relation of the photosensitive value and saturation adjusted value of inquiring about above-mentioned foundation, determine the saturation after adjustment.
Exemplary, on the basis of above-described embodiment, the saturation obtaining described photo to be shown comprises:
By the first conversion formula by described photo to be shown by RGB RGB color space conversion to tone saturation brightness hsv color space, calculate the saturation of described photo to be shown;
Wherein, the first conversion formula is the conversion formula of RGB color space conversion to hsv color space.Be specially:
Wherein, the value that R, G, B are respectively the value that in described photo to be shown, pixel red color is corresponding, green Color pair is answered and the value that blue Color pair is answered, max (R, G, B) is the maximum in R, G, B value corresponding to all pixels in described photo to be shown, and min (R, G, B) is the minimum value in R, G, B value corresponding to all pixels in described photo to be shown.
Accordingly, the described photo to be shown of saturation display after Use Adjustment, comprising:
According to adjustment after saturation adopt the second conversion formula by described photo to be shown by hsv color space transforming to RGB color space, obtain R, G, B value that in described photo to be shown, pixel is corresponding;
R, G, B value display described to be shown photo corresponding according to pixel in described photo to be shown.
Wherein, the second conversion formula is the conversion formula of hsv color space transforming to RGB color space.Be specially:
Exemplary, the saturation calculating described photo to be shown comprises:
Following formula one is adopted to calculate the saturation S of described photo to be shown:
Formula one: S=(max (R, G, B)-min (R, G, B))/max (R, G, B)
Wherein, the value that R, G, B are respectively the value that in described photo to be shown, pixel red color is corresponding, green Color pair is answered and the value that blue Color pair is answered, max (R, G, B) is the maximum in R, G, B value corresponding to all pixels in described photo to be shown, and min (R, G, B) is the minimum value in R, G, B value corresponding to all pixels in described photo to be shown.
Exemplary, R, G, B value display described to be shown photo corresponding according to pixel in described photo to be shown comprises:
Adopt following formula two, R, G, B value of pixel in described photo to be shown adjusted in 0 ~ 255 scope:
Formula two: R1=R*255, G 1=G*255, B1=B*255;
According to the described photo to be shown of R1, G1, B1 value display of pixel in the photo described to be shown after adjustment.
The various embodiments described above equally by determining photosensitive value when taking photo to be shown, and adjust the saturation of described photo to be shown according to described photosensitive value; The described photo to be shown of saturation display after Use Adjustment, can according to the photosensitive value of photo to be shown, and the saturation that adjustment is corresponding, can improve the display effect of photo.
Embodiment two
The schematic flow sheet of the photo display packing that Fig. 2 provides for the embodiment of the present invention two, is originally embodied as a specific embodiment, for describing technical scheme of the present invention in detail.As shown in Figure 2, specifically comprise:
Step 21, the photosensitive value determining when taking photo to be shown;
Such as, resolve exchangeable image file (Exchangeable Image File, the EXIF) information of described photo to be shown, from EXIF information, parse photosensitive value.
Step 22, by the first conversion formula by described photo to be shown by RGB RGB color space conversion to tone saturation brightness hsv color space, calculate the saturation of described photo to be shown;
Detailed description about this step refers to the associated description in above-described embodiment, repeats no more here.
Step 23, saturation according to the described photo to be shown of described photosensitive value adjustment;
Concrete, list as shown in Table 1 can be set up in advance, in described list, have recorded the rule according to photosensitive value adjustment saturation:
Table one
| Photosensitive value scope | Saturation adjusts | The typical value of T |
| 0~100 | S(new)=S*T1 | 1.1 |
| 101~200 | S(new)=S*T2 | 1.05 |
| 201~400 | S(new)=S*T3 | 1.02 |
| 401~800 | S(new)=S*T4 | 1 |
| 801~1600 | S(new)=S*T5 | 0.95 |
| More than 1600 | S(new)=S*T6 | 0.9 |
Wherein, S (new) is the saturation after adjustment, and S is the initial saturation of photo to be shown, and parameter T is regulation coefficient.When photosensitive value is in scope 401 ~ 800, parameter T value is 1, is value during normal exposure; When photosensitive value lower than scope 401 ~ 800 time, then illustrate that photo to be shown is taken under high light, in order to make photo to be shown seem more gorgeous in face on a display screen, parameter T value, for being greater than 1 value, can increase saturation during display; When photosensitive value lower than scope 401 ~ 800 time, illustrate that photo to be shown is taken under the low light level, in order to make photo to be shown seem that noise is smaller in face on a display screen, parameter T value, for being less than 1 value, can reduce saturation during display.
By the rule described in above-mentioned table one, adjust the saturation of described photo to be shown.
Step 24, according to adjustment after saturation adopt the second conversion formula by described photo to be shown by hsv color space transforming to RGB color space, obtain R, G, B value that in described photo to be shown, pixel is corresponding;
Detailed description about this step refers to the associated description in above-described embodiment, repeats no more here.
Step 25, adopt following formula two, R, G, B value of pixel in described photo to be shown adjusted in 0 ~ 255 scope:
Formula two: R1=R*255, G 1=G*255, B1=B*255;
Step 26, according to adjustment after photo described to be shown in pixel R1, G1, B1 value show described photo to be shown.
The present embodiment by determining photosensitive value when taking photo to be shown, and adjusts the saturation of described photo to be shown according to described photosensitive value; When photosensitive value is lower, suitably can increase saturation during display, when photosensitive value is higher, suitably can reduce saturation during display, then the described photo to be shown of saturation display after Use Adjustment, can according to the photosensitive value of photo to be shown, the saturation that adjustment is corresponding, can improve the display effect of photo.
Embodiment three
The structural representation of the photo display unit that Fig. 3 provides for the embodiment of the present invention three, as shown in Figure 3, specifically comprises: photosensitive value determination module 31, saturation acquisition module 32, saturation adjusting module 33 and display module 34;
Described photosensitive value determination module 31 is for determining photosensitive value when taking photo to be shown;
Described saturation acquisition module 32 is for obtaining the saturation of described photo to be shown;
Described saturation adjusting module 33 is for the saturation according to the described photo to be shown of described photosensitive value adjustment;
Described display module 34 is for the described photo to be shown of saturation display after Use Adjustment.
Photo display unit described in the present embodiment is for performing the photo display packing described in the various embodiments described above, and the technique effect of its know-why and generation is similar, is not repeated here.
Exemplary, on the basis of above-described embodiment, described saturation adjusting module 33 specifically for:
When described photosensitive value is lower than the first predetermined threshold value, described saturation is increased by the first preset value; When described photosensitive value is higher than the first predetermined threshold value, described saturation is reduced the second preset value.
Exemplary, on the basis of above-described embodiment, described saturation acquisition module 32 comprises: the first converting unit 321 and saturation computation unit 322;
Described first converting unit 321 for by the first conversion formula by described photo to be shown by RGB RGB color space conversion to tone saturation brightness hsv color space;
Described saturation computation unit 322 is for calculating the saturation of described photo to be shown;
Accordingly, described display module 34 comprises: the second converting unit 341 and display unit 342;
Described second converting unit 341 for according to adjustment after saturation adopt the second conversion formula by described photo to be shown by hsv color space transforming to RGB color space, obtain R, G, B value that in described photo to be shown, pixel is corresponding;
Described display unit 342 is for R, G, B value display described to be shown photo corresponding according to pixel in described photo to be shown.
Exemplary, on the basis of above-described embodiment, described saturation computation unit 322 specifically for:
Following formula one is adopted to calculate the saturation S of described photo to be shown:
Formula one: S=(max (R, G, B)-min (R, G, B))/max (R, G, B)
Wherein, the value that R, G, B are respectively the value that in described photo to be shown, pixel red color is corresponding, green Color pair is answered and the value that blue Color pair is answered, max (R, G, B) is the maximum in R, G, B value corresponding to all pixels in described photo to be shown, and min (R, G, B) is the minimum value in R, G, B value corresponding to all pixels in described photo to be shown.
Exemplary, on the basis of above-described embodiment, described display unit 342 specifically for:
Adopt following formula two, R, G, B value of pixel in described photo to be shown adjusted in 0 ~ 255 scope:
Formula two: R1=R*255, G 1=G*255, B1=B*255;
According to the described photo to be shown of R1, G1, B1 value display of pixel in the photo described to be shown after adjustment.
Photo display unit described in the various embodiments described above is equally for performing the photo display packing described in the various embodiments described above, and the technique effect of its know-why and generation is similar, is not repeated here.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510439677.XA CN105007472A (en) | 2015-07-23 | 2015-07-23 | Photo display method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510439677.XA CN105007472A (en) | 2015-07-23 | 2015-07-23 | Photo display method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105007472A true CN105007472A (en) | 2015-10-28 |
Family
ID=54379968
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510439677.XA Pending CN105007472A (en) | 2015-07-23 | 2015-07-23 | Photo display method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105007472A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106998456A (en) * | 2017-03-28 | 2017-08-01 | 建荣半导体(深圳)有限公司 | A kind of method of adjustment, device and the picture processing chip of image color saturation |
| CN108280813A (en) * | 2018-01-30 | 2018-07-13 | 努比亚技术有限公司 | A kind of image processing method, terminal and computer readable storage medium |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005039460A (en) * | 2003-07-18 | 2005-02-10 | Canon Inc | Image processing method and apparatus |
| CN101115211A (en) * | 2007-08-30 | 2008-01-30 | 四川长虹电器股份有限公司 | Color independent reinforcement processing method |
| WO2008096828A1 (en) * | 2007-02-08 | 2008-08-14 | Iix Inc. | Image quality adjusting device, image quality adjusting method and image quality adjusting program |
| CN101483784A (en) * | 2008-01-08 | 2009-07-15 | 华晶科技股份有限公司 | Fake color inhibition method for digital image |
| CN103067661A (en) * | 2013-01-07 | 2013-04-24 | 华为终端有限公司 | Image processing method, image processing device and shooting terminal |
| CN103294429A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Display method and device |
| CN103716547A (en) * | 2014-01-15 | 2014-04-09 | 厦门美图之家科技有限公司 | Smart mode photographing method |
| JP2015012319A (en) * | 2013-06-26 | 2015-01-19 | オリンパス株式会社 | Image processing apparatus and image processing method |
| CN104793742A (en) * | 2015-04-09 | 2015-07-22 | 广东欧珀移动通信有限公司 | Shooting previewing method and device |
-
2015
- 2015-07-23 CN CN201510439677.XA patent/CN105007472A/en active Pending
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2005039460A (en) * | 2003-07-18 | 2005-02-10 | Canon Inc | Image processing method and apparatus |
| WO2008096828A1 (en) * | 2007-02-08 | 2008-08-14 | Iix Inc. | Image quality adjusting device, image quality adjusting method and image quality adjusting program |
| CN101115211A (en) * | 2007-08-30 | 2008-01-30 | 四川长虹电器股份有限公司 | Color independent reinforcement processing method |
| CN101483784A (en) * | 2008-01-08 | 2009-07-15 | 华晶科技股份有限公司 | Fake color inhibition method for digital image |
| CN103294429A (en) * | 2012-03-05 | 2013-09-11 | 联想(北京)有限公司 | Display method and device |
| CN103067661A (en) * | 2013-01-07 | 2013-04-24 | 华为终端有限公司 | Image processing method, image processing device and shooting terminal |
| JP2015012319A (en) * | 2013-06-26 | 2015-01-19 | オリンパス株式会社 | Image processing apparatus and image processing method |
| CN103716547A (en) * | 2014-01-15 | 2014-04-09 | 厦门美图之家科技有限公司 | Smart mode photographing method |
| CN104793742A (en) * | 2015-04-09 | 2015-07-22 | 广东欧珀移动通信有限公司 | Shooting previewing method and device |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106998456A (en) * | 2017-03-28 | 2017-08-01 | 建荣半导体(深圳)有限公司 | A kind of method of adjustment, device and the picture processing chip of image color saturation |
| CN106998456B (en) * | 2017-03-28 | 2018-11-06 | 建荣半导体(深圳)有限公司 | A kind of method of adjustment, device and the picture processing chip of image color saturation |
| CN108280813A (en) * | 2018-01-30 | 2018-07-13 | 努比亚技术有限公司 | A kind of image processing method, terminal and computer readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11849224B2 (en) | Global tone mapping | |
| US8780225B2 (en) | Use of noise-optimized selection criteria to calculate scene white points | |
| US8965120B2 (en) | Image processing apparatus and method of controlling the same | |
| EP3888345B1 (en) | Method for generating image data for machine learning based imaging algorithms | |
| CN101425179B (en) | A method and device for re-illuminating a human face image | |
| CN109068025B (en) | Lens shadow correction method and system and electronic equipment | |
| US8605106B2 (en) | Projector and color improvement method of the projector | |
| TWI475495B (en) | Image identification method, electronic device, and computer program product | |
| CN105635593A (en) | Multiple exposure imaging system and white balance method thereof | |
| CN112055190B (en) | Image processing method, device and storage medium | |
| CN102209246A (en) | Real-time video white balance processing system | |
| CN103826113B (en) | A kind of color rendition method and device | |
| CN115471571A (en) | Calibration method, image processing method, device, storage medium and electronic equipment | |
| CN105007472A (en) | Photo display method and device | |
| CN106971375B (en) | A processing method and device for image magnification | |
| CN105451008A (en) | Image processing system and color saturation compensation method | |
| US20130223735A1 (en) | Method and apparatus for eliminating chromatic aberration | |
| CN108668124A (en) | Photosensitive chip testing method and equipment based on charge calculation | |
| KR101005625B1 (en) | Color correction method according to image brightness change using camera color characteristic curve | |
| CN117094908A (en) | Image processing method, device, electronic equipment and storage medium | |
| JP5860298B2 (en) | Image processing apparatus and program | |
| CN119811285B (en) | Data processing methods, data processing devices, electronic devices and storage media | |
| JP2018137580A (en) | Image processing apparatus, image processing method, and program | |
| WO2025107519A1 (en) | Color cast correction method and apparatus for video conferencing device, device, and storage medium | |
| KR20050109364A (en) | Method for detection color cast, method and apparatus for white balance adjustment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151028 |
|
| RJ01 | Rejection of invention patent application after publication |