CN109688321B - Electronic equipment, image display method thereof and device with storage function - Google Patents

Electronic equipment, image display method thereof and device with storage function Download PDF

Info

Publication number
CN109688321B
CN109688321B CN201811394129.XA CN201811394129A CN109688321B CN 109688321 B CN109688321 B CN 109688321B CN 201811394129 A CN201811394129 A CN 201811394129A CN 109688321 B CN109688321 B CN 109688321B
Authority
CN
China
Prior art keywords
image
camera
depth
image data
acquiring
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.)
Active
Application number
CN201811394129.XA
Other languages
Chinese (zh)
Other versions
CN109688321A (en
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.)
Foshan Huayue Intellectual Property Operation Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN201811394129.XA priority Critical patent/CN109688321B/en
Publication of CN109688321A publication Critical patent/CN109688321A/en
Application granted granted Critical
Publication of CN109688321B publication Critical patent/CN109688321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • 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/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/95Computational photography systems, e.g. light-field imaging systems
    • H04N23/951Computational photography systems, e.g. light-field imaging systems by using two or more images to influence resolution, frame rate or aspect ratio
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Abstract

The application discloses an electronic device, an image display method thereof and a device with a storage function. The image display method is used for electronic equipment, the electronic equipment at least comprises a first camera and a second camera, and the method comprises the following steps: acquiring first image data of a shot object through a first camera, and acquiring second image data of the shot object through a second camera; acquiring a preview image of a shooting object according to the first image data, and displaying the preview image on a display screen of the electronic equipment; and performing fusion processing on the first image data and the second image data to acquire a depth of field image of the shooting object, and switching the preview image on the display screen into the depth of field image. By the method, the time for acquiring the shot image by the user can be shortened, the user can conveniently check the shot image in real time, and the user experience can be improved.

Description

Electronic equipment, image display method thereof and device with storage function
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to an electronic device, an image display method thereof, and a device with a storage function.
Background
With the application of a camera to electronic equipment, after people meet basic function requirements on the electronic equipment, the requirements on the experience of the electronic equipment are higher and higher, particularly the requirements on photographing; the requirements are clearer and richer, better visual experience is also needed, and the background blurring effect which is comparable to that of a single lens reflex camera needs to be achieved. The professional camera realizes different depth of field effects by adjusting the size of the aperture, and can highlight a shooting object from the background when shooting a macro and a portrait, so that a good visual effect is formed. However, it is obvious that the electronic device as a portable device has insufficient space to satisfy the aperture change similar to a professional camera lens, and the fixed aperture cannot realize the conversion of a specific depth of field.
The inventor of the application finds that in the prior art, in order to obtain a depth-of-field image, electronic equipment is generally provided with two cameras, double-shot original data can be obtained through the two cameras, then the double-shot original data are processed through a double-shot algorithm to generate an image with a depth-of-field effect, and finally the image is loaded and displayed in a gallery, but the double-shot algorithm processing process needs a long time, a user cannot check the shot image in real time, and user experience is poor.
Disclosure of Invention
The technical problem mainly solved by the application is to provide the electronic equipment, the image display method thereof and the device with the storage function, so that the time for acquiring the shot image is shortened, a user can conveniently and instantly check the shot image, and the user experience can be improved.
In order to solve the technical problem, the application adopts a technical scheme that: an image display method is provided for an electronic device, the electronic device at least comprises a first camera and a second camera, and the image display method comprises the following steps: acquiring first image data of a shot object through a first camera, and acquiring second image data of the shot object through a second camera; acquiring a preview image of a shooting object according to the first image data, and displaying the preview image on a display screen of the electronic equipment; and performing fusion processing on the first image data and the second image data to acquire a depth of field image of the shooting object, and switching the preview image on the display screen into the depth of field image.
The step of obtaining a preview image of the photographic subject according to the first image data and displaying the preview image on a display screen of the electronic device includes: when an image preview instruction is monitored, acquiring a preview image of a shot object according to first image data; and loading the preview image, and displaying the preview image on a display screen of the electronic equipment.
Wherein the step of acquiring a preview image of the photographic subject based on the first image data comprises: acquiring pixel information of a plurality of pixel points from first image data; and generating a preview image of the shooting object according to the pixel information.
The step of performing fusion processing on the first image data and the second image data to acquire a depth-of-field image of the shooting object and switching the preview image on the display screen into the depth-of-field image includes: acquiring depth-of-field information of the shot object according to the first image data and the second image data; acquiring a depth image of the shot object according to the first image data and the depth information; and loading the depth image and displaying the depth image on a display screen.
The step of obtaining the depth image of the object to be photographed according to the first image data and the depth information includes: and blurring the frame image corresponding to the first image data according to a preset blurring rule and the depth information.
Wherein, before the step of acquiring the preview image of the photographic subject from the first image data, the method further comprises: acquiring first depth-of-field information of the first image data, and matching the first depth-of-field information with first preset depth-of-field information; and if the matching fails, acquiring focusing information of the first camera, and adjusting the focusing information of the first camera to control the first camera to perform focusing adjustment.
Before the step of performing the fusion processing on the first image data and the second image data, the method further includes: acquiring second depth-of-field information of the second image data, and matching the second depth-of-field information with second preset depth-of-field information; and if the matching fails, acquiring focusing information of the second camera, and adjusting the focusing information of the second camera to control the second camera to perform focusing adjustment.
In order to solve the above technical problem, another technical solution adopted by the present application is: an electronic device is provided, the electronic device including: a display screen; the first camera is used for acquiring first image data of a shot object; the second camera is used for acquiring second image data of the shot object; the processor is respectively coupled with the first camera, the second camera and the display screen, and is used for acquiring a preview image of a shooting object according to the first image data and controlling the display screen to display the preview image; the processor is used for carrying out fusion processing on the first image data and the second image data so as to obtain a depth image of the shooting object and controlling the display screen to display the depth image.
When monitoring an image preview instruction, the processor acquires a preview image of a shooting object according to the first image data, loads the preview image, and displays the preview image on a display screen of the electronic equipment.
In order to solve the above technical problem, the present application adopts another technical solution: there is provided an apparatus having a storage function, on which program data is stored, the program data realizing the above-mentioned image display method when executed.
The beneficial effects of the embodiment of the application are that: different from the prior art, the image display method in the embodiment of the application is used for the electronic equipment, the electronic equipment at least comprises a first camera and a second camera, and the method comprises the following steps: acquiring first image data of a shot object through a first camera, and acquiring second image data of the shot object through a second camera; acquiring a preview image of a shooting object according to the first image data, and displaying the preview image on a display screen of the electronic equipment; and performing fusion processing on the first image data and the second image data to acquire a depth of field image of the shooting object, and switching the preview image on the display screen into the depth of field image. Through the mode, after the camera acquires the image of the shooting object, the preview image of the shooting object can be rapidly acquired so as to check the image of the shooting object, the preview image does not need to be acquired after the depth image is generated, and the depth image needs to be generated for a long time, so that the time for the user to check the shooting image can be obviously shortened, the user can conveniently check the shooting image in real time, and the user experience can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a schematic structural diagram of an embodiment of an electronic device of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a first embodiment of an image display method according to the present application;
FIG. 3 is a flowchart illustrating a step S202 of the image display method of the embodiment of FIG. 2;
FIG. 4 is a detailed flowchart of step S301 in the embodiment of FIG. 3;
FIG. 5 is a flowchart illustrating a step S203 of the image display method of the embodiment of FIG. 2;
FIG. 6 is a schematic flow chart diagram illustrating a second embodiment of an image displaying method according to the present application;
FIG. 7 is a schematic flow chart diagram illustrating a third embodiment of an image display method according to the present application;
FIG. 8 is a schematic flow chart diagram illustrating a fourth embodiment of an image display method according to the present application;
FIG. 9 is a schematic diagram of another embodiment of an electronic device of the present application;
fig. 10 is a schematic structural diagram of the device with a storage function according to the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be noted that the following examples are only illustrative of the present application, and do not limit the scope of the present application. Likewise, the following examples are only some examples and not all examples of the present application, and all other examples obtained by a person of ordinary skill in the art without any inventive step are within the scope of the present application.
Furthermore, the terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
First, an electronic device is provided, as shown in fig. 1, where fig. 1 is a schematic structural diagram of an embodiment of the electronic device. The electronic device 101 of this embodiment at least includes a first camera 102 and a second camera 103, where the first camera 102 is configured to obtain first image data of a shooting object 104, and the second camera 103 is configured to obtain second image data of the shooting object 104.
In this embodiment, the electronic device 101 may further acquire the depth of view image of the captured image according to the first image data and the second image data by using a preset image processing algorithm, but the process of generating the depth of view image is slow, and a user generally needs to wait for several seconds to load and view the captured image from the gallery, so that the user experience is poor.
To solve the above problem, the present application further provides an image display method, as shown in fig. 2, and fig. 2 is a schematic flow chart of a first embodiment of the image display method of the present application. The method of the present embodiment is used for the electronic device 101, and specifically, the method of the present embodiment includes the following steps:
step S201: first image data of the photographic subject 104 is acquired by the first camera 102, and second image data of the photographic subject 104 is acquired by the second camera 103.
The first camera 102 of this embodiment is a main camera of the electronic device 101, and is mainly used for ensuring the imaging quality of a shot image, and the second camera 103 is an auxiliary camera of the electronic device 102, and is mainly used for providing stereoscopic parallax with the main camera so as to calculate depth-of-field information.
The first camera 102 and the second camera 103 are color cameras. Of course, in other embodiments, the first camera and the second camera may also be a black and white camera, a depth camera, a wide-angle lens, a telephoto lens, or the like.
Step S202: a preview image of the photographic subject 104 is acquired from the first image data and displayed on the display screen of the electronic apparatus 101.
Alternatively, as shown in fig. 3, fig. 3 is a specific flowchart of step S202 in the image display method of the embodiment of fig. 2. The method of the embodiment specifically comprises the following steps:
step S301: when the image preview instruction is monitored, a preview image of the photographic subject 104 is acquired according to the first image data.
The preview image of the present embodiment is generated directly from the first image data, the process does not involve fusion processing of a plurality of captured images, the process is relatively simple, and the resolution of the preview image is not high, so that it takes a short time to generate the preview image.
Specifically, the present embodiment may implement step S301 by a method as shown in fig. 4, where the method of the present embodiment includes the following steps:
step S401: pixel information of a plurality of pixel points is obtained from the first image data.
An optical image generated by the photographic subject 104 through the lens of the first camera 102 is transmitted onto the image sensor surface and then converted into an electric signal, which is converted into digital image data after analog-to-digital conversion. The first image data is composed of a plurality of pixel points, and the electronic device 101 may select some or all of the pixel points from the first image data.
Step S402: a preview image of the photographic subject 104 is generated from the pixel information.
The pixel information includes pixel position information, gray information, color information, and the like. In general, the larger the number of acquired pixels is, the slower the speed of generating the preview image is, and the higher the resolution of the preview image is.
Step S302: the preview image is loaded and displayed on the display screen of the electronic device 101.
After the user photographs the photographic object 104 through the first camera 102 and the second camera 103, the user usually needs to open the gallery immediately to check the photographed image, and as can be seen from the above analysis, it takes a long time to obtain the depth of field image of the photographic object 104 according to the first image data and the second image data, in order to meet the requirement of the user to check the photographed image immediately, when an image preview instruction is detected, that is, when the user needs to check the photographed image, the preview image of the photographic object 104 is obtained according to the first image data, and the time required to generate the preview image and load the preview image in the gallery is very short due to the low resolution of the preview image,
specifically, the embodiment may load the image by using the waterfall flow, and may also load the image according to time or shooting location, that is, the image is loaded into the corresponding image file according to time or shooting location, so that the image viewing management is facilitated, and the user experience is improved.
Step S203: the first image data and the second image data are subjected to fusion processing to obtain a depth-of-field image of the photographic subject 104, and the preview image on the display screen is switched to the depth-of-field image.
Alternatively, as shown in fig. 5, fig. 5 is a specific flowchart of step S203 in the image display method of the embodiment of fig. 2. The method of the embodiment specifically comprises the following steps:
step S501: the depth information of the photographic subject 104 is acquired from the first image data and the second image data.
The depth of field is a distance range between the front and rear of the subject measured by imaging in which a clear image can be obtained at the front edge of the camera, that is, a clear image appearing in a range between the front and rear of the focal point after the completion of focusing, and this distance range is called depth of field. The distance between the aperture, the lens and the object is an important factor affecting the depth of field.
Because the first image data and the second image data are obtained by shooting with the first camera 102 and the second camera 103 respectively, and a certain distance exists between the first camera 102 and the second camera 103, so that the parallax caused by the first image data and the second image data can be calculated according to the principle of triangulation distance measurement to obtain the depth information of the same shot object 104 in the first shot image and the second shot image, namely the distance between the shot object 104 and the plane where the first camera 102 and the second camera 103 are located.
Step S502: and acquiring the depth image of the shooting object 104 according to the first image data and the depth information.
Specifically, the scene in the focal plane in the first image data may be retained by a preset algorithm, and then the remaining portion may be subjected to blurring processing or the like according to the depth information.
The smaller the difference between the first image data and the second image data is, the more accurate the depth-of-field image is acquired.
In other embodiments, the steps S501 and S502 may be implemented by the following method:
and blurring the frame image corresponding to the first image data according to a preset blurring rule and the depth information.
Specifically, in order to realize the blurring effect, after the distance between each pixel point in the shot object and the camera is obtained, the definition of the scenery in the focusing plane is kept through a preset algorithm, and the blurring processing is performed on the rest parts according to the distance between the rest parts and the camera, so that the blurring effect can be simulated.
Step S503: and loading the depth image and displaying the depth image on a display screen.
The image loading method in step S503 is the same as that in step S302, and is not described herein.
It should be noted that step S202 and step S203 of the present embodiment are performed simultaneously, that is, the electronic device 101 executes step S202 and step S203 in parallel. As can be seen from the above analysis, the time taken for the electronic device 101 to execute step S202 is significantly shorter than the time taken to execute step S203, and after the depth image of the photographic subject 104 is generated, the electronic device 101 switches the preview image displayed on the display screen to the depth image. Therefore, the user can view the captured image in time after the photographing is finished, and can finally view the depth image of the photographic subject 104.
Different from the prior art, after the camera acquires the image data of the shooting object, the preview image of the shooting object can be rapidly acquired so as to check the image of the shooting object, the preview image does not need to be acquired after the depth image is generated, and the depth image needs to be generated for a long time.
The present application further proposes an image display method of the second embodiment, as shown in fig. 6, the method of the present embodiment includes the steps of:
step S601: the first camera is used for collecting first image data of the shot object, and the second camera is used for collecting second image data of the shot object.
Step S601 is the same as step S201 described above, and is not described herein again.
Step S602: and acquiring first depth-of-field information of the first image data, and matching the first depth-of-field information with first preset depth-of-field information.
The first preset depth of field information is respectively used for judging whether image factors such as the definition of a frame image acquired by the first camera and the like reach a threshold value required for the image quality; the first preset depth of field information can be automatically updated according to the definition information corresponding to the actual shooting object.
Step S603: and if the matching fails, acquiring focusing information of the first camera, and adjusting the focusing information of the first camera to control the first camera to perform focusing adjustment.
The first camera is controlled to perform focusing adjustment so as to obtain a first image meeting the image quality requirement.
Step S604: and acquiring a preview image of the shooting object according to the first image data, and displaying the preview image on a display screen of the electronic equipment.
Step S604 is the same as step S202, and is not described herein.
Step S605: and acquiring second depth-of-field information of the second image data, and matching the second depth-of-field information with second preset depth-of-field information.
The second preset depth of field information is respectively used for judging whether image factors such as the definition of a frame image acquired by the second camera and the like reach a threshold value required for the image quality; the second preset depth of field information can be automatically updated according to the actual definition information corresponding to the shooting object.
Step S606: and if the matching fails, acquiring focusing information of the second camera, and adjusting the focusing information of the second camera to control the second camera to perform focusing adjustment.
And focusing adjustment is carried out by controlling the second camera so as to obtain a second image meeting the image quality requirement.
Step S607: and performing fusion processing on the first image data and the second image data to acquire a depth of field image of the shooting object, and switching the preview image on the display screen into the depth of field image.
Step S607 is the same as step S203 described above, and is not described herein again.
In other embodiments, the execution sequence of steps S606 and S607 and steps S602, S603 and S604 are not limited.
Different from the prior art, the method of the embodiment can improve the definition of the preview image and the depth image on the basis of the method of the embodiment.
In one embodiment, as shown in fig. 7, for a bi-shot photograph, the gallery display picture (image) will be loaded twice:
a primary loading process: firstly, after a user takes a double-shot picture, if the user enters a gallery from a camera to check the picture just taken, the gallery can load the picture for the first time, a preview picture in the original double-shot data is extracted, the preview picture is low in resolution, only a thumbnail overview of the picture just taken is displayed, and the user can see the shot scene in time without waiting. Without this loading, the user needs to wait for a long time in the background to process the blurred picture.
And (3) secondary loading process: meanwhile, in the background double-shot data synchronous processing, after the double-shot algorithm operation is completed, the image library is loaded with secondary images, the rendered depth-of-field images are loaded, the virtual images are displayed, the user feels that the images become clearer, and the depth-of-field effect can be seen. However, the user does not feel a large amount of algorithm operation in the background, waiting is not needed, and smooth experience can be provided for the user.
The method of the embodiment can enable the user to preview the shot picture preferentially and switch to the large-aperture picture with the depth of field effect smoothly by running the two processes in parallel, provides a better experience for the user on the basis of not disturbing the user too much, and particularly can embody the advantages of the design in the scene that the user needs to shoot a plurality of double-shot pictures continuously.
In another embodiment, as shown in fig. 8, after the first camera generates the main shot data and the second camera generates the auxiliary shot data, the main shot data and the auxiliary shot data are returned to the processor, the processor writes the main shot data and the auxiliary shot data into the image file, adds the corresponding double shot marks in the database, and controls the display to display the preview image corresponding to the main shot data, the processor further calculates the depth data according to the main shot data and the auxiliary shot data, generates the blurred image according to the main shot data and the depth data, then stores the blurred image and the depth data into the image file, and controls the display to display the blurred image.
The present application further proposes an electronic device of another embodiment, as shown in fig. 9, an electronic device 901 of this embodiment includes: the system comprises a display screen 902, a first camera 903, a second camera 904 and a processor 905, wherein the first camera 903 is used for acquiring first image data of a shot object; the second camera 904 is configured to acquire second image data of the photographic subject; the processor 905 is respectively coupled to the first camera 903, the second camera 904 and the display screen 902, and is configured to obtain a preview image of a photographic object according to first image data and control the display screen 902 to display the preview image; the processor 905 is configured to perform fusion processing on the first image data and the second image data to obtain a depth image of the shooting object, and control the display screen 902 to display the depth image.
Different from the prior art, after the camera acquires the image data of the photographic object, the electronic device 901 of this embodiment can quickly acquire the preview image of the photographic object to check the image of the photographic object, and does not need to wait for the generation of the depth image to acquire, and because the generation of the depth image needs a long time, the time for the user to check the photographic image can be obviously shortened, the user can check the photographic image conveniently and instantly, and the user experience can be improved.
The electronic device 901 is further configured to implement all the methods described above, which are not described herein again.
The electronic equipment can be mobile phones, computers, tablets, intelligent wearable equipment, PADs or other camera electronic equipment.
The present application further provides a device with a storage function, as shown in fig. 10, fig. 10 is a schematic structural diagram of an embodiment of the device with a storage function of the present application. The device 1001 with storage function of this embodiment is used for storing the related data 1002 and the program data 1003 of the above embodiment, where the related data 1002 at least includes the above first image data, second image data, preview image, depth image, and the like, and the program data 1003 can be executed by the method of the above method embodiment. The related data 1002 and the program data 1003 have been described in detail in the above method embodiments, and are not described herein again.
The device 1001 with storage function in this embodiment may be, but is not limited to, a usb disk, an SD card, a PD optical drive, a removable hard disk, a high-capacity floppy drive, a flash memory, a multimedia memory card, a server, etc.
Different from the prior art, the image display method in the embodiment of the application is used for the electronic equipment, the electronic equipment at least comprises a first camera and a second camera, and the method comprises the following steps: acquiring first image data of a shot object through a first camera, and acquiring second image data of the shot object through a second camera; acquiring a preview image of a shooting object according to the first image data, and displaying the preview image on a display screen of the electronic equipment; and performing fusion processing on the first image data and the second image data to acquire a depth of field image of the shooting object, and switching the preview image on the display screen into the depth of field image. Through the mode, after the camera acquires the image data of the shot object, the preview image of the shot object can be rapidly acquired so as to check the image of the shot object, the preview image does not need to be acquired after the depth image is generated, and the depth image needs to be generated for a long time.
In addition, the above functions, if implemented in the form of software functions and sold or used as a standalone product, may be stored in a mobile electronically readable storage medium, i.e., the present application also provides a storage device storing program data that can be executed to implement the methods of the above embodiments, such as a usb disk, an optical disk, a server, etc. That is, the present application may be embodied as a software product including instructions for causing an intelligent electronic device to perform all or a portion of the steps of the methods described in the various embodiments.
In the description of the present application, reference to the description of the terms "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be viewed as implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device (e.g., a personal computer, server, network device, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions). For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
The above description is only for the purpose of illustrating embodiments of the present application and is 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 are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (4)

1. An image display method is used for electronic equipment, the electronic equipment at least comprises a first camera and a second camera, and the image display method comprises the following steps:
acquiring first image data of a shot object through the first camera, and acquiring second image data of the shot object through the second camera;
acquiring first depth-of-field information of the first image data, and matching the first depth-of-field information with first preset depth-of-field information;
if the matching fails, acquiring focusing information of the first camera, and adjusting the focusing information of the first camera to control the first camera to perform focusing adjustment;
writing the first image data and the second image data into an image file;
when an image preview instruction is monitored, acquiring pixel information of a plurality of pixel points from the first image data;
generating a preview image of the shooting object according to the pixel information, wherein the preview instruction is an instruction for previewing the preview image from a gallery of the electronic equipment;
acquiring depth-of-field information of the shot object according to the first image data and the second image data;
blurring the frame image corresponding to the first image data according to a preset blurring rule and the depth information to obtain a depth image;
and loading the depth image and displaying the depth image on a display screen of the electronic equipment.
2. The image display method according to claim 1, wherein before the writing of the first image data and the second image data to an image file, the image display method further comprises:
acquiring second depth-of-field information of the second image data, and matching the second depth-of-field information with second preset depth-of-field information;
and if the matching fails, acquiring focusing information of the second camera, and adjusting the focusing information of the second camera to control the second camera to perform focusing adjustment.
3. An electronic device, characterized in that the electronic device comprises:
a display screen;
the first camera is used for acquiring first image data of a shot object;
the second camera is used for acquiring second image data of the shot object;
the processor is respectively coupled with the first camera, the second camera and the display screen, acquires first depth of field information of the first image data, and matches the first depth of field information with first preset depth of field information;
if the matching fails, acquiring focusing information of the first camera, and adjusting the focusing information of the first camera to control the first camera to perform focusing adjustment;
the processor writes the first image data and the second image data into an image file, acquires pixel information of a plurality of pixel points from the first image data when an image preview instruction is monitored, generates a preview image of the shooting object according to the pixel information, loads the preview image, and displays the preview image on a display screen of the electronic equipment, wherein the preview instruction is an instruction for previewing the preview image from a gallery of the electronic equipment;
the processor is used for acquiring the depth of field information of the shooting object according to the first image data and the second image data, blurring the frame image corresponding to the first image data according to a preset blurring rule and the depth of field information to obtain a depth of field image, loading the depth of field image, and displaying the depth of field image on a display screen of the electronic equipment.
4. An apparatus having a storage function, characterized in that program data is stored thereon, which when executed implements the image display method of any one of claims 1-2.
CN201811394129.XA 2018-11-21 2018-11-21 Electronic equipment, image display method thereof and device with storage function Active CN109688321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811394129.XA CN109688321B (en) 2018-11-21 2018-11-21 Electronic equipment, image display method thereof and device with storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811394129.XA CN109688321B (en) 2018-11-21 2018-11-21 Electronic equipment, image display method thereof and device with storage function

Publications (2)

Publication Number Publication Date
CN109688321A CN109688321A (en) 2019-04-26
CN109688321B true CN109688321B (en) 2021-09-07

Family

ID=66185848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811394129.XA Active CN109688321B (en) 2018-11-21 2018-11-21 Electronic equipment, image display method thereof and device with storage function

Country Status (1)

Country Link
CN (1) CN109688321B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3979617A4 (en) * 2019-08-26 2022-06-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Shooting anti-shake method and apparatus, terminal and storage medium
CN112311985B (en) * 2020-10-12 2021-12-14 珠海格力电器股份有限公司 Multi-shooting processing method and device and storage medium
CN112306153B (en) * 2020-10-30 2024-02-27 联想(北京)有限公司 Electronic equipment and information processing method
CN112383708B (en) * 2020-11-04 2022-10-11 维沃移动通信(杭州)有限公司 Shooting method and device, electronic equipment and readable storage medium
CN113014806B (en) * 2021-02-07 2022-09-13 维沃移动通信有限公司 Blurred image shooting method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108495041A (en) * 2018-04-18 2018-09-04 许培培 A kind of image procossing and display methods, device for electric terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100615B (en) * 2015-07-24 2019-02-26 青岛海信移动通信技术股份有限公司 A kind of method for previewing of image, device and terminal
KR101684194B1 (en) * 2015-12-17 2016-12-07 재단법인 다차원 스마트 아이티 융합시스템 연구단 Multi aperture camera system for improving depth accuracy using focusing distance scan
CN106161945A (en) * 2016-08-01 2016-11-23 乐视控股(北京)有限公司 Take pictures treating method and apparatus
CN106373110A (en) * 2016-11-30 2017-02-01 努比亚技术有限公司 Method and device for image fusion
CN107483821B (en) * 2017-08-25 2020-08-14 维沃移动通信有限公司 Image processing method and mobile terminal
CN107682639B (en) * 2017-11-16 2019-09-27 维沃移动通信有限公司 A kind of image processing method, device and mobile terminal
CN108322644A (en) * 2018-01-18 2018-07-24 努比亚技术有限公司 A kind of image processing method, mobile terminal and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108495041A (en) * 2018-04-18 2018-09-04 许培培 A kind of image procossing and display methods, device for electric terminal

Also Published As

Publication number Publication date
CN109688321A (en) 2019-04-26

Similar Documents

Publication Publication Date Title
CN109688321B (en) Electronic equipment, image display method thereof and device with storage function
WO2021073331A1 (en) Zoom blurred image acquiring method and device based on terminal device
CN108076286B (en) Image blurring method and device, mobile terminal and storage medium
CN110290324B (en) Device imaging method and device, storage medium and electronic device
JPH09181966A (en) Image processing method and device
JP4661824B2 (en) Image processing apparatus, method, and program
CN110677621B (en) Camera calling method and device, storage medium and electronic equipment
CN110636276B (en) Video shooting method and device, storage medium and electronic equipment
US9100563B2 (en) Apparatus, method and computer-readable medium imaging through at least one aperture of each pixel of display panel
JP5467993B2 (en) Image processing apparatus, compound-eye digital camera, and program
US20130076941A1 (en) Systems And Methods For Editing Digital Photos Using Surrounding Context
US8072487B2 (en) Picture processing apparatus, picture recording apparatus, method and program thereof
EP3627822A1 (en) Focus region display method and apparatus, and terminal device
CN112529778A (en) Image splicing method and device for multi-camera equipment, storage medium and terminal
CN110312075B (en) Device imaging method and device, storage medium and electronic device
EP3429186B1 (en) Image registration method and device for terminal
JP2017212550A (en) Image reproducer, control method thereof, program, and storage medium
JP5453552B2 (en) Imaging apparatus, method and program
CN115134532A (en) Image processing method, image processing device, storage medium and electronic equipment
CN112653841B (en) Shooting method and device and electronic equipment
WO2020238312A1 (en) Photographing method and apparatus, storage medium and electronic device
KR100579135B1 (en) Method for capturing convergent-type multi-view image
JP4632060B2 (en) Image recording apparatus, method and program
JP2012222618A (en) Display control apparatus and display control method
CN113905170A (en) Zoom control method, device, storage medium and electronic device

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230731

Address after: Room 2103, Office Building 1, No. 213 Funing Road, Zumiao Street, Chancheng District, Foshan City, Guangdong Province, 528000, F008

Patentee after: Foshan Huayue Intellectual Property Operation Co.,Ltd.

Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.