Imaging method and device based on dual cameras

2017 
The invention proposes an imaging method and device based on dual cameras. The method comprises the following steps: acquiring a first image photographed by a main camera, and a second image photographed by a secondary camera; according to a determined photographing mode and the resolution of the main camera and the secondary camera, respectively determining a main image resolution and a secondaryimage resolution; according to the first image, generating a main image conforming to the main image resolution; according to the second image, generating a secondary image conforming to the secondary image resolution; and obtaining depth information of the main image according to the main image and the secondary image, and performing blurring processing on the main image to obtain a required target image. According to the imaging method based on the dual cameras provided by the invention, the main image resolution and the secondary image resolution are determined according to the photographing mode and the resolution of the main camera and the secondary camera, so that the adjustment of image resolution after photographing is realized; and the technical problems in the prior art that thefunction is relatively single, and users cannot adjust the resolution according to the requirement due to the fact that the subsequent image processing is carried out by adopting a fixed resolution after the dual cameras photograph to obtain the images are solved.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []