CN108777765A - Obtain the method, apparatus and electronic equipment of full clear image - Google Patents

Obtain the method, apparatus and electronic equipment of full clear image Download PDF

Info

Publication number
CN108777765A
CN108777765A CN201810892693.8A CN201810892693A CN108777765A CN 108777765 A CN108777765 A CN 108777765A CN 201810892693 A CN201810892693 A CN 201810892693A CN 108777765 A CN108777765 A CN 108777765A
Authority
CN
China
Prior art keywords
image
camera
electronic equipment
images
full clear
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.)
Granted
Application number
CN201810892693.8A
Other languages
Chinese (zh)
Other versions
CN108777765B (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.)
Chengdu Science And Technology Co Ltd
Original Assignee
Chengdu Science And Technology 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 Chengdu Science And Technology Co Ltd filed Critical Chengdu Science And Technology Co Ltd
Priority to CN201810892693.8A priority Critical patent/CN108777765B/en
Publication of CN108777765A publication Critical patent/CN108777765A/en
Application granted granted Critical
Publication of CN108777765B publication Critical patent/CN108777765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/62Control of parameters via user interfaces
    • 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
    • H04N5/265Mixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)

Abstract

The present invention relates to technical field of image processing, more particularly to a kind of method, apparatus, electronic equipment and computer readable storage medium obtaining full clear image, this method and device are applied to electronic equipment, and the first camera and second camera are provided on the electronic equipment.This method includes:It receives and the photographing operation for responding user controls the first camera first image of acquisition and the first image is shown in electronic equipment, and control second camera is in the second image for acquiring multiple default focal points respectively from the background, and then multiple second images of second camera acquisition are handled to obtain full clear image, finally full clear image is stored in the picture library of electronic equipment.In embodiments of the present invention, it is executed on backstage due to second camera acquisition image, therefore the bounce of the imperceptible preview interface of user, improve the experience of taking pictures of user.

Description

Obtain the method, apparatus and electronic equipment of full clear image
Technical field
The present invention relates to technical field of image processing, in particular to a kind of method obtaining full clear image, dress It sets, electronic equipment and computer readable storage medium.
Background technology
Current many camera devices, the clear image acquiring method of all clear mainly control camera first is multiple default Focal point shoots correspondence image, and then all images of shooting are screened into line definition, and then obtains a full clear image. But in current technology, when camera carries out each default focal position switching, the preview interface of camera acquisition will Due to presetting the continuous switching of focus, continuous saltus step can be also followed, and then influence the experience of taking pictures of user.
Invention content
The purpose of the present invention is to provide a kind of methods obtaining full clear image, and full clear image is being obtained to realize Meanwhile the stabilization of preview interface is kept, improve the experience of taking pictures of user.
Another object of the present invention is to provide a kind of devices obtaining full clear image, and the clear figure of all clear is being obtained to realize While picture, the stabilization of preview interface is kept, improves the experience of taking pictures of user.
Another object of the present invention is to provide a kind of electronic equipment to be protected with realizing while obtaining full clear image The stabilization for holding preview interface improves the experience of taking pictures of user.
Another object of the present invention is to provide a kind of computer readable storage mediums, and full clear image is being obtained to realize While, the stabilization of preview interface is kept, the experience of taking pictures of user is improved.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, an embodiment of the present invention provides a kind of method obtaining full clear image, it is applied to electronic equipment, institute It states and is provided with the first camera and second camera on electronic equipment, the method includes:Receive and respond the behaviour that takes pictures of user Make to control the first camera first image of acquisition and described first image is shown in the electronic equipment, and described in control Second camera is in the second image for acquiring multiple default focal points respectively from the background;To multiple the of second camera acquisition Two images are handled to obtain full clear image;The full clear image is stored in the picture library of the electronic equipment for user It checks.
Second aspect, the embodiment of the present invention additionally provide a kind of device obtaining full clear image, are applied to electronic equipment, The first camera and second camera are provided on the electronic equipment, described device includes:Control module, for receiving and ringing The first camera first image of acquisition is controlled using the photographing operation at family and described first image is shown in the electronics Equipment, and the second camera is controlled in the second image for acquiring multiple default focal points respectively from the background;Processing module is used for Multiple second images of second camera acquisition are handled to obtain full clear image;Memory module, being used for will be described Full clear image is stored in the picture library of the electronic equipment to be checked for user.
The third aspect, the embodiment of the present invention additionally provide a kind of electronic equipment, and the electronic equipment includes memory and place Device is managed, the memory is stored in for executing in the memory for storing computer program code, the processor Method of the computer program code to realize the full clear image of acquisition.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program, the method that the acquisition full clear image is realized when the computer program is executed by processor.
A kind of method, apparatus obtaining full clear image provided in an embodiment of the present invention, electronic equipment and computer-readable Storage medium, this method and device are applied to electronic equipment, and the first camera and second camera are provided on the electronic equipment. This method includes:It receives and the photographing operation for responding user controls first camera and acquires the first image and by described first Image is shown in the electronic equipment, and controls second camera in the second figure for acquiring multiple default focal points respectively from the background Picture, and then multiple second images of second camera acquisition are handled to obtain full clear image, finally by full clear image It is stored in the picture library of electronic equipment.In embodiments of the present invention, controlled when user takes pictures the first camera and Second camera is carried out at the same time photographing operation, and the image that the first camera acquires is showed in user as preview image, and Fusion treatment is carried out to multiple images that second camera acquires on backstage and obtains full clear image, finally deposits full clear image It is stored in picture library, user is when checking photo i.e. it can be seen that the clear image of all clear.Since second camera acquisition image is being held from the background Row, therefore the bounce of the imperceptible preview interface of user, improve the experience of taking pictures of user.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Fig. 2 shows a kind of flow diagrams for the method obtaining full clear image provided in an embodiment of the present invention.
Fig. 3 shows a kind of flow signal of the sub-step of method obtaining full clear image provided in an embodiment of the present invention Figure.
Fig. 4 shows a kind of flow of another sub-step of method obtaining full clear image provided in an embodiment of the present invention Schematic diagram.
Fig. 5 shows a kind of high-level schematic functional block diagram of device obtaining full clear image provided in an embodiment of the present invention.
Diagram:100- electronic equipments;110- obtains the device of full clear image;120- memories;130- storage controls; 140- processors;150- peripheral hardwares are made an excuse;160- input-output units;170- audio units;180- display units;190- communication units Member;The first cameras of 200-;210- second cameras;111- analysis modules;112- control modules;113- processing modules;114- Memory module.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
A kind of method obtaining full clear image provided in an embodiment of the present invention is applied in electronic equipment, the electronic equipment It may be, but not limited to, the intelligent electronic devices such as mobile phone or tablet computer, at least two camera shootings be installed on the electronic equipment Head.In actual use, one of camera is main camera, for acquiring image formation preview image and being showed in use Family, camera in addition is image of the secondary camera for acquiring multiple default focal points respectively, and by electronic equipment on backstage The multiple image of acquisition is merged to obtain full clear image.Due to Image Acquisition with merge all be in background process, therefore use Family is not felt by switching of the secondary camera in each default focal position when checking preview image, thus preview image will not It beats, therefore while having provided full clear image to the user, it ensure that the experience of taking pictures of user.
Fig. 1 is please referred to, is the structural schematic diagram of a kind of electronic equipment 100 provided in an embodiment of the present invention, the electronic equipment 100 include the device 110 for obtaining full clear image, memory 120, storage control 130, processor 140, Peripheral Interface 150, Input-output unit 160, audio unit 170, display unit 180, communication unit 190, the camera shooting of the first camera 200 and second First 210.
The memory 120, storage control 130, processor 140, Peripheral Interface 150, input-output unit 160, sound Frequency unit 170, display unit 180, communication unit 190, the first camera 200 and 210 each element of second camera mutually it Between be directly or indirectly electrically connected, to realize the transmission or interaction of data.For example, these elements can pass through one between each other Or a plurality of communication bus or signal wire are realized and are electrically connected.The device 110 for obtaining full clear image include it is at least one can The operation system of electronic equipment 100 is stored in the memory 120 or is solidificated in the form of software or firmware (firmware) Software function module in system (operating system, OS).The processor 140 is stored for executing in memory 120 Executable module, such as software function module or computer program that the device 110 for obtaining full clear image includes.
Wherein, memory 120 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 120 is for storing program, and the processor 140 executes described program, this hair after receiving and executing instruction The method performed by electronic equipment 100 that the stream process that bright embodiment any embodiment discloses defines can be applied to processor In 140, or realized by processor 140.
Processor 140 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 140 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), Field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor 140 can also be any conventional processor 140 etc..
The Peripheral Interface 150 couples various input/output devices to processor 140 and memory 120.At some In embodiment, Peripheral Interface 150, processor 140 and storage control 130 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
The interaction that input-output unit 160 is used to that user input data to be supplied to realize user and the electronic equipment 100. The input-output unit 160 may be, but not limited to, mouse and keyboard etc..
Audio unit 170 provides a user audio interface, may include that one or more microphones, one or more raises Sound device and voicefrequency circuit.
Display unit 180 provides an interactive interface (such as user interface) between electronic equipment 100 and user Or it is referred to user for display image data.In the present embodiment, the display unit 180 can be liquid crystal display or touch Control display.Can be that the capacitance type touch control screen or resistance-type of single-point and multi-point touch operation is supported to touch if touch control display Control screen etc..Single-point and multi-point touch operation is supported to refer to touch control display and can sense on the touch control display one or more The touch control operation generated simultaneously at a position, and transfer to processor 140 to be calculated and handled the touch control operation that this is sensed.
First camera 200 is shown in electronics for acquiring the first image using described first image as preview image The application interface of equipment 100 is checked for user.
Second camera 210 is used to acquire the second image in multiple default focal points, and by multiple second images of acquisition It handles to obtain full clear image transferring to system from the background.
The communication unit 190 is used for by establishing connection between network and high in the clouds, to realize the electronic equipment 100 Communication connection between high in the clouds, and for passing through network transceiving data.
Fig. 2 is please referred to, is a kind of flow diagram of method obtaining full clear image provided in an embodiment of the present invention, it should Method includes:
Step S110, receives and responds the photographing operation of user, and control first camera acquires the first image and will Described first image is shown in the electronic equipment, and controls the second camera and acquiring multiple default focuses respectively from the background Second image at place.
Specifically, being equipped with the first camera 200 and second camera 210 on the electronic equipment 100, implement in the present invention In example, it is illustrated there are two camera with the electronic equipment 100 installation, wherein imaged based on the first camera 200 Head is secondary camera with second camera 210.In turn, user will touch or button by way of manipulate electronic equipment 100 into The photographing operation for responding user is controlled the first camera 200 and acquires the first image, control by row photographing operation, the electronic equipment 100 Second camera 210 processed acquires the second image of multiple default focal points respectively.
It should be noted that the photographing operation control camera of the electronic equipment 100 response user is when taking pictures, this First image of one camera 200 acquisition will be shown in as preview image on the application interface of electronic equipment 100, this second is taken the photograph Multiple second images will be acquired respectively in multiple default focal points on backstage as first 210, and multiple second images acquired are not It is shown in the application interface of the electronic equipment 100.Distinguish in multiple default focal points since second camera 210 is hidden in backstage Multiple second images are acquired, and the preview image of preview interface will not be focused respectively, therefore the electronic equipment 100 is pre- Look at interface be not in bounce, for a user, see the first stable image always, and then preferably ensure that user Experience of taking pictures.
In addition, the set-up mode of multiple default focuses of the second camera 210 is:According to second camera 210 itself Structure and parameter can determine the near focus and a far focus of the second camera 210, wherein this it is close it is burnt be the second camera 210 It can be clearly captured object most nearby, the minimum distance that camera lens is released, which is that the second camera 210 can be clear Ground shoots the object of farthest, the maximum distance that camera lens is released.It in turn, will be between the near focus and a far focus of the second camera 210 Distance be divided equally into several sections or be divided into several sections according to the common shooting distance of user, determine multiple focal positions.Also it is It says, multiple default focuses of the second camera 210 include the close burnt, remote burnt of second camera 210 and according to close burnt and remote Multiple focal positions that the distance between coke determines.
It should be noted that multiple default focuses of the second camera 210 are usually when the electronic equipment 100 dispatches from the factory It can be configured.
Step S120 is handled to obtain full clear image to multiple second images of second camera acquisition.
Specifically, at multiple second images acquired to second camera 210 there are two types of in embodiments of the present invention Reason obtains the mode of full clear image, respectively:
The first
Fig. 3 is please referred to, is a kind of flow of the sub-step of method obtaining full clear image provided in an embodiment of the present invention Schematic diagram, step S120 include:
Step S121, it is reference picture to choose the highest image of clarity in multiple second images.
Also i other words, which acquires multiple second images, in order to enable the clear figure of all clear finally obtained Picture effect is more preferable, and it is reference picture to choose the highest image of clarity in multiple second images first, and then to the reference picture It is further processed and obtains full clear image.Wherein, the clarity method of discrimination of multiple the second images is:More every successively The texture and details of second image, the clarity of every image is determined according to the readability of texture and details.In turn, it chooses more It is reference picture to open texture and most clear second image of details in the second image.
The reference picture and other multiple described second images are divided into the segment of identical quantity by step S122.
Specifically, the reference picture of selection and other remaining second images to be divided into the segment of identical quantity, such as Reference picture and other multiple second images are divided into 9 parts, it is readily appreciated that, the reference picture and other multiple second figures As the quantity divided can need to be determined according to user.
Step S123, to the same clip in the reference picture and other multiple described second images into line definition ratio Compared with.
I other words since reference picture and other multiple second images are the Same Scenes in different focal point station acquisition Object, therefore as reference picture with the scene content in other multiple second images is, unique different place is only that together The clarity of different objects is inconsistent under one scene.In turn, by the segment in other multiple second images respectively with reference picture In same clip one by one into the comparison of line definition, i.e., texture and details in compared pieces.
Step S124 chooses clarity in other multiple described second images and is more than same clip in the reference picture Segment replaces the segment in the reference picture to obtain full clear image.
I other words if under shooting object unanimous circumstances, if the segment in the second image is than same clip in reference picture Clarity higher, then in the second image segment substitution reference picture in homologous segment, it is readily appreciated that, if the second figure Segment as in is lower than the clarity of same clip in reference picture, then retains the segment in reference picture, so that with reference to The segment finally retained in image is all that clarity is highest in all second images, to obtain full clear image to the end.
Second
It, can also be by first in order to reduce the acquisition number of the second image, and the processing time of the full clear image of quickening Multiple second images that first image and second camera 210 that camera 200 acquires acquire combine analysis, with true Fixed final full clear image.Concrete implementation mode is:
Fig. 4 is please referred to, is a kind of another sub-step of method obtaining full clear image provided in an embodiment of the present invention Flow diagram specifically includes:
Step S125 obtains the focal position of the first image of the first camera acquisition.
Specifically, the electronic equipment 100 obtains the focal position that the first camera 200 acquires the first image, this first is taken the photograph As first 200 focal position is typically pre-set, therefore the electronic equipment 100 can directly read first camera 200 Focal position.
Step S126 calculates separately the focal position and is preset at a distance from focus in the second camera.
I other words the electronic equipment 100 will calculate focal position and the second camera of first camera 200 one by one The distance between multiple default focuses in 210.
Step S127, determine in the second camera in multiple default focuses with nearest pre- of focal position distance If focus is purpose focus.
In turn, it determines in second camera 210 nearest with the focal position of the first camera 200 in multiple default focuses Default focus is purpose focus, also i other words, the effect for the second image which shoots in purpose focal point The effect that fruit shoots to obtain the first image with the first camera 200 in focal position is almost consistent.
Step S128 controls the second camera and acquires other each default focuses in addition to the purpose focus respectively Second image at place.
Specifically, the electronic equipment 100 will control second camera 210 in each default focal point in addition to purpose focus Acquire the second image, the second image acquired in this way will lack one, i.e., second camera 210 purpose focal point there is no into The acquisition of the second image of row.
Step S129, multiple second images acquired to described first image and the second camera merge To full clear image.
I other words acquired in focal position since the first image is the first camera 200, and in second camera 210 Purpose focus be the first camera of distance 200 the immediate focus in focal position, meanwhile, second camera 210 only except Other default focal points outside purpose focus acquire the second image, and then the first image was substituted second camera 210 originally It should be in the second image that purpose focal point collects.Finally, to other of the first image and the acquisition of second camera 210 Multiple second images are merged to obtain full clear image, and the specific processing mode of fusion is as described in step S121~S124. It is acquired due to first image inherently the first camera 200 needs, so that second camera 210 can acquire less One image, has saved the number of the second Image Acquisition, accelerates the generated time of full clear image.
The full clear image is stored in the picture library of the electronic equipment and is checked for user by step S130.
Specifically, the full clear image ultimately produced is stored in the picture library of electronic equipment 100, also i other words, for First image of the first camera 200 acquisition can't be stored in electronic equipment 100.After user takes pictures, need to clapping When the image obtained is checked, the picture library that can open electronic equipment 100 views the full clear image of generation.
It can be seen that a kind of method obtaining full clear image provided in an embodiment of the present invention, passes through the first camera 200 The first image is acquired, acquires the second figure of multiple default focal points in Background control second camera 210 by electronic equipment 100 Picture, while full clear image is obtained according to multiple second image procossings, while to ensure that user obtains full clear image, avoid The bounce of preview interface, preferably improves user experience.
Fig. 5 is please referred to, is that a kind of function module of device 110 obtaining full clear image provided in an embodiment of the present invention is shown It is intended to, which includes analysis module 111, control module 112, processing module 113 and alternative module 114.
Analysis module 111, the focal position of the first image for obtaining the first camera acquisition, calculates separately institute It states focal position and at a distance from multiple default focuses, determines multiple default cokes in the second camera in the second camera The default focus nearest with focal position distance is purpose focus in point.
In embodiments of the present invention, step S125~S127 can be executed by analysis module 111.
Control module 112, the photographing operation for receiving and responding user control first camera and acquire the first figure As described first image is simultaneously shown in the electronic equipment, and control the second camera acquire respectively from the background it is multiple pre- If the second image of focal point.
In embodiments of the present invention, step S110 and step S128 can be executed by control module 112.
Processing module 113, it is clear for being handled to obtain all clear to multiple second images that the second camera acquires Image.
In embodiments of the present invention, step S120, S121~S124 and S129 can be executed by processing module 113.
Memory module 114 is checked for the full clear image to be stored in the picture library of the electronic equipment for user.
In embodiments of the present invention, step S130 can be executed by alternative module 114.
Due to being had been described in the method part for obtaining full clear image, details are not described herein.
The embodiment of the present invention further discloses a kind of computer readable storage medium, is stored thereon with computer program, described The method for the full clear image of acquisition that the embodiment of the present invention of computer program realizing when being executed by processor 140 discloses.
In conclusion a kind of method, apparatus, electronic equipment and meter obtaining full clear image provided in an embodiment of the present invention Calculation machine readable storage medium storing program for executing, this method and device are applied to electronic equipment, and the first camera and the are provided on the electronic equipment Two cameras.This method includes:It receives and the photographing operation for responding user controls the first image of the first camera acquisition simultaneously Described first image is shown in the electronic equipment, and controls second camera and is acquiring multiple default focal points respectively from the background The second image, and then to second camera acquisition multiple second images handled to obtain full clear image, finally will be complete Clear image is stored in the picture library of electronic equipment and is checked for user.In embodiments of the present invention, when user takes pictures It waits the first camera of control and second camera is carried out at the same time photographing operation, and using the image of the first camera acquisition as preview Image shows carry out fusion treatment to multiple images that second camera acquires on backstage and obtain full clear image in user, Finally full clear image is stored in picture library, user is when checking photo i.e. it can be seen that the clear image of all clear.Due to the second camera shooting Head acquisition image executes on backstage, therefore the bounce of the imperceptible preview interface of user, improves the experience of taking pictures of user.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.

Claims (10)

1. a kind of method obtaining full clear image, is applied to electronic equipment, which is characterized in that be provided on the electronic equipment First camera and second camera, the method includes:
The photographing operation of user is received and responded, first camera is controlled and acquires the first image and show described first image It is shown in the electronic equipment, and controls the second camera in the second image for acquiring multiple default focal points respectively from the background;
Multiple second images of second camera acquisition are handled to obtain full clear image;
The full clear image is stored in the picture library of the electronic equipment and is checked for user.
2. the method as described in claim 1, which is characterized in that multiple second images to second camera acquisition The step of being handled to obtain full clear image include:
It is reference picture to choose the highest image of clarity in multiple second images;
The reference picture and other multiple described second images are divided into the segment of identical quantity;
Same clip in the reference picture and other multiple described second images is compared into line definition;
Clarity in other multiple described second images is chosen to be more than described in the segment substitution of same clip in the reference picture Segment in reference picture is to obtain full clear image.
3. method as claimed in claim 2, which is characterized in that clarity is highest in multiple second images of selection Image be reference picture the step of include:
The texture and details of more multiple second images successively;
It is reference picture to choose texture and most clear second image of details in multiple second images.
4. the method as described in claim 1, which is characterized in that the method further includes:
Obtain the focal position of the first image of the first camera acquisition;
The focal position is calculated separately in the second camera at a distance from multiple default focuses;
For the purpose of determining in the second camera default focus nearest with focal position distance in multiple default focuses Focus;
The step of control second camera acquires the second image of multiple default focal points respectively include:
Control the second image of other each default focal points that the second camera is acquired respectively in addition to the purpose focus.
5. method as claimed in claim 4, which is characterized in that multiple second images to second camera acquisition The step of being handled to obtain full clear image include:
Multiple second images acquired to described first image and the second camera are merged to obtain full clear image.
6. a kind of device obtaining full clear image, is applied to electronic equipment, which is characterized in that be provided on the electronic equipment First camera and second camera, described device include:
Control module, the photographing operation for receiving and responding user, control first camera acquire the first image and will Described first image is shown in the electronic equipment, and controls the second camera and acquiring multiple default focuses respectively from the background Second image at place;
Processing module, for being handled to obtain full clear image to multiple second images that the second camera acquires;
Memory module is checked for the full clear image to be stored in the picture library of the electronic equipment for user.
7. device as claimed in claim 6, which is characterized in that the processing module is specifically used for:
It is reference picture to choose the highest image of clarity in multiple second images;
The reference picture and other multiple described second images are divided into the segment of identical quantity;
Same clip in the reference picture and other multiple described second images is compared into line definition;
Clarity in other multiple described second images is chosen to be more than described in the segment substitution of same clip in the reference picture Segment in reference picture is to obtain full clear image.
8. device as claimed in claim 6, which is characterized in that described device further includes:
Analysis module, the focal position of the first image for obtaining the first camera acquisition, calculates separately the focus Position in the second camera at a distance from multiple default focuses, determine in the second camera in multiple default focuses with The nearest default focus of the focal position distance is purpose focus;
The control module be specifically used for controlling the second camera acquire respectively in addition to the purpose focus other are each Second image of default focal point;
The processing module is used to melt multiple second images that described first image and the second camera acquire Conjunction obtains full clear image.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes memory and processor, and the memory is for depositing Computer program code is stored up, the processor is for executing the computer program code being stored in the memory to realize such as The method of the full clear image of acquisition described in claim 1-5 any one.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The method that the acquisition full clear image as described in claim 1-5 any one is realized when being executed by processor.
CN201810892693.8A 2018-08-07 2018-08-07 Method and device for acquiring full-definition image and electronic equipment Active CN108777765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810892693.8A CN108777765B (en) 2018-08-07 2018-08-07 Method and device for acquiring full-definition image and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810892693.8A CN108777765B (en) 2018-08-07 2018-08-07 Method and device for acquiring full-definition image and electronic equipment

Publications (2)

Publication Number Publication Date
CN108777765A true CN108777765A (en) 2018-11-09
CN108777765B CN108777765B (en) 2021-04-30

Family

ID=64028620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810892693.8A Active CN108777765B (en) 2018-08-07 2018-08-07 Method and device for acquiring full-definition image and electronic equipment

Country Status (1)

Country Link
CN (1) CN108777765B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072059A (en) * 2019-05-28 2019-07-30 珠海格力电器股份有限公司 Image capturing device, method and terminal
CN111444752A (en) * 2019-10-22 2020-07-24 泰州市海陵区一马商务信息咨询有限公司 Shadow target data orientation analysis device and method
CN112383709A (en) * 2020-11-06 2021-02-19 维沃移动通信(杭州)有限公司 Picture display method, device and equipment
CN114125197A (en) * 2020-09-01 2022-03-01 青岛海信移动通信技术股份有限公司 Mobile terminal and photographing method thereof
CN117119318A (en) * 2023-02-20 2023-11-24 荣耀终端有限公司 Image processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167226A (en) * 2011-12-12 2013-06-19 华晶科技股份有限公司 Method and device for producing panoramic deep image
US20140368695A1 (en) * 2013-06-14 2014-12-18 Sony Corporation Control device and storage medium
CN104917965A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Shooting method and device
CN106060386A (en) * 2016-06-08 2016-10-26 维沃移动通信有限公司 Preview image generation method and mobile terminal
CN106060406A (en) * 2016-07-27 2016-10-26 维沃移动通信有限公司 Photographing method and mobile terminal
CN106572305A (en) * 2016-11-03 2017-04-19 乐视控股(北京)有限公司 Image shooting method, image processing method, apparatuses and electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103167226A (en) * 2011-12-12 2013-06-19 华晶科技股份有限公司 Method and device for producing panoramic deep image
US20140368695A1 (en) * 2013-06-14 2014-12-18 Sony Corporation Control device and storage medium
CN104917965A (en) * 2015-05-28 2015-09-16 努比亚技术有限公司 Shooting method and device
CN106060386A (en) * 2016-06-08 2016-10-26 维沃移动通信有限公司 Preview image generation method and mobile terminal
CN106060406A (en) * 2016-07-27 2016-10-26 维沃移动通信有限公司 Photographing method and mobile terminal
CN106572305A (en) * 2016-11-03 2017-04-19 乐视控股(北京)有限公司 Image shooting method, image processing method, apparatuses and electronic device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072059A (en) * 2019-05-28 2019-07-30 珠海格力电器股份有限公司 Image capturing device, method and terminal
CN111444752A (en) * 2019-10-22 2020-07-24 泰州市海陵区一马商务信息咨询有限公司 Shadow target data orientation analysis device and method
CN114125197A (en) * 2020-09-01 2022-03-01 青岛海信移动通信技术股份有限公司 Mobile terminal and photographing method thereof
CN112383709A (en) * 2020-11-06 2021-02-19 维沃移动通信(杭州)有限公司 Picture display method, device and equipment
CN117119318A (en) * 2023-02-20 2023-11-24 荣耀终端有限公司 Image processing method and device

Also Published As

Publication number Publication date
CN108777765B (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN108777765A (en) Obtain the method, apparatus and electronic equipment of full clear image
US10623626B2 (en) Multiple lenses system, operation method and electronic device employing the same
JP6682550B2 (en) System and method for continuous autofocus
US8350931B2 (en) Arrangement and method relating to an image recording device
CN102196178B (en) Image pickup apparatus and its control method
CN101334578B (en) Image photographing apparatus, image photographing method, and computer program
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN106416222A (en) Real-time capture exposure adjust gestures
JPH07135594A (en) Image pickup controller
CN108377342A (en) double-camera photographing method, device, storage medium and terminal
CN108668086B (en) Automatic focusing method and device, storage medium and terminal
WO2022022259A1 (en) Photographing prompting method and apparatus, and storage medium, and electronic device
CN109076156A (en) Electronic equipment and its control method
CN109040589B (en) Image processing method, image processing device, storage medium and electronic equipment
CN103945109A (en) Image pickup apparatus, remote control apparatus, and methods of controlling image pickup apparatus and remote control apparatus
CN103188434A (en) Method and device of image collection
CN104935698A (en) Photographing method of smart terminal, photographing device and smart phone
JP2019102845A (en) Display controller, display control method, and program
JP6283329B2 (en) Augmented Reality Object Recognition Device
WO2009110204A1 (en) Device selection control device
CN110677580A (en) Shooting method, shooting device, storage medium and terminal
CN108769538A (en) Atomatic focusing method, device, storage medium and terminal
CN106096665A (en) Dual pathways cloud data management platform
WO2018055659A1 (en) Screen sharing system, screen sharing method, and program
US9049382B2 (en) Image processing apparatus and image processing method

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