CN111182093A - HDR photographing method based on three cameras, mobile terminal and storage medium - Google Patents

HDR photographing method based on three cameras, mobile terminal and storage medium Download PDF

Info

Publication number
CN111182093A
CN111182093A CN201811341794.2A CN201811341794A CN111182093A CN 111182093 A CN111182093 A CN 111182093A CN 201811341794 A CN201811341794 A CN 201811341794A CN 111182093 A CN111182093 A CN 111182093A
Authority
CN
China
Prior art keywords
photographing
current
camera
cameras
template
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811341794.2A
Other languages
Chinese (zh)
Inventor
宋特
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN ZHIYING TECHNOLOGY Co.,Ltd.
Original Assignee
Qiku Internet Technology Shenzhen Co Ltd
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 Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201811341794.2A priority Critical patent/CN111182093A/en
Publication of CN111182093A publication Critical patent/CN111182093A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/02Constructional features of telephone sets
    • H04M1/0202Portable telephone sets, e.g. cordless phones, mobile phones or bar type handsets
    • H04M1/026Details of the structure or mounting of specific components
    • H04M1/0264Details of the structure or mounting of specific components for a camera module assembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/741Circuitry for compensating brightness variation in the scene by increasing the dynamic range of the image compared to the dynamic range of the electronic image sensors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/90Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Studio Devices (AREA)

Abstract

The application provides a three-camera-based HDR photographing method, a mobile terminal and a storage medium, wherein the mobile terminal comprises three cameras, and the method comprises the following steps: acquiring environmental information in a preset range of a current photographing main body in real time, wherein the environmental information comprises illumination intensity and illumination direction; inputting the environment information into a pre-constructed setting database, and screening to obtain shooting setting information corresponding to the environment information, wherein the setting database comprises a plurality of groups of data in one-to-one correspondence with the pre-entered environment information and the shooting setting information; correspondingly setting each camera according to the shooting setting information; and acquiring a current preview picture comprising the current photographing main body through each set camera. According to the method and the device, the shooting parameters corresponding to the cameras can be adjusted in real time according to the environmental information within the preset range of the shooting main body and the hardware parameters corresponding to the cameras in the shooting process, and the detailed embodiment of the shooting main body is improved.

Description

HDR photographing method based on three cameras, mobile terminal and storage medium
Technical Field
The present application relates to the field of mobile communication technologies, and in particular, to a three-camera based HDR photographing method, a mobile terminal, and a storage medium.
Background
Limited by the dynamic range of the image sensor, when a camera of a mobile terminal such as a mobile phone shoots in a high light ratio environment, normal exposure cannot be performed on a high light area and a low light area at the same time, for example: if the camera carries out normal exposure on a high light area, a low light area is underexposed and too dark; if the camera carries out normal exposure to a low light area, a high light area is overexposed and too bright. To solve the above problems, HDR (high dynamic range) technology is widely used. The HDR technique is an image processing technique that obtains an HDR image in which both high-light regions and low-light regions are normally exposed by synthesizing a plurality of ordinary images of the same scene at different exposure values. The prior art adopts multiple cameras to shoot and synthesize an HDR image, wherein parameters of each camera during shooting are fixedly set and cannot be dynamically adjusted according to a shooting subject so as to express details of the shooting subject.
Disclosure of Invention
The application mainly aims to provide a three-camera-based HDR photographing method, a mobile terminal and a storage medium, and aims to overcome the defect that the parameters of the existing multiple cameras are fixed during photographing and dynamic adjustment cannot be realized.
In order to achieve the above object, the present application provides a three-camera based HDR photographing method, which is applied to a mobile terminal, where the mobile terminal includes three cameras, and includes:
acquiring environmental information in a preset range of a current photographing main body in real time, wherein the environmental information comprises illumination intensity and illumination direction;
inputting the environment information into a pre-constructed setting database, and screening to obtain shooting setting information corresponding to the environment information, wherein the setting database comprises a plurality of groups of data in one-to-one correspondence with the pre-entered environment information and the shooting setting information;
correspondingly setting each camera according to the shooting setting information;
and acquiring a current preview picture comprising the current photographing main body through each set camera.
Further, the shooting setting information includes exposure parameters, shooting times and camera performance parameters corresponding to the cameras respectively when shooting, the camera performance parameters include camera information of different exposure types and multiple sets of data corresponding to preset hardware parameters one to one, the three cameras have different current hardware parameters respectively, the current hardware parameters include aperture values and pixel values, and the step of correspondingly setting the cameras respectively according to the shooting setting information includes:
and respectively setting three cameras according to the corresponding relation between the current hardware parameter and the preset hardware parameter, wherein the three cameras respectively correspond to a short exposure camera, a long exposure camera and a normal exposure camera.
Further, the step of obtaining a current preview picture including the current photographing subject through each of the cameras after the setting includes:
simultaneously shooting by using the short exposure camera, the long exposure camera and the normal exposure camera according to the respective corresponding exposure parameters and shooting times respectively to obtain at least one short exposure picture, at least one long exposure picture and one normal exposure picture;
and combining the at least one short exposure photo and the at least one long exposure photo into the normal exposure photo to synthesize the current preview photo.
Further, before the step of acquiring the current environmental information of the current photographing subject within the preset range in real time, the method includes:
cooperatively acquiring a first preview picture shot at the current time through the three cameras, wherein the first preview picture comprises a first shooting main body;
inquiring whether the user needs to replace the primary photographing main body;
and if the primary photographing main body needs to be replaced, setting the photographing main body selected by the user as the current photographing main body.
Further, after the step of obtaining a current preview picture including the current photographing subject through each of the set cameras, the method includes:
inquiring whether a user imports a photographing template;
if a photographing template is imported, acquiring at least one photographing template corresponding to the current photographing main body;
and outputting each photographing template to a display interface according to a preset rule.
Further, the step of obtaining at least one photographing template corresponding to the current photographing subject includes:
judging whether the current photographing subject is a photographing object;
if the object is a photographed object, extracting object characteristics of the photographed object;
inputting the object features into a preset first template database, and screening to obtain at least one photographing template corresponding to the object features, wherein the first template database comprises a plurality of groups of data formed by one-to-one correspondence of the object features and the photographing templates.
Further, after the step of determining whether the current photo-taking subject is the photo-taking object, the method includes:
if the object is not a photographed object, judging the photographed area, inputting the photographed area into a preset scene database, and screening to obtain a current photographing scene corresponding to the current photographing subject, wherein the scene database comprises a plurality of groups of data formed by one-to-one correspondence of the photographed area and the photographing scene;
and inputting the current photographing scene into a preset second template database, and screening to obtain at least one photographing template corresponding to the current photographing scene, wherein the second template data comprises a plurality of groups of data formed by one-to-one correspondence of the photographing scene and the photographing template.
Further, the step of outputting each photographing template to a display interface according to a preset rule includes:
respectively acquiring the use times corresponding to the photographing templates from a pre-constructed use record, wherein the use record comprises the use times corresponding to the photographing templates in the first template database;
and after the photographing templates are respectively arranged according to the corresponding use times in a descending order, outputting the photographing templates to the display interface.
The application also provides intelligent wearable equipment, which comprises a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the computer program to realize the steps of the method.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the above-mentioned method.
According to the HDR photographing method based on the three cameras, the mobile terminal and the storage medium, the photographing parameters corresponding to the cameras can be adjusted in real time according to the environmental information in the preset range of the photographing main body and the hardware parameters corresponding to the cameras in the photographing process, and the detailed embodiment of the photographing main body is improved.
Drawings
Fig. 1 is a schematic diagram illustrating steps of an HDR photographing method based on three cameras in an embodiment of the present application;
fig. 2 is a schematic overall flowchart of an HDR photographing method based on three cameras in an embodiment of the present application;
fig. 3 is a block diagram illustrating a structure of a mobile terminal according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, an embodiment of the present application provides a three-camera-based HDR photographing method, which is applied to a mobile terminal, where the mobile terminal includes three cameras, and includes:
s1: acquiring environmental information in a preset range of a current photographing main body in real time, wherein the environmental information comprises illumination intensity and illumination direction;
s2: inputting the environment information into a pre-constructed setting database, and screening to obtain shooting setting information corresponding to the environment information, wherein the setting database comprises a plurality of groups of data in one-to-one correspondence with the pre-entered environment information and the shooting setting information;
s3: using the cameras respectively correspondingly arranged according to the shooting setting information
S4: and acquiring a current preview picture of the current photographing main body through each set camera.
The mobile terminal includes, but is not limited to, a mobile phone, and in this embodiment, a mobile phone is taken as an example for description. The mobile phone is provided with three cameras with different aperture values, pixel values and other current hardware parameters, and when shooting is carried out, the mobile phone can carry out key expression on the details of a shooting subject in a picture. The photographing subject can be automatically determined by the mobile phone when the preview function of the camera is opened by the mobile phone, and can also be defined by the user. The subject of photographing may be a region of a scene, such as the sea or the sky, which does not have fixed shape characteristics; it may also be a photographic object, such as a cat, a tree, or the like, having a fixed shape characteristic. After the current photographing main body is determined, the mobile phone acquires the environmental information within the preset range of the current photographing main body in real time through the photosensitive element. The environment information comprises the illumination intensity and the illumination direction within a preset range of the photographing main body, and the preset range is preset by developers according to the performance of the photosensitive element. The mobile phone inputs the environment information collected in real time into a pre-constructed setting database, and the shooting setting information corresponding to the environment information is obtained through screening. The setting database comprises a plurality of groups of data which are formed by one-to-one correspondence of pre-entered environmental information and shooting setting information. The shooting setting information comprises exposure parameters, shooting times and camera performance parameters which correspond to the cameras respectively when the cameras shoot, and the camera performance parameters comprise multiple groups of data which are formed by different exposure types and preset hardware parameters in a one-to-one correspondence mode. The mobile phone sets the three cameras as a short exposure camera, a long exposure camera and a normal exposure camera according to the corresponding relation between the current hardware parameters of the three cameras and the preset hardware parameters. And then, shooting by using the short exposure camera, the long exposure camera and the normal exposure camera according to the respective corresponding exposure parameters and shooting times to obtain at least one short exposure picture, at least one long exposure picture and one normal exposure picture. And finally, the mobile phone synthesizes the normal exposure picture, the short exposure picture and the long exposure picture through an HDR algorithm to obtain the current preview picture.
Further, the shooting setting information includes exposure parameters, shooting times and camera performance parameters corresponding to the cameras respectively when shooting, the camera performance parameters include multiple sets of data corresponding to different exposure types and preset hardware parameters one to one, the three cameras have different current hardware parameters respectively, the current hardware parameters include aperture values and pixel values, and the step of correspondingly setting the cameras respectively according to the shooting setting information includes:
s301: and respectively setting three cameras according to the corresponding relation between the current hardware parameter and the preset hardware parameter, wherein the three cameras respectively correspond to a short exposure camera, a long exposure camera and a normal exposure camera.
In this embodiment, the shooting setting information obtained by screening the mobile phone according to the environment information of the current shooting subject includes exposure parameters, shooting times and camera performance parameters corresponding to each camera when shooting. Wherein, the camera performance includes the camera information of different exposure types and predetermines the multiunit data that hardware parameter one-to-one constitutes, for example, the camera information is: and the short exposure camera, the corresponding preset hardware parameters including the aperture value are as follows: 1/1.0, pixel values are: 500 ten thousand; the camera information is: the long exposure camera, the corresponding preset hardware parameters include an aperture value as follows: 1/5.6, the pixel value is 1500 ten thousand; the camera information is: the normal exposure camera, then the corresponding preset hardware parameter includes that the aperture value is: 1/2.0, the pixel value is 1000 ten thousand. The three cameras of the mobile phone have different current hardware parameters respectively, and the current hardware parameters are determined by the structures of the cameras. The mobile phone respectively corresponds the current hardware parameters to preset hardware parameters one by one, and three cameras are respectively set as a short exposure camera, a long exposure camera and a normal exposure camera according to the corresponding relation between the current hardware parameters and the preset hardware parameters. For example, the current three cameras of the mobile phone are respectively: the aperture value of the camera A is 1/5.6, and the pixel value is 1500 ten thousand; the aperture value of the camera B is 1/2.0, and the pixel value is 1000 ten thousand; the aperture value of the camera C is 1/1.0, and the pixel value is 500 ten thousand. The current camera setting information is: the short exposure camera presets hardware parameters as an aperture value: 1/1.0, pixel values are: 500 ten thousand; the camera information is: the long exposure camera presets hardware parameters as an aperture value: 1/5.6, the pixel value is 1500 ten thousand; the camera information is: the normal exposure camera presets hardware parameters as an aperture value: 1/2.0, the pixel value is 1000 ten thousand. Camera a is set to a long exposure camera and camera B is set to a normal exposure camera. The camera C is set as a short exposure camera.
Further, the step of obtaining a current preview picture including the current photographing subject through each of the cameras after the setting includes:
s401: simultaneously shooting by using the short exposure camera, the long exposure camera and the normal exposure camera according to the exposure parameters and the shooting times respectively corresponding to the short exposure camera, the long exposure camera and the normal exposure camera to obtain at least one short exposure picture, at least one long exposure picture and one normal exposure picture;
s402: combining the at least one short exposure photograph, the at least one long exposure photograph, and the normal exposure photograph to synthesize the current preview photograph.
In this embodiment, the mobile phone simultaneously uses the short exposure camera, the long exposure camera and the normal exposure camera to respectively perform shooting according to the respective corresponding exposure parameters and shooting times, so as to obtain at least one short exposure picture, at least one long exposure picture and one normal exposure picture. For example, the exposure parameters corresponding to the long exposure camera are: exposure time: 10/300, ISO:2000, focal length: 160.0, the shooting frequency is 3; the exposure parameters corresponding to the short exposure camera are as follows: exposure time: 10/1250, ISO:100, focal length: 240.0, the shooting frequency is 2; the exposure parameters corresponding to the normal exposure camera are as follows: exposure time: 10/500, ISO:1200, focal length: 200.0, the number of shots is 1. And the short exposure camera, the long exposure camera and the normal exposure camera respectively shoot according to the respective corresponding setting data to obtain 3 long exposure pictures, 2 short exposure pictures and 1 normal exposure picture. The mobile phone is synthesized with all the short exposure photos and the long exposure photos by an HDR algorithm to obtain the current preview photos on the basis of the normal exposure photos.
Further, gather present subject of shooing in real time and preset present environmental information within the scope, environmental information includes before the step of illumination intensity and illumination direction, includes:
s5: cooperatively acquiring a first preview picture shot at the current time through the three cameras, wherein the first preview picture comprises a first shooting main body;
s6: inquiring whether the user needs to replace the primary photographing main body;
s7: and if the primary photographing main body needs to be replaced, setting the photographing main body selected by the user as the current photographing main body.
In this embodiment, when the camera function is first turned on, the mobile phone automatically performs shooting and HDR algorithm synthesis through the three cameras, respectively, to obtain a first preview picture currently shot. The first preview photo comprises a first photographing main body, the first photographing main body is automatically determined by the mobile phone according to the layout of the first preview photo, and the middle area of the first preview photo or an object located in the middle area is generally selected as the first photographing main body. The mobile phone displays the mark of the primary photographing main body according to the preset setting, for example, if the current primary photographing main body is a pet, the mobile phone automatically marks the outline of the image of the pet with a bright mark. After the first photographing main body is marked, the mobile phone outputs first inquiry information to inquire whether the user needs to replace the current first photographing main body. If the user considers that the first photographing main body automatically selected by the mobile phone is the main body which the user wants to photograph, the user can choose not to replace the mobile phone, and the mobile phone automatically enters the next action. If the user considers that the first-time photographing subject automatically selected by the mobile phone is not the subject which the user wants to photograph at present, the user can reselect the photographing subject, for example, manually define a photographing region or click a specific object in a first preview picture, and select and set the photographing subject as the current photographing subject. After receiving a selection instruction of a user, the mobile phone sets the photographing main body selected by the user as the current photographing main body so as to meet the photographing intention of the user.
Further, after the step of obtaining the current preview picture including the current photographing subject by each set camera, the method includes:
s8: inquiring whether a user imports a photographing template;
s9: if a photographing template is imported, acquiring at least one photographing template corresponding to the current photographing main body;
s10: and outputting each photographing template to a display interface according to a preset rule.
In this embodiment, after obtaining the current preview picture, the mobile phone outputs second query information to query whether the user needs to import the photographing template. If the user is satisfied with the current preview photo and does not need to import the photographing template for shooting again, the user can choose not to import the photographing template. If the user thinks that the current preview picture can not embody the details of the current photographing subject or is not satisfactory to the picture layout, the user can select an instruction to import the photographing template. After receiving an instruction that a user selects to import a photographing template, the mobile phone judges that the user needs to import the photographing template currently. The mobile phone needs to judge whether the mobile phone is a photo-object according to the characteristics of the current photo-object, that is, whether the current photo-object is a specific object or a scene area. And if the object is not the photographed object, extracting the object characteristics of the current photographed subject, inputting the object characteristics into a preset first template database, and screening to obtain at least one photographing template corresponding to the object characteristics. The first template database is formed by corresponding groups of object characteristics and photographing templates. And if the current photographing main body is not the photographing object, namely the scene area, inputting the current photographing main body into a preset scene database, and screening to obtain the current photographing scene corresponding to the current photographing main body. The scene database is composed of a plurality of groups of photographing main bodies and photographing scenes correspondingly. Then, the mobile phone inputs the current photographing scene into a preset second template database, and at least one photographing template corresponding to the current photographing scene is obtained through screening. The second template data is composed of a plurality of groups of photographing scenes and photographing templates correspondingly. And the mobile phone outputs the acquired photographing templates to a display interface according to a preset rule for a user to select. After the user selects the photographing template, the mobile phone can automatically record the use history of the selected photographing template. Wherein the usage history is the number of times the photographing template is used.
Further, the step of obtaining at least one photographing template corresponding to the current photographing subject includes:
s901: judging whether the current photographing subject is a photographing object;
s902: if the object is a photographed object, extracting object characteristics of the photographed object;
s903: inputting the object characteristics into a preset first template database, and screening to obtain at least one photographing template corresponding to the object characteristics, wherein the object characteristics and the photographing templates in the first template database correspond to each other to form multiple groups of data.
In this embodiment, the current photographing subject selected by the mobile phone is divided into two types, namely, a photographing object and a photographing region, and different photographing templates are established for the different types of current photographing subjects by the mobile phone. Therefore, the mobile phone first needs to determine the type of the current photo-taking subject. The mobile phone can automatically mark and display the photographing main body in the preview picture, and can mark the outline of the picture of the photographing object with bright if the photographing main body is the photographing object; if the subject is the photographing region, the corresponding region is highlighted. After the mobile phone judges that the current photographing main body is the photographing object, the object characteristics of the photographing object are automatically extracted, and the object characteristics are input into a preset first template database, so that at least one photographing template corresponding to the object characteristics is obtained through screening. The first template database comprises a plurality of groups of data which are formed by corresponding object characteristics and photographing templates one by one. For example, when the current photographing subject is a pet dog, the mobile phone extracts object features such as the external contour size and the hair color of the pet dog, and then inputs the object features into the first template database, so as to identify a sub-template database corresponding to the current pet dog variety, and then screens the sub-template database to obtain photographing templates with the same or similar hair color and body type. The pet dogs in the photographing templates have different photographing angles and picture layouts so as to embody the details of the pet dogs and facilitate the selection of users.
Further, after the step of determining whether the current photo-taking subject is the photo-taking object, the method includes:
s904: if the object is not a photographed object, judging the photographed area, inputting the photographed area into a preset scene database, and screening to obtain a current photographing scene corresponding to the current photographing subject, wherein the scene database comprises a plurality of groups of data formed by one-to-one correspondence of the photographed area and the photographing scene;
s905: and inputting the current photographing scene into a preset second template database, and screening to obtain at least one photographing template corresponding to the current photographing scene, wherein the second template data comprises a plurality of groups of data formed by one-to-one correspondence of the photographing scene and the photographing template.
In this embodiment, if the mobile phone determines that the current photographing subject is not the photographing object, the current photographing subject is determined as the photographing region, and the photographing region is input into the preset scene database, so that the current photographing scene corresponding to the photographing region is obtained by screening. The scene database comprises a plurality of groups of data which are formed by one-to-one correspondence of photographing areas and photographing scenes. And the mobile phone inputs the current photographing scene into a preset second template database, and at least one photographing template corresponding to the current photographing scene is obtained through screening. The second template data comprises a plurality of groups of data which are formed by one-to-one correspondence of photographing scenes and photographing templates. For example, the current photographing subject is the sea surface, and the mobile phone screens an image of the sea surface, that is, the current photographing subject can screen the scene database to obtain the current photographing scene as the sea surface scene. And then inputting the sea surface scene into a second template database, and screening to obtain at least one photographing template related to the sea surface scene. The photographing templates have different photographing angles and picture layouts according to the sea surface so as to embody the details of the current sea surface and facilitate the selection of users.
Further, the step of outputting each photographing template to a display interface according to a preset rule includes:
s1001: respectively acquiring the use times corresponding to the photographing templates from a pre-constructed use record, wherein the use record comprises the use times corresponding to the photographing templates in the first template database;
s1002: and after the photographing templates are respectively arranged according to the corresponding use times in a descending order, outputting the photographing templates to the display interface.
In this embodiment, the photographing template is acquired by the mobile phone from a preset third-party platform, such as an official platform of the mobile phone brand, and is updated in real time. After each photographing template is used, the mobile phone can automatically construct a corresponding use record. Wherein the usage record includes the number of times of usage of each photographing template in the first template database. After the mobile phone obtains a plurality of photographing templates through screening, the using times corresponding to the photographing templates are respectively called from the using records, the photographing templates are respectively arranged in a descending order according to the corresponding using times and then are output to the display interface, so that a user can select the photographing templates according to the preference of the user. If the photographing template is not used, the corresponding number of uses is 0. Further, if the use times corresponding to all the selected photographing templates are 0, the photographing templates are arranged in a descending order according to the user scores of the photographing templates in the preset third-party platform, and the user scores are output to the display interface.
Further, after the step of outputting each photographing template to a display interface according to a preset rule, the method includes:
s11: receiving an instruction of a current photographing template selected by a user;
s12: and outputting guide information in real time according to the template layout of the current photographing main body in the current photographing template and the preview layout of the current photographing main body in the current preview picture.
In this embodiment, after receiving an instruction of the current photographing template selected by the user, the mobile phone outputs the guidance information in real time according to the template layout, i.e., the layout position, of the current photographing subject in the current photographing template and the preview layout of the current photographing subject in the current preview picture, so as to guide the preview layout of the current photographing subject in the current preview picture photographed by the user to be consistent with the template layout. For example, the subject of the current photo is a pet dog, the layout of the template in the template of the current photo is the right side of the photo, the face angle of the pet dog is 30 degrees, and the photo angle is upward. The preview layout of the pet dog in the current preview photo is the middle of the photo, the face of the pet dog is over against the lens, and the shooting angle is a downward shooting. The mobile phone compares the preview layout with the template layout, guides the user to translate the lens to the left side so that the pet dog is located on the right side of the photo, then the lens rotates for 30 degrees around the pet dog so that the face angle of the pet dog is 30 degrees, and finally the lens moves downwards until the preview layout is consistent with the template layout.
According to the HDR photographing method based on the three cameras, provided by the embodiment, the photographing parameters corresponding to the cameras can be adjusted in real time according to the environmental information in the preset range of the photographing main body and the hardware parameters corresponding to the cameras in the photographing process, and the detailed embodiment of the photographing main body is improved.
Referring to fig. 3, an embodiment of the present application further provides a mobile terminal, where the mobile terminal may be a server, and an internal structure of the mobile terminal may be as shown in fig. 3. The mobile terminal includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the mobile terminal is designed to provide computing and control capabilities. The memory of the mobile terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the mobile terminal is used for storing data such as a setting database and the like. The network interface of the mobile terminal is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a three-camera based HDR photographing method.
The processor executes the steps of the HDR photographing method based on the three cameras:
acquiring environmental information in a preset range of a current photographing main body in real time, wherein the environmental information comprises illumination intensity and illumination direction;
inputting the environment information into a pre-constructed setting database, and screening to obtain shooting setting information corresponding to the environment information, wherein the setting database comprises a plurality of groups of data in one-to-one correspondence with the pre-entered environment information and the shooting setting information;
correspondingly setting each camera according to the shooting setting information;
and acquiring a current preview picture comprising the current photographing main body through each set camera.
Those skilled in the art will appreciate that the structure shown in fig. 3 is only a block diagram of a part of the structure related to the present application, and does not constitute a limitation of the mobile terminal to which the present application is applied.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored thereon, and when the computer program is executed by a processor, the HDR photographing method based on three cameras is implemented, specifically:
acquiring environmental information in a preset range of a current photographing main body in real time, wherein the environmental information comprises illumination intensity and illumination direction;
inputting the environment information into a pre-constructed setting database, and screening to obtain shooting setting information corresponding to the environment information, wherein the setting database comprises a plurality of groups of data in one-to-one correspondence with the pre-entered environment information and the shooting setting information;
correspondingly setting each camera according to the shooting setting information;
and acquiring a current preview picture comprising the current photographing main body through each set camera.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (SSRDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only for the preferred embodiment of the present application and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are intended to be included within the scope of the present application.

Claims (10)

1. A HDR photographing method based on three cameras is characterized in that the method is applied to a mobile terminal, the mobile terminal comprises three cameras, and the method comprises the following steps:
acquiring environmental information in a preset range of a current photographing main body in real time, wherein the environmental information comprises illumination intensity and illumination direction;
inputting the environment information into a pre-constructed setting database, and screening to obtain shooting setting information corresponding to the environment information, wherein the setting database comprises a plurality of groups of data in one-to-one correspondence with the pre-entered environment information and the shooting setting information;
correspondingly setting each camera according to the shooting setting information;
and acquiring a current preview picture comprising the current photographing main body through each set camera.
2. The HDR photographing method based on three cameras as claimed in claim 1, wherein the photographing setting information includes exposure parameters, photographing times and camera performance parameters corresponding to the respective cameras when photographing, the camera performance parameters include sets of data corresponding to one-to-one correspondence between camera information of different exposure types and preset hardware parameters, the three cameras have different current hardware parameters respectively, the current hardware parameters include aperture values and pixel values, and the step of setting the respective cameras according to the photographing setting information includes:
and respectively setting three cameras according to the corresponding relation between the current hardware parameter and the preset hardware parameter, wherein the three cameras respectively correspond to a short exposure camera, a long exposure camera and a normal exposure camera.
3. The three-camera based HDR photographing method according to claim 2, wherein the step of obtaining a current preview picture including the current photographing subject by each of the cameras after setting comprises:
simultaneously shooting by using the short exposure camera, the long exposure camera and the normal exposure camera according to the respective corresponding exposure parameters and shooting times respectively to obtain at least one short exposure picture, at least one long exposure picture and one normal exposure picture;
and combining the at least one short exposure photo and the at least one long exposure photo into the normal exposure photo to synthesize the current preview photo.
4. The HDR photographing method based on three cameras as claimed in claim 1, wherein before the step of acquiring the current environmental information in the preset range of the current photographing subject in real time, the method comprises:
cooperatively acquiring a first preview picture shot at the current time through the three cameras, wherein the first preview picture comprises a first shooting main body;
inquiring whether the user needs to replace the primary photographing main body;
and if the primary photographing main body needs to be replaced, setting the photographing main body selected by the user as the current photographing main body.
5. The HDR photographing method based on three cameras as claimed in claim 1, wherein the step of obtaining the current preview photograph including the current photographing subject by each of the cameras after setting comprises:
inquiring whether a user imports a photographing template;
if a photographing template is imported, acquiring at least one photographing template corresponding to the current photographing main body;
and outputting each photographing template to a display interface according to a preset rule.
6. The three-camera based HDR photographing method according to claim 5, wherein the current photographing subject is a photographing region or a photographing object, and the step of obtaining at least one photographing template corresponding to the current photographing subject comprises:
judging whether the current photographing subject is a photographing object;
if the object is a photographed object, extracting object characteristics of the photographed object;
inputting the object features into a preset first template database, and screening to obtain at least one photographing template corresponding to the object features, wherein the first template database comprises a plurality of groups of data formed by one-to-one correspondence of the object features and the photographing templates.
7. The three-camera based HDR photographing method of claim 6, wherein the step of determining whether the current photographing subject is the photographing object comprises:
if the object is not a photographed object, judging the photographed area, inputting the photographed area into a preset scene database, and screening to obtain a current photographing scene corresponding to the current photographing subject, wherein the scene database comprises a plurality of groups of data formed by one-to-one correspondence of the photographed area and the photographing scene;
and inputting the current photographing scene into a preset second template database, and screening to obtain at least one photographing template corresponding to the current photographing scene, wherein the second template data comprises a plurality of groups of data formed by one-to-one correspondence of the photographing scene and the photographing template.
8. The three-camera based HDR photographing method of claim 5, wherein the step of outputting each photographing template to a display interface according to a preset rule comprises:
respectively acquiring the use times corresponding to the photographing templates from a pre-constructed use record, wherein the use record comprises the use times corresponding to the photographing templates in the first template database;
and after the photographing templates are respectively arranged according to the corresponding use times in a descending order, outputting the photographing templates to the display interface.
9. An intelligent wearable device comprising a memory and a processor, the memory having stored therein a computer program, wherein the processor when executing the computer program implements the steps of the method of any of claims 1 to 8.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
CN201811341794.2A 2018-11-12 2018-11-12 HDR photographing method based on three cameras, mobile terminal and storage medium Pending CN111182093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811341794.2A CN111182093A (en) 2018-11-12 2018-11-12 HDR photographing method based on three cameras, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811341794.2A CN111182093A (en) 2018-11-12 2018-11-12 HDR photographing method based on three cameras, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111182093A true CN111182093A (en) 2020-05-19

Family

ID=70620724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811341794.2A Pending CN111182093A (en) 2018-11-12 2018-11-12 HDR photographing method based on three cameras, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111182093A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115835005A (en) * 2022-10-31 2023-03-21 泰康保险集团股份有限公司 Method and device for guiding user to shoot and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195466A1 (en) * 2006-09-27 2008-08-14 Steven Allan Wright Advertising Message Referrals
CN102946514A (en) * 2012-11-08 2013-02-27 广东欧珀移动通信有限公司 Method and device for self-shooting of mobile terminal
CN103763476A (en) * 2014-02-20 2014-04-30 北京百纳威尔科技有限公司 Shooting parameter setting method and device
CN103841323A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting parameter allocation method and device and terminal device
CN103986875A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring device, method and terminal and video acquiring method
CN105141833A (en) * 2015-07-20 2015-12-09 努比亚技术有限公司 Terminal photographing method and device
CN105516575A (en) * 2014-09-23 2016-04-20 中兴通讯股份有限公司 Method and device for taking picture according to custom template
CN107018333A (en) * 2017-05-27 2017-08-04 北京小米移动软件有限公司 Shoot template and recommend method, device and capture apparatus
CN107454343A (en) * 2014-11-28 2017-12-08 广东欧珀移动通信有限公司 Photographic method, camera arrangement and terminal
CN108055402A (en) * 2017-12-21 2018-05-18 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN108184050A (en) * 2017-12-15 2018-06-19 维沃移动通信有限公司 A kind of photographic method, mobile terminal
CN108205796A (en) * 2016-12-16 2018-06-26 大唐电信科技股份有限公司 A kind of fusion method and device of more exposure images
CN109076122A (en) * 2018-02-02 2018-12-21 华为技术有限公司 A kind of slide-type terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080195466A1 (en) * 2006-09-27 2008-08-14 Steven Allan Wright Advertising Message Referrals
CN102946514A (en) * 2012-11-08 2013-02-27 广东欧珀移动通信有限公司 Method and device for self-shooting of mobile terminal
CN103763476A (en) * 2014-02-20 2014-04-30 北京百纳威尔科技有限公司 Shooting parameter setting method and device
CN103841323A (en) * 2014-02-20 2014-06-04 小米科技有限责任公司 Shooting parameter allocation method and device and terminal device
CN103986875A (en) * 2014-05-29 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image acquiring device, method and terminal and video acquiring method
CN105516575A (en) * 2014-09-23 2016-04-20 中兴通讯股份有限公司 Method and device for taking picture according to custom template
CN107454343A (en) * 2014-11-28 2017-12-08 广东欧珀移动通信有限公司 Photographic method, camera arrangement and terminal
CN105141833A (en) * 2015-07-20 2015-12-09 努比亚技术有限公司 Terminal photographing method and device
CN108205796A (en) * 2016-12-16 2018-06-26 大唐电信科技股份有限公司 A kind of fusion method and device of more exposure images
CN107018333A (en) * 2017-05-27 2017-08-04 北京小米移动软件有限公司 Shoot template and recommend method, device and capture apparatus
CN108184050A (en) * 2017-12-15 2018-06-19 维沃移动通信有限公司 A kind of photographic method, mobile terminal
CN108055402A (en) * 2017-12-21 2018-05-18 维沃移动通信有限公司 A kind of image pickup method and mobile terminal
CN109076122A (en) * 2018-02-02 2018-12-21 华为技术有限公司 A kind of slide-type terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115835005A (en) * 2022-10-31 2023-03-21 泰康保险集团股份有限公司 Method and device for guiding user to shoot and electronic equipment

Similar Documents

Publication Publication Date Title
CN109089047B (en) Method and device for controlling focusing, storage medium and electronic equipment
CN108495050B (en) Photographing method, photographing device, terminal and computer-readable storage medium
CN108933899B (en) Panorama shooting method, device, terminal and computer readable storage medium
CN110493527B (en) Body focusing method and device, electronic equipment and storage medium
EP3975547A1 (en) High dynamic range (hdr) image generation method and apparatus, and electronic device and computer-readable storage medium
CN110881103B (en) Focusing control method and device, electronic equipment and computer readable storage medium
CN106060412A (en) Photographic processing method and device
JP2009055088A (en) Photographic support system
CN110611768B (en) Multiple exposure photographic method and device
CN104660909A (en) Image acquisition method, image acquisition device and terminal
CN112017137B (en) Image processing method, device, electronic equipment and computer readable storage medium
CN112866542B (en) Focus tracking method and apparatus, electronic device, and computer-readable storage medium
CN110881108B (en) Image processing method and image processing apparatus
CN109712177A (en) Image processing method, device, electronic equipment and computer readable storage medium
WO2024131693A1 (en) Bird identification method, device and system
CN113411498A (en) Image shooting method, mobile terminal and storage medium
CN112258380A (en) Image processing method, device, equipment and storage medium
CN110392211B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN113824883A (en) Information processing method and electronic equipment
CN110650288B (en) Focusing control method and device, electronic equipment and computer readable storage medium
CN110365897B (en) Image correction method and device, electronic equipment and computer readable storage medium
CN114466133B (en) Photographing method and device
CN110581950A (en) Camera, system and method for selecting camera settings
CN111182093A (en) HDR photographing method based on three cameras, mobile terminal and storage medium
CN113989387A (en) Camera shooting parameter adjusting method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210122

Address after: 518000 Building 405A, 01B, Zone E, Zhiheng Industrial Park, Nantou Street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: SHENZHEN ZHIYING TECHNOLOGY Co.,Ltd.

Address before: 518000 1-10 Floor, Building A2, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: QIKU INTERNET TECHNOLOGY (SHENZHEN) Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200519

RJ01 Rejection of invention patent application after publication