CN107360361A - A kind of reversible-light shooting personage method and device - Google Patents
A kind of reversible-light shooting personage method and device Download PDFInfo
- Publication number
- CN107360361A CN107360361A CN201710451738.3A CN201710451738A CN107360361A CN 107360361 A CN107360361 A CN 107360361A CN 201710451738 A CN201710451738 A CN 201710451738A CN 107360361 A CN107360361 A CN 107360361A
- Authority
- CN
- China
- Prior art keywords
- face
- reversible
- dark
- image
- light shooting
- 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.)
- Granted
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/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- 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/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
- H04N23/611—Control of cameras or camera modules based on recognised objects where the recognised objects include parts of the human body
-
- 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/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- 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
-
- 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/72—Combination of two or more compensation controls
-
- 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/741—Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The present invention is applied to reversible-light shooting technical field, there is provided a kind of reversible-light shooting personage method and device, reversible-light shooting personage's method include:During reversible-light shooting, dark picture areas domain is searched in the preview window of image to be captured;The dark picture areas domain searched is exposed, whether there is face in the described image dark areas after detection exposure;When face be present in described image dark areas, be exposed and focus optimization to face, to take face clear photograph under backlight environment.The present invention can increase substantially the shooting effect of backlight environment human face, allow user also to take face clear photograph in backlight environment.
Description
Technical field
The invention belongs to reversible-light shooting technical field, more particularly to a kind of reversible-light shooting personage method and device.
Background technology
With the popularization of mobile terminal shoot function, increasing user is shot by mobile terminal, in difference
Place catch the scenery of excellent moment or grace, to keep fine moment here.
However, mobile terminal is during reversible-light shooting, it is difficult to the clear and preferable portrait photographs of color rendition are photographed,
The reason is that although mobile terminal has huge progress in terms of shooting at this stage, face is shot under inverse ring border
When there is under-exposed or overexposure situation, so that it cannot identification face, causes bright dark unbalance, the effect of face photographed
Not as people's will.
The content of the invention
In view of this, the embodiments of the invention provide a kind of reversible-light shooting personage method and device, to solve mobile terminal
During reversible-light shooting, it is difficult to the problem of photographing clear and color rendition preferable portrait photographs.
The first aspect of the embodiment of the present invention provides a kind of reversible-light shooting personage method, including:
During reversible-light shooting, dark picture areas domain is searched in the preview window of image to be captured;
The dark picture areas domain searched is exposed, whether there is people in the described image dark areas after detection exposure
Face;
When face be present in described image dark areas, be exposed and focus optimization to face, with backlight environment
Take face clear photograph.
The second aspect of the embodiment of the present invention provides a kind of reversible-light shooting personage device, including:
Dark picture areas domain search module, during for reversible-light shooting, it is dark that image is searched in the preview window of image to be captured
Region;
Face detection module, for being exposed to the dark picture areas domain searched, the described image after detection exposure is dark
It whether there is face in region;
Exposure and Focusing module, for when face being present in described image dark areas, being exposed and focusing to face
Optimization, to take face clear photograph under backlight environment.
The third aspect of the embodiment of the present invention provides a kind of reversible-light shooting personage device/mobile terminal, including memory,
Processor and it is stored in the computer program that can be run in the memory and on the processor, the computing device
The step of above method is realized during the computer program.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage
Media storage has the step of computer program, the computer program realizes the above method when being executed by processor.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
The shooting effect of backlight environment human face can be increased substantially, allows user in backlight environment can also take face clear
Clear photo.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process figure of reversible-light shooting personage method provided in an embodiment of the present invention;
Fig. 2 is reversible-light shooting personage method and step S102 provided in an embodiment of the present invention the first implementation process figure;
Fig. 3 is reversible-light shooting personage method and step S102 provided in an embodiment of the present invention the second implementation process figure;
Fig. 4 is the applicating flow chart of reversible-light shooting personage method provided in an embodiment of the present invention;
Fig. 5 is the structured flowchart for reversible-light shooting personage's device that the present invention implements offer;
Fig. 6 is the schematic diagram of reversible-light shooting personage device/mobile terminal provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc
Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity
Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising "
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In the specific implementation, the mobile terminal described in the embodiment of the present invention is including but not limited to such as with the sensitive table of touch
Mobile phone, laptop computer or the tablet PC in face (for example, touch-screen display and/or touch pad) etc it is other
Portable set.It is to be further understood that in certain embodiments, the equipment is not portable communication device, but is had
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, the mobile terminal including display and touch sensitive surface is described.However, it should manage
Solution, one or more of the other physical User that mobile terminal can include such as physical keyboard, mouse and/or control-rod connect
Jaws equipment.
Mobile terminal supports various application programs, such as one or more of following:Drawing application program, demonstration application
Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports application program, photo management application program, digital camera application program, digital camera application program, web-browsing should
With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface
Public physical user-interface device.It can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and terminal on surface.So, terminal public physical structure (for example,
Touch sensitive surface) the various application programs with user interface directly perceived and transparent for a user can be supported.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one
With reference to figure 1, Fig. 1 is the implementation process figure of reversible-light shooting personage method provided in an embodiment of the present invention, and this method should
For mobile terminal, reversible-light shooting personage method as shown in Figure 1 may comprise steps of:
S101, during reversible-light shooting, dark picture areas domain is searched in the preview window of image to be captured;
Wherein, S101, it is specially:
Detect whether current shooting environmental is reversible-light shooting environment;
If current shooting environmental is reversible-light shooting environment, it is dark that image is searched in the preview window of image to be captured
Region.
Wherein, whether the current shooting environmental of the detection is reversible-light shooting environment, is specially:
The gray level image of image to be captured is obtained, image three-valued processing is carried out to the gray level image, is treated described in acquisition
The three-valued image of shooting image, gray area and black region in three-valued image are obtained, when black region accounts for grey area
When the rate of specific gravity in domain is more than default rate of specific gravity, it is reversible-light shooting environment to identify current shooting environmental.
S102, the dark picture areas domain searched is exposed, whether deposited in the described image dark areas after detection exposure
In face;
S103, when face be present in described image dark areas, be exposed and focus optimization to face, with backlight ring
Face clear photograph is taken under border.
Alternatively, when face be present in the domain of dark picture areas, the measurement from the reference position of optical system to face is obtained
Distance, obtain the displacement of focusing position during face is exposed with row or column, according to measurement distance to it is mobile away from
From processing is corrected, obtains the displacement after correction and face is exposed and focused optimization, to be clapped under backlight environment
Go out face clear photograph.
In the embodiment of the present invention, when backlight is taken pictures, exposure area is actively switched to darker area by camera, to detect people
Face, and the optimization that is exposed and focuses to face, allow user also to take face clear photograph in backlight environment.
Embodiment two
With reference to figure 2, Fig. 2 is reversible-light shooting personage method and step S102 provided in an embodiment of the present invention the first implementation process
Figure, reversible-light shooting personage method is applied to mobile terminal, as shown in Fig. 2 S102 may comprise steps of:
S201, the photometry region in automatic exposure AE is transferred to described image dark areas, to the dark picture areas searched
Domain is exposed;
S202, detect in the described image dark areas after exposure and whether there is face.
With reference to figure 3, Fig. 3 is reversible-light shooting personage method and step S102 provided in an embodiment of the present invention the second implementation process
Figure, reversible-light shooting personage method is applied to mobile terminal, as shown in figure 3, S102 may comprise steps of:
S301, detect whether active user switches scene of taking pictures by gravity sensor or gyro sensor;
S302, there is no switching to take pictures scene if recognizing active user, the photometry region in automatic exposure AE is shifted
To dark picture areas domain, the dark picture areas domain searched is exposed, whether deposited in the described image dark areas after detection exposure
In face.
The embodiment of the present invention adds on the basis of embodiment one " is transferred to institute by the photometry region in automatic exposure AE
Dark picture areas domain is stated, whether there is face in the described image dark areas after detection exposure " so that in the domain of dark picture areas
Face, it also can recognize that and, face is exposed and focused after optimization, user also can take face clearly in backlight environment
Photo.
Embodiment three
With reference to figure 4, Fig. 4 is the applicating flow chart of reversible-light shooting personage method provided in an embodiment of the present invention, and this method should
For mobile terminal, as shown in figure 4, this method may comprise steps of:
S401, it is currently reversible-light shooting to recognize, and recognition of face is opened in the preview window of image to be captured, and unidentified
To face;
S402, detect that active user rests on some scene of taking pictures by sensor;
Sensor includes but is not limited to gravity sensor, gyro sensor and range sensor.
AE is exposed light-metering area and is transferred to dark picture areas domain and in this range searching face by S403, camera;
S404, face is judged whether, be, performed S405, otherwise perform S407;
S405, photometry region is then exposed if there is face, stopped here, identifying face and carrying out AF/AE for face
Optimization, allow user to photograph most clearly portrait photographs;
S406, detect whether active user switches scene of taking pictures by sensor, be to perform S403, otherwise only carry out one
Secondary AE exposure light-meterings area switching action.
S407, light-metering area is then exposed if there is no face and returns to the region given tacit consent to before this.
The embodiment of the present invention, give the processing mode for scene of being taken pictures by sensor switching so that user can be flexible
Select various scenes of taking pictures.
It should be understood that the size of the sequence number of each step is not meant to the elder generation of execution sequence in above-described embodiment one, two, three
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention
Into any restriction.
Example IV
Corresponding to the method described in foregoing embodiments one, two, three, with reference to figure 5, Fig. 5 is the backlight that the present invention implements to provide
The structured flowchart of personage's device is shot, applied to mobile terminal, mobile terminal includes but is not limited to video camera, mobile phone, mouth
Bag computer (Pocket Personal Computer, PPC), palm PC, computer, notebook computer, individual digital help
Manage (Personal Digital Assistant, PDA), MP4, MP3.For purposes of illustration only, it illustrate only related to the present embodiment
Part.For convenience of description, it illustrate only part related to the present embodiment.
Reference picture 5, reversible-light shooting personage's device include:
Dark picture areas domain search module 51, during for reversible-light shooting, image is searched in the preview window of image to be captured
Dark areas;
Face detection module 52, for being exposed to the dark picture areas domain searched, the described image after detection exposure
It whether there is face in dark areas;
Exposure and Focusing module 53, for when face be present in described image dark areas, being exposed to face and right
Jiao's optimization, to take face clear photograph under backlight environment.
As a kind of implementation of the present embodiment, in reversible-light shooting personage's device, the face detection module, use
In the photometry region in automatic exposure AE is transferred into described image dark areas, the dark picture areas domain searched is exposed,
It whether there is face in described image dark areas after detection exposure;
Or for detecting whether active user switches scene of taking pictures by gravity sensor or gyro sensor, if
Recognizing active user does not have switching to take pictures scene, then the photometry region in automatic exposure AE is transferred into dark picture areas domain, right
The dark picture areas domain searched is exposed, and whether there is face in the described image dark areas after detection exposure.
As a kind of implementation of the present embodiment, in reversible-light shooting personage's device, described image dark areas search
Module, including:
Detection unit, for detecting whether current shooting environmental is reversible-light shooting environment;
Unit is searched, if be reversible-light shooting environment for current shooting environmental, in the preview window of image to be captured
Dark picture areas domain is searched in mouthful;
As a kind of implementation of the present embodiment, in reversible-light shooting personage's device, the detection unit is specifically used
In the gray level image for obtaining image to be captured, image three-valued processing is carried out to the gray level image, obtains the figure to be captured
The three-valued image of picture, gray area and black region in three-valued image are obtained, when black region accounts for the ratio of gray area
When weight values are more than default rate of specific gravity, it is reversible-light shooting environment to identify current shooting environmental.
Embodiment five
Fig. 6 is the schematic diagram of reversible-light shooting personage device/mobile terminal provided in an embodiment of the present invention.As shown in fig. 6, should
Reversible-light shooting personage device/mobile terminal 6 of embodiment includes:Processor 60, memory 61 and it is stored in the memory
In 61 and the computer program 62 that can be run on the processor 60, such as reversible-light shooting personage's program.The processor 60
The step in above-mentioned each reversible-light shooting personage embodiment of the method is realized when performing the computer program 62, such as shown in Fig. 1
Step 101 to 103.Or the processor 60 is realized in above-mentioned each device embodiment when performing the computer program 62
The function of each module/unit, such as the function of module 51 to 54 shown in Fig. 5.
Exemplary, the computer program 62 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 61, and are performed by the processor 60, to complete the present invention.Described one
Individual or multiple module/units can be the series of computation machine programmed instruction section that can complete specific function, and the instruction segment is used for
Implementation procedure of the computer program 62 in the reversible-light shooting personage device/mobile terminal 6 is described.For example, the meter
Calculation machine program 62 can be divided into dark picture areas domain search module, face detection module, exposure and Focusing module (virtual bench
In module), each module concrete function is as follows:
Dark picture areas domain search module, during for reversible-light shooting, it is dark that image is searched in the preview window of image to be captured
Region;
Face detection module, for being exposed to the dark picture areas domain searched, the described image after detection exposure is dark
It whether there is face in region;
Exposure and Focusing module, for when face being present in described image dark areas, being exposed and focusing to face
Optimization, to take face clear photograph under backlight environment.
The reversible-light shooting personage device/mobile terminal 6 can be desktop PC, notebook, palm PC and cloud
Hold the computing devices such as server.The reversible-light shooting personage device/mobile terminal may include, but be not limited only to, and processor 60, deposit
Reservoir 61.It will be understood by those skilled in the art that Fig. 6 is only the example of reversible-light shooting personage device/mobile terminal 6, not
The restriction to reversible-light shooting personage device/mobile terminal 6 is formed, can be included than illustrating more or less parts, or group
Some parts, or different parts are closed, such as the reversible-light shooting personage device/mobile terminal can also include input and output
Equipment, network access equipment, bus etc..
Alleged processor 60 can be CPU (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory 61 can be the internal storage unit of the reversible-light shooting personage device/mobile terminal 6, such as inverse
Photo-beat takes the photograph the hard disk or internal memory of personage's device/mobile terminal 6.The memory 61 can also be the reversible-light shooting personage dress
Put/the External memory equipment of mobile terminal 6, such as the plug-in type being equipped with the reversible-light shooting personage device/mobile terminal 6 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 61 can also both include the reversible-light shooting personage device/mobile terminal
6 internal storage unit also includes External memory equipment.The memory 61 is used to store the computer program and described
Other programs and data needed for reversible-light shooting personage device/mobile terminal.The memory 61 can be also used for temporarily depositing
Store up the data that has exported or will export.It is apparent to those skilled in the art that the side for description
Just and succinctly, only with the division progress of above-mentioned each functional unit, module for example, in practical application, can as needed and
Above-mentioned function distribution is completed by different functional units, module, i.e., the internal structure of described device is divided into different work(
Energy unit or module, to complete all or part of function described above.Each functional unit, module in embodiment can collect
In Cheng Yi processing unit or unit is individually physically present, can also two or more units integrate
In a unit, above-mentioned integrated unit can both be realized in the form of hardware, can also use SFU software functional unit
Form is realized.In addition, the specific name of each functional unit, module is also only to facilitate mutually differentiation, is not limited to this
The protection domain of application.Unit, the specific work process of module, may be referred to pair in preceding method embodiment in said system
Process is answered, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment
The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/mobile terminal and method, can be with
Realize by another way.For example, device described above/mobile terminal embodiment is only schematical, for example, institute
The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as
Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately
A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device
Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or
In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter
Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor
The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program
Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie
Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk,
Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described
The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Described device/mobile terminal can be that desktop PC, notebook, palm PC and cloud server etc. calculate
Equipment.Described device/mobile terminal may include, but be not limited only to, processor, memory.It will be understood by those skilled in the art that
The schematic diagram is only the example of device/mobile terminal, not the restriction of structure twin installation/mobile terminal, can include than
More or less parts are illustrated, either combine some parts or different parts, such as described device/mobile terminal is also
Input-output equipment, network access equipment, bus etc. can be included.
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it
His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng the processor is the control centre of described device/mobile terminal, utilizes various interfaces and connection whole device/shifting
The various pieces of dynamic terminal.
The memory can be used for storing the computer program and/or module, and the processor is by running or performing
The computer program and/or module being stored in the memory, and the data being stored in memory are called, described in realization
The various functions of device/mobile terminal.The memory can mainly include storing program area and storage data field, wherein, storage
Program area can storage program area, application program (such as sound-playing function, image player function needed at least one function
Deng) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone.This
Outside, memory can include high-speed random access memory, can also include nonvolatile memory, such as hard disk, internal memory, insert
Connect formula hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory
Block (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality
Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each
Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed
Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should
Within protection scope of the present invention.
Claims (10)
- A kind of 1. reversible-light shooting personage method, it is characterised in that including:During reversible-light shooting, dark picture areas domain is searched in the preview window of image to be captured;The dark picture areas domain searched is exposed, whether there is face in the described image dark areas after detection exposure;When face be present in described image dark areas, be exposed and focus optimization to face, to be taken under backlight environment Face clear photograph.
- 2. the method as described in claim 1, it is characterised in that the described pair of dark picture areas domain searched is exposed, detection It whether there is face in described image dark areas after exposure, be specially:Photometry region in automatic exposure AE is transferred to described image dark areas, the dark picture areas domain searched is exposed Light;It whether there is face in described image dark areas after detection exposure.
- 3. the method as described in claim 2 is any, it is characterised in that the described pair of dark picture areas domain searched is exposed, It whether there is face in described image dark areas after detection exposure, be specially:Detect whether active user switches scene of taking pictures by gravity sensor or gyro sensor;There is no switching to take pictures scene if recognizing active user, the photometry region in automatic exposure AE is transferred to dark picture areas Domain, the dark picture areas domain searched is exposed, whether there is face in the described image dark areas after detection exposure.
- 4. the method as described in claim 1, it is characterised in that during the reversible-light shooting, in the preview window of image to be captured Middle search dark picture areas domain, it is specially:Detect whether current shooting environmental is reversible-light shooting environment;If current shooting environmental is reversible-light shooting environment, dark picture areas are searched in the preview window of image to be captured Domain.
- 5. method as claimed in claim 4, it is characterised in that whether the current shooting environmental of the detection is reversible-light shooting ring Border, it is specially:The gray level image of image to be captured is obtained, image three-valued processing is carried out to the gray level image, obtained described to be captured The three-valued image of image, gray area and black region in three-valued image are obtained, when black region accounts for gray area When rate of specific gravity is more than default rate of specific gravity, it is reversible-light shooting environment to identify current shooting environmental.
- A kind of 6. reversible-light shooting personage device, it is characterised in that including:Dark picture areas domain search module, during for reversible-light shooting, dark picture areas domain is searched in the preview window of image to be captured;Face detection module, for being exposed to the dark picture areas domain searched, the described image dark areas after detection exposure It is interior to whether there is face;Exposure and Focusing module, for when face be present in described image dark areas, to be exposed and focus optimization to face, To take face clear photograph under backlight environment.
- 7. device as claimed in claim 6, it is characterised in thatThe face detection module, for the photometry region in automatic exposure AE to be transferred into described image dark areas, to searching To dark picture areas domain be exposed, detection exposure after described image dark areas in whether there is face;Or for detecting whether active user switches scene of taking pictures by gravity sensor or gyro sensor, if identification There is no switching to take pictures scene to active user, then the photometry region in automatic exposure AE is transferred to dark picture areas domain, to searching To dark picture areas domain be exposed, detection exposure after described image dark areas in whether there is face.
- 8. device as claimed in claim 6, it is characterised in that described image dark areas search module, including:Detection unit, for detecting whether current shooting environmental is reversible-light shooting environment;Unit is searched, if be reversible-light shooting environment for current shooting environmental, in the preview window of image to be captured Search dark picture areas domain.
- 9. a kind of reversible-light shooting personage device/mobile terminal, including memory, processor and it is stored in the memory simultaneously The computer program that can be run on the processor, it is characterised in that real during computer program described in the computing device Now such as the step of any one of claim 1 to 5 methods described.
- 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 5 methods described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710451738.3A CN107360361B (en) | 2017-06-14 | 2017-06-14 | Method and device for shooting people in backlight mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710451738.3A CN107360361B (en) | 2017-06-14 | 2017-06-14 | Method and device for shooting people in backlight mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107360361A true CN107360361A (en) | 2017-11-17 |
CN107360361B CN107360361B (en) | 2020-07-31 |
Family
ID=60273631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710451738.3A Active CN107360361B (en) | 2017-06-14 | 2017-06-14 | Method and device for shooting people in backlight mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107360361B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109961004A (en) * | 2019-01-24 | 2019-07-02 | 深圳市梦网百科信息技术有限公司 | A kind of polarization light source method for detecting human face and system |
CN111861965A (en) * | 2019-04-08 | 2020-10-30 | Tcl集团股份有限公司 | Image backlight detection method, image backlight detection device and terminal equipment |
CN113766125A (en) * | 2019-09-29 | 2021-12-07 | Oppo广东移动通信有限公司 | Focusing method and device, electronic equipment and computer readable storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020146628A1 (en) * | 2000-07-07 | 2002-10-10 | Nikon Corporation | Method and apparatus for exposure, and device manufacturing method |
CN104038704A (en) * | 2014-06-12 | 2014-09-10 | 小米科技有限责任公司 | Backlight portrait scene photographing processing method and device |
CN104202524A (en) * | 2014-09-02 | 2014-12-10 | 三星电子(中国)研发中心 | Method and device for backlight filming |
US20140362278A1 (en) * | 2013-06-10 | 2014-12-11 | Canon Kabushiki Kaisha | Image capturing apparatus and image capturing method |
CN104364608A (en) * | 2013-04-15 | 2015-02-18 | 松下知识产权经营株式会社 | Distance measurement device and distance measurement method |
CN104717432A (en) * | 2013-12-13 | 2015-06-17 | 柯尼卡美能达美国研究所有限公司 | Method for processing input image, image processing equipment, and digital camera |
CN105450932A (en) * | 2015-12-31 | 2016-03-30 | 华为技术有限公司 | Backlight photographing method and device |
CN106331510A (en) * | 2016-10-31 | 2017-01-11 | 维沃移动通信有限公司 | Backlight photographing method and mobile terminal |
-
2017
- 2017-06-14 CN CN201710451738.3A patent/CN107360361B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020146628A1 (en) * | 2000-07-07 | 2002-10-10 | Nikon Corporation | Method and apparatus for exposure, and device manufacturing method |
CN104364608A (en) * | 2013-04-15 | 2015-02-18 | 松下知识产权经营株式会社 | Distance measurement device and distance measurement method |
US20140362278A1 (en) * | 2013-06-10 | 2014-12-11 | Canon Kabushiki Kaisha | Image capturing apparatus and image capturing method |
CN104717432A (en) * | 2013-12-13 | 2015-06-17 | 柯尼卡美能达美国研究所有限公司 | Method for processing input image, image processing equipment, and digital camera |
CN104038704A (en) * | 2014-06-12 | 2014-09-10 | 小米科技有限责任公司 | Backlight portrait scene photographing processing method and device |
CN104202524A (en) * | 2014-09-02 | 2014-12-10 | 三星电子(中国)研发中心 | Method and device for backlight filming |
CN105450932A (en) * | 2015-12-31 | 2016-03-30 | 华为技术有限公司 | Backlight photographing method and device |
CN106331510A (en) * | 2016-10-31 | 2017-01-11 | 维沃移动通信有限公司 | Backlight photographing method and mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109961004A (en) * | 2019-01-24 | 2019-07-02 | 深圳市梦网百科信息技术有限公司 | A kind of polarization light source method for detecting human face and system |
CN111861965A (en) * | 2019-04-08 | 2020-10-30 | Tcl集团股份有限公司 | Image backlight detection method, image backlight detection device and terminal equipment |
CN113766125A (en) * | 2019-09-29 | 2021-12-07 | Oppo广东移动通信有限公司 | Focusing method and device, electronic equipment and computer readable storage medium |
CN113766125B (en) * | 2019-09-29 | 2022-10-25 | Oppo广东移动通信有限公司 | Focusing method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107360361B (en) | 2020-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104488258B (en) | Method and apparatus for double camera shutter | |
CN109040603A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
CN106454139B (en) | Photographing method and mobile terminal | |
US20130120602A1 (en) | Taking Photos With Multiple Cameras | |
CN104333708B (en) | Photographic method, camera arrangement and terminal | |
CN107920211A (en) | A kind of photographic method, terminal and computer-readable recording medium | |
EP3547218B1 (en) | File processing device and method, and graphical user interface | |
CN109120862A (en) | High-dynamic-range image acquisition method, device and mobile terminal | |
CN107302666A (en) | Photographic method, mobile terminal and computer-readable recording medium | |
CN111311532B (en) | Image processing method and device, electronic device and storage medium | |
CN110060213A (en) | Image processing method, device, storage medium and electronic equipment | |
CN106030366B (en) | Photographic device and focusing control method | |
CN108898082B (en) | Picture processing method, picture processing device and terminal equipment | |
CN109086680A (en) | Image processing method, device, storage medium and electronic equipment | |
CN103677609A (en) | Picture processing method and terminal | |
CN108961267B (en) | Picture processing method, picture processing device and terminal equipment | |
CN107360361A (en) | A kind of reversible-light shooting personage method and device | |
CN105227857A (en) | A kind of method and apparatus of automatic exposure | |
CN108737739A (en) | A kind of preview screen acquisition method, preview screen harvester and electronic equipment | |
CN108259758A (en) | Image processing method, device, storage medium and electronic equipment | |
CN113452969B (en) | Image processing method and device | |
CN109040594A (en) | Photographic method and device | |
WO2023071933A1 (en) | Camera photographing parameter adjustment method and apparatus and electronic device | |
CN107395990A (en) | Phase focusing method and device, terminal, computer installation and readable storage medium storing program for executing | |
CN107426490A (en) | A kind of photographic method and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |