WO2015192547A1 - Method for taking three-dimensional picture based on mobile terminal, and mobile terminal - Google Patents

Method for taking three-dimensional picture based on mobile terminal, and mobile terminal Download PDF

Info

Publication number
WO2015192547A1
WO2015192547A1 PCT/CN2014/088268 CN2014088268W WO2015192547A1 WO 2015192547 A1 WO2015192547 A1 WO 2015192547A1 CN 2014088268 W CN2014088268 W CN 2014088268W WO 2015192547 A1 WO2015192547 A1 WO 2015192547A1
Authority
WO
WIPO (PCT)
Prior art keywords
image data
view image
module
view
mobile terminal
Prior art date
Application number
PCT/CN2014/088268
Other languages
French (fr)
Chinese (zh)
Inventor
陈建江
高峰
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015192547A1 publication Critical patent/WO2015192547A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof

Definitions

  • the present invention relates to the field of photographing technology, and in particular, to a three-dimensional photo shooting method based on a mobile terminal and a mobile terminal.
  • the main technical problem to be solved by the embodiment of the present invention is how to use only one camera of the mobile terminal to take a three-dimensional stereo photograph.
  • an embodiment of the present invention provides a method for photographing a three-dimensional photo based on a mobile terminal, comprising: collecting, at a first shooting position, a first perspective image data of a three-dimensional scene by a camera of the mobile terminal; Positioning a second shooting position of the specific distance by a horizontal distance, acquiring second viewing angle image data of the three-dimensional scene by the camera; determining the first viewing angle image data and the second viewing angle image data according to the corresponding shooting position Image data for left view And right-view image data; synthesizing the left-view image data and the right-view image data to generate composite image data; and saving the composite image data.
  • the method further includes: capturing a specific portion of the image data of the first view image data; and collecting the third-dimensional scene
  • the specific partial image data is displayed on the display screen of the mobile terminal when the two-view image data is used.
  • the intercepting the specific partial image data of the first view image data specifically includes: intercepting image data in the in-focus frame of the first view image data, and image data of four corners. At least one of image data of four sides and all image data.
  • the displaying the specific partial image data on the display screen of the mobile terminal specifically includes: performing translucent processing, dotted line processing, and the dotted line processing on the image data of the specific portion of the first view image captured. At least one of black and white processing and monochrome processing; displaying the specific partial image data processed by the first perspective image data on a display screen of the mobile terminal.
  • displaying the specific partial image data after the first view image data processing on the display screen of the mobile terminal includes: displaying, at the second photographing position of the first photographing level by a certain distance, displaying When the second view image data of the three-dimensional scene is displayed in the screen capture frame, the specific partial image data is displayed in the finder frame.
  • the acquiring the second view image data of the three-dimensional scene comprises: dividing the display screen into a first view frame and a second view frame, and shifting the specific distance at the first photographing level a second photographing position, the first view image data is displayed in the first view frame; and the specific portion image data is displayed in the second view frame.
  • the acquiring the second view image data of the three-dimensional scene includes any one of the following processing manners: calculating a specific partial matching degree between the second view image data and the first view image data.
  • the matching degree exceeds the preset value
  • the second perspective image data collection is completed, or the collection prompt information is displayed, and the second perspective image data acquisition is completed according to the user acquisition instruction; the preliminary second perspective image data is collected, and the user is received.
  • the synthesizing the left view image data and the right view image data to generate the composite image data specifically includes at least one of the following manners: the left view image data Synthesizing left and right format three-dimensional image data by matching with the right-view image data; converting the left-view image data and the right-view image data into a raster image by using a raster conversion application; and combining the left-view image data And synthesizing the red-blue format three-dimensional image data by the red-blue conversion application and the right-view image data.
  • the present invention further provides a mobile terminal having a single camera, the mobile terminal comprising an acquisition module, a determination module, a synthesis module and a save module:
  • the acquisition module is configured to: move at the first shooting position by moving The terminal camera collects first view image data of a three-dimensional scene; and a second photographing position that is horizontally displaced by a specific distance at the first photographing position, and collects second view image data of the three-dimensional scene through the camera;
  • the determining a module configured to: determine the first perspective image data and the second perspective image data as left view image data and right view image data according to a corresponding photographing position thereof;
  • the synthesizing module is configured to: The left view image data and the right view image data are combined to generate composite image data; and the save module is configured to save the composite image data.
  • the mobile terminal further includes an intercepting module and a display module: the intercepting module is configured to: after the collecting module acquires the first perspective image data of a three-dimensional scene, intercepting the first a specific portion of the image data of the view image data; the display module is configured to display the specific portion of the image data on the display screen of the mobile terminal when the acquisition module acquires the second view image data of the three-dimensional scene.
  • the intercepting module is further configured to: intercept image data in a focus frame of the first view image data, image data of four corners, image data of four sides, and all images At least one of the data.
  • the display module further includes a processing sub-module and a display sub-module: the processing sub-module is configured to: perform semi-transparent processing on the captured partial image data of the first view image At least one of a dashed line processing, a black and white processing, and a monochrome processing; the display sub-module is configured to: display a specific partial image data processed by the processing sub-module in a shift On the display of the terminal.
  • the display module is further configured to: at a second shooting position where the first shooting level is displaced by a specific distance, and displayed in the display finder frame as a second viewing angle image of the three-dimensional scene In the case of data, the specific partial image data is displayed in the finder frame.
  • the display module is further configured to: the display screen is divided into a first finder frame and a second framing frame, wherein the first shooting level is displaced by a second shooting position of a specific distance, The first perspective image data is displayed in the first finder frame; the specific partial image data is displayed in the second finder frame.
  • the acquisition module further includes a matching sub-module and an adjustment sub-module:
  • the matching sub-module is configured to: calculate a matching degree between the second view image data and the specific portion of the first view image data When the matching degree exceeds the preset value, the second perspective image data collection is completed, or the collection prompt information is displayed and the second perspective image data collection is completed according to the user acquisition instruction;
  • the adjustment submodule is set as: The second view image data is prepared, and the user receives the adjustment control command for the image data of the preliminary second view image data, and adjusts the adjusted preliminary second view image data as the second view image data.
  • the synthesizing module includes a left and right synthesizing submodule, a raster synthesizing submodule, or a red and blue synthesizing submodule: the left and right synthesizing submodule is configured to: the left view image data and the The right-view image data is synthesized by matching the left-right format three-dimensional image data; the raster synthesis sub-module is configured to: convert the left-view image data and the right-view image data into a raster image by using a raster conversion application The red-blue synthesis sub-module is configured to convert the left-view image data and the right-view image data into a red-blue format three-dimensional image data through a red-blue conversion application.
  • Embodiments of the present invention also provide a computer program, including program instructions, that when executed by a mobile terminal, cause the mobile terminal to perform the method described above.
  • Embodiments of the present invention also provide a computer readable storage medium carrying the above computer program.
  • the photographing method of the embodiment of the present application realizes that the mobile terminal takes a three-dimensional stereo photograph, and only uses one
  • the camera can complete the stereo photo shooting, which reduces the cost, enables the user to use the mobile terminal to perform simple operations to obtain three-dimensional stereo photos, which increases the user's shooting pleasure and improves the user experience.
  • FIG. 1 is a schematic flow chart of a method for photographing a three-dimensional photo according to Embodiment 1 of the present invention
  • FIG. 2a is a schematic flow chart of a method for photographing a three-dimensional photo according to Embodiment 2 of the present invention
  • FIG. 2b is a schematic diagram of image data of a first-view photo taken in a three-dimensional photo shooting method according to Embodiment 2 of the present invention.
  • FIG. 2c is a schematic diagram of a dashed line processing process for capturing all image data of a first view photo in a three-dimensional photo shooting method according to Embodiment 2 of the present invention
  • FIG. 2 is a schematic diagram of the image data of the second perspective photo taken as a reference picture of all the image data of the first perspective photo according to the second embodiment of the present invention
  • FIG. 2 e is a schematic diagram of a partial line image data processing process for capturing a first view photo in a three-dimensional photo shooting method according to Embodiment 2 of the present invention
  • 2f is a schematic diagram of a partial image data of a first perspective photo taken as a reference in a method for photographing a three-dimensional photograph according to a second embodiment of the present invention
  • FIG. 3a is a schematic diagram of a single-screen shooting interface in a three-dimensional photo shooting method according to Embodiment 3 of the present invention.
  • FIG. 3b is a schematic diagram of a right-eye photograph of a single-screen shooting interface in a three-dimensional photo shooting method according to Embodiment 3 of the present invention.
  • 3c is a schematic diagram of a dual-screen shooting interface in a three-dimensional photo shooting method according to Embodiment 3 of the present invention.
  • FIG. 3 is a schematic diagram of synthesizing left and right format three-dimensional image data in a three-dimensional photo shooting method according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic diagram of a first structure of a mobile terminal with a single camera according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic diagram showing a second structure of a mobile terminal having a single camera according to Embodiment 4 of the present invention.
  • FIG. 6 is a schematic diagram of a third structure of a mobile terminal with a single camera according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of a fourth type of mobile terminal having a single camera according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of a fifth type of mobile terminal having a single camera according to Embodiment 4 of the present invention.
  • the embodiment of the invention provides a method for photographing a three-dimensional photo of a single camera of a mobile terminal and a mobile terminal.
  • the stereoscopic photo can be viewed through the existing stereoscopic photo technology, so that the mobile terminal also has a stereo photo shooting function, which simplifies the user's shooting and enjoys the stereoscopic image.
  • Photo manipulation Give users more fun to shoot, and share stereo photos with others via mobile phone.
  • FIG. 1 is a schematic flowchart of a method for photographing a three-dimensional photo of a mobile terminal, where the method includes:
  • Step S101 collecting, at the first shooting position, the first perspective image data of a three-dimensional scene by using a camera;
  • the user points the camera on the mobile terminal to the three-dimensional scene to be photographed, and the image sensor converts the collected optical signal into an electrical signal (analog signal), and then the processor converts the analog signal into a digital signal to become the first angle of view.
  • the image data of the photo is sent to the display for the user to preview. After the user has previewed, the image data can be saved after being determined to be satisfactory.
  • the specific saving may include encoding the image data of the first view photo into a data format supported by the camera device, and generating an image file, which is temporarily stored in the memory, and the memory may be a built-in memory or a mobile memory. This operation is performed by the user pressing an operation button, such as a shutter or a photo button.
  • Step S102 horizontally shifting the second photographing position of the specific distance horizontally at the first photographing position, and acquiring second view image data of the three-dimensional scene by the camera;
  • the user shifts the mobile phone to the right in the horizontal direction by a specific distance, and the specific distance is specifically moved according to the shooting scene.
  • the specific distance may be 4-6 cm, that is, the left and right eyelid distance is adjusted, and the horizontal distance may be left here. Move, or move horizontally to the right.
  • the specific distance should specifically be a distance reference for the distance of the three-dimensional scene. For example, if the close-up is taken, the displacement distance needs to be relatively small, and the shooting distance requires a relatively long displacement distance.
  • the movement process can also be moved in other ways.
  • the image data of the second viewing angle image and the image data of the first viewing angle photo have a certain viewing angle difference.
  • the specific process can be adjusted by the user to the target of the shooting.
  • the image data of the first-view photo is the same three-dimensional scene, that is, the two shots are shots of different angles of the same target. Since the two shots are in different viewing angles, the shooting scene is a static scene.
  • Step S103 determining first view image data and second view image data as left view image data and right view image data according to corresponding photographing positions;
  • the image data of the first view photo is taken to the right and then moved horizontally
  • the image data of the first view photo is the left eye view photo data
  • the image data of the second view photo is the right eye view photo.
  • the real left view image data and the right view image data are determined according to the image data of the first view photo and the image data of the second view photo.
  • Step S104 synthesizing left view image data and right view image data to generate composite image data
  • Step S105 Save the composite image data.
  • the user performs preview based on the composite image data of the stereo photos synthesized in step S104, and if the user's needs are met, the composite image data can be saved in the memory by pressing the enter key.
  • This step occurs after the user determines that the stereoscopic effect of the image on the display is obvious, and presses an operation button to complete, such as a shutter or a photo save button.
  • the embodiment provides a more detailed method for three-dimensional photo shooting of a single camera of a mobile terminal.
  • the user can perform image capturing of the image data of the second perspective photo according to the image data of the first perspective photo.
  • the accuracy of the shooting makes it easier to better reflect the three-dimensional effect.
  • the method includes the following steps:
  • Step S201 collecting, at the first shooting position, the first perspective image data of a three-dimensional scene by the camera of the mobile terminal;
  • the user points the camera on the mobile terminal to the three-dimensional scene to be photographed, and the image sensor converts the collected optical signal into an electrical signal (analog signal), and then the processor converts the analog signal into a digital signal to become the first angle of view.
  • the image data of the photo is sent to the display for the user to preview. After the user has previewed, the image data can be saved after being determined to be satisfactory.
  • the specific saving may include encoding the image data of the first view photo into a data format supported by the camera device, and generating an image file, which is temporarily stored in the memory, and the memory may be a built-in memory or a mobile memory. This operation is performed by the user pressing an operation button, such as a shutter or a photo button.
  • Step S202 intercepting specific partial image data of the first perspective image data
  • the image data of the specific portion of the first viewing angle image data is intercepted.
  • the interception can be intercepted by the user himself, that is, the user himself selects a specific or favorite portion as reference data of the image data of the second perspective photo.
  • the specific portion of the intercepted data can be implemented as long as it can be used as a reference for the user to perform data collection of the second perspective photo.
  • a button can also be set, and the mobile terminal automatically acquires a specific portion of the image data of the first view photo.
  • Step S203 Display specific partial image data on the display screen of the mobile terminal
  • the user can preview the image first, and after the preview is satisfied, the specific portion of the first perspective photo is displayed on the shooting preview interface for the user to refer to.
  • Step S204 The second shooting angle data of the three-dimensional scene is acquired by the camera by the second shooting position of the specific shooting distance of the first shooting level;
  • the user shifts the mobile phone to the right in the horizontal direction by a specific distance, and the specific distance is specifically moved according to the shooting scene.
  • the specific distance may be 4-6 cm, where the horizontal distance may be moved to the left or horizontally to the right.
  • the specific distance should specifically be a distance reference for the distance of the three-dimensional scene. For example, if the close-up is taken, the displacement distance needs to be relatively small, and the shooting distance requires a relatively long displacement distance.
  • the movement process can also be moved in other ways. It should be understood that as long as the shooting position can be horizontally displaced by a certain distance, the image data of the second viewing angle image and the image data of the first viewing angle photo have a certain viewing angle difference.
  • the specific process can be adjusted by the user to the target of the shooting.
  • the image data of the first-view photo is the same three-dimensional scene, that is, the two shots are shots of different angles of the same target. Since the two shots are in different viewing angles, the shooting scene is a static scene.
  • Step S205 determining first view image data and second view image data as left view image data and right view image data according to corresponding photographing positions;
  • the image data of the first view photo is taken to the right and then moved horizontally
  • the image data of the first view photo is the left eye view photo data
  • the image data of the second view photo is the right eye view photo.
  • the left-view image data and the right-eye view data which are seen by the left eye are determined according to the image data of the first-view photograph and the image data photographing position of the second-view photograph.
  • Step S206 synthesizing left view image data and right view image data to generate composite image data
  • Step S207 Save the composite image data.
  • the user performs preview based on the composite image data of the stereo photos synthesized in step S206, and if the user's needs are met, the composite image data can be saved in the memory by pressing the enter key.
  • This step occurs after the user determines that the stereoscopic effect of the image on the display is obvious, and presses an operation button to complete, such as a shutter or a photo save button.
  • the image data in the in-focus frame of the first view image data, the image data of the four corners, the image data of the four sides, and all the images may be intercepted for the convenience of the user.
  • the data is medium, and it should be understood that the intercepted portion can be realized as long as it can be used for the user to perform image data acquisition reference of the second perspective photo.
  • step S204 in order to facilitate the user's observation, the image data collection of the second perspective photo is better performed, and even if the specific part of the reference data is more convenient for reference, the content displayed on the screen may be intercepted and translucently processed. Processing such as dotted line processing, monochrome processing, or black and white processing. It should be understood that as long as the image data acquisition of the second view photo can be made different from the reference specific portion. Of course, the intercepted content can also be left unprocessed.
  • step S206 it should be understood that when the mobile terminal performs the second view image data acquisition, the degree of matching between the image data in the current view frame and the reference partial image data is automatically detected, and when the matching degree reaches a certain preset value, That is, when the matching degree is high, the collection prompt information is displayed, and the user is reminded to perform image data collection and complete the second perspective image data acquisition or automatically perform image data collection according to the user acquisition instruction. In this way, it is more convenient for the user to collect the second view image data and form the stereo image data better with the first view image data.
  • the preliminary second-view image data may be collected first, and the user may adjust the adjustment control command for the image data of the preliminary second-view image data, and the adjusted preliminary second-view image data is used as the second perspective image data.
  • the image data of the second perspective photo is collected first, the photo image data is temporarily stored, the image data is displayed on the display screen for the user to preview, and the user observation image data is compared with the characteristic partial image data, if found and The specific part of the image data has a certain deviation, which is adjusted by the control instruction, and when it is substantially coincident with the specific partial data image, it is related to the specific partial data.
  • the preliminary second view image data is saved as the image data of the second view photo.
  • the specific adjustment includes accepting the user's control instruction to perform the up, down, left and right translation of the preliminary second view image data, and the adjustment such as zooming in or out.
  • the acquiring the second view photo image data is: calculating a specific portion matching degree of the second view image data and the first view image data, and completing the second view image data acquisition when the matching degree exceeds the preset value.
  • the figure is image data of the first view photo taken, which includes a house and a tree.
  • the entire photo may be selected as a reference for the second partial view photo as a specific partial image data, as shown in FIG. 2c, which is a reference image for image data acquisition of the second view photo after the dotted processing of the specific partial image data.
  • FIG. 2c is a reference image for image data acquisition of the second view photo after the dotted processing of the specific partial image data.
  • step 204 if the image data of the first perspective photo and the image data of the second perspective photo are separately collected, that is, after the image data of the first perspective photo is collected, the specific partial image data is displayed in the framing frame.
  • Photo image acquisition for the second viewing angle if the display screen of the mobile terminal is divided into a first view frame and a second view frame; the image data of the first view picture is collected by using the first view frame, and the first view image data is displayed in the first view frame; The image data of the second perspective photo is collected by using the second finder frame, and the specific partial image data is displayed in the second finder frame, and the image data collection of the second perspective photo is completed according to the reference.
  • the left-view image data and the right-view image data are combined to generate composite image data.
  • This step can be imaged by other software and the mobile terminal itself.
  • the basic operation is to complete the synthesis of the left-view image data and the right-view image data.
  • the left and right viewing angle image data may be synthesized by editing and matching the left and right format three-dimensional image data; the left and right viewing angle image data may be converted into the combined raster format three-dimensional image data by the raster conversion application; and the left and right viewing angle image data will be converted by red and blue.
  • the application converts the synthesized red and blue format 3D image data and the like.
  • the mobile terminal is taken as an example for the mobile phone.
  • the mobile terminal is not limited to a mobile phone, such as a tablet computer, and the like is also included in the present invention. If a user needs to take a stereo photo with a mobile phone, the stereo photo application is launched, and of course, a stereo photo shooting portal can be added to the camera application.
  • 3a is a schematic diagram of an interface for starting a stereo photo shooting application.
  • 301 is the focus frame
  • the mobile phone camera is aimed at the shooting target, and the shooting target is clicked on the display screen of the mobile phone, and the camera program focuses on the target, and the shooting prompt is completed.
  • 302 is the shooting target.
  • 303 is a left eye image shooting button for capturing a left eye photo, that is, for collecting first angle photo image data.
  • 304 is a right eye image shooting button for capturing a right eye photo, that is, for collecting first angle photo image data.
  • 305 is a left eye diagram and a right eye diagram adaptation adjustment button for adjusting the position angle size of the left eye diagram and the right eye diagram photo, so that the left eye diagram and the right eye diagram photo are well adapted.
  • 306 is a save button for saving stereo photos in a pair of left and right formats. The user clicks on the target that needs to be shot on the screen, and the mobile phone camera focuses on the target. After the focus is completed, the mobile phone prompts (such as sound, the focus frame is discolored), and the user presses the 303 left eye button to complete the left eye photo shooting.
  • the user moves the mobile phone to the right in the horizontal direction by a certain distance, for example, moving 4-6cm, adjusting the shooting target to the same position in the left eye photo, clicking the target, and after the mobile phone finishes focusing, press the 304 right eye image shooting button to complete the right eye. take photo. If you are shooting with a professional horizontal mobile device, the left eye photo and the right eye photo can reproduce the photos seen by the left and right eyes very accurately.
  • the left eye image and the right eye image have a high degree of matching. Click the 304 right eye button to complete the right eye image.
  • the mobile phone automatically calculates the matching degree between the left eye image and the reference scene on the display screen.
  • the matching degree reaches the preset value, the user is reminded to take the right eye image shooting, or can automatically shoot.
  • the preset value can be 90%, that is, if the match is more than 90%, the shooting prompt information will be displayed or the shooting will be automatically performed.
  • click the 306 save button to generate a pair of stereo photos in the left and right format.
  • the right eye photo After the right eye photo is taken, if the shooting target of the right eye image is found to be very different from the shooting target of the left eye image remaining in the display, click the 305 right and left adaptation button to make the right eye image in the photo adjustment state (or right eye).
  • the photo adjustment status is automatically entered after the picture is taken.
  • the right eye image can be moved up and down, left and right rotated, zoomed in and out, etc. to achieve matching between the right eye image and the left eye image.
  • click the 306 Save button to generate a pair of stereo photos in left and right format.
  • FIG. 3c and 3d it is an interface layout diagram for taking pictures of left and right pictures in a dual screen.
  • the display screen is divided into two left and right view frames, and 307 is a schematic diagram of the shooting target in the left eye image.
  • the user clicks on the shooting target to complete the focus, and presses the shooting button to complete the left eye image shooting.
  • the screenshot in the target focus frame appears for the right eye to adjust the position reference.
  • the phone to the right by a certain distance. For example, you can move 4-6cm to take a right eye shot.
  • 309 is an initial schematic diagram of the shooting target when the right eye image is taken.
  • the image 309 and the image 308 are substantially coincident, the right eye framing is completed, and the focus shooting is performed.
  • Fig. 3d it is a stereoscopic picture in the left and right format (the two photos have a certain difference in viewing angle), and a very stereoscopic effect picture can be seen through the viewing screen.
  • the embodiment provides a mobile terminal having a single camera.
  • the mobile terminal includes an acquisition module, a determination module, a synthesis module, and a save module.
  • the acquiring module is configured to: at the first shooting position, collect the first view image data of the three-dimensional scene through the camera of the mobile terminal; and capture the second shooting position of the specific distance horizontally at the first shooting position, and collect the three-dimensional image through the camera.
  • the determining module is configured to: determine the first view image data and the second view image data as left view image data and right view image data according to the corresponding photographing positions; and the synthesizing module is configured to: The left view image data and the right view image data are combined to generate composite image data; and the save module is configured to: save the composite image data.
  • the embodiment further provides another mobile terminal.
  • the mobile terminal includes each module in the mobile terminal, and the mobile terminal further includes an intercepting module and a display module.
  • the intercepting module is configured to: after the collecting module acquires the first view image data of the three-dimensional scene, intercept the specific part of the image data of the first view image data; and the display module is configured to: collect the second part of the three-dimensional scene in the collecting module The specific image data is displayed on the display screen of the mobile terminal when viewing the image data.
  • the intercepting module is further configured to: intercept image data in the in-focus frame of the first view image data, image data of four corners, image data of four sides, and at least one of all image data.
  • the embodiment further provides a mobile terminal.
  • the mobile terminal includes each module in the mobile terminal, and the display module of the mobile terminal further includes a processing submodule and a display submodule.
  • the processing submodule is configured to: perform at least one of translucent processing, dashed line processing, black and white processing, and monochrome processing on the image data of the first partial view image of the intercepted first view; the display submodule is set to: the processing submodule The processed partial image data is displayed on the display of the mobile terminal.
  • the display module is further configured to: when the first shooting level is displaced by the second shooting position of the specific distance, and the second viewing angle image data of the three-dimensional scene is displayed in the display finder frame, the specific partial image data is displayed in the framing frame.
  • the display module is further configured to: divide the display screen into the first finder frame and the second framing frame, and shift the first photographic frame to the second photographic frame at a specific distance, and the first view image data is displayed in the first framing frame Internal; display specific part of the image data in the second framing frame.
  • the embodiment further provides a mobile terminal.
  • the mobile terminal includes each module in the mobile terminal, and the collection module of the mobile terminal further includes a matching submodule and an adjustment submodule.
  • the matching sub-module is configured to calculate a specific degree of matching between the second view image data and the first view image data, and complete the second view image data acquisition when the matching degree exceeds the preset value, or display the collection prompt information according to the user.
  • the acquiring instruction completes the second perspective image data collection;
  • the adjusting submodule is configured to: collect the preliminary second perspective image data, and receive the adjustment control instruction of the image data of the preliminary second perspective image data by the user, and adjust the adjusted Preparing a second perspective image The data is used as the second perspective image data.
  • the embodiment further provides another mobile terminal.
  • the mobile terminal includes each module in the mobile terminal, and the synthesis module of the mobile terminal includes a left and right synthesis sub-module, a raster synthesis sub-module, or a red-blue composite. Submodule.
  • the left and right synthesis sub-module is configured to: synthesize the left-view image data and the right-view image data by matching to synthesize the left-right format three-dimensional image data; and the raster synthesis sub-module is configured to: convert the left-view image data and the right-view image data through the raster conversion
  • the application converts the composite raster format three-dimensional image data; the red-blue composite sub-module is configured to convert the left-view image data and the right-view image data into a red-blue format three-dimensional image data through a red-blue conversion application.
  • the photographing method of the embodiment of the invention realizes that the mobile terminal captures a three-dimensional stereo photograph, and the stereo photograph can be photographed by using only one camera, thereby reducing the cost, enabling the user to obtain a three-dimensional stereo photograph by using the mobile terminal for simple operation, and increasing the user's photographing. Fun, improve user experience.

Abstract

A method for taking a three-dimensional picture based on a mobile terminal, and a mobile terminal, the method comprising: at a first photographing position, acquiring first viewing angle image data of a three-dimensional scene via a camera; at a second photographing position horizontally displaced a specific distance from the first photographing position, acquiring second viewing angle image data of the three-dimensional scene via the camera; determining the first viewing angle image data and the second viewing angle image data as left viewing angle image data and right viewing angle image data according to the corresponding photographing positions thereof; synthesizing the left viewing angle image data and the right viewing angle image data, and generating and storing the synthesized image data.

Description

一种基于移动终端的三维照片拍摄方法及移动终端Three-dimensional photo shooting method based on mobile terminal and mobile terminal 技术领域Technical field
本发明涉及一种拍摄技术领域,特别是涉及一种基于移动终端的三维照片拍摄方法及移动终端。The present invention relates to the field of photographing technology, and in particular, to a three-dimensional photo shooting method based on a mobile terminal and a mobile terminal.
背景技术Background technique
3D技术的高速发展,极大的促进了立体拍摄技术。随着红蓝眼镜、裸眼3D显示屏和观屏镜等在手机或照相机终端上的应用,特别价格非常低廉的红蓝眼镜的广泛使用,使得目前的手机或照相机在不需要改变手机硬件的情况下,只要更新软件,就能在这些终端上看3D电影和照片。The rapid development of 3D technology has greatly promoted the stereoscopic shooting technology. With the application of red and blue glasses, naked-eye 3D display and viewing mirrors on mobile phones or camera terminals, the extremely expensive red and blue glasses are widely used, so that the current mobile phone or camera does not need to change the hardware of the mobile phone. Then, as long as the software is updated, you can watch 3D movies and photos on these terminals.
在当前智能手机拍照功能日趋强大,已成为手机的重要功能,其取代卡片照相机趋势不可阻挡。各手机厂家在手机拍照方面不断更新硬件配置,增加拍摄功能。目前智能手机拍照摄像头像素已达到1300万,拍摄后可以对照片进行裁剪,美化等工作。但绝大多智能手机拍照是平面照片,而比平面照片更具有现场感,景深感,能给人带来身临其境的感觉得立体照片,但是这些手机或者照相机都只有单摄像头,所以在一般的智能手机上难以实现立体照片拍摄与观看。In the current smart phone camera function has become increasingly powerful, has become an important function of the mobile phone, its replacement card camera trend is unstoppable. Each mobile phone manufacturer constantly updates the hardware configuration in the mobile phone camera and increases the shooting function. At present, the number of pixels in the smartphone camera has reached 13 million. After shooting, the photo can be cropped, beautified and so on. However, most smartphone photos are flat photos, and they are more lively than flat photos. The depth of field can give people a stereoscopic photo of immersive feeling, but these mobile phones or cameras only have a single camera, so Stereo photo shooting and viewing is difficult on a typical smartphone.
发明内容Summary of the invention
本发明实施例要解决的主要技术问题是,如何只需要利用的移动终端一个摄像头拍摄三维立体照片。The main technical problem to be solved by the embodiment of the present invention is how to use only one camera of the mobile terminal to take a three-dimensional stereo photograph.
为解决上述问题,本发明实施例提供一种基于移动终端的三维照片拍摄方法,包括:在第一拍摄位置,通过移动终端摄像头采集一三维场景的第一视角图像数据;在所述第一拍摄位置水平位移特定距离的第二拍摄位置,通过所述摄像头采集所述三维场景的第二视角图像数据;根据其对应的拍摄位置将所述第一视角图像数据和所述第二视角图像数据确定为左视角图像数据 和右视角图像数据;将所述左视角图像数据和所述右视角图像数据进行合成,生成合成图像数据;保存所述合成图像数据。In order to solve the above problem, an embodiment of the present invention provides a method for photographing a three-dimensional photo based on a mobile terminal, comprising: collecting, at a first shooting position, a first perspective image data of a three-dimensional scene by a camera of the mobile terminal; Positioning a second shooting position of the specific distance by a horizontal distance, acquiring second viewing angle image data of the three-dimensional scene by the camera; determining the first viewing angle image data and the second viewing angle image data according to the corresponding shooting position Image data for left view And right-view image data; synthesizing the left-view image data and the right-view image data to generate composite image data; and saving the composite image data.
在本发明的一种实施例中,在采集一三维场景的第一视角图像数据后,还包括步骤:截取所述第一视角图像数据的特定部分图像数据;并在采集所述三维场景的第二视角图像数据时将所述特定部分图像数据显示在移动终端显示屏上。In an embodiment of the present invention, after acquiring the first view image data of the three-dimensional scene, the method further includes: capturing a specific portion of the image data of the first view image data; and collecting the third-dimensional scene The specific partial image data is displayed on the display screen of the mobile terminal when the two-view image data is used.
在本发明的一种实施例中,所述截取所述第一视角图像数据的特定部分图像数据具体包括:截取所述第一视角图像数据的对焦框内的图像数据、四个角的图像数据、四个边的图像数据和全部图像数据中的至少一种。In an embodiment of the present invention, the intercepting the specific partial image data of the first view image data specifically includes: intercepting image data in the in-focus frame of the first view image data, and image data of four corners. At least one of image data of four sides and all image data.
在本发明的一种实施例中,所述将所述特定部分图像数据显示在移动终端显示屏上具体包括:对截取的所述第一视角图像特定部分图像数据进行半透明处理、虚线处理、黑白处理和单色处理中的至少一种处理;将所述第一视角图像数据处理后的特定部分图像数据显示在移动终端显示屏上。In an embodiment of the present invention, the displaying the specific partial image data on the display screen of the mobile terminal specifically includes: performing translucent processing, dotted line processing, and the dotted line processing on the image data of the specific portion of the first view image captured. At least one of black and white processing and monochrome processing; displaying the specific partial image data processed by the first perspective image data on a display screen of the mobile terminal.
在本发明的一种实施例中,所述第一视角图像数据处理后的特定部分图像数据显示在移动终端显示屏上包括:在所述第一拍摄水平位移特定距离的第二拍摄位置,显示屏取景框内显示为所述三维场景的第二视角图像数据时,将所述特定部分图像数据显示在所述取景框内。In an embodiment of the present invention, displaying the specific partial image data after the first view image data processing on the display screen of the mobile terminal includes: displaying, at the second photographing position of the first photographing level by a certain distance, displaying When the second view image data of the three-dimensional scene is displayed in the screen capture frame, the specific partial image data is displayed in the finder frame.
在本发明的一种实施例中,所述采集所述三维场景的第二视角图像数据包括:将显示屏分为第一取景框和第二取景框,在所述第一拍摄水平位移特定距离的第二拍摄位置,所述第一视角图像数据显示在所述第一取景框内;将所述特定部分图像数据显示在所述第二取景框内。In an embodiment of the present invention, the acquiring the second view image data of the three-dimensional scene comprises: dividing the display screen into a first view frame and a second view frame, and shifting the specific distance at the first photographing level a second photographing position, the first view image data is displayed in the first view frame; and the specific portion image data is displayed in the second view frame.
在本发明的一种实施例中,所述采集所述三维场景的第二视角图像数据包括以下处理方式中的任意一种:计算第二视角图像数据与第一视角图像数据的特定部分匹配度,当匹配度超过预设值时完成所述第二视角图像数据采集,或显示采集提示信息并根据用户采集指令完成所述第二视角图像数据采集;采集预备第二视角图像数据,接收用户对预备第二视角图像数据的图像数据的调整控制指令进行调整,将调整后的预备第二视角图像数据作为第二 视角图像数据。In an embodiment of the present invention, the acquiring the second view image data of the three-dimensional scene includes any one of the following processing manners: calculating a specific partial matching degree between the second view image data and the first view image data. When the matching degree exceeds the preset value, the second perspective image data collection is completed, or the collection prompt information is displayed, and the second perspective image data acquisition is completed according to the user acquisition instruction; the preliminary second perspective image data is collected, and the user is received. Adjusting the adjustment control command of the image data of the second view image data, and adjusting the adjusted preliminary second view image data as the second Perspective image data.
在本发明的一种实施例中,所述将所述左视角图像数据和所述右视角图像数据进行合成,生成合成图像数据具体包括以下方式中的至少一种:将所述左视角图像数据和所述右视角图像数据通过匹配合成左右格式三维图像数据;将所述左视角图像数据和所述右视角图像数据通过光栅转换应用程序转换合成光栅格式三维图像数据;将所述左视角图像数据和所述右视角图像数据通过红蓝转换应用程序转换合成红蓝格式三维图像数据。In an embodiment of the present invention, the synthesizing the left view image data and the right view image data to generate the composite image data specifically includes at least one of the following manners: the left view image data Synthesizing left and right format three-dimensional image data by matching with the right-view image data; converting the left-view image data and the right-view image data into a raster image by using a raster conversion application; and combining the left-view image data And synthesizing the red-blue format three-dimensional image data by the red-blue conversion application and the right-view image data.
为解决上述问题,本发明还提供一种具有单摄像头的移动终端,该移动终端包括采集模块、确定模块、合成模块和保存模块:所述采集模块,设置为:在第一拍摄位置,通过移动终端摄像头采集一三维场景的第一视角图像数据;和在所述第一拍摄位置水平位移特定距离的第二拍摄位置,通过所述摄像头采集所述三维场景的第二视角图像数据;所述确定模块,设置为:根据其对应的拍摄位置将所述第一视角图像数据和所述第二视角图像数据确定为左视角图像数据和右视角图像数据;所述合成模块,设置为:将所述左视角图像数据和所述右视角图像数据进行合成,生成合成图像数据;所述保存模块,设置为:保存所述合成图像数据。In order to solve the above problem, the present invention further provides a mobile terminal having a single camera, the mobile terminal comprising an acquisition module, a determination module, a synthesis module and a save module: the acquisition module is configured to: move at the first shooting position by moving The terminal camera collects first view image data of a three-dimensional scene; and a second photographing position that is horizontally displaced by a specific distance at the first photographing position, and collects second view image data of the three-dimensional scene through the camera; the determining a module, configured to: determine the first perspective image data and the second perspective image data as left view image data and right view image data according to a corresponding photographing position thereof; the synthesizing module is configured to: The left view image data and the right view image data are combined to generate composite image data; and the save module is configured to save the composite image data.
在本发明的一种实施例中,所述移动终端还包括截取模块和显示模块:所述截取模块,设置为:在采集模块采集一三维场景的第一视角图像数据后,截取所述第一视角图像数据的特定部分图像数据;所述显示模块,设置为:在采集模块采集所述三维场景的第二视角图像数据时将所述特定部分图像数据显示在移动终端显示屏上。In an embodiment of the present invention, the mobile terminal further includes an intercepting module and a display module: the intercepting module is configured to: after the collecting module acquires the first perspective image data of a three-dimensional scene, intercepting the first a specific portion of the image data of the view image data; the display module is configured to display the specific portion of the image data on the display screen of the mobile terminal when the acquisition module acquires the second view image data of the three-dimensional scene.
在本发明的一种实施例中,所述截取模块还设置为:截取所述第一视角图像数据的对焦框内的图像数据、四个角的图像数据、四个边的图像数据和全部图像数据中的至少一种。In an embodiment of the present invention, the intercepting module is further configured to: intercept image data in a focus frame of the first view image data, image data of four corners, image data of four sides, and all images At least one of the data.
在本发明的一种实施例中,所述显示模块还包括处理子模块和显示子模块:所述处理子模块,设置为:对截取的所述第一视角图像特定部分图像数据进行半透明处理、虚线处理、黑白处理和单色处理中的至少一种处理;所述显示子模块,设置为:将处理子模块处理后的特定部分图像数据显示在移 动终端显示屏上。In an embodiment of the present invention, the display module further includes a processing sub-module and a display sub-module: the processing sub-module is configured to: perform semi-transparent processing on the captured partial image data of the first view image At least one of a dashed line processing, a black and white processing, and a monochrome processing; the display sub-module is configured to: display a specific partial image data processed by the processing sub-module in a shift On the display of the terminal.
在本发明的一种实施例中,所述显示模块还设置为:在所述第一拍摄水平位移特定距离的第二拍摄位置,显示屏取景框内显示为所述三维场景的第二视角图像数据时,将所述特定部分图像数据显示在所述取景框内。In an embodiment of the present invention, the display module is further configured to: at a second shooting position where the first shooting level is displaced by a specific distance, and displayed in the display finder frame as a second viewing angle image of the three-dimensional scene In the case of data, the specific partial image data is displayed in the finder frame.
在本发明的一种实施例中,所述显示模块还设置为:显示屏分为第一取景框和第二取景框,在所述第一拍摄水平位移特定距离的第二拍摄位置,所述第一视角图像数据显示在所述第一取景框内;将所述特定部分图像数据显示在所述第二取景框内。In an embodiment of the present invention, the display module is further configured to: the display screen is divided into a first finder frame and a second framing frame, wherein the first shooting level is displaced by a second shooting position of a specific distance, The first perspective image data is displayed in the first finder frame; the specific partial image data is displayed in the second finder frame.
在本发明的一种实施例中,所述采集模块还包括匹配子模块和调整子模块:所述匹配子模块,设置为:计算第二视角图像数据与第一视角图像数据的特定部分匹配度,当匹配度超过预设值时完成所述第二视角图像数据采集,或显示采集提示信息并根据用户采集指令完成所述第二视角图像数据采集;所述调整子模块,用设置为:集预备第二视角图像数据,接收用户对预备第二视角图像数据的图像数据的调整控制指令进行调整,将调整后的预备第二视角图像数据作为第二视角图像数据。In an embodiment of the present invention, the acquisition module further includes a matching sub-module and an adjustment sub-module: the matching sub-module is configured to: calculate a matching degree between the second view image data and the specific portion of the first view image data When the matching degree exceeds the preset value, the second perspective image data collection is completed, or the collection prompt information is displayed and the second perspective image data collection is completed according to the user acquisition instruction; the adjustment submodule is set as: The second view image data is prepared, and the user receives the adjustment control command for the image data of the preliminary second view image data, and adjusts the adjusted preliminary second view image data as the second view image data.
在本发明的一种实施例中,所述合成模块包括左右合成子模块、光栅合成子模块或红蓝合成子模块:所述左右合成子模块,设置为:将所述左视角图像数据和所述右视角图像数据通过匹配合成左右格式三维图像数据;所述光栅合成子模块,设置为:将所述左视角图像数据和所述右视角图像数据通过光栅转换应用程序转换合成光栅格式三维图像数据;所述红蓝合成子模块,设置为:将所述左视角图像数据和所述右视角图像数据通过红蓝转换应用程序转换合成红蓝格式三维图像数据。In an embodiment of the present invention, the synthesizing module includes a left and right synthesizing submodule, a raster synthesizing submodule, or a red and blue synthesizing submodule: the left and right synthesizing submodule is configured to: the left view image data and the The right-view image data is synthesized by matching the left-right format three-dimensional image data; the raster synthesis sub-module is configured to: convert the left-view image data and the right-view image data into a raster image by using a raster conversion application The red-blue synthesis sub-module is configured to convert the left-view image data and the right-view image data into a red-blue format three-dimensional image data through a red-blue conversion application.
本发明实施例还提供一种计算机程序,包括程序指令,当该程序指令被移动终端执行时,使得该移动终端可执行上面所述的方法。Embodiments of the present invention also provide a computer program, including program instructions, that when executed by a mobile terminal, cause the mobile terminal to perform the method described above.
本发明实施例还提供一种载有上述计算机程序的计算机可读存储介质。Embodiments of the present invention also provide a computer readable storage medium carrying the above computer program.
本申请实施例的拍摄方法实现了移动终端拍摄三维立体照片,只利用一 个摄像头就能完成立体照片的拍摄,降低了成本,使用户能利用移动终端进行简单操作得到三维立体照片,增加了用户拍摄乐趣,提高用户的体验度。The photographing method of the embodiment of the present application realizes that the mobile terminal takes a three-dimensional stereo photograph, and only uses one The camera can complete the stereo photo shooting, which reduces the cost, enables the user to use the mobile terminal to perform simple operations to obtain three-dimensional stereo photos, which increases the user's shooting pleasure and improves the user experience.
附图概述BRIEF abstract
图1为本发明实施例一提供的三维照片拍摄方法的流程示意图;1 is a schematic flow chart of a method for photographing a three-dimensional photo according to Embodiment 1 of the present invention;
图2a为本发明实施例二提供的三维照片拍摄方法的流程示意图;2a is a schematic flow chart of a method for photographing a three-dimensional photo according to Embodiment 2 of the present invention;
图2b为本发明实施例二提供的三维照片拍摄方法中,采集第一视角照片的图像数据示意图;FIG. 2b is a schematic diagram of image data of a first-view photo taken in a three-dimensional photo shooting method according to Embodiment 2 of the present invention; FIG.
图2c为本发明实施例二提供的三维照片拍摄方法中,截取第一视角照片的全部图像数据虚线处理示意图;2c is a schematic diagram of a dashed line processing process for capturing all image data of a first view photo in a three-dimensional photo shooting method according to Embodiment 2 of the present invention;
图2d为本发明实施例二提供的三维照片拍摄方法中,采集第二视角照片的图像数据以第一视角照片的全部图像数据虚线图为参考示意图;FIG. 2 is a schematic diagram of the image data of the second perspective photo taken as a reference picture of all the image data of the first perspective photo according to the second embodiment of the present invention;
图2e为本发明实施例二提供的三维照片拍摄方法中,截取第一视角照片的部分图像数据虚线处理示意图;2 e is a schematic diagram of a partial line image data processing process for capturing a first view photo in a three-dimensional photo shooting method according to Embodiment 2 of the present invention;
图2f为本发明实施例二提供的三维照片拍摄方法中,采集第二视角照片的图像数据以第一视角照片的部分图像数据虚线图为参考示意图;2f is a schematic diagram of a partial image data of a first perspective photo taken as a reference in a method for photographing a three-dimensional photograph according to a second embodiment of the present invention;
图3a为本发明实施例三提供的三维照片拍摄方法中,单屏拍摄界面示意图;3a is a schematic diagram of a single-screen shooting interface in a three-dimensional photo shooting method according to Embodiment 3 of the present invention;
图3b为本发明实施例三提供的三维照片拍摄方法中,单屏拍摄界面右眼照片示意图;FIG. 3b is a schematic diagram of a right-eye photograph of a single-screen shooting interface in a three-dimensional photo shooting method according to Embodiment 3 of the present invention; FIG.
图3c为本发明实施例三提供的三维照片拍摄方法中,双屏拍摄界面示意图;3c is a schematic diagram of a dual-screen shooting interface in a three-dimensional photo shooting method according to Embodiment 3 of the present invention;
图3d为本发明实施例三提供的三维照片拍摄方法中,合成左右格式三维图像数据示意图;FIG. 3 is a schematic diagram of synthesizing left and right format three-dimensional image data in a three-dimensional photo shooting method according to Embodiment 3 of the present invention; FIG.
图4为本发明实施例四提供的具有单摄像头的移动终端第一种结构示意图;4 is a schematic diagram of a first structure of a mobile terminal with a single camera according to Embodiment 4 of the present invention;
图5为本发明实施例四提供的具有单摄像头的移动终端第二种结构示意 图;FIG. 5 is a schematic diagram showing a second structure of a mobile terminal having a single camera according to Embodiment 4 of the present invention; FIG. Figure
图6为本发明实施例四提供的具有单摄像头的移动终端第三种结构示意图;6 is a schematic diagram of a third structure of a mobile terminal with a single camera according to Embodiment 4 of the present invention;
图7为本发明实施例四提供的具有单摄像头的移动终端第四种结构示意图;FIG. 7 is a schematic structural diagram of a fourth type of mobile terminal having a single camera according to Embodiment 4 of the present invention; FIG.
图8为本发明实施例四提供的具有单摄像头的移动终端第五种结构示意图。FIG. 8 is a schematic structural diagram of a fifth type of mobile terminal having a single camera according to Embodiment 4 of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
本发明实施例提供移动终端单摄像头三维照片拍摄的方法及移动终端,对于如何观看立体照片可通过现有的观看立体照片技术进行观看,使移动终端也具备立体照片拍摄功能,简化用户拍摄欣赏立体照片的操作。给用户带来更多的拍摄乐趣,通过手机就可向他人分享立体照片。下面结合附图对本发明的实施例作详细描述,在不冲突的情况下,本发明实施例和实施例中的特征可以相互任意组合。The embodiment of the invention provides a method for photographing a three-dimensional photo of a single camera of a mobile terminal and a mobile terminal. The stereoscopic photo can be viewed through the existing stereoscopic photo technology, so that the mobile terminal also has a stereo photo shooting function, which simplifies the user's shooting and enjoys the stereoscopic image. Photo manipulation. Give users more fun to shoot, and share stereo photos with others via mobile phone. The embodiments of the present invention are described in detail below with reference to the accompanying drawings, and the features of the embodiments and the embodiments of the present invention can be arbitrarily combined with each other without conflict.
实施例一Embodiment 1
本实施例提供了一种基于移动终端的三维照片拍摄方法,请参见图1,图1为移动终端的三维照片拍摄方法的流程示意图,该方法包括:The embodiment provides a method for photographing a three-dimensional photo based on a mobile terminal. Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a method for photographing a three-dimensional photo of a mobile terminal, where the method includes:
步骤S101:在第一拍摄位置,通过摄像头采集一三维场景的第一视角图像数据;Step S101: collecting, at the first shooting position, the first perspective image data of a three-dimensional scene by using a camera;
此步骤中,用户将移动终端上摄像头对准需要拍摄的三维场景,影像传感器将采集到的光信号转换成电信号(模拟信号),然后处理器将模拟信号转换成数字信号,成为第一视角照片的图像数据,并在发送至显示屏供用户预览。用户通过预览后,确定满意后可以将该图像数据进行保存。具体的保存可包括将第一视角照片的图像数据被编码为摄像装置所支持的数据格式,生成图像文件,被暂存在存储器中,此存储器可以为内置存储器,也可以为移动存储器。此操作的进行是通过用户按下某个操作按钮来实现的,例如快门或拍照按键。 In this step, the user points the camera on the mobile terminal to the three-dimensional scene to be photographed, and the image sensor converts the collected optical signal into an electrical signal (analog signal), and then the processor converts the analog signal into a digital signal to become the first angle of view. The image data of the photo is sent to the display for the user to preview. After the user has previewed, the image data can be saved after being determined to be satisfactory. The specific saving may include encoding the image data of the first view photo into a data format supported by the camera device, and generating an image file, which is temporarily stored in the memory, and the memory may be a built-in memory or a mobile memory. This operation is performed by the user pressing an operation button, such as a shutter or a photo button.
步骤S102:在第一拍摄位置水平位移特定距离的第二拍摄位置,通过摄像头采集三维场景的第二视角图像数据;Step S102: horizontally shifting the second photographing position of the specific distance horizontally at the first photographing position, and acquiring second view image data of the three-dimensional scene by the camera;
此步骤中,用户将手机向右沿着水平方向位移特定距离,该特定距离根据拍摄场景进行具体移动,例如该特定距离可为4-6cm即调整为人左右眼眼瞳距离,这里可以向左水平移动,也可向右水平移动。当然该特定距离具体应该对拍摄三维场景的距离远近作为移动参考,例如如果拍摄近景就需要位移距离相对比较小,而拍摄远景其需要位移距离相对较远。当然该移动过程也可通过其他方式进行移动。应该理解为只要能将拍摄位置水平位移特定距离的位置,使第二视角照片的图像数据与第一视角照片的图像数据具有一定视角差就可以。当然具体的过程可通过用户来对拍摄的目标进行调整,当然必须保证与第一视角照片的图像数据时同一个三维场景,即两次拍摄是对同一目标的不同角度的拍摄。由于两次拍摄在不同的视角,可选的,拍摄场景为静态的场景。In this step, the user shifts the mobile phone to the right in the horizontal direction by a specific distance, and the specific distance is specifically moved according to the shooting scene. For example, the specific distance may be 4-6 cm, that is, the left and right eyelid distance is adjusted, and the horizontal distance may be left here. Move, or move horizontally to the right. Of course, the specific distance should specifically be a distance reference for the distance of the three-dimensional scene. For example, if the close-up is taken, the displacement distance needs to be relatively small, and the shooting distance requires a relatively long displacement distance. Of course, the movement process can also be moved in other ways. It should be understood that as long as the shooting position can be horizontally displaced by a certain distance, the image data of the second viewing angle image and the image data of the first viewing angle photo have a certain viewing angle difference. Of course, the specific process can be adjusted by the user to the target of the shooting. Of course, it must be ensured that the image data of the first-view photo is the same three-dimensional scene, that is, the two shots are shots of different angles of the same target. Since the two shots are in different viewing angles, the shooting scene is a static scene.
步骤S103:将第一视角图像数据和第二视角图像数据根据对应的拍摄位置确定为左视角图像数据和右视角图像数据;Step S103: determining first view image data and second view image data as left view image data and right view image data according to corresponding photographing positions;
此步骤中,如果在拍摄第一视角照片的图像数据后向右水平移动,那么该第一视角照片的图像数据就为左眼视角照片数据,第二视角照片的图像数据就为右眼视角照片数据;如果在拍摄第一视角照片的图像数据后向左水平移动,那么该第一视角照片的图像数据就为右眼视角照片数据,第二视角照片的图像数据就为左眼视角照片数据。应该理解为根据具体拍摄第一视角照片的图像数据和第二视角照片的图像数据确定真实左视角图像数据和右视角图像数据。In this step, if the image data of the first view photo is taken to the right and then moved horizontally, the image data of the first view photo is the left eye view photo data, and the image data of the second view photo is the right eye view photo. Data; if the image data of the first view photo is taken to the left, the image data of the first view photo is the right eye view photo data, and the image data of the second view photo is the left eye view photo data. It should be understood that the real left view image data and the right view image data are determined according to the image data of the first view photo and the image data of the second view photo.
步骤S104:将左视角图像数据和右视角图像数据进行合成,生成合成图像数据;Step S104: synthesizing left view image data and right view image data to generate composite image data;
此步骤中,应该理解为可以借助其他现有的软件和移动终端本身摄像的基本操作来完成以及现有的相关计算来完成图像数据的合成。In this step, it should be understood that the synthesis of the image data can be completed by the basic operations of the other existing software and the mobile terminal itself, and the existing related calculations.
步骤S105:保存合成图像数据。 Step S105: Save the composite image data.
用户根据步骤S104中合成的立体照片的合成图像数据进行预览,如果符合用户的需要,则可以按下确认键,将合成图像数据保存在存储器中。此步骤发生在用户确定显示屏上图像满足的立体效果明显之后,按下某个操作键来完成,例如快门或拍照保存按键。The user performs preview based on the composite image data of the stereo photos synthesized in step S104, and if the user's needs are met, the composite image data can be saved in the memory by pressing the enter key. This step occurs after the user determines that the stereoscopic effect of the image on the display is obvious, and presses an operation button to complete, such as a shutter or a photo save button.
实施例二Embodiment 2
本实施例提供了一种更详细的移动终端单摄像头三维照片拍摄的方法,在本实施例中,用户可根据第一视角照片的图像数据进行参考进行第二视角照片的图像数据进行拍摄,提高拍摄的精准性,便于更好的体现三维立体效果。请参见图2a,该方法包括如下步骤:The embodiment provides a more detailed method for three-dimensional photo shooting of a single camera of a mobile terminal. In this embodiment, the user can perform image capturing of the image data of the second perspective photo according to the image data of the first perspective photo. The accuracy of the shooting makes it easier to better reflect the three-dimensional effect. Referring to FIG. 2a, the method includes the following steps:
步骤S201:在第一拍摄位置,通过移动终端摄像头采集一三维场景的第一视角图像数据;Step S201: collecting, at the first shooting position, the first perspective image data of a three-dimensional scene by the camera of the mobile terminal;
此步骤中,用户将移动终端上摄像头对准需要拍摄的三维场景,影像传感器将采集到的光信号转换成电信号(模拟信号),然后处理器将模拟信号转换成数字信号,成为第一视角照片的图像数据,并在发送至显示屏供用户预览。用户通过预览后,确定满意后可以将该图像数据进行保存。具体的保存可包括将第一视角照片的图像数据被编码为摄像装置所支持的数据格式,生成图像文件,被暂存在存储器中,此存储器可以为内置存储器,也可以为移动存储器。此操作的进行是通过用户按下某个操作按钮来实现的,例如快门或拍照按键。In this step, the user points the camera on the mobile terminal to the three-dimensional scene to be photographed, and the image sensor converts the collected optical signal into an electrical signal (analog signal), and then the processor converts the analog signal into a digital signal to become the first angle of view. The image data of the photo is sent to the display for the user to preview. After the user has previewed, the image data can be saved after being determined to be satisfactory. The specific saving may include encoding the image data of the first view photo into a data format supported by the camera device, and generating an image file, which is temporarily stored in the memory, and the memory may be a built-in memory or a mobile memory. This operation is performed by the user pressing an operation button, such as a shutter or a photo button.
步骤S202:截取第一视角图像数据的特定部分图像数据;Step S202: intercepting specific partial image data of the first perspective image data;
此步骤中,为了便于进行第二视角照片的图像数据的采集,即方便用户进行第二视角的照片图像数据的拍摄,截取第一视角图像数据特定部分图像数据。该截取的可通过用户自己进行截取,即用户自己选择特定或者喜欢的部分作为第二视角照片的图像数据的参考数据。应该理解为截取的特定部分数据只要能够作为用户进行第二视角照片的数据采集的参考都可实现。当然也可以设置按键,移动终端自动获取第一视角照片的图像数据的特定部分。 In this step, in order to facilitate the acquisition of the image data of the second perspective photo, that is, the user conveniently performs the photographing of the photo image data of the second viewing angle, the image data of the specific portion of the first viewing angle image data is intercepted. The interception can be intercepted by the user himself, that is, the user himself selects a specific or favorite portion as reference data of the image data of the second perspective photo. It should be understood that the specific portion of the intercepted data can be implemented as long as it can be used as a reference for the user to perform data collection of the second perspective photo. Of course, a button can also be set, and the mobile terminal automatically acquires a specific portion of the image data of the first view photo.
步骤S203:将特定部分图像数据显示在移动终端显示屏上;Step S203: Display specific partial image data on the display screen of the mobile terminal;
该步骤中,获取第一视角照片的图像数据的特定部分后,可供用户进行先预览,预览满意后,将第一视角照片的特定部分显示在拍摄预览界面上供用户参考。In this step, after obtaining a specific portion of the image data of the first perspective photo, the user can preview the image first, and after the preview is satisfied, the specific portion of the first perspective photo is displayed on the shooting preview interface for the user to refer to.
步骤S204:在第一拍摄水平位移特定距离的第二拍摄位置,通过摄像头采集三维场景的第二视角图像数据;Step S204: The second shooting angle data of the three-dimensional scene is acquired by the camera by the second shooting position of the specific shooting distance of the first shooting level;
此步骤中,用户将手机向右沿着水平方向位移特定距离,该特定距离根据拍摄场景进行具体移动,例如该特定距离可为4-6cm,这里可以向左水平移动,也可向右水平移动。当然该特定距离具体应该对拍摄三维场景的距离远近作为移动参考,例如如果拍摄近景就需要位移距离相对比较小,而拍摄远景其需要位移距离相对较远。当然该移动过程也可通过其他方式进行移动。应该理解为只要能将拍摄位置水平位移特定距离的位置,使第二视角照片的图像数据与第一视角照片的图像数据具有一定视角差就可以。当然具体的过程可通过用户来对拍摄的目标进行调整,当然必须保证与第一视角照片的图像数据时同一个三维场景,即两次拍摄是对同一目标的不同角度的拍摄。由于两次拍摄在不同的视角,可选的,拍摄场景为静态的场景。In this step, the user shifts the mobile phone to the right in the horizontal direction by a specific distance, and the specific distance is specifically moved according to the shooting scene. For example, the specific distance may be 4-6 cm, where the horizontal distance may be moved to the left or horizontally to the right. . Of course, the specific distance should specifically be a distance reference for the distance of the three-dimensional scene. For example, if the close-up is taken, the displacement distance needs to be relatively small, and the shooting distance requires a relatively long displacement distance. Of course, the movement process can also be moved in other ways. It should be understood that as long as the shooting position can be horizontally displaced by a certain distance, the image data of the second viewing angle image and the image data of the first viewing angle photo have a certain viewing angle difference. Of course, the specific process can be adjusted by the user to the target of the shooting. Of course, it must be ensured that the image data of the first-view photo is the same three-dimensional scene, that is, the two shots are shots of different angles of the same target. Since the two shots are in different viewing angles, the shooting scene is a static scene.
步骤S205:将第一视角图像数据和第二视角图像数据根据对应的拍摄位置确定为左视角图像数据和右视角图像数据;Step S205: determining first view image data and second view image data as left view image data and right view image data according to corresponding photographing positions;
此步骤中,如果在拍摄第一视角照片的图像数据后向右水平移动,那么该第一视角照片的图像数据就为左眼视角照片数据,第二视角照片的图像数据就为右眼视角照片数据;如果在拍摄第一视角照片的图像数据后向左水平移动,那么该第一视角照片的图像数据就为右眼视角照片数据,第二视角照片的图像数据就为左眼视角照片数据。应该理解为根据具体拍摄第一视角照片的图像数据和第二视角照片的图像数据拍摄位置确定左眼看到的为左视角图像数据和右眼看到的为右视角图像数据。In this step, if the image data of the first view photo is taken to the right and then moved horizontally, the image data of the first view photo is the left eye view photo data, and the image data of the second view photo is the right eye view photo. Data; if the image data of the first view photo is taken to the left, the image data of the first view photo is the right eye view photo data, and the image data of the second view photo is the left eye view photo data. It should be understood that the left-view image data and the right-eye view data which are seen by the left eye are determined according to the image data of the first-view photograph and the image data photographing position of the second-view photograph.
步骤S206:将左视角图像数据和右视角图像数据进行合成,生成合成图像数据; Step S206: synthesizing left view image data and right view image data to generate composite image data;
此步骤中,应该理解为可以借助其他现有的软件和移动终端本身摄像的基本操作来完成以及现有的相关计算来完成图像数据的合成。In this step, it should be understood that the synthesis of the image data can be completed by the basic operations of the other existing software and the mobile terminal itself, and the existing related calculations.
步骤S207:保存合成图像数据。Step S207: Save the composite image data.
用户根据步骤S206中合成的立体照片的合成图像数据进行预览,如果符合用户的需要,则可以按下确认键,将合成图像数据保存在存储器中。此步骤发生在用户确定显示屏上图像满足的立体效果明显之后,按下某个操作键来完成,例如快门或拍照保存按键。The user performs preview based on the composite image data of the stereo photos synthesized in step S206, and if the user's needs are met, the composite image data can be saved in the memory by pressing the enter key. This step occurs after the user determines that the stereoscopic effect of the image on the display is obvious, and presses an operation button to complete, such as a shutter or a photo save button.
在上述步骤S203中,对应截取的特定部分图像数据,为了便于用户参考,可以截取第一视角图像数据的对焦框内的图像数据、四个角的图像数据、四个边的图像数据和全部图像数据中等,应该理解为截取的部分只要能够供用户进行第二视角照片的图像数据采集参考都可以实现。In the above step S203, corresponding to the captured partial partial image data, the image data in the in-focus frame of the first view image data, the image data of the four corners, the image data of the four sides, and all the images may be intercepted for the convenience of the user. The data is medium, and it should be understood that the intercepted portion can be realized as long as it can be used for the user to perform image data acquisition reference of the second perspective photo.
在上述步骤S204中,为了便于用户的观察,更好的进行第二视角照片的图像数据采集,即使参考的特定部分数据更便于参考,可对截取显示在屏幕上的内容,进行半透明处理、虚线处理、单色处理或黑白处理等处理。应该理解为,只要能使第二视角照片的图像数据采集与参考特定部分能有区别的处理都可实现。当然,截取的内容也可以不处理。In the above step S204, in order to facilitate the user's observation, the image data collection of the second perspective photo is better performed, and even if the specific part of the reference data is more convenient for reference, the content displayed on the screen may be intercepted and translucently processed. Processing such as dotted line processing, monochrome processing, or black and white processing. It should be understood that as long as the image data acquisition of the second view photo can be made different from the reference specific portion. Of course, the intercepted content can also be left unprocessed.
在上述步骤S206中,应该理解为在移动终端进行第二视角图像数据采集时,自动检测当前取景框内的图像数据与参考的特定部分图像数据的匹配程度,当匹配程度到达一定预设值,即匹配程度很高时,显示采集提示信息,提醒用户进行图像数据采集并根据用户采集指令完成所述第二视角图像数据采集或者自动进行图像数据采集。这样,更便于用户对第二视角图像数据的采集和与第一视角图像数据更好形成立体图像数据。当然,也可以先采集预备第二视角图像数据,接收用户对预备第二视角图像数据的图像数据的调整控制指令进行调整,将调整后的预备第二视角图像数据作为第二视角图像数据。具体可以理解为,先采集第二视角照片的图像数据,暂存该照片图像数据,将该图像数据显示在显示屏中供用户预览,用户观察图像数据与特点部分图像数据进行比较,如果发现与特定部分图像数据有一定偏差,通过调控指令来对其进行调整,当与特定部分数据图像基本重合时即与特定部分数据 图像向匹配高时,就保存该预备第二视角图像数据作为第二视角照片的图像数据。具体的调整包括接受用户的调控指令来对预备第二视角图像数据进行上下、左右的平移,以及对其放大或者缩小等调整。In the above step S206, it should be understood that when the mobile terminal performs the second view image data acquisition, the degree of matching between the image data in the current view frame and the reference partial image data is automatically detected, and when the matching degree reaches a certain preset value, That is, when the matching degree is high, the collection prompt information is displayed, and the user is reminded to perform image data collection and complete the second perspective image data acquisition or automatically perform image data collection according to the user acquisition instruction. In this way, it is more convenient for the user to collect the second view image data and form the stereo image data better with the first view image data. Of course, the preliminary second-view image data may be collected first, and the user may adjust the adjustment control command for the image data of the preliminary second-view image data, and the adjusted preliminary second-view image data is used as the second perspective image data. Specifically, it can be understood that the image data of the second perspective photo is collected first, the photo image data is temporarily stored, the image data is displayed on the display screen for the user to preview, and the user observation image data is compared with the characteristic partial image data, if found and The specific part of the image data has a certain deviation, which is adjusted by the control instruction, and when it is substantially coincident with the specific partial data image, it is related to the specific partial data. When the image matching is high, the preliminary second view image data is saved as the image data of the second view photo. The specific adjustment includes accepting the user's control instruction to perform the up, down, left and right translation of the preliminary second view image data, and the adjustment such as zooming in or out.
下面以第一视角照片的图像数据的全部图像数据作为参考,并且对参考的图像数据进行虚线处理为例。当然不仅限于选取全部照片的图像数据作为参考,也不仅限于对参考的特定部分做虚线处理。在采集第二视角照片图像数据是,计算第二视角图像数据与第一视角图像数据的特定部分匹配度,当匹配度超过预设值时完成第二视角图像数据采集。如图2b所示,该图为采集的第一视角照片的图像数据,该照片中包括一个房子和一颗树。可以选择该整个照片为特定部分图像数据作为第二视角照片的参考,如图2c所示,该图为对特定部分图像数据进行虚线处理后为第二视角照片的图像数据采集的参考图。在进行第二视角图像数据采集时,如图2d所示,当第二视角的照片的图像数据与参考的虚线图像数据基本重合时,完成第二视角照片的图像采集。假如拍摄目标仅仅是房子,想获取房子的三维立体照片。如图2e所示,只选取房子为参考时,对房子进行虚线处理。如图2f所示,在进行第二视角的照片图像数据采集时,当参考房子与拍摄房子基本重合时,完成第二视角照片的图像采集。当检测到参考房子与拍摄房子基本重合即匹配度到达百分之九十以上,这时可以提醒用户进行第二视角照片的图像数据采集或者自动进行第二视角照片的图像数据采集。Hereinafter, all the image data of the image data of the first-view photo is taken as a reference, and the dotted image processing is performed on the reference image data as an example. Of course, it is not limited to selecting image data of all photos as a reference, and is not limited to performing a dotted line processing on a specific portion of the reference. The acquiring the second view photo image data is: calculating a specific portion matching degree of the second view image data and the first view image data, and completing the second view image data acquisition when the matching degree exceeds the preset value. As shown in FIG. 2b, the figure is image data of the first view photo taken, which includes a house and a tree. The entire photo may be selected as a reference for the second partial view photo as a specific partial image data, as shown in FIG. 2c, which is a reference image for image data acquisition of the second view photo after the dotted processing of the specific partial image data. When the second view image data is collected, as shown in FIG. 2d, when the image data of the photo of the second view substantially coincides with the reference dash image data, the image capture of the second view photo is completed. If the shooting target is just a house, I want to get a three-dimensional photo of the house. As shown in Figure 2e, when the house is only selected as a reference, the house is treated with a dotted line. As shown in FIG. 2f, when the photo image data collection of the second viewing angle is performed, when the reference house substantially coincides with the photographing house, the image acquisition of the second view photo is completed. When it is detected that the reference house and the shooting house substantially coincide, that is, the matching degree reaches more than 90%, the user may be reminded to perform image data collection of the second perspective photo or automatically perform image data collection of the second perspective photo.
在上述步骤204中,如果是分开采集第一视角照片的图像数据和第二视角照片的图像数据,也就是说先采集第一视角照片的图像数据后,将特定部分图像数据显示在取景框内进行第二次视角的照片图像采集。当然,如果将移动终端显示屏分为第一取景框和第二取景框;采用第一取景框进行第一视角照片的图像数据采集,并将第一视角图像数据显示在第一取景框内;才用第二取景框进行第二视角照片的图像数据采集,将特定部分图像数据显示在第二取景框内,根据该参考完成第二视角照片的图像数据采集。In the above step 204, if the image data of the first perspective photo and the image data of the second perspective photo are separately collected, that is, after the image data of the first perspective photo is collected, the specific partial image data is displayed in the framing frame. Photo image acquisition for the second viewing angle. Of course, if the display screen of the mobile terminal is divided into a first view frame and a second view frame; the image data of the first view picture is collected by using the first view frame, and the first view image data is displayed in the first view frame; The image data of the second perspective photo is collected by using the second finder frame, and the specific partial image data is displayed in the second finder frame, and the image data collection of the second perspective photo is completed according to the reference.
在上述步骤206中,主要是将左视角图像数据和右视角图像数据进行合成,生成合成图像数据。该步骤中可以借助其他软件和移动终端本身摄像的 基本操作来完成左视角图像数据和右视角图像数据的合成。具体的例如可以将左右视角图像数据通过编辑匹配合成左右格式三维图像数据;还可以将左右视角图像数据通过光栅转换应用程序转换合成光栅格式三维图像数据;以及将将左右视角图像数据通过红蓝转换应用程序转换合成红蓝格式三维图像数据等。In the above step 206, mainly the left-view image data and the right-view image data are combined to generate composite image data. This step can be imaged by other software and the mobile terminal itself. The basic operation is to complete the synthesis of the left-view image data and the right-view image data. Specifically, for example, the left and right viewing angle image data may be synthesized by editing and matching the left and right format three-dimensional image data; the left and right viewing angle image data may be converted into the combined raster format three-dimensional image data by the raster conversion application; and the left and right viewing angle image data will be converted by red and blue. The application converts the synthesized red and blue format 3D image data and the like.
实施例三Embodiment 3
下面以移动终端为手机为例进行说明,当然移动终端不仅仅限于手机,如平板电脑等也包括在本发明内。用户如需用手机拍立体照片,即启动立体照片应用程序,当然也可以在照相机应用程序中加立体照片拍摄入口。In the following, the mobile terminal is taken as an example for the mobile phone. Of course, the mobile terminal is not limited to a mobile phone, such as a tablet computer, and the like is also included in the present invention. If a user needs to take a stereo photo with a mobile phone, the stereo photo application is launched, and of course, a stereo photo shooting portal can be added to the camera application.
如图3a和3b所示,为单屏拍摄左右图片的界面布局图。其中3a为启动立体照片拍摄应用的界面示意图。301为对焦框,将手机摄像头对着拍摄目标,在手机显示屏幕上点击拍摄目标,照相机程序对该目标聚焦对焦,完成后拍摄提示。302为拍摄目标。303为左眼图拍摄按钮,用于拍摄左眼照片即用于采集第一视角照片图像数据。304为右眼图拍摄按钮,用于拍摄右眼照片即用于采集第一视角照片图像数据。305为左眼图和右眼图适配调整按钮,用于调整左眼图和右眼图照片的位置角度大小等,使左眼图和右眼图照片很好地适配。306为保存按钮,用于保存一对左右格式的立体照片。用户点击屏幕中需要拍摄的目标,手机照相机对该目标进行对焦,对焦完成后手机出提示(如声音,对焦框变色),用户按303左眼图按钮,完成左眼照片拍摄。用户将手机向右沿着水平方向移动一定距离,例如移动4-6cm,将拍摄目标调整在左眼照片相同的位置,点击目标,手机完成对焦后,按304右眼图拍摄按钮,完成右眼照片拍摄。如有专业的水平移动设备配合拍摄,左眼照片与右眼照片能非常精确地重现人左眼和右眼看到的照片。As shown in Figures 3a and 3b, the interface layout of the left and right pictures is taken on a single screen. 3a is a schematic diagram of an interface for starting a stereo photo shooting application. 301 is the focus frame, the mobile phone camera is aimed at the shooting target, and the shooting target is clicked on the display screen of the mobile phone, and the camera program focuses on the target, and the shooting prompt is completed. 302 is the shooting target. 303 is a left eye image shooting button for capturing a left eye photo, that is, for collecting first angle photo image data. 304 is a right eye image shooting button for capturing a right eye photo, that is, for collecting first angle photo image data. 305 is a left eye diagram and a right eye diagram adaptation adjustment button for adjusting the position angle size of the left eye diagram and the right eye diagram photo, so that the left eye diagram and the right eye diagram photo are well adapted. 306 is a save button for saving stereo photos in a pair of left and right formats. The user clicks on the target that needs to be shot on the screen, and the mobile phone camera focuses on the target. After the focus is completed, the mobile phone prompts (such as sound, the focus frame is discolored), and the user presses the 303 left eye button to complete the left eye photo shooting. The user moves the mobile phone to the right in the horizontal direction by a certain distance, for example, moving 4-6cm, adjusting the shooting target to the same position in the left eye photo, clicking the target, and after the mobile phone finishes focusing, press the 304 right eye image shooting button to complete the right eye. take photo. If you are shooting with a professional horizontal mobile device, the left eye photo and the right eye photo can reproduce the photos seen by the left and right eyes very accurately.
在徒手拍摄2张照片时,要保持拍摄目标在取景框中的位置高低一致,水平方向一致,有较大难度。为解决这一问题,在拍摄第二张照片时,在屏幕上保留第一张照片的部分照片信息,例如第一张照片对焦框内的照片,为第二张照片取景作参考。如图3b所示,拍摄第二张右眼照片时,第一张左眼 图的对焦框内的照片,被保留在显示屏上供拍摄取景参考。用户拍右眼图,平移手机4-6cm,如发现拍摄目标不与第一张照片基本重合,调整手机摄像头位置角度等,使显示屏内的拍摄目标与已保留的左眼拍摄目标基本重合即左眼图和右眼图匹配度高,点击304右眼图按钮,完成右眼图拍摄。当然,在拍摄右眼图时,手机会自动计算左眼图与显示屏上的参考景的匹配程度,当匹配程度到达预设值时,会提醒用户进行右眼图拍摄,也可以自动进行拍摄。例如预设值可以为百分之九十,即匹配超过百分之九十就会显示拍摄提示信息或者自动进行拍摄。如拍摄的左眼图右眼图适配较好,即点击306保存按钮,生成一对左右格式的立体照片。右眼照片拍摄后,如发现右眼图的拍摄目标与保留在显示屏中的左眼图拍摄目标相差很大,即点击305左右适配按钮,使右眼图处于照片调整状态(或右眼图拍摄完成后自动进入照片调整状态)。此时可以对右眼图左右上下移动,左右旋转,放大缩小等处理以实现右眼图与左眼图匹配。最后点击306保存按钮,生成一对左右格式的立体照片。When taking two photos by hand, it is necessary to keep the position of the shooting target in the frame in the same position, and the horizontal direction is the same, which is more difficult. To solve this problem, when taking the second photo, keep some of the photo information of the first photo on the screen, such as the photo in the focus frame of the first photo, for reference to the second photo. As shown in Figure 3b, the first left eye is taken when the second right eye photo is taken. The photos in the focus frame of the figure are retained on the display for shooting reference. The user takes the right eye image and pans the mobile phone 4-6cm. If the shooting target does not substantially coincide with the first photo, adjust the camera camera position angle, etc., so that the shooting target in the display screen and the left eye shooting target are basically coincident. The left eye image and the right eye image have a high degree of matching. Click the 304 right eye button to complete the right eye image. Of course, when shooting the right eye image, the mobile phone automatically calculates the matching degree between the left eye image and the reference scene on the display screen. When the matching degree reaches the preset value, the user is reminded to take the right eye image shooting, or can automatically shoot. . For example, the preset value can be 90%, that is, if the match is more than 90%, the shooting prompt information will be displayed or the shooting will be automatically performed. If the left eye image of the left eye is better adapted, click the 306 save button to generate a pair of stereo photos in the left and right format. After the right eye photo is taken, if the shooting target of the right eye image is found to be very different from the shooting target of the left eye image remaining in the display, click the 305 right and left adaptation button to make the right eye image in the photo adjustment state (or right eye). The photo adjustment status is automatically entered after the picture is taken. At this time, the right eye image can be moved up and down, left and right rotated, zoomed in and out, etc. to achieve matching between the right eye image and the left eye image. Finally, click the 306 Save button to generate a pair of stereo photos in left and right format.
如图3c和3d所示,是双屏拍摄左右图片的界面布局图。显示屏分左右2个取景框,307为拍摄目标在左眼图中的示意图,用户点击拍摄目标完成对焦,按拍摄键完成左眼图拍摄。然后在右取景框中出现拍摄目标对焦框内的截图,供拍摄右眼图调整位置参考。在左眼图拍摄完成后,将手机向右移动一定距离例如可以移动4-6cm进行右眼图拍摄。309为拍摄右眼图时拍摄目标的初始示意图,通过调整相机镜头位置,使图像309与图像308基本重合,完成右眼图取景,并进行对焦拍摄。如图3d所示,是左右格式的立体图片(2张照片有一定的视角差),通过观屏镜能看到非常明显的立体效果图片。As shown in Figures 3c and 3d, it is an interface layout diagram for taking pictures of left and right pictures in a dual screen. The display screen is divided into two left and right view frames, and 307 is a schematic diagram of the shooting target in the left eye image. The user clicks on the shooting target to complete the focus, and presses the shooting button to complete the left eye image shooting. Then, in the right frame, the screenshot in the target focus frame appears for the right eye to adjust the position reference. After the left eye image is taken, move the phone to the right by a certain distance. For example, you can move 4-6cm to take a right eye shot. 309 is an initial schematic diagram of the shooting target when the right eye image is taken. By adjusting the camera lens position, the image 309 and the image 308 are substantially coincident, the right eye framing is completed, and the focus shooting is performed. As shown in Fig. 3d, it is a stereoscopic picture in the left and right format (the two photos have a certain difference in viewing angle), and a very stereoscopic effect picture can be seen through the viewing screen.
实施例四Embodiment 4
本实施例提供一种具有单摄像头的移动终端,如图4所示,该移动终端包括采集模块、确定模块、合成模块和保存模块。其中,采集模块,设置为:在第一拍摄位置,通过移动终端摄像头采集一三维场景的第一视角图像数据;和在第一拍摄位置水平位移特定距离的第二拍摄位置,通过摄像头采集三维 场景的第二视角图像数据;确定模块,设置为:将第一视角图像数据和第二视角图像数据根据其对应的拍摄位置确定为左视角图像数据和右视角图像数据;合成模块,设置为:将左视角图像数据和右视角图像数据进行合成,生成合成图像数据;保存模块,设置为:保存合成图像数据。The embodiment provides a mobile terminal having a single camera. As shown in FIG. 4, the mobile terminal includes an acquisition module, a determination module, a synthesis module, and a save module. The acquiring module is configured to: at the first shooting position, collect the first view image data of the three-dimensional scene through the camera of the mobile terminal; and capture the second shooting position of the specific distance horizontally at the first shooting position, and collect the three-dimensional image through the camera. a second view image data of the scene; the determining module is configured to: determine the first view image data and the second view image data as left view image data and right view image data according to the corresponding photographing positions; and the synthesizing module is configured to: The left view image data and the right view image data are combined to generate composite image data; and the save module is configured to: save the composite image data.
本实施例还提供了另一种移动终端,如图5所示,该移动终端包括上述移动终端中的各模块,该移动终端还包括截取模块和显示模块。其中,截取模块,设置为:在采集模块采集一三维场景的第一视角图像数据后,截取第一视角图像数据的特定部分图像数据;显示模块,设置为:在采集模块采集三维场景的第二视角图像数据时将特定部分图像数据显示在移动终端显示屏上。可选的,截取模块还设置为:截取第一视角图像数据的对焦框内的图像数据、四个角的图像数据、四个边的图像数据和全部图像数据中的至少一种。The embodiment further provides another mobile terminal. As shown in FIG. 5, the mobile terminal includes each module in the mobile terminal, and the mobile terminal further includes an intercepting module and a display module. The intercepting module is configured to: after the collecting module acquires the first view image data of the three-dimensional scene, intercept the specific part of the image data of the first view image data; and the display module is configured to: collect the second part of the three-dimensional scene in the collecting module The specific image data is displayed on the display screen of the mobile terminal when viewing the image data. Optionally, the intercepting module is further configured to: intercept image data in the in-focus frame of the first view image data, image data of four corners, image data of four sides, and at least one of all image data.
本实施例还提供了又一种移动终端,如图6所示,该移动终端包括上述移动终端中的各模块,该移动终端的显示模块还包括处理子模块和显示子模块。处理子模块,设置为:对截取的第一视角图像特定部分图像数据进行半透明处理、虚线处理、黑白处理和单色处理中的至少一种处理;显示子模块,设置为:将处理子模块处理后的特定部分图像数据显示在移动终端显示屏上。可选的,显示模块还设置为:在第一拍摄水平位移特定距离的第二拍摄位置,显示屏取景框内显示为三维场景的第二视角图像数据时,将特定部分图像数据显示在取景框内。可选地,显示模块还设置为:将显示屏分为第一取景框和第二取景框,在第一拍摄水平位移特定距离的第二拍摄位置,第一视角图像数据显示在第一取景框内;将特定部分图像数据显示在第二取景框内。The embodiment further provides a mobile terminal. As shown in FIG. 6, the mobile terminal includes each module in the mobile terminal, and the display module of the mobile terminal further includes a processing submodule and a display submodule. The processing submodule is configured to: perform at least one of translucent processing, dashed line processing, black and white processing, and monochrome processing on the image data of the first partial view image of the intercepted first view; the display submodule is set to: the processing submodule The processed partial image data is displayed on the display of the mobile terminal. Optionally, the display module is further configured to: when the first shooting level is displaced by the second shooting position of the specific distance, and the second viewing angle image data of the three-dimensional scene is displayed in the display finder frame, the specific partial image data is displayed in the framing frame. Inside. Optionally, the display module is further configured to: divide the display screen into the first finder frame and the second framing frame, and shift the first photographic frame to the second photographic frame at a specific distance, and the first view image data is displayed in the first framing frame Internal; display specific part of the image data in the second framing frame.
本实施例还提供了又一种移动终端,如图7所示,该移动终端包括上述移动终端中的各模块,该移动终端的采集模块还包括匹配子模块和调整子模块。其中,匹配子模块,用于计算第二视角图像数据与第一视角图像数据的特定部分匹配度,当匹配度超过预设值时完成第二视角图像数据采集,或显示采集提示信息并根据用户采集指令完成所述第二视角图像数据采集;调整子模块,设置为:采集预备第二视角图像数据,接收用户对预备第二视角图像数据的图像数据的调整控制指令进行调整,将调整后的预备第二视角图像 数据作为第二视角图像数据。The embodiment further provides a mobile terminal. As shown in FIG. 7, the mobile terminal includes each module in the mobile terminal, and the collection module of the mobile terminal further includes a matching submodule and an adjustment submodule. The matching sub-module is configured to calculate a specific degree of matching between the second view image data and the first view image data, and complete the second view image data acquisition when the matching degree exceeds the preset value, or display the collection prompt information according to the user. The acquiring instruction completes the second perspective image data collection; the adjusting submodule is configured to: collect the preliminary second perspective image data, and receive the adjustment control instruction of the image data of the preliminary second perspective image data by the user, and adjust the adjusted Preparing a second perspective image The data is used as the second perspective image data.
本实施例还提供了又一种移动终端,如图8所示,该移动终端包括上述移动终端中的各模块,该移动终端的合成模块包括左右合成子模块、光栅合成子模块或红蓝合成子模块。其中,左右合成子模块,设置为:将左视角图像数据和右视角图像数据通过匹配合成左右格式三维图像数据;光栅合成子模块,设置为:将左视角图像数据和右视角图像数据通过光栅转换应用程序转换合成光栅格式三维图像数据;红蓝合成子模块,设置为:将左视角图像数据和右视角图像数据通过红蓝转换应用程序转换合成红蓝格式三维图像数据。The embodiment further provides another mobile terminal. As shown in FIG. 8, the mobile terminal includes each module in the mobile terminal, and the synthesis module of the mobile terminal includes a left and right synthesis sub-module, a raster synthesis sub-module, or a red-blue composite. Submodule. The left and right synthesis sub-module is configured to: synthesize the left-view image data and the right-view image data by matching to synthesize the left-right format three-dimensional image data; and the raster synthesis sub-module is configured to: convert the left-view image data and the right-view image data through the raster conversion The application converts the composite raster format three-dimensional image data; the red-blue composite sub-module is configured to convert the left-view image data and the right-view image data into a red-blue format three-dimensional image data through a red-blue conversion application.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the above steps may be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic disk, or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上实施例仅用以说明本发明的技术方案而非限制,仅仅参照较佳实施例对本发明进行了详细说明。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。The above embodiments are only intended to illustrate the technical solutions of the present invention and are not to be construed as limiting the invention. It should be understood by those skilled in the art that the present invention may be modified or equivalently substituted without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
本发明实施例的拍摄方法实现了移动终端拍摄三维立体照片,只利用一个摄像头就能完成立体照片的拍摄,降低了成本,使用户能利用移动终端进行简单操作得到三维立体照片,增加了用户拍摄乐趣,提高用户的体验度。 The photographing method of the embodiment of the invention realizes that the mobile terminal captures a three-dimensional stereo photograph, and the stereo photograph can be photographed by using only one camera, thereby reducing the cost, enabling the user to obtain a three-dimensional stereo photograph by using the mobile terminal for simple operation, and increasing the user's photographing. Fun, improve user experience.

Claims (18)

  1. 一种基于移动终端的三维照片拍摄方法,包括:A three-dimensional photo shooting method based on a mobile terminal, comprising:
    在第一拍摄位置,通过摄像头采集一三维场景的第一视角图像数据;Collecting, at the first shooting position, first view image data of a three-dimensional scene through a camera;
    在所述第一拍摄位置水平位移特定距离的第二拍摄位置,通过所述摄像头采集所述三维场景的第二视角图像数据;a second shooting position in which the first shooting position is horizontally displaced by a certain distance, and the second viewing angle image data of the three-dimensional scene is collected by the camera;
    将所述第一视角图像数据和所述第二视角图像数据根据其对应的拍摄位置确定为左视角图像数据和右视角图像数据;Determining the first view image data and the second view image data as left view image data and right view image data according to their corresponding photographing positions;
    将所述左视角图像数据和所述右视角图像数据进行合成,生成合成图像数据;Combining the left view image data and the right view image data to generate composite image data;
    保存所述合成图像数据。The composite image data is saved.
  2. 如权利要求1所述的三维照片拍摄方法,其中,在采集一三维场景的第一视角图像数据后,还包括:截取所述第一视角图像数据的特定部分图像数据;并在采集所述三维场景的第二视角图像数据时将所述特定部分图像数据显示在移动终端显示屏上。The method of claim 1 , wherein after acquiring the first view image data of the three-dimensional scene, the method further comprises: capturing a specific portion of the image data of the first view image data; and collecting the three-dimensional image The second partial view image data of the scene is displayed on the display screen of the mobile terminal.
  3. 如权利要求2所述的三维照片拍摄方法,其中,所述截取所述第一视角图像数据的特定部分图像数据包括:截取所述第一视角图像数据的对焦框内的图像数据、四个角的图像数据、四个边的图像数据和全部图像数据中的至少一种。The three-dimensional photographing method according to claim 2, wherein the intercepting the specific partial image data of the first view image data comprises: intercepting image data in the in-focus frame of the first view image data, and four corners At least one of image data, image data of four sides, and all image data.
  4. 如权利要求3所述的三维照片拍摄方法,其中,所述将所述特定部分图像数据显示在移动终端显示屏上包括:对截取的所述第一视角图像特定部分图像数据进行半透明处理、虚线处理、黑白处理和单色处理中的至少一种处理;将所述第一视角图像数据处理后的特定部分图像数据显示在所述移动终端显示屏上。The three-dimensional photographing method according to claim 3, wherein the displaying the specific partial image data on the display screen of the mobile terminal comprises: translucently processing the image data of the specific portion of the first view image that is intercepted, At least one of a dashed line processing, a black and white processing, and a monochrome processing; displaying the specific partial image data processed by the first viewing angle image data on the display screen of the mobile terminal.
  5. 如权利要求2-4任一项所述的三维照片拍摄方法,其中,所述第一视角图像数据处理后的特定部分图像数据显示在移动终端显示屏上包括:在所述第一拍摄位置水平位移特定距离的第二拍摄位置,显示屏取景框内显示为 所述三维场景的第二视角图像数据时,将所述特定部分图像数据显示在所述取景框内。The three-dimensional photographing method according to any one of claims 2 to 4, wherein the displaying of the specific partial image data after the processing of the first view image data on the display screen of the mobile terminal comprises: at the level of the first photographing position The second shooting position of the specific distance is shifted, and the display frame is displayed as The second partial view image data of the three-dimensional scene is displayed in the framing frame.
  6. 如权利要求2-4任一项所述的三维照片拍摄方法,其中,所述采集所述三维场景的第二视角图像数据包括:将显示屏分为第一取景框和第二取景框,在所述第一拍摄水平位移特定距离的第二拍摄位置,所述第一视角图像数据显示在所述第一取景框内;将所述特定部分图像数据显示在所述第二取景框内。The three-dimensional photographing method according to any one of claims 2 to 4, wherein the acquiring the second view image data of the three-dimensional scene comprises: dividing the display screen into a first view frame and a second view frame, The first photographing level is displaced by a second photographing position of a specific distance, the first view image data is displayed in the first view frame; and the specific portion image data is displayed in the second view frame.
  7. 如权利要求1-4任一项所述的三维照片拍摄方法,其中,所述采集所述三维场景的第二视角图像数据包括以下处理方式中的任意一种:The three-dimensional photographing method according to any one of claims 1 to 4, wherein the acquiring the second view image data of the three-dimensional scene comprises any one of the following processing modes:
    计算第二视角图像数据与第一视角图像数据的特定部分匹配度,当匹配度超过预设值时完成所述第二视角图像数据采集,或显示采集提示信息并根据用户采集指令完成所述第二视角图像数据采集;Calculating a specific partial matching degree between the second perspective image data and the first perspective image data, completing the second perspective image data collection when the matching degree exceeds a preset value, or displaying the collection prompt information and completing the first according to the user acquisition instruction Two-view image data acquisition;
    采集预备第二视角图像数据,接收用户对预备第二视角图像数据的图像数据的调整控制指令进行调整,将调整后的预备第二视角图像数据作为第二视角图像数据。The preparatory second view image data is acquired, and the user adjusts an adjustment control command for the image data of the preliminary second view image data, and the adjusted preliminary second view image data is used as the second view image data.
  8. 如权利要求1-4所述的三维照片拍摄方法,其中,所述将所述左视角图像数据和所述右视角图像数据进行合成,生成合成图像数据包括以下方式中的至少一种:The three-dimensional photograph photographing method according to any one of claims 1 to 4, wherein said synthesizing said left-view image data and said right-view image data to generate composite image data comprises at least one of the following:
    将所述左视角图像数据和所述右视角图像数据通过匹配合成左右格式三维图像数据;Combining the left view image data and the right view image data into a left and right format three-dimensional image data by matching;
    将所述左视角图像数据和所述右视角图像数据通过光栅转换应用程序转换合成光栅格式三维图像数据;Converting the left view image data and the right view image data into a raster image format by using a raster conversion application;
    将所述左视角图像数据和所述右视角图像数据通过红蓝转换应用程序转换合成红蓝格式三维图像数据。The left-view image data and the right-view image data are converted into three-dimensional image data in a red-blue format by a red-blue conversion application.
  9. 一种移动终端,包括采集模块、确定模块、合成模块和保存模块:A mobile terminal includes an acquisition module, a determination module, a synthesis module, and a save module:
    所述采集模块设置为:在第一拍摄位置,通过摄像头采集一三维场景的第一视角图像数据;和在所述第一拍摄位置水平位移特定距离的第二拍摄位 置,通过所述摄像头采集所述三维场景的第二视角图像数据;The acquisition module is configured to: at a first shooting position, acquire first-view image data of a three-dimensional scene through a camera; and second capture positions that are horizontally displaced by a specific distance at the first shooting position And collecting, by the camera, second view image data of the three-dimensional scene;
    所述确定模块设置为:将所述第一视角图像数据和所述第二视角图像数据根据其对应的拍摄位置确定为左视角图像数据和右视角图像数据;The determining module is configured to: determine the first view image data and the second view image data as left view image data and right view image data according to their corresponding photographing positions;
    所述合成模块设置为:将所述左视角图像数据和所述右视角图像数据进行合成,生成合成图像数据;The synthesizing module is configured to: synthesize the left view image data and the right view image data to generate composite image data;
    所述保存模块设置为:保存所述合成图像数据。The saving module is configured to save the composite image data.
  10. 如权利要求9所述的移动终端,还包括截取模块和显示模块:The mobile terminal of claim 9, further comprising an intercepting module and a display module:
    所述截取模块设置为:在采集模块采集一三维场景的第一视角图像数据后,截取所述第一视角图像数据的特定部分图像数据;The intercepting module is configured to: after acquiring the first view image data of the three-dimensional scene by the collecting module, intercepting the specific portion of the image data of the first view image data;
    所述显示模块设置为:在所述采集模块采集所述三维场景的第二视角图像数据时将所述特定部分图像数据显示在移动终端显示屏上。The display module is configured to display the specific partial image data on the display screen of the mobile terminal when the acquisition module collects the second perspective image data of the three-dimensional scene.
  11. 如权利要求10所述的移动终端,其中,所述截取模块还设置为:截取所述第一视角图像数据的对焦框内的图像数据、四个角的图像数据、四个边的图像数据和全部图像数据中的至少一种。The mobile terminal of claim 10, wherein the intercepting module is further configured to: intercept image data in a focus frame of the first view image data, image data of four corners, image data of four sides, and At least one of all image data.
  12. 如权利要求10所述的移动终端,其中,所述显示模块还包括处理子模块和显示子模块:The mobile terminal of claim 10, wherein the display module further comprises a processing sub-module and a display sub-module:
    所述处理子模块设置为:对截取的所述第一视角图像特定部分图像数据进行半透明处理、虚线处理、黑白处理和单色处理中的至少一种处理;The processing sub-module is configured to: perform at least one of translucent processing, dashed line processing, black and white processing, and monochrome processing on the intercepted first-view image specific portion image data;
    所述显示子模块设置为:将处理子模块处理后的特定部分图像数据显示在移动终端显示屏上。The display sub-module is configured to display the specific partial image data processed by the processing sub-module on the display screen of the mobile terminal.
  13. 如权利要求10-12任一项所述的移动终端,其中,所述显示模块还设置为:在所述第一拍摄水平位移特定距离的第二拍摄位置,显示屏取景框内显示为所述三维场景的第二视角图像数据时,将所述特定部分图像数据显示在所述取景框内。The mobile terminal according to any one of claims 10 to 12, wherein the display module is further configured to: at a second shooting position where the first shooting level is displaced by a certain distance, the display frame is displayed as The second partial view image data of the three-dimensional scene is displayed in the framing frame.
  14. 如权利要求10-12任一项所述的移动终端,其中,所述显示模块还设置为:将显示屏分为第一取景框和第二取景框,在所述第一拍摄水平位移 特定距离的第二拍摄位置,所述第一视角图像数据显示在所述第一取景框内;将所述特定部分图像数据显示在所述第二取景框内。The mobile terminal according to any one of claims 10 to 12, wherein the display module is further configured to divide the display screen into a first finder frame and a second framing frame, and the first shooting horizontal displacement a second photographing position of a specific distance, the first view image data is displayed in the first view frame; and the specific portion image data is displayed in the second view frame.
  15. 如权利要求9-12任一项所述的移动终端,其中,所述采集模块还包括匹配子模块和调整子模块:The mobile terminal according to any one of claims 9 to 12, wherein the acquisition module further comprises a matching submodule and an adjustment submodule:
    所述匹配子模块,设置为:计算第二视角图像数据与第一视角图像数据的特定部分匹配度,当匹配度超过预设值时完成所述第二视角图像数据采集,或显示采集提示信息并根据用户采集指令完成所述第二视角图像数据采集;The matching sub-module is configured to: calculate a matching degree between the second view image data and the specific portion of the first view image data, and complete the second view image data acquisition or display the collection prompt information when the matching degree exceeds the preset value And completing the second perspective image data acquisition according to the user acquisition instruction;
    所述调整子模块,设置为:采集预备第二视角图像数据,接收用户对预备第二视角图像数据的图像数据的调整控制指令进行调整,将调整后的预备第二视角图像数据作为第二视角图像数据。The adjusting sub-module is configured to: collect preliminary image data of the second viewing angle, and receive an adjustment control instruction of the image data of the preliminary second-view image data by the user, and adjust the adjusted preliminary second-view image data as the second viewing angle. Image data.
  16. 如权利要求9-12任一项所述的移动终端,其中,所述合成模块包括左右合成子模块、光栅合成子模块或者红蓝合成子模块:The mobile terminal according to any one of claims 9 to 12, wherein the synthesis module comprises a left and right synthesis sub-module, a raster synthesis sub-module or a red-blue synthesis sub-module:
    所述左右合成子模块,设置为:将所述左视角图像数据和所述右视角图像数据通过匹配合成左右格式三维图像数据;The left and right synthesis sub-module is configured to: synthesize the left-view image data and the right-view image data by matching to synthesize the left-right format three-dimensional image data;
    所述光栅合成子模块,设置为:于将所述左视角图像数据和所述右视角图像数据通过光栅转换应用程序转换合成光栅格式三维图像数据;The raster synthesis sub-module is configured to: convert the left-view image data and the right-view image data into a raster image by using a raster conversion application;
    所述红蓝合成子模块,设置为:将所述左视角图像数据和所述右视角图像数据通过红蓝转换应用程序转换合成红蓝格式三维图像数据。The red and blue synthesis sub-module is configured to convert the left-view image data and the right-view image data into a red-blue format three-dimensional image data through a red-blue conversion application.
  17. 一种计算机程序,包括程序指令,当该程序指令被移动终端执行时,使得该移动终端可执行权利要求1-8任一项所述的方法。A computer program comprising program instructions that, when executed by a mobile terminal, cause the mobile terminal to perform the method of any of claims 1-8.
  18. 一种载有权利要求17所述计算机程序的计算机可读存储介质。 A computer readable storage medium carrying the computer program of claim 17.
PCT/CN2014/088268 2014-06-18 2014-10-10 Method for taking three-dimensional picture based on mobile terminal, and mobile terminal WO2015192547A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410273008.5 2014-06-18
CN201410273008.5A CN105306921A (en) 2014-06-18 2014-06-18 Three-dimensional photo shooting method based on mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
WO2015192547A1 true WO2015192547A1 (en) 2015-12-23

Family

ID=54934783

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088268 WO2015192547A1 (en) 2014-06-18 2014-10-10 Method for taking three-dimensional picture based on mobile terminal, and mobile terminal

Country Status (2)

Country Link
CN (1) CN105306921A (en)
WO (1) WO2015192547A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126375A (en) * 2019-12-25 2020-05-08 珠海市富状元科技有限公司 Outward appearance design's photo processing apparatus
CN112584040A (en) * 2020-12-02 2021-03-30 维沃移动通信有限公司 Image display method and device and electronic equipment

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106296574A (en) * 2016-08-02 2017-01-04 乐视控股(北京)有限公司 3-d photographs generates method and apparatus
CN107071338A (en) * 2016-11-23 2017-08-18 深圳市元征科技股份有限公司 A kind of image processing method and device
CN106791782A (en) * 2016-12-19 2017-05-31 北京星辰美豆文化传播有限公司 The image pickup method of the stereo-picture based on single camera, device and electronic equipment
CN106713893B (en) * 2016-12-30 2018-09-25 宁波易维视显示技术有限公司 Mobile phone 3D solid picture-taking methods
CN107277267A (en) * 2017-07-14 2017-10-20 上海青橙实业有限公司 Photographic method and mobile terminal
CN107277366B (en) * 2017-07-24 2020-02-21 上海井融网络科技有限公司 Shooting method and mobile terminal
CN109587203A (en) 2017-09-29 2019-04-05 索尼公司 Information processing equipment and method, electronic device and computer-readable medium
CN108347505B (en) * 2018-02-07 2020-11-06 盎锐(上海)信息科技有限公司 Mobile terminal with 3D imaging function and image generation method
WO2021253308A1 (en) * 2020-06-18 2021-12-23 深圳市汇顶科技股份有限公司 Image acquisition apparatus
CN111757084A (en) * 2020-07-30 2020-10-09 北京博清科技有限公司 Acquisition method and acquisition device for three-dimensional image and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030152263A1 (en) * 2002-02-13 2003-08-14 Pentax Corporation Digital camera for taking a stereoscopic pair of images
US20070165129A1 (en) * 2003-09-04 2007-07-19 Lyndon Hill Method of and apparatus for selecting a stereoscopic pair of images
CN102572492A (en) * 2010-12-15 2012-07-11 富士通株式会社 Image processing device and method
CN102917236A (en) * 2012-09-27 2013-02-06 深圳天珑无线科技有限公司 Single-camera based stereoscopic photographing method and digital photographing device
CN103733617A (en) * 2011-08-12 2014-04-16 高通股份有限公司 Systems and methods to capture a stereoscopic image pair
WO2014082276A1 (en) * 2012-11-30 2014-06-05 Thomson Licensing Method and system for capturing a 3d image using single camera

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8300086B2 (en) * 2007-12-20 2012-10-30 Nokia Corporation Image processing for supporting a stereoscopic presentation
KR101661969B1 (en) * 2009-11-02 2016-10-04 엘지전자 주식회사 Mobile terminal and operation control method thereof
CN101968602B (en) * 2010-07-27 2011-08-17 北京迪生动画科技有限公司 System for leading single-path camera to simulate two-path camera to realize stereoscopic image shooting
KR20120054746A (en) * 2010-11-22 2012-05-31 삼성전자주식회사 Method and apparatus for generating three dimensional image in portable communication system
CN103260046A (en) * 2012-02-16 2013-08-21 中兴通讯股份有限公司 Three-dimensional display method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030152263A1 (en) * 2002-02-13 2003-08-14 Pentax Corporation Digital camera for taking a stereoscopic pair of images
US20070165129A1 (en) * 2003-09-04 2007-07-19 Lyndon Hill Method of and apparatus for selecting a stereoscopic pair of images
CN102572492A (en) * 2010-12-15 2012-07-11 富士通株式会社 Image processing device and method
CN103733617A (en) * 2011-08-12 2014-04-16 高通股份有限公司 Systems and methods to capture a stereoscopic image pair
CN102917236A (en) * 2012-09-27 2013-02-06 深圳天珑无线科技有限公司 Single-camera based stereoscopic photographing method and digital photographing device
WO2014082276A1 (en) * 2012-11-30 2014-06-05 Thomson Licensing Method and system for capturing a 3d image using single camera

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126375A (en) * 2019-12-25 2020-05-08 珠海市富状元科技有限公司 Outward appearance design's photo processing apparatus
CN112584040A (en) * 2020-12-02 2021-03-30 维沃移动通信有限公司 Image display method and device and electronic equipment
CN112584040B (en) * 2020-12-02 2022-05-17 维沃移动通信有限公司 Image display method and device and electronic equipment

Also Published As

Publication number Publication date
CN105306921A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
WO2015192547A1 (en) Method for taking three-dimensional picture based on mobile terminal, and mobile terminal
US10311649B2 (en) Systems and method for performing depth based image editing
US9544574B2 (en) Selecting camera pairs for stereoscopic imaging
EP3067746B1 (en) Photographing method for dual-camera device and dual-camera device
KR101720190B1 (en) Digital photographing apparatus and control method thereof
TWI433530B (en) Camera system and image-shooting method with guide for taking stereo photo and method for automatically adjusting stereo photo
US20120154547A1 (en) Imaging device, control method thereof, and program
WO2017045558A1 (en) Depth-of-field adjustment method and apparatus, and terminal
CN103986867A (en) Image shooting terminal and image shooting method
JP5814692B2 (en) Imaging apparatus, control method therefor, and program
TW201351959A (en) Method of stereo 3D image synthesis and related camera
EP2590421A1 (en) Single-lens stereoscopic image capture device
JPWO2012086326A1 (en) Stereoscopic panorama image creation device, stereo panorama image creation method, stereo panorama image creation program, stereo panorama image playback device, stereo panorama image playback method, stereo panorama image playback program, and recording medium
WO2012158446A1 (en) Stereoscopic camera using anaglyphic display for guiding the image capture
JP4763827B2 (en) Stereoscopic image display device, compound eye imaging device, and stereoscopic image display program
WO2013146996A1 (en) Image processing device, imaging device, and image processing method
JPWO2014045689A1 (en) Image processing apparatus, imaging apparatus, program, and image processing method
US20150326847A1 (en) Method and system for capturing a 3d image using single camera
JP5993937B2 (en) Image processing apparatus, imaging apparatus, image processing method, and program
CN105847659A (en) Method, device and intelligent terminal for generating watermark image
JP2010141609A (en) Imaging apparatus
JP5704885B2 (en) Imaging device, imaging method, and imaging control program
KR20200070611A (en) Formation and Application Method of Virtual Camera Image for Smartphone
JP2013009275A (en) Image processing device, image processing method, and program
JP5307189B2 (en) Stereoscopic image display device, compound eye imaging device, and stereoscopic image display program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14895061

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14895061

Country of ref document: EP

Kind code of ref document: A1