CN105898156A - Shooting method and system based on reduction of luminance values - Google Patents
Shooting method and system based on reduction of luminance values Download PDFInfo
- Publication number
- CN105898156A CN105898156A CN201610243988.3A CN201610243988A CN105898156A CN 105898156 A CN105898156 A CN 105898156A CN 201610243988 A CN201610243988 A CN 201610243988A CN 105898156 A CN105898156 A CN 105898156A
- Authority
- CN
- China
- Prior art keywords
- brightness value
- picture
- value
- captured
- profile
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/70—Circuitry for compensating brightness variation in the scene
- H04N23/76—Circuitry for compensating brightness variation in the scene by influencing the image signals
Abstract
The invention discloses a shooting method and system based on reduction of luminance values. The method comprises the steps: S1: detecting the contour of an image part in an image to be shot, wherein the luminance value of the image part is greater than a preset value; S2: reducing the luminance values of all the pixel points in the contour of an image part, wherein the luminance value of the image part is greater than a threshold; and S3: outputting the image to be shot after reduction of luminance values. The shooting method and system based on reduction of luminance values can detect a contour of the image part in the image to be shot so s to reduce the luminance values of all the pixel points in the contour, wherein the luminance value of the image part is greater than the preset value.
Description
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of based on the side of taking pictures reducing brightness value
Method and system.
Background technology
Now, along with popularizing of smart mobile phone, and the raising of people's living standard, a lot of people like
Take pictures with mobile phone, but when the camera-enabled utilizing mobile phone is taken pictures, be frequently encountered night or
In other scenes, light is than dark situation, in order to reach can be at light than dark feelings in prior art
The effect taken pictures under condition, installs flash lamp, for dark at night or light ratio in cell phone cameras
In the case of, auxiliary is taken pictures.But this photographic method is due to the brightness value of uncontrollable flash lamp,
Causing shooting picture out overexposure phenomenon occur, in picture, the detailed information of object also cannot present, and leads
Cause is taken pictures weak effect.
Summary of the invention
It is an object of the invention to provide a kind of by detecting that in picture to be captured, brightness value is more than preset value
The profile of Picture section, reduces photographic method and the system of brightness value to all of pixel in this profile.
According to an aspect of the present invention, it is provided that a kind of based on reduce brightness value photographic method, including:
S1, detects brightness value in described picture to be captured and is more than the profile of the Picture section of preset value;
S2, to brightness value in described picture to be captured more than all pixels in the profile of the Picture section of threshold value
Point reduces brightness value;
S3, will reduce the picture to be captured output after brightness value.
Further, in described step S1, contour detecting algorithm is used to detect brightness in described picture to be captured
Value is more than the picture profile of preset value.
Further, in described step S2, the described threshold value of employing is 255.
Further, described step S2 particularly as follows: be more than the figure of threshold value by brightness value in described picture to be captured
In sheet profile, the luminance-value reduction of all pixels is 180-230.
Further, described step S3 particularly as follows: be more than the figure of threshold value by brightness value in described picture to be captured
In sheet profile, the luminance-value reduction of all pixels is 200.
According to another aspect of the present invention, it is provided that a kind of based on reduce brightness value camera system, including:
Profile detection module, is more than the picture portion of preset value for detecting brightness value in described picture to be captured
The profile divided;
Brightness value processing module, for being more than the Picture section of threshold value to brightness value in described picture to be captured
Profile in all pixels reduce brightness value;
Output module, for reducing the picture to be captured output after brightness value.
Further, described profile detection module brightness value in detecting described picture to be captured is more than preset value
The profile of Picture section time, be specially and use contour detecting algorithm to detect brightness in described picture to be captured
Value is more than the profile of the Picture section of preset value.
Further, described brightness value processing module brightness value in described picture to be captured is more than threshold value
When in the profile of Picture section, all pixels reduce brightness value, the threshold value of employing is 255.
Further, described brightness value processing module brightness value in described picture to be captured is more than threshold value
When in the profile of Picture section, all pixels reduce brightness value, big to brightness value in described picture to be captured
In the profile of the Picture section of threshold value, the luminance-value reduction of all pixels is 180-230.
Further, described brightness value processing module brightness value in described picture to be captured is more than threshold value
When in the profile of Picture section, all pixels reduce brightness value, big to brightness value in described picture to be captured
In the profile of the Picture section of threshold value, the luminance-value reduction of all pixels is 200.
As it has been described above, the present invention is more than the Picture section of preset value by detecting brightness value in picture to be captured
Profile, to brightness value in described picture to be captured more than threshold value Picture section profile in all pixels
Point reduces brightness value;And the picture to be captured output after brightness value will be reduced, so that at light ratio
When dark photographed scene shoots picture, it is to avoid picture overexposure phenomenon, and more understand and show exactly
The detailed information of picture is shown.
Accompanying drawing explanation
Fig. 1 is a kind of schematic flow sheet based on the photographic method reducing brightness value of the present invention;
Fig. 2 is a kind of structural representation based on the camera system reducing brightness value of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention of greater clarity, below in conjunction with being embodied as
Mode referring to the drawings, the present invention is described in more detail.It should be understood that these describe simply example
Property, and it is not intended to limit the scope of the present invention.Additionally, in the following description, eliminate known knot
Structure and the description of technology, to avoid unnecessarily obscuring idea of the invention.
Fig. 1 is a kind of schematic flow sheet based on the photographic method reducing brightness value of the present invention.
As it is shown in figure 1, a kind of photographic method based on reduction brightness value, including:
S1, detects brightness value in described picture to be captured and is more than the profile of the Picture section of preset value;
S2, to brightness value in described picture to be captured more than all pixels in the profile of the Picture section of threshold value
Point reduces brightness value;
S3, will reduce the picture to be captured output after brightness value.
Preferably, in step S1, contour detecting algorithm is used to detect brightness value in described picture to be captured big
Picture profile in preset value.
Wherein, in step S2, described threshold value is 255.
In picture processing field, 0-255 is the intensity value ranges of picture, and brightness value is in the range of this
Picture can see detailed information, but when the brightness value of picture is more than 255, then can cause brightness
It is worth too high, picture overexposure occurs, it is impossible to see picture detail information clearly.Therefore, preset value is set to 255.
Preferably, step S2 is particularly as follows: take turns brightness value in described picture to be captured more than the picture of threshold value
In exterior feature, the luminance-value reduction of all pixels is 180-230.
In above-mentioned steps, by luminance-value reduction be 180-230 be preferred adjusting range, at this model
Enclosing value all without causing under the scene of dark, in shooting picture out, there is overexposure in object
Phenomenon.
In above-mentioned number range, still more preferably, it is 200 by luminance-value reduction.
Fig. 2 is a kind of structural representation based on the camera system reducing brightness value of the present invention.
As in figure 2 it is shown, a kind of camera system based on reduction brightness value, including:
Profile detection module, is more than the picture portion of preset value for detecting brightness value in described picture to be captured
The profile divided;
Brightness value processing module, for being more than the Picture section of threshold value to brightness value in described picture to be captured
Profile in all pixels reduce brightness value;
Output module, for reducing the picture to be captured output after brightness value.
Wherein it is preferred to, described profile detection module brightness value in detecting described picture to be captured is more than
During the profile of the Picture section of preset value, it is specially and uses contour detecting algorithm to detect described picture to be captured
Middle brightness value is more than the profile of the Picture section of preset value.
Wherein, described brightness value processing module brightness value in described picture to be captured is more than the figure of threshold value
When in the profile of sheet part, all pixels reduce brightness value, the threshold value of employing is 255.
In picture processing field, 0-255 is the intensity value ranges of picture, and brightness value is in the range of this
Picture can see detailed information, but when the brightness value of picture is more than 255, then can cause brightness
It is worth too high, picture overexposure occurs, it is impossible to see picture detail information clearly.Therefore, preset value is set to 255.
Preferably, described brightness value processing module brightness value in described picture to be captured is more than threshold value
When in the profile of Picture section, all pixels reduce brightness value, big to brightness value in described picture to be captured
In the profile of the Picture section of threshold value, the luminance-value reduction of all pixels is 180-230.
In above-mentioned steps, by luminance-value reduction be 180-230 be preferred adjusting range, at this model
Enclosing value all without causing under the scene of dark, in shooting picture out, there is overexposure in object
Phenomenon.
It is further preferred that described brightness value processing module brightness value in described picture to be captured is big
When in the profile of the Picture section of threshold value, all pixels reduce brightness value, in described picture to be captured
Brightness value is 200 more than the luminance-value reduction of all pixels in the profile of the Picture section of threshold value.
It should be appreciated that the above-mentioned detailed description of the invention of the present invention is used only for exemplary illustration or explanation
The principle of the present invention, and be not construed as limiting the invention.Therefore, without departing from the present invention spirit and
Any modification, equivalent substitution and improvement etc. done in the case of scope, should be included in the guarantor of the present invention
Within the scope of protecting.Additionally, claims of the present invention be intended to fall into scope and
Whole in the equivalents on border or this scope and border change and modifications example.
Claims (10)
1. a photographic method based on reduction brightness value, it is characterised in that including:
S1, detects brightness value in described picture to be captured and is more than the profile of the Picture section of preset value;
S2, to brightness value in described picture to be captured more than all pictures in the profile of the Picture section of threshold value
Vegetarian refreshments reduces brightness value;
S3, will reduce the picture to be captured output after brightness value.
A kind of photographic method based on reduction brightness value the most according to claim 1, its feature
It is, in described step S1, uses contour detecting algorithm to detect brightness value in described picture to be captured
Picture profile more than preset value.
A kind of photographic method based on reduction brightness value the most according to claim 1 or claim 2, its feature
Being, in described step S2, the described threshold value of employing is 255.
It is a kind of based on the photographic method reducing brightness value, it is characterised in that
Described step S2 is particularly as follows: be more than brightness value in described picture to be captured in the picture profile of threshold value
The luminance-value reduction of all pixels is 180-230.
It is a kind of based on the photographic method reducing brightness value, it is characterised in that
Described step S3 is particularly as follows: be more than brightness value in described picture to be captured in the picture profile of threshold value
The luminance-value reduction of all pixels is 200.
6. a camera system based on reduction brightness value, it is characterised in that including:
Profile detection module, is more than the picture of preset value for detecting brightness value in described picture to be captured
The profile of part;
Brightness value processing module, for being more than the picture portion of threshold value to brightness value in described picture to be captured
In the profile divided, all pixels reduce brightness value;
Output module, for reducing the picture to be captured output after brightness value.
A kind of camera system based on reduction brightness value the most according to claim 6, its feature
Being, described profile detection module brightness value in detecting described picture to be captured is more than the figure of preset value
During the profile of sheet part, it is specially and uses contour detecting algorithm to detect brightness value in described picture to be captured
Profile more than the Picture section of preset value.
8. according to camera system based on reduction brightness value a kind of described in claim 6 or 7, its feature
Being, described brightness value processing module brightness value in described picture to be captured is more than the picture of threshold value
When in the profile of part, all pixels reduce brightness value, the threshold value of employing is 255.
It is a kind of based on the camera system reducing brightness value, it is characterised in that
Described brightness value processing module brightness value in described picture to be captured is more than the Picture section of threshold value
Profile in all pixels when reducing brightness value, to brightness value in described picture to be captured more than threshold value
Picture section profile in the luminance-value reduction of all pixels be 180-230.
A kind of camera system based on reduction brightness value, its feature exists
In, described brightness value processing module brightness value in described picture to be captured is more than the picture portion of threshold value
When in the profile divided, all pixels reduce brightness value, to brightness value in described picture to be captured more than threshold
In the profile of the Picture section of value, the luminance-value reduction of all pixels is 200.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610243988.3A CN105898156A (en) | 2016-04-18 | 2016-04-18 | Shooting method and system based on reduction of luminance values |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610243988.3A CN105898156A (en) | 2016-04-18 | 2016-04-18 | Shooting method and system based on reduction of luminance values |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105898156A true CN105898156A (en) | 2016-08-24 |
Family
ID=56704884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610243988.3A Pending CN105898156A (en) | 2016-04-18 | 2016-04-18 | Shooting method and system based on reduction of luminance values |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105898156A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991675A (en) * | 2017-03-31 | 2017-07-28 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN108307124A (en) * | 2018-01-22 | 2018-07-20 | 努比亚技术有限公司 | Photographic method, equipment and the computer of reduce brightness can storage mediums |
CN112468718A (en) * | 2020-11-09 | 2021-03-09 | 广州视源电子科技股份有限公司 | Image processing method, device, equipment and storage medium |
-
2016
- 2016-04-18 CN CN201610243988.3A patent/CN105898156A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106991675A (en) * | 2017-03-31 | 2017-07-28 | 联想(北京)有限公司 | A kind of image processing method and electronic equipment |
CN108307124A (en) * | 2018-01-22 | 2018-07-20 | 努比亚技术有限公司 | Photographic method, equipment and the computer of reduce brightness can storage mediums |
CN112468718A (en) * | 2020-11-09 | 2021-03-09 | 广州视源电子科技股份有限公司 | Image processing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105847693A (en) | Shooting method and system based on two-camera focusing | |
US8390736B2 (en) | Shooting parameter adjustment method for face detection and image capturing device for face detection | |
CN106210334B (en) | Intelligent flash lamp control method and system and mobile terminal | |
CN103297789B (en) | White balance correcting method and white balance correcting device | |
EP2854389A1 (en) | Scene recognition method and apparatus | |
US10165243B2 (en) | Image processing device, imaging device, image processing method, and program | |
CN106570838B (en) | A kind of brightness of image optimization method and device | |
WO2021073140A1 (en) | Monocular camera, and image processing system and image processing method | |
CN104754240A (en) | Automatic exposure method and device for CMOS (complementary metal oxide semiconductor) image sensor | |
CN104639920B (en) | Wide dynamic fusion method based on double exposure modes of single frames | |
US20160260223A1 (en) | Digital camera unit with simultaneous structured and unstructured illumination | |
CN106878605A (en) | The method and electronic equipment of a kind of image generation based on electronic equipment | |
US8009202B2 (en) | Device and method for capturing an image of a human face | |
WO2019105298A1 (en) | Image blurring processing method, device, mobile device and storage medium | |
CN106534677A (en) | Image overexposure optimization method and device | |
CN109242815B (en) | Infrared light image and visible light image fusion method and system | |
KR20160047196A (en) | APPARATUS FOR TRACKING EYE POINT OPERABLE AT HIGH intensity of illumination AND LOW intensity of illumination AND METHOD THEREOF | |
WO2016019817A1 (en) | Object motion trajectory photographing method and system, and computer storage medium | |
WO2012093519A1 (en) | Imaging device and light emission amount control method | |
US11032484B2 (en) | Image processing apparatus, imaging apparatus, image processing method, imaging method, and program | |
CN105898156A (en) | Shooting method and system based on reduction of luminance values | |
CN106550227B (en) | A kind of image saturation method of adjustment and device | |
EP4340383A1 (en) | Image processing method and related device thereof | |
CN105827902B (en) | A kind of night scene detection method and terminal | |
CN107682611B (en) | Focusing method and device, computer readable storage medium and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160824 |