CN107277267A - Photographic method and mobile terminal - Google Patents
Photographic method and mobile terminal Download PDFInfo
- Publication number
- CN107277267A CN107277267A CN201710574691.XA CN201710574691A CN107277267A CN 107277267 A CN107277267 A CN 107277267A CN 201710574691 A CN201710574691 A CN 201710574691A CN 107277267 A CN107277267 A CN 107277267A
- Authority
- CN
- China
- Prior art keywords
- picture
- focal length
- camera
- pixel
- mobile terminal
- 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
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72457—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
-
- 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)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of photographic method and mobile terminal, the mobile terminal includes a camera, it is characterised in that the photographic method includes:The camera is set in first state, and obtains one first picture;The camera is set in the second state, and obtains a second picture;One the 3rd picture is generated with reference to the first picture and second picture;Export the 3rd picture.The photographic method and mobile terminal of the present invention can realize the picture of higher-definition by single camera, and picture can not only be made apparent but also a variety of shooting effects can be presented, and greatly improve usage experience of the user to mobile terminal.
Description
Technical field
The present invention relates to a kind of photographic method and mobile terminal.
Background technology
With becoming stronger day by day for terminal device (such as mobile phone, tablet personal computer) function, mobile phone is had become in daily life
Indispensable articles for use.
Mobile phone photograph is very important function in mobile terminal, and shooting mobile phone collects the function of mobile phone and digital camera in one
Body, its convenience is that portability is strong, and flexibly and easily, user can be taken pictures with it whenever and wherever possible.The photograph clapped
Piece can be sent to relatives and friends in the form of multi-media SMS, that is, clap and send out, convenient and swift.Shooting mobile phone typically both provides photograph
The editting function of piece, user can make the photo of shooting frame for turning on/off, wallpaper of mobile phone etc., therefore of shooting mobile phone
Property function is more powerful.
Shot more than existing shooting mobile phone using dual camera, not only cost is higher but also double for the mobile phone of dual camera
The utilization rate of camera is low.
The content of the invention
The technical problem to be solved in the present invention is that not only cost is higher in order to overcome the mobile phone of dual camera in the prior art
And the low defect of the utilization rate to dual camera can realize taking pictures for higher-definition picture there is provided a kind of by single camera
Method and mobile terminal.
The present invention is to solve above-mentioned technical problem by following technical proposals:
A kind of photographic method, for mobile terminal, the mobile terminal includes a camera, and its feature is, described to clap
Include according to method:
The camera is set in first state, and obtains one first picture;
The camera is set in the second state, and obtains a second picture;
One the 3rd picture is generated with reference to the first picture and second picture;
Export the 3rd picture.
It is preferred that the photographic method includes:
The mobile terminal shoots to obtain first picture in first position;
The mobile mobile terminal shoots to obtain the second picture in the second place;
3rd picture is generated according to the spacing of the first picture, second picture and first position and the second place.
It is preferred that the photographic method includes:
Set the camera to shoot colour picture and obtain first picture;
The camera is set to shoot the second picture that black and white picture obtains black-and-white photograph;
Offset is generated according to the gray value of each pixel on second picture, on the first picture on corresponding pixel
The offset is compensated to generate one the 3rd picture.
It is preferred that by the bright intensity compensation of each pixel on second picture to the first picture corresponding pixel points with life
The pictures of Cheng Yi tri- include:
For each pixel, given birth to if the gray value of the pixel is more than the first preset value according to pixel gray value
Into a negative offset, the negative offset is compensated on corresponding pixel on the first picture;If the ash of the pixel
Angle value is less than the second preset value and then generates a positive number offset, the corresponding pixel on the first picture according to pixel gray value
The upper compensation positive number offset, wherein, the first preset value is more than or equal to the second preset value.
It is preferred that the photographic method includes:
The focal length of the camera is set to be shot to obtain first picture for the first focal length;
The focal length of the camera is set to be shot for the second focal length to obtain the second picture, the second focal length is less than
First focal length;
Recognize the target at the first focal length in the first picture;
Image of the target in the first picture is attached at the corresponding position of second picture to generate the described 3rd
Picture.
It is preferred that the photographic method includes:
The focal length for setting the camera is the first focal length, and sets lens aperture to be that the first aperture is shot to obtain
First picture;
The focal length for setting the camera is the second focal length, and sets lens aperture to be that the second aperture is shot to obtain
The second picture, the second focal length is less than the first focal length, and the first aperture is more than the second aperture.
A kind of mobile terminal, the mobile terminal includes a camera, and its feature is, the mobile terminal includes one and clapped
Module, a binding modules and an output module are taken the photograph,
The taking module is used to set the camera in first state, and obtains one first picture;
The taking module is additionally operable to set the camera in the second state, and obtains a second picture;
The binding modules are used to generate one the 3rd picture with reference to the first picture and second picture;
The output module is used to export the 3rd picture.
It is preferred that
The taking module is used to set the mobile terminal to shoot to obtain first picture in first position;
The taking module is additionally operable to after the mobile mobile terminal, shoots to obtain second figure in the second place
Piece;
The binding modules are used to be generated according to the spacing of the first picture, second picture and first position and the second place
3rd picture.
It is preferred that
The taking module is used to set the camera to shoot colour picture acquisition first picture;
The taking module is additionally operable to set the camera to shoot the second picture that black and white picture obtains black-and-white photograph;
The binding modules are used to judge for each pixel, if the gray value of the pixel is more than the first preset value
A negative offset is then generated according to pixel gray value, the negative compensation is compensated on corresponding pixel on the first picture
Value;A positive number offset is generated according to pixel gray value if the gray value of the pixel is less than the second preset value, the
The positive number offset is compensated on one picture on corresponding pixel, wherein, the first preset value is more than or equal to the second preset value.
It is preferred that the mobile terminal also includes an identification module,
The taking module is used to set the focal length of the camera to be the first focal length, and sets lens aperture to be the first light
Circle is shot to obtain first picture;
The taking module is additionally operable to set the focal length of the camera to be the second focal length, and sets lens aperture to be second
Aperture is shot to obtain the second picture, and the second focal length is less than the first focal length, and the first aperture is more than the second aperture.
The identification module is used to recognize the target in the first picture at the first focal length;
The binding modules are used to image of the target in the first picture being attached to the corresponding position of second picture
Sentence generation the 3rd picture.
On the basis of common sense in the field is met, above-mentioned each optimum condition can be combined, and produce each preferable reality of the present invention
Example.
The positive effect of the present invention is:The photographic method and mobile terminal of the present invention can be real by single camera
The picture of existing higher-definition, can not only make picture apparent but also a variety of shooting effects can be presented, and greatly improve and use
Usage experience of the family to mobile terminal.
Brief description of the drawings
Fig. 1 is the flow chart of the photographic method of the embodiment of the present invention 1.
Fig. 2 is the flow chart of the photographic method of the embodiment of the present invention 2.
Embodiment
The present invention is further illustrated below by the mode of embodiment, but does not therefore limit the present invention to described reality
Apply among a scope.
Embodiment 1
Referring to Fig. 1, the present embodiment provides a kind of mobile phone, and the mobile phone combines mould including a camera, a taking module, one
Block and an output module.
The taking module is used to set the mobile phone to shoot to obtain the first picture in first position.
The taking module sets the camera in first state, and the first state refers to that camera is in described the
One position, the taking module obtains one first picture in first position.
The taking module is additionally operable to after the mobile mobile phone, shoots to obtain the second picture in the second place.
In the mobile phone detection mobile phone acceleration transducer a target direction acceleration magnitude, when the acceleration magnitude is big
Whether it is less than one second preset value in the acceleration magnitude for after one first preset value, detecting the mobile phone, wherein the first preset value is big
In the second preset value, the camera is taken pictures to obtain the second picture when acceleration is less than second preset value.
The taking module sets the camera in first state, and second state refers to that camera is in described the
Two positions, the taking module obtains a second picture in the second place.
The binding modules are used to be generated according to the spacing of the first picture, second picture and first position and the second place
3rd picture.
The output module is used to export the 3rd picture.
The output module includes the 3rd picture on mobile phone screen.
The mobile phone of this present embodiment realizes the function of obtaining 3D pictures by single camera, picture can not only be made apparent
But also greatly improve usage experience of the user to mobile terminal.
A kind of photographic method is also provided using above-mentioned mobile phone the present embodiment, including:
Step 100, the mobile phone shoot to obtain first picture in first position.
Step 101, judge mobile phone acceleration magnitude whether be more than one first preset value, if then perform step 102, if otherwise
Step 101 is performed again.
Step 102, the camera are taken pictures to obtain the second picture when acceleration is less than second preset value.
Step 103, according to the spacing of the first picture, second picture and first position and the second place generate the described 3rd
Picture.
Step 104, output the 3rd picture.
Same target is taken pictures using diverse location obtained photo, a 3D picture can be generated.
The photographic method of this present embodiment realizes the function of obtaining 3D pictures by single camera, can not only make picture more
Improve clearly but also greatly usage experience of the user to mobile terminal.
Embodiment 2
The present embodiment is substantially the same manner as Example 1, the difference is that only:
The taking module is used to set the camera to shoot colour picture acquisition first picture.
The taking module is additionally operable to set the camera to shoot black and white picture acquisition black-and-white photograph in identical position
Second picture.The scenery that second picture is shot in the present embodiment is identical with the first picture, but is changed by the first picture
The black-and-white photograph arrived, but the black-and-white photograph shot by camera
The binding modules are used to judge for each pixel, if the gray value of the pixel is more than the first preset value
A negative offset is then generated according to pixel gray value, the negative compensation is compensated on corresponding pixel on the first picture
Value;A positive number offset is generated according to pixel gray value if the gray value of the pixel is less than the second preset value, the
The positive number offset is compensated on one picture on corresponding pixel, wherein, the first preset value is more than the second preset value.Setting
When, the first preset value can also be equal to the second preset value, and the present embodiment is by more than exemplified by.
In the present embodiment, the quantity that pixel gray value is differed with the preset value is bigger, and the absolute value of offset is bigger.
Because black-and-white photograph can preferably catch light, the application is compensated using black-and-white photograph to photochrome,
Negative compensation is carried out to over-exposed pixel namely reduces brightness, contrasts dark image and carries out positive number compensation namely
Improve brightness.So as to which the 3rd picture of generation becomes apparent from.
Using above-mentioned mobile phone, the present embodiment provides a kind of photographic method, including:
Step 200, the setting camera shoot colour picture and obtain first picture.
Step 201, the setting camera shoot the second picture that black and white picture obtains black-and-white photograph in same position.
Step 202, for each pixel on second picture, judging the gray value of the pixel, whether to be more than first pre-
If value, if then performing step 203, if otherwise performing step 204.
Step 203, one negative offset of generation, compensate the negative compensation on the first picture on corresponding pixel
Value, then performs step 206.
Step 204, judge the pixel gray value whether be less than the second preset value, if then perform step 205, if
Otherwise the pixel on corresponding first picture of the pixel is not changed and performs step 206.
Step 205, one positive number offset of generation, compensate the positive number compensation on the first picture on corresponding pixel
Value.
Step 206, to each pixel processing after generate one the 3rd picture.
Step 207, the 3rd picture of output.
Because black-and-white photograph can preferably catch light, the application is compensated using black-and-white photograph to photochrome,
Negative compensation is carried out to over-exposed pixel namely reduces brightness, contrasts dark image and carries out positive number compensation namely
Improve brightness.So as to which the 3rd picture of generation becomes apparent from.
Embodiment 3
The present embodiment is substantially the same manner as Example 1, the difference is that only:
The mobile phone also includes an identification module.
The taking module is used to set the focal length of the camera to be the first focal length, and sets lens aperture to be the first light
Circle is shot to obtain first picture.
The taking module is additionally operable to set the focal length of the camera to be the second focal length, and sets lens aperture to be second
Aperture is shot to obtain the second picture, and the second focal length is less than the first focal length, and the first aperture is more than the second aperture.
The identification module is used to recognize the target in the first picture at the first focal length;
The binding modules are used to image of the target in the first picture being attached to the corresponding position of second picture
Sentence generation the 3rd picture.
The photo shot using short focus is blurred image, can be that picture stereovision is higher as background.
Using above-mentioned mobile phone, the present embodiment provides a kind of photographic method, including:
The focal length for setting the camera is the first focal length, and sets lens aperture to be that the first aperture is shot to obtain
First picture.
The focal length for setting the camera is the second focal length, and sets lens aperture to be that the second aperture is shot to obtain
The second picture, the second focal length is less than the first focal length, and the first aperture is more than the second aperture.
Recognize the target at the first focal length in the first picture.
Image of the target in the first picture is attached at the corresponding position of second picture to generate the described 3rd
Picture.
Although the foregoing describing the embodiment of the present invention, it will be appreciated by those of skill in the art that these
It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back
On the premise of principle and essence from the present invention, various changes or modifications can be made to these embodiments, but these are changed
Protection scope of the present invention is each fallen within modification.
Claims (10)
1. a kind of photographic method, for mobile terminal, the mobile terminal includes a camera, it is characterised in that described to take pictures
Method includes:
The camera is set in first state, and obtains one first picture;
The camera is set in the second state, and obtains a second picture;
One the 3rd picture is generated with reference to the first picture and second picture;
Export the 3rd picture.
2. photographic method as claimed in claim 1, it is characterised in that the photographic method includes:
The mobile terminal shoots to obtain first picture in first position;
The mobile mobile terminal shoots to obtain the second picture in the second place;
3rd picture is generated according to the spacing of the first picture, second picture and first position and the second place.
3. photographic method as claimed in claim 1, it is characterised in that the photographic method includes:
Set the camera to shoot colour picture and obtain first picture;
The black and white picture for setting the camera to shoot same position obtains the second picture of black-and-white photograph;
Offset is generated according to the gray value of each pixel on second picture, compensated on the first picture on corresponding pixel
The offset is to generate one the 3rd picture.
4. photographic method as claimed in claim 3, it is characterised in that mend the bright intensity of each pixel on second picture
Repay onto the first picture corresponding pixel points is included with generating one the 3rd picture:
For each pixel, one is generated according to pixel gray value if the gray value of the pixel is more than the first preset value
Negative offset, compensates the negative offset on the first picture on corresponding pixel;If the gray value of the pixel
A positive number offset is then generated according to pixel gray value less than the second preset value, mended on the first picture on corresponding pixel
The positive number offset is repaid, wherein, the first preset value is more than or equal to the second preset value.
5. photographic method as claimed in claim 1, it is characterised in that the photographic method includes:
The focal length of the camera is set to be shot to obtain first picture for the first focal length;
The focal length of the camera is set to be shot for the second focal length in same position to obtain the second picture, second is burnt
Away from less than the first focal length;
Recognize the target at the first focal length in the first picture;
Image of the target in the first picture is attached at the corresponding position of second picture to generate the 3rd picture.
6. photographic method as claimed in claim 5, it is characterised in that the photographic method includes:
The focal length for setting the camera is the first focal length, and it is described to obtain to set lens aperture to be shot for the first aperture
First picture;
The focal length for setting the camera is the second focal length, and it is described to obtain to set lens aperture to be shot for the second aperture
Second picture, the second focal length is less than the first focal length, and the first aperture is more than the second aperture.
7. a kind of mobile terminal, the mobile terminal includes a camera, it is characterised in that the mobile terminal includes one and shot
Module, a binding modules and an output module,
The taking module is used to set the camera in first state, and obtains one first picture;
The taking module is additionally operable to set the camera in the second state, and obtains a second picture;
The binding modules are used to generate one the 3rd picture with reference to the first picture and second picture;
The output module is used to export the 3rd picture.
8. mobile terminal as claimed in claim 7, it is characterised in that
The taking module is used to set the mobile terminal to shoot to obtain first picture in first position;
The taking module is additionally operable to after the mobile mobile terminal, shoots to obtain the second picture in the second place;
The binding modules are used for according to the generation of the spacing of the first picture, second picture and first position and the second place
3rd picture.
9. mobile terminal as claimed in claim 7, it is characterised in that
The taking module is used to set the camera to shoot colour picture acquisition first picture;
The black and white picture that the taking module is additionally operable to set the camera to shoot same position obtains the second of black-and-white photograph
Picture;
The binding modules are for judging for each pixel, the root if the gray value of the pixel is more than the first preset value
A negative offset is generated according to pixel gray value, the negative offset is compensated on corresponding pixel on the first picture;
A positive number offset is generated according to pixel gray value if the gray value of the pixel is less than the second preset value, in the first figure
The positive number offset is compensated on piece on corresponding pixel, wherein, the first preset value is more than or equal to the second preset value.
10. mobile terminal as claimed in claim 7, it is characterised in that the mobile terminal also includes an identification module,
The taking module is used to set the focal length of the camera to be the first focal length, and sets lens aperture to be that the first aperture enters
Row shoots to obtain first picture;
The taking module is additionally operable to set the focal length of the camera to be the second focal length, and sets lens aperture to be the second aperture
Shot in same position to obtain the second picture, the second focal length is less than the first focal length, and the first aperture is more than the second light
Circle,
The identification module is used to recognize the target in the first picture at the first focal length;
The binding modules be used for by image of the target in the first picture be attached at the corresponding position of second picture with
Generate the 3rd picture.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574691.XA CN107277267A (en) | 2017-07-14 | 2017-07-14 | Photographic method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710574691.XA CN107277267A (en) | 2017-07-14 | 2017-07-14 | Photographic method and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107277267A true CN107277267A (en) | 2017-10-20 |
Family
ID=60073138
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710574691.XA Pending CN107277267A (en) | 2017-07-14 | 2017-07-14 | Photographic method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107277267A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013070324A (en) * | 2011-09-26 | 2013-04-18 | Nec Casio Mobile Communications Ltd | Electronic apparatus, control method therefor, and program |
CN104917965A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Shooting method and device |
CN105306921A (en) * | 2014-06-18 | 2016-02-03 | 中兴通讯股份有限公司 | Three-dimensional photo shooting method based on mobile terminal and mobile terminal |
CN106454109A (en) * | 2016-11-09 | 2017-02-22 | 深圳天珑无线科技有限公司 | Photo forming method based on single-camera module, and single-camera module |
-
2017
- 2017-07-14 CN CN201710574691.XA patent/CN107277267A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013070324A (en) * | 2011-09-26 | 2013-04-18 | Nec Casio Mobile Communications Ltd | Electronic apparatus, control method therefor, and program |
CN105306921A (en) * | 2014-06-18 | 2016-02-03 | 中兴通讯股份有限公司 | Three-dimensional photo shooting method based on mobile terminal and mobile terminal |
CN104917965A (en) * | 2015-05-28 | 2015-09-16 | 努比亚技术有限公司 | Shooting method and device |
CN106454109A (en) * | 2016-11-09 | 2017-02-22 | 深圳天珑无线科技有限公司 | Photo forming method based on single-camera module, and single-camera module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5871862B2 (en) | Image blur based on 3D depth information | |
US11405539B2 (en) | Background replacement system and methods | |
CN106657805A (en) | Shooting method in movement and mobile terminal | |
CN110505411A (en) | Image capturing method, device, storage medium and electronic equipment | |
JP2017505004A (en) | Image generation method and dual lens apparatus | |
CN103780840A (en) | High-quality imaging double camera shooting and imaging device and method thereof | |
EP1583033A3 (en) | Digital cameras with luminance correction | |
CN105376473A (en) | Photographing method, device and equipment | |
JP2015001609A (en) | Control device and storage medium | |
CN108040204B (en) | Image shooting method and device based on multiple cameras and storage medium | |
CN116055897B (en) | Photographing method and related equipment thereof | |
CN103297675A (en) | Image capture method and relative image capture system | |
US20110242367A1 (en) | Image processing method and photographing apparatus using the same | |
CN204669468U (en) | Mobile terminal | |
CN105472263A (en) | Image capture method and image capture device with use of method | |
TWI604413B (en) | Image processing method and image processing device | |
EP2658245A1 (en) | System and method of adjusting camera image data | |
WO2016074414A1 (en) | Image processing method and apparatus | |
CN107277267A (en) | Photographic method and mobile terminal | |
TWI722229B (en) | Multi-camera module with different apertures and its application | |
KR20210016984A (en) | Electronic device controlling exposure value of image including face | |
TW201518839A (en) | Portable electronic device and method of light compensating for image extraction | |
CN102572250A (en) | Electronic device, image shooting device and method thereof | |
CN116055855B (en) | Image processing method and related device | |
TW201433877A (en) | Smart image capture device and image capturing method thereof |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171020 |