CN106060404A - Photographing mode selection method and terminal - Google Patents
Photographing mode selection method and terminal Download PDFInfo
- Publication number
- CN106060404A CN106060404A CN201610567068.7A CN201610567068A CN106060404A CN 106060404 A CN106060404 A CN 106060404A CN 201610567068 A CN201610567068 A CN 201610567068A CN 106060404 A CN106060404 A CN 106060404A
- Authority
- CN
- China
- Prior art keywords
- image
- photographic head
- mode
- terminal
- distance
- 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/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- 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/74—Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
-
- 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/95—Computational photography systems, e.g. light-field imaging systems
- H04N23/951—Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
The embodiment of the invention provides a photographing mode selection method and a terminal. The method comprise the steps of starting a camera; measuring a distance between the terminal and a photographed object; adjusting a photographing mode of the camera to be a flash lamp mode if the distance between the terminal and the photographed object satisfies a first preset condition. Through application of the embodiment of the method and the terminal, the photographing flexibility can be improved.
Description
Technical field
The present invention relates to camera technique field, be specifically related to a kind of screening-mode system of selection and terminal.
Background technology
Along with the development of electronic technology, photographic head has become in the terminal such as mobile phone, panel computer requisite group
Becoming part, therefore, user can be by the dribs and drabs in the photographic head record life in terminal.At present, user uses terminal
In photographic head shooting image time, in order to improve the shooting effect of image, unlatching flash lamp is shot by user.But, eventually
End and subject between distance bigger time, flash lamp is less on the impact of image taking, but whether open flash lamp be by
User determines, and terminal cannot be automatically adjusted screening-mode according to the distance between terminal and subject, so that reducing
The motility of terminal taking.
Summary of the invention
The embodiment of the present invention provides a kind of screening-mode system of selection and terminal, can improve the motility of shooting.
Embodiment of the present invention first aspect provides a kind of screening-mode system of selection, including:
Start photographic head;
Distance between measuring terminals and subject;
If described distance meets first pre-conditioned, then the screening-mode of described photographic head is adjusted to Flash Mode.
Embodiment of the present invention second aspect provides a kind of terminal, including:
Start unit, is used for starting photographic head;
Measuring unit, for measuring the distance between described terminal and subject;
Adjustment unit, if the distance measured for described measuring unit meets first pre-conditioned, then by described start single
The screening-mode of the photographic head that unit starts is adjusted to Flash Mode.
In the embodiment of the present invention, start photographic head, the distance between measuring terminals and subject, if terminal with clapped
Take the photograph the distance between object and meet first pre-conditioned, then the screening-mode of photographic head is adjusted to Flash Mode.Due to end
End can determine whether the screening-mode of photographic head is adjusted to flash lamp according to the distance between terminal and subject
Pattern, such that it is able to improve the motility of shooting.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below by use required in embodiment
Accompanying drawing is briefly described, it should be apparent that, the accompanying drawing in describing below is some embodiments of the present invention, general for this area
From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of screening-mode system of selection that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the another kind of screening-mode system of selection that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of another screening-mode system of selection that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of another terminal that the embodiment of the present invention provides;
Fig. 8 is that a kind of N of fusion that the embodiment of the present invention provides opens image and obtains the schematic diagram of target image;
The another kind of N that merges that Fig. 9 is that the embodiment of the present invention provides opens image and obtains the schematic diagram of target image.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.Based on this
Embodiment in bright, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of screening-mode system of selection and terminal, can improve the motility of shooting.Below
It is described in detail respectively.
Refer to the schematic flow sheet that Fig. 1, Fig. 1 are a kind of screening-mode systems of selection that the embodiment of the present invention provides.Its
In, this screening-mode system of selection is to describe from the angle being provided with photographic head.As it is shown in figure 1, this screening-mode selects
Method may comprise steps of.
101, photographic head is started.
In the present embodiment, when user needs to shoot photo, video by the photographic head in terminal, user can pass through a little
Hit preset icon, click on the operation such as predeterminable area, pressing programmable button to terminal input for starting the enabled instruction of photographic head,
Terminal will start photographic head after receiving enabled instruction.
102, the distance between measuring terminals and subject.
In the present embodiment, after photographic head starts, by the distance between measuring terminals and subject, can directly lead to
Cross the distance between range sensor measuring terminals and subject, such as laser range sensor etc..
The distance between terminal and subject can also be determined according to the focusing information of photographic head, i.e. pass through photographic head
Gather preview image, the destination object that detection user is selected from preview image, destination object is focused, adjust photographic head
The position of built-in motor, obtains the motor contrast that destination object is corresponding when diverse location, selects from the contrast obtained
Take the contrast of maximum, obtain the image distance that maximum contrast is corresponding, calculate the thing between destination object and camera lens according to image distance
Away from, image distance is the distance between camera lens and the sensor of photographic head.
Camera collection the first image and the second image can also be passed through, the figure gathered when the first image is flash lighting
Picture, the second image is the image gathered during flash lamp closedown, determines the first image and the luminance difference of the second image, according to luminance difference
Determining the distance between terminal and subject, distance is inversely proportional to luminance difference.Wherein it is determined that the first image and the second image
Luminance difference, can be to calculate the mean flow rate of all pixels in the first image and the second image the most respectively, determine afterwards
The difference of the mean flow rate of one image and the second image;Can also be first to calculate in the first image and the second image to be in same pixel
The luminance difference of coordinate points, calculates the meansigma methods of the luminance difference of these pixels afterwards.The shooting time of the first image and the second figure
Time difference between the shooting time of picture is less than the first preset value, and the first image and the second image can be that photographic head is continuously shot
Two images, it is also possible to be not two images being continuously shot.First image and the second image are that photographic head is for same quilt
Two images that shooting object gathers.
If it is pre-conditioned, then by the screening-mode of photographic head that the distance between 103 terminals and subject meets first
It is adjusted to Flash Mode.
In the present embodiment, measure the distance obtaining between terminal and subject, between terminal and subject
Distance meet first pre-conditioned time, the screening-mode of photographic head is adjusted to Flash Mode, i.e. when the shooting of photographic head
When pattern is Flash Mode, it is that Flash Mode is constant by the screening-mode of holding photographic head, when the screening-mode of photographic head
During for non-flash lamp pattern, it is Flash Mode by the screening-mode of photographic head by non-flash lamp mode adjustment.
Distance between terminal and subject meets first pre-conditioned, can be between terminal and subject
Distance less than the second preset value, it is also possible to be the distance between terminal and subject less than or equal to the second preset value,
Showing that the distance between terminal and subject is less, flash lamp may be relatively big, therefore, by photographic head on image taking impact
Screening-mode be adjusted to Flash Mode, to be improved the shooting effect of image by flash lighting.
In the screening-mode system of selection described by Fig. 1, start photographic head, between measuring terminals and subject
Distance, if the distance between terminal and subject meets first pre-conditioned, is then adjusted to the screening-mode of photographic head
Flash Mode.Owing to terminal can determine whether the shooting of photographic head according to the distance between terminal and subject
Mode adjustment is Flash Mode, such that it is able to improve the motility of shooting.
Refer to the schematic flow sheet that Fig. 2, Fig. 2 are the another kind of screening-mode systems of selection that the embodiment of the present invention provides.
Wherein, this screening-mode system of selection is to describe from the angle being provided with photographic head.As in figure 2 it is shown, the choosing of this screening-mode
Selection method may comprise steps of.
201, photographic head is started.
In the present embodiment, when user needs to shoot photo, video by the photographic head in terminal, user can pass through a little
Hit preset icon, click on the operation such as predeterminable area, pressing programmable button to terminal input for starting the enabled instruction of photographic head,
Terminal will start photographic head after receiving enabled instruction.
202, gather environmental light brightness, if environmental light brightness is less than the 3rd preset value, then perform step 203, if ambient light
Brightness is more than or equal to the 3rd preset value, then perform step 206.
In the present embodiment, owing to, in the environment of dark, the effect of shooting image is poor, but can be special by some
Different directions or tendencies formula improves the shooting effect of image.Therefore, after photographic head starts, color sensor, brightness sensing can be first passed through
The sensor acquisition environmental light brightness such as device, light sensor, judges whether environmental light brightness is less than the 3rd preset value afterwards, if ring
Border brightness is less than the 3rd preset value, then show dark, will perform step 203, if environmental light brightness is more than or equal to the
Three preset values, then show that light is brighter, will perform step 206.
203, the distance between measuring terminals and subject.
In the present embodiment, after photographic head starts, by the distance between measuring terminals and subject, can directly lead to
Cross the distance between range sensor measuring terminals and subject, such as laser range sensor etc..
The distance between terminal and subject can also be determined according to the focusing information of photographic head, i.e. pass through photographic head
Gather preview image, the destination object that detection user is selected from preview image, destination object is focused, adjust photographic head
The position of built-in motor, obtains the motor contrast that destination object is corresponding when diverse location, selects from the contrast obtained
Take the contrast of maximum, obtain the image distance that maximum contrast is corresponding, calculate the thing between destination object and camera lens according to image distance
Away from, image distance is the distance between camera lens and the sensor of photographic head.
Camera collection the first image and the second image can also be passed through, the figure gathered when the first image is flash lighting
Picture, the second image is the image gathered during flash lamp closedown, determines the first image and the luminance difference of the second image, according to luminance difference
Determining the distance between terminal and subject, distance is inversely proportional to luminance difference.Wherein it is determined that the first image and the second image
Luminance difference, can be to calculate the mean flow rate of all pixels in the first image and the second image the most respectively, determine afterwards
The difference of the mean flow rate of one image and the second image;Can also be first to calculate in the first image and the second image to be in same pixel
The luminance difference of coordinate points, calculates the meansigma methods of the luminance difference of these pixels afterwards.The shooting time of the first image and the second figure
Time difference between the shooting time of picture is less than the first preset value, and the first image and the second image can be that photographic head is continuously shot
Two images, it is also possible to be not two images being continuously shot.First image and the second image are that photographic head is for same quilt
Two images that shooting object gathers.
If it is pre-conditioned, then by the screening-mode of photographic head that the distance between 204 terminals and subject meets first
It is adjusted to Flash Mode.
In the present embodiment, measure the distance obtaining between terminal and subject, between terminal and subject
Distance meet first pre-conditioned time, the screening-mode of photographic head is adjusted to Flash Mode, i.e. when the shooting of photographic head
When pattern is Flash Mode, it is that Flash Mode is constant by the screening-mode of holding photographic head, when the screening-mode of photographic head
During for non-flash lamp pattern, it is Flash Mode by the screening-mode of photographic head by non-flash lamp mode adjustment.
Distance between terminal and subject meets first pre-conditioned, can be between terminal and subject
Distance less than the second preset value, it is also possible to be the distance between terminal and subject less than or equal to the second preset value,
Showing that the distance between terminal and subject is less, flash lamp may be relatively big, therefore, by photographic head on image taking impact
Screening-mode be adjusted to Flash Mode, to be improved the shooting effect of image by flash lighting.
In one embodiment, after the screening-mode of photographic head is adjusted to Flash Mode, when detecting that shooting refers to
When making, or after the screening-mode of photographic head is adjusted to Flash Mode, flash lamp will be started, and dodged by photographic head
Target image, the i.e. flash lamp operation when ensureing photographic head exposure is gathered during light modulation light filling.Wherein, target image and measurement away from
From be for same subject carry out ground, the shooting time of target image can and the measurement time of distance between time
Difference is less than the 4th preset value, to ensure that the photographed scene of target image is as the measurement scene of distance, it is also possible to by other
Mode ensures that the photographed scene of target image is identical with the measurement scene of distance.
If it is pre-conditioned, then by the screening-mode of photographic head that the distance between 205 terminals and subject meets second
It is adjusted to image co-registration pattern.
In the present embodiment, the distance between terminal and subject meet second pre-conditioned time, by photographic head
Screening-mode is adjusted to image co-registration pattern, i.e. when the screening-mode of photographic head is image co-registration pattern, will keep photographic head
Screening-mode be that image co-registration pattern is constant, when the screening-mode of photographic head is non-image fusion mode, by photographic head
Screening-mode is adjusted to image co-registration pattern by non-image fusion mode.
Distance between terminal and subject meets second pre-conditioned, can be between terminal and subject
Distance more than the second preset value, it is also possible to be the distance between terminal and subject more than or equal to the second preset value,
Show that the distance between terminal and subject is relatively big, owing to flash energy is relatively decentralized so that flash lamp is to image taking shadow
Ring less, therefore, the screening-mode of photographic head is adjusted to image co-registration pattern, to be improved the bat of image by image co-registration
Take the photograph effect.
In one embodiment, after the screening-mode of photographic head is adjusted to image co-registration pattern, when shooting being detected
During instruction, or after the screening-mode of photographic head is adjusted to Flash Mode, open image by photographic head continuous acquisition N,
Merge N and open image, to obtain target image.Wherein, this N opens image with the distance of measurement is to carry out for same subject
Ground, this N opens the time difference between the shooting time of image and the measurement time of distance can be less than the 4th preset value, to ensure mesh
The photographed scene of logo image is as the measurement scene of distance, it is also possible to ensure the photographed scene of target image otherwise
Identical with the measurement scene of distance, N is the integer more than or equal to 2.
In the present embodiment, fusion N opens image and obtains target image, can be to use Block-matching 4D (Block-Matching
4D, BM4D) filtering algorithm opens image facing to N and carries out noise reduction and obtain target image;Can also be to use non-local average (no-
Local mean) this N opens image and carries out noise reduction and obtain target image by noise reduction algorithm.
Can also is that and obtain target image by super resolution ratio reconstruction method, referring to Fig. 8, Fig. 8 is the embodiment of the present invention
A kind of N of fusion provided opens image and obtains the schematic diagram of target image, as shown in Figure 8, N opens image and carries out image registration respectively
With estimation to obtain the image after N opens process, the image after using super-resolution rebuilding algorithm that N opens process afterwards is carried out
Process obtains full resolution pricture, is target image.Wherein, super-resolution rebuilding algorithm can be non-homogeneous interpolation method, iteration
Back projection method, projections onto convex sets, method based on regularization, based on maximum a posteriori probability convex set projection (Maximum a
Posteriori-Projection onto Convex Set, MAP-POCS) mixed method, sparse prior constraint super-resolution
Rate method etc..
Can also is that this N opens image to carry out image registration and obtain first primary image, leads to the first primary image
Cross difference map and obtain high-resolution second primary image with " empty " to fine-resolution meshes, to the second primary image
Carry out mask convolution filling " empty ", until fuzzy high-resolution 3rd primary image will be obtained during nothing " empty ", to the 3rd
Primary image carries out the high-definition picture that deblurring denoising obtains rebuilding, and is target image, and referring to Fig. 9, Fig. 9 is this
The another kind of fusion N that bright embodiment provides opens image and obtains the schematic diagram of target image.Wherein, cavity " it is high-definition picture
Present in sequence of low resolution pictures, can not find the pixel of corresponding point, the gray value at " empty " place is not because having corresponding point
And cannot determine. it is filled with accordingly, it would be desirable to generate data by mask convolution.
206, the screening-mode of photographic head is adjusted to preset mode.
In the present embodiment, when environmental light brightness is more than or equal to three preset values, show that environmental light brightness is relatively big, light
Not interfering with the shooting effect of image, the screening-mode of photographic head can be adjusted to preset mode, preset mode can be to remove
Pattern outside Flash Mode and image co-registration pattern.
In the screening-mode system of selection described by Fig. 2, start photographic head, between measuring terminals and subject
Distance, if the distance between terminal and subject meets first pre-conditioned, is then adjusted to the screening-mode of photographic head
Flash Mode.Owing to terminal can determine whether the shooting of photographic head according to the distance between terminal and subject
Mode adjustment is Flash Mode, such that it is able to improve the motility of shooting.
Refer to the schematic flow sheet that Fig. 3, Fig. 3 are another screening-mode systems of selection that the embodiment of the present invention provides.
Wherein, this screening-mode system of selection is to describe from the angle being provided with photographic head.As it is shown on figure 3, the choosing of this screening-mode
Selection method may comprise steps of.
301, photographic head is started.
In the present embodiment, when user needs to shoot photo, video by the photographic head in terminal, user can pass through a little
Hit preset icon, click on the operation such as predeterminable area, pressing programmable button to terminal input for starting the enabled instruction of photographic head,
Terminal will start photographic head after receiving enabled instruction.
302, gather environmental light brightness, if environmental light brightness is less than the 3rd preset value, then perform step 303, if ambient light
Brightness is more than or equal to the 3rd preset value, then perform step 306.
In the present embodiment, owing to, in the environment of dark, the effect of shooting image is poor, but can be special by some
Different directions or tendencies formula improves the shooting effect of image.Therefore, after photographic head starts, color sensor, brightness sensing can be first passed through
The sensor acquisition environmental light brightness such as device, light sensor, judges whether environmental light brightness is less than the 3rd preset value afterwards, if ring
Border brightness is less than the 3rd preset value, then show dark, will perform step 303, if environmental light brightness is more than or equal to the
Three preset values, then show that light is brighter, will perform step 306.
303, the distance between measuring terminals and subject.
In the present embodiment, after photographic head starts, by the distance between measuring terminals and subject, can directly lead to
Cross the distance between range sensor measuring terminals and subject, such as laser range sensor etc..
The distance between terminal and subject can also be determined according to the focusing information of photographic head, i.e. pass through photographic head
Gather preview image, the destination object that detection user is selected from preview image, destination object is focused, adjust photographic head
The position of built-in motor, obtains the motor contrast that destination object is corresponding when diverse location, selects from the contrast obtained
Take the contrast of maximum, obtain the image distance that maximum contrast is corresponding, calculate the thing between destination object and camera lens according to image distance
Away from, image distance is the distance between camera lens and the sensor of photographic head.
Camera collection the first image and the second image can also be passed through, the figure gathered when the first image is flash lighting
Picture, the second image is the image gathered during flash lamp closedown, determines the first image and the luminance difference of the second image, according to luminance difference
Determining the distance between terminal and subject, distance is inversely proportional to luminance difference.Wherein it is determined that the first image and the second image
Luminance difference, can be to calculate the mean flow rate of all pixels in the first image and the second image the most respectively, determine afterwards
The difference of the mean flow rate of one image and the second image;Can also be first to calculate in the first image and the second image to be in same pixel
The luminance difference of coordinate points, calculates the meansigma methods of the luminance difference of these pixels afterwards.The shooting time of the first image and the second figure
Time difference between the shooting time of picture is less than the first preset value, and the first image and the second image can be that photographic head is continuously shot
Two images, it is also possible to be not two images being continuously shot.First image and the second image are that photographic head is for same quilt
Two images that shooting object gathers.
If it is pre-conditioned, then by the screening-mode of photographic head that the distance between 304 terminals and subject meets first
It is adjusted to Flash Mode.
In the present embodiment, measure the distance obtaining between terminal and subject, between terminal and subject
Distance meet first pre-conditioned time, the screening-mode of photographic head is adjusted to Flash Mode, i.e. when the shooting of photographic head
When pattern is Flash Mode, it is that Flash Mode is constant by the screening-mode of holding photographic head, when the screening-mode of photographic head
During for non-flash lamp pattern, it is Flash Mode by the screening-mode of photographic head by non-flash lamp mode adjustment.
Distance between terminal and subject meets first pre-conditioned, can be between terminal and subject
Distance less than the second preset value, it is also possible to be the distance between terminal and subject less than or equal to the second preset value,
Showing that the distance between terminal and subject is less, flash lamp may be relatively big, therefore, by photographic head on image taking impact
Screening-mode be adjusted to Flash Mode, to be improved the shooting effect of image by flash lighting.
In one embodiment, the screening-mode of photographic head is adjusted to Flash Mode, when shooting instruction being detected,
Or after the screening-mode of photographic head is adjusted to Flash Mode, flash lamp will be started, and by photographic head at flash lamp
Target image, the i.e. flash lamp operation when ensureing photographic head exposure is gathered during light filling.Wherein, target image with the distance of measurement is
For same subject carry out ground, the shooting time of target image can and the measurement time of distance between time difference little
In the 4th preset value, to ensure that the photographed scene of target image is as the measurement scene of distance, it is also possible to otherwise
Ensure that the photographed scene of target image is identical with the measurement scene of distance.
If the distance second between 305 terminals and subject is pre-conditioned, then the screening-mode of photographic head is adjusted
For dual camera pattern.
In the present embodiment, the distance between terminal and subject meet second pre-conditioned time, by photographic head
Screening-mode is adjusted to dual camera pattern, i.e. when the screening-mode of photographic head is dual camera pattern, will keep photographic head
Screening-mode be that dual camera pattern is constant, when the screening-mode of photographic head is non-dual camera pattern, by photographic head
Screening-mode is dual camera pattern by non-dual camera mode adjustment.
Distance between terminal and subject meets second pre-conditioned, can be between terminal and subject
Distance more than the second preset value, it is also possible to be the distance between terminal and subject more than or equal to the second preset value,
Show that the distance between terminal and subject is relatively big, owing to flash energy is relatively decentralized so that flash lamp is to image taking shadow
Ring less, therefore, the screening-mode of photographic head is adjusted to dual camera pattern, with the figure by two photographic head shootings of synthesis
As improving the shooting effect of image.
In one embodiment, after the screening-mode of photographic head is adjusted to dual camera pattern, when shooting being detected
During instruction, or after the screening-mode of photographic head is adjusted to dual camera pattern, by camera collection the 3rd image, logical
Crossing another camera collection the 4th image, synthesis the 3rd image and the 4th image, to obtain target image.Photographic head is taken the photograph with another
As head is arranged on the same face of terminal, the acquisition time of the 3rd image and the 4th image is identical.Wherein, the distance of measurement be,
Three images and the 4th image are that photographic head carries out ground, the bat of the 3rd image (and/or the 4th image) for same subject
Time difference between the measurement time taking the photograph time and distance is less than the 4th preset value, with ensure the photographed scene of target image with away from
From measurement scene the same, it is also possible to ensure the photographed scene of target image and the measurement scene phase of distance otherwise
With.
306, the screening-mode of photographic head is adjusted to preset mode.
In the present embodiment, when environmental light brightness is more than or equal to three preset values, show that environmental light brightness is relatively big, light
Not interfering with the shooting effect of image, the screening-mode of photographic head can be adjusted to preset mode, preset mode can be to remove
Pattern outside Flash Mode and dual camera pattern.
In the screening-mode system of selection described by Fig. 3, start photographic head, between measuring terminals and subject
Distance, if the distance between terminal and subject meets first pre-conditioned, is then adjusted to the screening-mode of photographic head
Flash Mode.Owing to terminal can determine whether the shooting of photographic head according to the distance between terminal and subject
Mode adjustment is Flash Mode, such that it is able to improve the motility of shooting.
Refer to the structural representation that Fig. 4, Fig. 4 are a kind of terminals that the embodiment of the present invention provides.Wherein, this terminal is for setting
It is equipped with the mobile phone of photographic head, panel computer etc..As shown in Figure 4, this terminal may include that
Start unit 401, is used for starting photographic head;
Measuring unit 402, for the distance between measuring terminals and subject;
Adjustment unit 403, if to meet first pre-conditioned, then by start unit for the distance measured for measuring unit 402
The screening-mode of 401 photographic head started is adjusted to Flash Mode.
In the terminal described by Fig. 4, startup photographic head, the distance between measuring terminals and subject, if terminal
And the distance between subject meets first pre-conditioned, then the screening-mode of photographic head is adjusted to Flash Mode.
Owing to terminal can determine whether to be adjusted to the screening-mode of photographic head according to the distance between terminal and subject
Flash Mode, such that it is able to improve the motility of shooting.
Refer to the structural representation that Fig. 5, Fig. 5 are the another kind of terminals that the embodiment of the present invention provides.Wherein, this terminal is
It is provided with the mobile phone of photographic head, panel computer etc..Terminal shown in Fig. 5 is that as shown in Figure 4 terminal optimized obtains, wherein:
Adjustment unit 403, if being additionally operable to the distance that measuring unit 402 measures, to meet second pre-conditioned, then by photographic head
Screening-mode be adjusted to image co-registration pattern.
As a kind of possible embodiment, measuring unit 402 may include that
First collecting unit 4021, for by camera collection the first image and the second image, the first image is flash of light
The image gathered during lamp light filling, the second image is the image gathered during flash lamp closedown;
Determine unit 4022, for determining the first image and the luminance difference of the second image of the first collecting unit 401 collection;
Determining unit 4022, be additionally operable to the distance determining between terminal and subject according to luminance difference, distance is with bright
Degree difference is inversely proportional to.
As a kind of possible embodiment, terminal can also include:
Second collecting unit 404, opens image for photographic head continuous acquisition N started by start unit 401, and N is big
In or equal to 2 integer;
Integrated unit 405, the N gathered for merging the second collecting unit 404 opens image, to obtain target image.
Specifically, after the screening-mode of photographic head is adjusted to image co-registration pattern by adjustment unit 403, second will be triggered
Photographic head continuous acquisition N that collecting unit 404 is started by start unit 401 opens image.
As a kind of possible embodiment, this terminal can also include:
3rd collecting unit 406, is used for gathering environmental light brightness, if environmental light brightness is less than the second preset value, then triggers
Measuring unit 402 performs the step of the distance between described measuring terminals and subject.
In the terminal described by Fig. 5, startup photographic head, the distance between measuring terminals and subject, if terminal
And the distance between subject meets first pre-conditioned, then the screening-mode of photographic head is adjusted to Flash Mode.
Owing to terminal can determine whether to be adjusted to the screening-mode of photographic head according to the distance between terminal and subject
Flash Mode, such that it is able to improve the motility of shooting.
Refer to the structural representation that Fig. 6, Fig. 6 are another terminals that the embodiment of the present invention provides.Wherein, this terminal is
It is provided with the mobile phone of photographic head, panel computer etc..Terminal shown in Fig. 6 is that as shown in Figure 4 terminal optimized obtains, wherein:
Adjustment unit 403, if being additionally operable to the distance that measuring unit 402 measures, to meet second pre-conditioned, then by photographic head
Screening-mode be adjusted to dual camera pattern.
As a kind of possible embodiment, measuring unit 402 may include that
First collecting unit 4021, for by camera collection the first image and the second image, the first image is flash of light
The image gathered during lamp light filling, the second image is the image gathered during flash lamp closedown;
Determine unit 4022, for determining the first image and the brightness of the second image of the first collecting unit 4021 collection
Difference;
Determining unit 4022, be additionally operable to the distance determining between terminal and subject according to luminance difference, distance is with bright
Degree difference is inversely proportional to.
As a kind of possible embodiment, this terminal can also include:
Second collecting unit 404, is used for by camera collection the 3rd image, and by another camera collection the 4th figure
Picture, photographic head and another photographic head are arranged on the same face of terminal, and the acquisition time of the 3rd image and the 4th image is identical;
Synthesis unit 405, the 3rd image gathered for synthesis the 3rd collecting unit and the 4th image, to obtain target figure
Picture.
As a kind of possible embodiment, this terminal can also include:
3rd collecting unit 406, is used for gathering environmental light brightness, if environmental light brightness is less than the second preset value, then triggers
Measuring unit 402 performs the step of the distance between described measuring terminals and subject.
In the terminal described by Fig. 6, startup photographic head, the distance between measuring terminals and subject, if terminal
And the distance between subject meets first pre-conditioned, then the screening-mode of photographic head is adjusted to Flash Mode.
Owing to terminal can determine whether to be adjusted to the screening-mode of photographic head according to the distance between terminal and subject
Flash Mode, such that it is able to improve the motility of shooting.
Refer to the structural representation that Fig. 7, Fig. 7 are another terminals that the embodiment of the present invention provides.As it is shown in fig. 7, should
Terminal may include that at least one processor 701, such as CPU, memorizer 702, photographic head 703, screen 704, flash lamp 705, figure
As processor 706, first sensor 707 and the second sensor 708.Memorizer 702 can be high-speed RAM memorizer, it is also possible to
It is non-labile memorizer (non-volatile memory), for example, at least one disk memory.Alternatively, memorizer
702 can also is that at least one is located remotely from the storage device of aforementioned processor 701.Wherein:
Screen 704, for receiving for starting the enabled instruction of photographic head and being sent to processor 701;
In memorizer 702, storage has batch processing code, and processor 701 is for calling the program of storage in memorizer 702
Code operates below performing:
Photographic head 703 is started according to enabled instruction;
Distance between measuring terminals and subject;
If pre-conditioned apart from meeting first, then the screening-mode of photographic head is adjusted to Flash Mode.
As a kind of possible embodiment, processor 701 is additionally operable to call the program code of storage in memorizer 702 and holds
The following operation of row:
If pre-conditioned apart from meeting second, then the screening-mode of photographic head is adjusted to image co-registration pattern;Or
If pre-conditioned apart from meeting second, then the screening-mode of photographic head is adjusted to dual camera pattern.
As a kind of possible embodiment, the mode of the distance between processor 701 measuring terminals and subject
For:
Photographic head 703 gathers the first image and the second image and is sent to processor 701, and the first image is flash lighting
Time gather image, the second image be flash lamp close time gather image;
Processor 701 determines the first image and the luminance difference of the second image;
Processor 701 determines the distance between terminal and subject according to luminance difference, and distance is inversely proportional to luminance difference.
As a kind of possible embodiment, the mode of the distance between processor 701 measuring terminals and subject
For:
Distance between first sensor 706 measuring terminals and subject is also sent to processor 701;Or
Processor 701 determines the distance between terminal and subject according to the focusing information of photographic head 703.
As a kind of possible embodiment, processor 701 screening-mode of photographic head is adjusted to Flash Mode it
After, processor 701 is additionally operable to call below the program code execution of storage in memorizer 702 and operates:
Start flash lamp 705;
Flash lamp 705, for carrying out light filling to photographic head 703 under the control of processor 701;
Photographic head 703, for when flash lamp 705 light filling, gathers target image and is sent to processor 701;
Screen 704, for target image under the control of processor 701.
As a kind of possible embodiment, the screening-mode of photographic head is adjusted to image co-registration pattern by processor 701
Afterwards, photographic head 703, it is additionally operable to continuous acquisition N and opens image and be sent to processor 701, N is the integer more than or equal to 2;
Image processor 706, is used for merging N and opens image, to obtain target image and to be sent to processor 701;
Screen 704, is additionally operable to target image under the control of processor 701.
As a kind of possible embodiment, the screening-mode of photographic head is adjusted to dual camera pattern by processor 701
Afterwards, photographic head 703, it is additionally operable to gather the 3rd image;
Another photographic head, for gathering the 4th image, photographic head 703 and another photographic head are arranged on the same face of terminal,
The acquisition time of the 3rd image and the 4th image is identical;
Image processor 706, is additionally operable to synthesize the 3rd image and the 4th image, to obtain target image and to be sent to process
Device 701;
Screen 704, is additionally operable to target image under the control of processor 701.
As a kind of possible embodiment, the second sensor 708, it is used for gathering environmental light brightness and being sent to processor
701;
Photographic head 703, if for environmental light brightness less than the 3rd preset value, then gathering the first image and the second image be concurrent
Give processor 701.
Wherein, step 101-103,201,203-206,301,303-306 can by the processor 701 in terminal and storage
Device 702 performs, and step 202 and step 302 can be performed by the second sensor 708 in terminal.
Wherein, start unit 401, measuring unit 402, adjustment unit 403 and integrated unit 405 (or synthesis unit 405)
Can be realized by the processor 701 in terminal and memorizer 702, the second collecting unit 404 can be by the photographic head in terminal
703 realize, and the 3rd collecting unit 406 can be realized by the second sensor 708 in terminal.
In the terminal described by Fig. 7, startup photographic head, the distance between measuring terminals and subject, if terminal
And the distance between subject meets first pre-conditioned, then the screening-mode of photographic head is adjusted to Flash Mode.
Owing to terminal can determine whether to be adjusted to the screening-mode of photographic head according to the distance between terminal and subject
Flash Mode, such that it is able to improve the motility of shooting.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
The unit of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with special integrated electricity
(ASIC) realizes on road.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completing instructing relevant hardware by program, this program can be stored in a computer-readable recording medium, storage
Medium may include that flash disk, read only memory (Read-Only Memory, ROM), random access device (Random Access
Memory, RAM), disk or CD etc..
The screening-mode system of selection and the terminal that there is provided the embodiment of the present invention above are described in detail, and herein should
Being set forth principle and the embodiment of the present invention by specific case, the explanation of above example is only intended to help reason
Solve method and the core concept thereof of the present invention;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention,
All will change in detailed description of the invention and range of application, in sum, this specification content should not be construed as this
Bright restriction.
Claims (10)
1. a screening-mode system of selection, it is characterised in that including:
Start photographic head;
Distance between measuring terminals and subject;
If described distance meets first pre-conditioned, then the screening-mode of described photographic head is adjusted to Flash Mode.
Method the most according to claim 1, it is characterised in that described method also includes:
If described distance meets second pre-conditioned, then the screening-mode of described photographic head is adjusted to image co-registration pattern;Or
Person
If described distance meets second pre-conditioned, then the screening-mode of described photographic head is adjusted to dual camera pattern.
Method the most according to claim 1 and 2, it is characterised in that between described measuring terminals and subject away from
From including:
By described camera collection the first image and the second image, the figure gathered when described first image is flash lighting
Picture, described second image is the image gathered during the closedown of described flash lamp;
Determine described first image and the luminance difference of described second image;
Determine that the distance between terminal and subject, described distance are inversely proportional to described luminance difference according to described luminance difference.
Method the most according to claim 2, it is characterised in that the described screening-mode by described photographic head is adjusted to image
After fusion mode, described method also includes:
Opening image by described photographic head continuous acquisition N, described N is the integer more than or equal to 2;
Merge described N and open image, to obtain target image.
Method the most according to claim 2, it is characterised in that the described screening-mode by described photographic head is adjusted to double and takes the photograph
As, after head mould formula, described method also includes:
By described camera collection the 3rd image, and by another camera collection the 4th image, described photographic head and described
Another photographic head is arranged on the same face of terminal, and described 3rd image is identical with the acquisition time of described 4th image;
Synthesize described 3rd image and described 4th image, to obtain target image.
6. a terminal, it is characterised in that including:
Start unit, is used for starting photographic head;
Measuring unit, for measuring the distance between described terminal and subject;
Adjustment unit, if the distance measured for described measuring unit meets first pre-conditioned, then opens described start unit
The screening-mode of dynamic photographic head is adjusted to Flash Mode.
Terminal the most according to claim 6, it is characterised in that described adjustment unit is additionally operable to:
If the distance that described measuring unit is measured meets second pre-conditioned, then the screening-mode of described photographic head is adjusted to figure
As fusion mode;Or
If the distance that described measuring unit is measured meets second pre-conditioned, then it is double the screening-mode of described photographic head to be adjusted to
Camera mode.
8. according to the terminal described in claim 6 or 7, it is characterised in that described measuring unit includes:
First collecting unit, for by described camera collection the first image and the second image, described first image is flash of light
The image gathered during lamp light filling, described second image is the image gathered during the closedown of described flash lamp;
Determine unit, for determining the first image and the luminance difference of described second image of described first collecting unit collection;
Described determine unit, be additionally operable to the distance determining between terminal and subject according to described luminance difference, described distance
It is inversely proportional to described luminance difference.
Terminal the most according to claim 7, it is characterised in that described terminal also includes:
Second collecting unit, opens image for photographic head continuous acquisition N started by described start unit, and described N is for being more than
Or the integer equal to 2;
Integrated unit, opens image, to obtain target image for merging the N of described second collecting unit collection.
Terminal the most according to claim 7, it is characterised in that described terminal also includes:
3rd collecting unit, is used for by described camera collection the 3rd image, and by another camera collection the 4th image,
Described photographic head and another photographic head described are arranged on the same face of terminal, described 3rd image and the collection of described 4th image
Time is identical;
Synthesis unit, for synthesizing the 3rd image and described 4th image that described 3rd collecting unit gathers, to obtain target
Image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610567068.7A CN106060404A (en) | 2016-07-15 | 2016-07-15 | Photographing mode selection method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610567068.7A CN106060404A (en) | 2016-07-15 | 2016-07-15 | Photographing mode selection method and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106060404A true CN106060404A (en) | 2016-10-26 |
Family
ID=57187079
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610567068.7A Pending CN106060404A (en) | 2016-07-15 | 2016-07-15 | Photographing mode selection method and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106060404A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106067947A (en) * | 2016-07-25 | 2016-11-02 | 深圳市金立通信设备有限公司 | A kind of photographic method and terminal |
CN106454123A (en) * | 2016-11-25 | 2017-02-22 | 滁州昭阳电信通讯设备科技有限公司 | Shooting focusing method and mobile terminal |
CN108924375A (en) * | 2018-06-14 | 2018-11-30 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the terminal of ringing volume |
CN110099207A (en) * | 2018-01-31 | 2019-08-06 | 成都极米科技股份有限公司 | A kind of effective image calculation method for overcoming camera unstable |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916749A (en) * | 2005-08-19 | 2007-02-21 | 仁宝电脑工业股份有限公司 | Method for auxiliary focusing by using pre-flashing of flash lamp |
US20070230933A1 (en) * | 2006-03-28 | 2007-10-04 | Fujifilm Corporation | Device and method for controlling flash |
CN101227564A (en) * | 2007-01-18 | 2008-07-23 | 华晶科技股份有限公司 | System and method of backlight detecting for brightness value of sub area in focusing area |
CN103685875A (en) * | 2012-08-28 | 2014-03-26 | 株式会社理光 | Imaging apparatus |
CN103905739A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Electronic equipment control method and electronic equipment |
CN103986874A (en) * | 2014-05-29 | 2014-08-13 | 宇龙计算机通信科技(深圳)有限公司 | An image acquisition device, image acquisition method and terminal |
CN105635575A (en) * | 2015-12-29 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Imaging method, imaging device and terminal |
-
2016
- 2016-07-15 CN CN201610567068.7A patent/CN106060404A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1916749A (en) * | 2005-08-19 | 2007-02-21 | 仁宝电脑工业股份有限公司 | Method for auxiliary focusing by using pre-flashing of flash lamp |
US20070230933A1 (en) * | 2006-03-28 | 2007-10-04 | Fujifilm Corporation | Device and method for controlling flash |
CN101227564A (en) * | 2007-01-18 | 2008-07-23 | 华晶科技股份有限公司 | System and method of backlight detecting for brightness value of sub area in focusing area |
CN103685875A (en) * | 2012-08-28 | 2014-03-26 | 株式会社理光 | Imaging apparatus |
CN103905739A (en) * | 2012-12-28 | 2014-07-02 | 联想(北京)有限公司 | Electronic equipment control method and electronic equipment |
CN103986874A (en) * | 2014-05-29 | 2014-08-13 | 宇龙计算机通信科技(深圳)有限公司 | An image acquisition device, image acquisition method and terminal |
CN105635575A (en) * | 2015-12-29 | 2016-06-01 | 宇龙计算机通信科技(深圳)有限公司 | Imaging method, imaging device and terminal |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106067947A (en) * | 2016-07-25 | 2016-11-02 | 深圳市金立通信设备有限公司 | A kind of photographic method and terminal |
CN106454123A (en) * | 2016-11-25 | 2017-02-22 | 滁州昭阳电信通讯设备科技有限公司 | Shooting focusing method and mobile terminal |
CN106454123B (en) * | 2016-11-25 | 2019-02-22 | 盐城丝凯文化传播有限公司 | A kind of method and mobile terminal of focusing of taking pictures |
CN110099207A (en) * | 2018-01-31 | 2019-08-06 | 成都极米科技股份有限公司 | A kind of effective image calculation method for overcoming camera unstable |
CN110099207B (en) * | 2018-01-31 | 2020-12-01 | 成都极米科技股份有限公司 | Effective image calculation method for overcoming camera instability |
CN108924375A (en) * | 2018-06-14 | 2018-11-30 | Oppo广东移动通信有限公司 | Processing method, device, storage medium and the terminal of ringing volume |
CN108924375B (en) * | 2018-06-14 | 2021-09-07 | Oppo广东移动通信有限公司 | Ringtone volume processing method and device, storage medium and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108933899B (en) | Panorama shooting method, device, terminal and computer readable storage medium | |
WO2020038109A1 (en) | Photographing method and device, terminal, and computer-readable storage medium | |
CN107977940B (en) | Background blurring processing method, device and equipment | |
CN110072052B (en) | Image processing method and device based on multi-frame image and electronic equipment | |
CN109068058B (en) | Shooting control method, device and electronic device in super night scene mode | |
CN105827964B (en) | A kind of image processing method and mobile terminal | |
CN106254682B (en) | A kind of photographic method and mobile terminal | |
US7474848B2 (en) | Method for achieving correct exposure of a panoramic photograph | |
CN106067947A (en) | A kind of photographic method and terminal | |
CN108419023A (en) | A kind of method and relevant device generating high dynamic range images | |
CN107592453B (en) | A kind of image pickup method and mobile terminal | |
US20090040364A1 (en) | Adaptive Exposure Control | |
US20140022415A1 (en) | Imaging apparatus | |
CN109348088A (en) | Image noise reduction method and device, electronic equipment and computer readable storage medium | |
CN107846556B (en) | Imaging method, imaging device, mobile terminal and storage medium | |
EP1792478A4 (en) | DEVICE AND METHOD FOR PROCESSING IMAGES | |
CN106878605A (en) | Method and electronic device for image generation based on electronic device | |
CN104754212A (en) | Electronic Apparatus And Method Of Capturing Moving Subject By Using The Same | |
CN106060404A (en) | Photographing mode selection method and terminal | |
CN114071010A (en) | Shooting method and equipment | |
CN109756680B (en) | Image synthesis method, apparatus, electronic device and readable storage medium | |
CN111434104A (en) | Image processing device, imaging device, image processing method and program | |
CN106027912A (en) | Shooting mode selection method and terminal | |
JP2020107956A (en) | Imaging apparatus, imaging method, and program | |
WO2023124202A1 (en) | Image processing method and electronic device |
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: 20161026 |