CN108881636A - Backlight automatic mode switching method, device, electronic equipment and computer readable storage medium - Google Patents

Backlight automatic mode switching method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN108881636A
CN108881636A CN201810702761.XA CN201810702761A CN108881636A CN 108881636 A CN108881636 A CN 108881636A CN 201810702761 A CN201810702761 A CN 201810702761A CN 108881636 A CN108881636 A CN 108881636A
Authority
CN
China
Prior art keywords
image
camera
electronic equipment
definition values
target area
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
CN201810702761.XA
Other languages
Chinese (zh)
Other versions
CN108881636B (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 CN201810702761.XA priority Critical patent/CN108881636B/en
Publication of CN108881636A publication Critical patent/CN108881636A/en
Application granted granted Critical
Publication of CN108881636B publication Critical patent/CN108881636B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • 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/667Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The present invention relates to camera work fields, and in particular to a kind of backlight automatic mode switching method, device, electronic equipment and computer readable storage medium, this method include:User's control opens the first camera and acquires the first image, and control second camera overexposure acquires the second image.The first image that user's click is shown on the application interface of electronic equipment in turn determines the target area on the first image and the second image, calculate separately the first definition values of the target area on the first image, with the second definition values of the target area on the second image, it is backlight mode by the pattern switching of electronic equipment if the second definition values are greater than the first definition values.In this programme, image is acquired respectively by the first camera and second camera, whether the scene that the clarity of comparative analysis image is presently in simultaneously with automatic detection is backlight scene, to realize the automatic switchover of electronic equipment backlight mode, improves user experience.

Description

Backlight automatic mode switching method, device, electronic equipment and computer-readable storage Medium
Technical field
The present invention relates to camera work fields, in particular to a kind of backlight automatic mode switching method, device, electricity Sub- equipment and computer readable storage medium.
Background technique
At present when user uses camera when backlight scene shoots photo, since scene has strong light, so that user takes The photo background come is very bright, but the main body brightness in photo is very dark, and therefore, ordinary user is difficult directly to shoot pledge with camera Measure preferable backlight scene photo.Even if many camera apparatus have backlight mode at present, so that user claps under backlight scene According to when, can choose and taken pictures using backlight mode.But in actual use, user is required manually every time by camera mode It is switched to backlight mode, has seriously affected user experience.Therefore it provides a kind of automatic switching method of backlight mode is very must It wants.
Summary of the invention
The purpose of the present invention is to provide a kind of backlight automatic mode switching methods, automatically will under backlight scene with realizing Electronic equipment is switched to backlight mode, and user is facilitated to shoot the photo of high quality, improves user experience.
Another object of the present invention is to provide a kind of backlight mode automatic switching control equipments, to realize under backlight scene certainly It is dynamic that electronic equipment is switched to backlight mode, facilitate user to shoot the photo of high quality, improves user experience.
Another object of the present invention is to provide a kind of electronic equipment, to realize under backlight scene automatically by electronic equipment It is switched to backlight mode, user is facilitated to shoot the photo of high quality, improves user experience.
Another object of the present invention is to provide a kind of computer readable storage mediums, automatic under backlight scene to realize Electronic equipment is switched to backlight mode, user is facilitated to shoot the photo of high quality, improves user experience.
To achieve the goals above, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, being applied to electronic equipment, institute the embodiment of the invention provides a kind of backlight automatic mode switching method It states electronic equipment and is provided with the first camera and second camera, the method includes:Control first camera acquisition the One image controls the second camera overexposure and acquires the second image, and the first image is shown in the electronic equipment Application interface;It receives and responds user and described first is determined to the selected operation of the first image shown on application interface Target area on image and the second image;The first definition values of the target area in the first image are determined respectively, and Second definition values of the target area on second image;If second definition values are greater than the first definition values, It is backlight mode by the pattern switching of the electronic equipment.
Second aspect, the embodiment of the invention also provides a kind of backlight mode automatic switching control equipments, are applied to electronic equipment, The electronic equipment is provided with the first camera and second camera, and described device includes:Acquisition module, for controlling described One camera acquires the first image, controls the second camera overexposure and acquires the second image, and the first image is shown In the application interface of the electronic equipment;Area determination module, for receiving and responding user to the institute shown on application interface The selected operation for stating the first image determines target area in the first image and the second image;Clarity determining module is used In the target area in the first definition values and second image for determining the target area in the first image respectively Second definition values;Mode switch module, if being greater than the first definition values for second definition values, by the electronics The pattern switching of equipment is backlight mode.
The third aspect is provided with first and takes the photograph the embodiment of the invention also provides a kind of electronic equipment on the electronic equipment As head and second camera, the electronic equipment further includes processor and memory, and the memory is for storing computer journey Sequence, the processor are used to execute the computer program being stored in the memory to realize that the backlight mode is cut automatically Change method.
Fourth aspect, the embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer Program, the computer program realize the backlight automatic mode switching method when being executed by processor.
A kind of backlight automatic mode switching method provided in an embodiment of the present invention, device, electronic equipment and computer-readable Storage medium, the backlight automatic mode switching method and device are applied to electronic equipment, are provided with first on the electronic equipment and take the photograph As head and second camera, this method includes:User's control opens the first camera and acquires the first image, controls second camera The parameter of application interface and second camera that the first image for acquiring the second image, while acquiring is shown in electronic equipment is set It is set to overexposure.And then user clicks the first image being shown on the application interface of electronic equipment and determines the first image and the second figure As upper target area, the target in the first definition values and the second image of the target area on the first image is calculated separately Second definition values in region show that the image currently acquired is backlight figure if the second definition values are greater than the first definition values The pattern switching of electronic equipment is then backlight mode by picture.It can be seen that in the present solution, being taken the photograph by the first camera and second As head acquires image respectively, while whether the scene that the clarity of comparative analysis image is presently in automatic detection is backlight field The mode of electronic equipment is then automatically switched to backlight mode if backlight scene by scape, to realize electronic equipment backlight mode Automatically switch, improves user experience.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
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 of backlight automatic mode switching method provided in an embodiment of the present invention.
Fig. 3 shows a kind of process signal of the sub-step of backlight automatic mode switching method provided in an embodiment of the present invention Figure.
Fig. 4 shows a kind of the functional block diagram of backlight mode automatic switching control equipment provided in an embodiment of the present invention.
Diagram:100- electronic equipment;110- backlight mode automatic switching control equipment;120- memory;130- storage control; 140- processor;150- Peripheral Interface;160- input-output unit;170- audio unit;180- display unit;190- communication unit Member;111- acquisition module;112- area determination module;113- clarity determining module;114- mode switch module.
Specific embodiment
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 description, 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, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing Every other embodiment obtained under the premise of creative work out, 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 in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
A kind of backlight automatic mode switching method provided in an embodiment of the present invention is applied on electronic equipment, the electronic equipment On be provided with the first camera and second camera, it is readily appreciated that, which can be but not limited to, smart phone, The electronic equipments such as tablet computer.The electronic equipment may be implemented under backlight scene certainly by the backlight automatic mode switching method It is dynamic to be switched to backlight mode and take pictures so that user can need not manual switching backlight mode, improve user experience.It needs Illustrate, the backlight scene be the scene with strong light, as user hold mobile phone towards the sun shoot the sun under object, this When the photo taken may be that bias light is very bright, but the state that the target object in photo is very dark, the backlight mode are to set The various overexposure parameters set, such as shutter speed, the electronic equipment can be realized by the backlight mode and be shot under backlight scene Obtain the effect of clear image.
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 backlight mode automatic switching control equipment 110, memory 120, storage control 130, processor 140, Peripheral Interface 150, Input-output unit 160, audio unit 170, display unit 180 and communication unit 190.
The memory 120, storage control 130, processor 140, Peripheral Interface 150, input-output unit 160, sound Frequency unit 170, display unit 180, each element of communication unit 190 are directly or indirectly electrically connected between each other, to realize number According to transmission or interaction.For example, these elements can be realized electrically between each other by one or more communication bus or signal wire Connection.The backlight mode automatic switching control equipment 110 includes that at least one can be deposited in the form of software or firmware (firmware) It is stored in the memory 120 or is solidificated in the operating system (operating system, OS) of 100 equipment of electronic equipment In software function module.The processor 140 is used to execute the executable module stored in memory 120, such as described inverse The software function module or computer program that optical mode automatic switching control equipment 110 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 Method performed by the 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), 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 It can be microprocessor or the processor 140 be also possible to any conventional processor 140 etc..
Various input/output devices are couple processor 140 and memory 120 by the Peripheral Interface 150.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.
Input-output unit 160 is used to be supplied to the interaction that user input data realizes 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 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 for display image data to user.In the present embodiment, the display unit 180 can be liquid crystal display or touching Control display.It can be the touching of the capacitance type touch control screen or resistance-type of support single-point and multi-point touch operation if touch control display Control screen etc..Single-point and multi-point touch operation is supported to refer to that touch control display can sense on the touch control display one or more The touch control operation generated simultaneously at a position, and the touch control operation that this is sensed transfers to processor 140 to be calculated and handled.
The communication unit 190 is used for by establishing connection between network and cloud, to realize the electronic equipment 100 Communication connection between cloud, and for passing through network sending and receiving data.
Two cameras, such as first camera and one second camera shooting can be only set altogether on the electronic equipment 100 Head, and then the detection of backlight scene is realized by two cameras to carry out the automatic switchover of backlight mode.In addition, the electronics is set Also settable multiple cameras on standby 100, such as first camera and multiple second cameras, by multiple second camera shootings Different size of overexposure parameter is arranged in head, to switch to preferably backlight mode.Two kinds of situations are illustrated separately below:
The first, is only arranged altogether two cameras, i.e. first camera and one second on the electronic equipment 100 Camera.
It referring to figure 2., is a kind of flow diagram of backlight automatic mode switching method provided in an embodiment of the present invention, it should Method includes:
Step S110 controls first camera and acquires the first image, controls the second camera overexposure acquisition the Two images, and the first image is shown in the application interface of the electronic equipment.
I other words first camera and second camera will enter in advance after the camera of user's opening electronic equipment 100 Look at mode, i.e., first camera starts to acquire the first image, and second camera acquires the second image, it should be noted that by It is the side being arranged side by side in electronic equipment 100 relative to screen in two cameras, therefore the spacing of two cameras is smaller, because And the image content of two cameras acquisition is roughly the same, only image border partially due to two cameras itself are arranged between Exist away from reason different.
In addition, the application interface that the first image that the first camera acquires is shown in electronic equipment is checked for user, the Second image of two cameras acquisition will act as the detection of backlight scene, so that entire detection operation is after electronic equipment 100 Platform carries out, and has no effect on the bandwagon effect of the first image, will not influence user experience.
It should be noted that the first camera shooting is the image under acquisition normal condition, also i other words not to the first camera Parameter be especially arranged, first camera according to auto exposure mode or normal exposure mode etc. according to for example adopting Collection.The parameter of the second camera is preset as overexposure, why by the parameter of second camera overexposure is set, if being because working as Preceding scene is backlight scene, then the image that the first camera acquires is since backlight meeting image quality is unintelligible, and second camera is due to setting Setting parameter is overexposure, then it, which is equivalent to, has carried out overexposure processing to the image acquired under backlight scene, the figure finally obtained As the image that will be acquired than the first camera is more clear.It can be seen that passing through the first camera of comparison and second camera The clarity of the image of acquisition can detect whether current scene is backlight scene automatically, and whether the image of acquisition is backlight image.
Step S120, receives and responds user and determine institute to the selected operation of the first image shown on application interface State the target area on the first image and the second image.
Specifically, will click the first image shown on application interface to choose use when user takes pictures The interested region in family, the interested region of the user is the target area on the first image, due to the second image and first Picture material is consistent, then is the target area of the second image with the consistent region in target area on the first image on the second image Domain.Referring to figure 3., be a kind of backlight automatic mode switching method provided in an embodiment of the present invention step S120 sub-step Flow diagram, step S120 include:
Step S121 carries out matching alignment to the first image and the second image.
Specifically, the first image and the second image are subjected to simple match alignment, i other words, by the first image and the second figure As upper identical pixel carries out matching alignment one by one.
Step S122, response user determine described first to the selected operation of the first image shown on application interface Target area on image.
Specifically, when the user clicks certain point on the first image on application interface when, will be determined according to preset algorithm The point selected on the first image shown on application interface with user has the region of same alike result for the target of the first image Region.The attribute is, for example, the color etc. of pixel.Such as when user wants " desk " in the first image of shooting, user is clicked Any point on " desk ", and then determination is had the region of approximate color, approximate texture by electronic equipment 100 with the point, such as Whole " desk ", be the target area in the first image.It should be noted that in embodiments of the present invention, which is Unrestrained water filling algorithm, or can be realized other algorithms for extracting region.
Step S123 determines that the region being aligned on second image with the target area in the first image is described The target area of second image.
I other words since the first image and the second image have been done matching alignment before, then when the first figure has been determined Behind upper target area, the region being aligned on the second image with the target area on the first image is the target of the second image Region.
Step S130, respectively determine the first image on target area the first definition values and second figure As the second definition values of upper target area.
Specifically, calculating separately the first clear of the target area on the first image using mature clarity evaluation algorithms Second definition values of angle value and the target area on the second image.
Step S140 cuts the mode of the electronic equipment if second definition values are greater than the first definition values It is changed to backlight mode.
Specifically, showing the clear of the image of second camera acquisition if the second definition values are greater than the first definition values For clear degree better than the clarity of the image of the first camera acquisition, the parameter due to having preset second camera is overexposure, then proves Current scene should be relatively clear using the parameter shooting of overexposure, and then proves that current scene is backlight scene.I other words first First image of camera acquisition is due to the presence of bloom, so that target area is integrally excessively dark, image quality is unclear, and the second camera shooting Head has carried out overexposure processing to the second image of acquisition, and then has obtained the second relatively clear image.As a result, when second is clear Angle value is greater than the first definition values, shows current scene the mode of electronic equipment 100 to be automatically switched to inverse after backlight scene Optical mode is taken pictures, to improve user experience.
Second, multiple cameras, i.e. first camera and multiple second camera shootings are provided on the electronic equipment 100 Head, multiple second camera are provided with different size of overexposure parameter, and each second camera can acquire second figure Picture.Also i other words, which acquires altogether first image and several second images, the electronic equipment 100 It will carry out whether analysis detection current scene is backlight scene to several second images, and determine more preferably backlight mode.
Specifically, since multiple second cameras have different size of overexposure parameter, then different second camera pair After second image of acquisition carries out different degrees of overexposure processing, different clarity will be presented in several second images.Meanwhile It is also stored a variety of backlight modes in the electronic equipment 100, also there is every kind of backlight mode different backlight to take pictures parameter, so that The picture shot under backlight scene is more clear.Thus by obtained image definition second camera unanimous on the whole and Backlight mode is associated, i other words, " second definition values are greater than the first definition values if it exists, then by institute for this State electronic equipment pattern switching be backlight mode " the step of may include:
Firstly, the second definition values for choosing the target area of the second image of all second cameras acquisition maximum the Two camera target second cameras.
It in turn, is target second camera pair by the pattern switching of electronic equipment 100 if current scene is backlight scene The backlight mode answered.
Due to calculating the second definition values of target area on each second image, so that specifying that the second image passes through Be more clear after the overexposure parameter processing of which second camera, so by the pattern switching of electronic equipment 100 to this second The overexposure parameter of camera backlight mode unanimous on the whole, so that the image finally acquired is more clear.
It can be seen that the embodiment of the present invention provides a kind of backlight automatic mode switching method, taken the photograph by two or more As head detection current scene whether be backlight scene, and determine current scene be backlight scene when, by the mould of electronic equipment 100 Formula automatically switches to backlight mode, improves user experience.
It referring to figure 4., is that the functional module of backlight mode automatic switching control equipment 110 provided in an embodiment of the present invention a kind of is shown It is intended to, which includes acquisition module 111, area determination module 112, clarity determining module 113 and mode switch module 114。
Acquisition module 111 acquires the first image for controlling first camera, controls the second camera overexposure The second image is acquired, and the first image is shown in the application interface of the electronic equipment.
In embodiments of the present invention, step S110 can be executed by acquisition module 111.
Area determination module 112, for receiving and responding choosing of the user to the first image shown on application interface It is fixed to operate the target area determined on the first image and the second image.
In embodiments of the present invention, step S120~S123 can be executed by area determination module 112.
Clarity determining module 113, for determining the first definition values of the target area in the first image respectively, With the second definition values of the target area on second image.
In embodiments of the present invention, step S130 can be executed by clarity determining module 113.
Mode switch module 114 sets the electronics if being greater than the first definition values for second definition values Standby pattern switching is backlight mode.
In embodiments of the present invention, step S140 can be executed by mode switch module 114.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, described The backlight automatic mode switching method that the embodiment of the present invention discloses is realized when computer program is executed by processor 140.
In conclusion a kind of backlight automatic mode switching method, device, electronic equipment and meter provided in an embodiment of the present invention Calculation machine readable storage medium storing program for executing, the backlight automatic mode switching method and device are applied to electronic equipment, are arranged on the electronic equipment There are the first camera and second camera, this method includes:User's control opens the first camera and acquires the first image, control the Two cameras acquire the second image, while the first image acquired is shown in the application interface and second camera of electronic equipment Parameter be set as overexposure.And then user clicks the first image being shown on the application interface of electronic equipment and determines the first image With the target area on the second image, the first definition values and the second image of the target area on the first image are calculated separately On target area the second definition values, if the second definition values be greater than the first definition values, show the image currently acquired It is then backlight mode by the pattern switching of electronic equipment for backlight image.It can be seen that in the present solution, passing through the first camera Acquire image respectively with second camera, at the same the scene that the clarity of comparative analysis image is presently in automatic detection whether The mode of electronic equipment is then automatically switched into backlight mode if backlight scene for backlight scene, to realize that electronic equipment is inverse The automatic switchover of optical mode, improves user experience.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment for including a series of elements not only includes those elements, but also including Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
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, made any to 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 explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of backlight automatic mode switching method, be applied to electronic equipment, the electronic equipment be provided with the first camera and Second camera, which is characterized in that the method includes:
It controls first camera and acquires the first image, control the second camera overexposure and acquire the second image, and by institute State the application interface that the first image is shown in the electronic equipment;
The selected operation for receiving and responding user to the first image shown on application interface, determine the first image and Target area on second image;
The target area in the first definition values and second image of the target area in the first image is determined respectively The second definition values;
It is backlight mode by the pattern switching of the electronic equipment if second definition values are greater than the first definition values.
2. the method as described in claim 1, which is characterized in that the response user is to described first shown on application interface The step of selected operation of image determines the target area in the first image and the second image include:
Matching alignment is carried out to the first image and the second image;
Response user determines the target in the first image to the selected operation of the first image shown on application interface Region;
Determine that the region being aligned on second image with the target area in the first image is the mesh of second image Mark region.
3. method according to claim 2, which is characterized in that the response user is to described first shown on application interface The step of selected operation of image determines the target area in the first image include:
The point selected on the first image shown on application interface using preset algorithm determination and user has same alike result Region is the target area of the first image.
4. the method as described in claim 1, which is characterized in that the second camera is multiple, multiple second camera shootings Head pre-sets different overexposure parameters, and each second camera acquires second image, the second image described in every width Second definition values are corresponded to,
Second definition values are greater than the first definition values if it exists, then are inverse by the pattern switching of the electronic equipment The step of optical mode includes:
Determine that maximum second definition values corresponding second image in all the second definition values for being greater than the first definition values Head is target second camera;
It is the corresponding backlight mode of the target second camera by the pattern switching of the electronic equipment.
5. the method as described in claim 1, which is characterized in that the target area determined in the first image respectively The step of first definition values and the second definition values of the target area on second image includes:
Determine the first definition values and described the of the target area in the first image respectively using clarity evaluation algorithms Second definition values of the target area on two images.
6. a kind of backlight mode automatic switching control equipment, be applied to electronic equipment, the electronic equipment be provided with the first camera and Second camera, which is characterized in that described device includes:
Acquisition module acquires the first image for controlling first camera, controls the second camera overexposure acquisition the Two images, and the first image is shown in the application interface of the electronic equipment;
Area determination module, it is true to the selected operation of the first image shown on application interface for receiving and responding user Determine the target area in the first image and the second image;
Clarity determining module, for determining the first definition values of the target area in the first image and described respectively Second definition values of the target area on the second image;
Mode switch module, if being greater than the first definition values for second definition values, by the mould of the electronic equipment Formula is switched to backlight mode.
7. device as claimed in claim 6, which is characterized in that the area determination module is specifically used for:
Matching alignment is carried out to the first image and the second image;
Response user determines the target in the first image to the selected operation of the first image shown on application interface Region;
Determine that the region being aligned on second image with the target area in the first image is the mesh of second image Mark region.
8. device as claimed in claim 6, which is characterized in that the second camera is multiple, multiple second camera shootings Head pre-sets different overexposure parameters, and each second camera acquires second image, the second image described in every width Second definition values are corresponded to,
The mode switch module is specifically used for:
Determine that maximum second definition values corresponding second image in all the second definition values for being greater than the first definition values Head is target second camera;
It is the corresponding backlight mode of the target second camera by the pattern switching of the electronic equipment.
9. a kind of electronic equipment, which is characterized in that the first camera and second camera are provided on the electronic equipment, it is described Electronic equipment further includes processor and memory, and the memory is for storing computer program, and the processor is for executing The computer program in the memory is stored in realize that the backlight mode as described in claim 1-5 any one is cut automatically Change method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The backlight automatic mode switching method as described in claim 1-5 any one is realized when being executed by processor.
CN201810702761.XA 2018-06-30 2018-06-30 Backlight mode automatic switching method and device, electronic equipment and computer readable storage medium Active CN108881636B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810702761.XA CN108881636B (en) 2018-06-30 2018-06-30 Backlight mode automatic switching method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810702761.XA CN108881636B (en) 2018-06-30 2018-06-30 Backlight mode automatic switching method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108881636A true CN108881636A (en) 2018-11-23
CN108881636B CN108881636B (en) 2021-05-04

Family

ID=64297679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810702761.XA Active CN108881636B (en) 2018-06-30 2018-06-30 Backlight mode automatic switching method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108881636B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506464A (en) * 2020-12-14 2021-03-16 广州极飞科技有限公司 Equipment display method and device, electronic equipment, system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883099A (en) * 2011-07-14 2013-01-16 中国移动通信有限公司 Anti-shake method and device for shooting
US20150036040A1 (en) * 2013-07-31 2015-02-05 Canon Kabushiki Kaisha Exposure control apparatus and method, storage medium, and image pickup apparatus
CN105430292A (en) * 2015-12-03 2016-03-23 上海卓易科技股份有限公司 Method and device for improving effect of photographing against light
CN105872357A (en) * 2015-02-09 2016-08-17 佳能株式会社 Image processing method and device system
CN106027912A (en) * 2016-07-15 2016-10-12 深圳市金立通信设备有限公司 Shooting mode selection method and terminal
CN107592453A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102883099A (en) * 2011-07-14 2013-01-16 中国移动通信有限公司 Anti-shake method and device for shooting
US20150036040A1 (en) * 2013-07-31 2015-02-05 Canon Kabushiki Kaisha Exposure control apparatus and method, storage medium, and image pickup apparatus
CN105872357A (en) * 2015-02-09 2016-08-17 佳能株式会社 Image processing method and device system
CN105430292A (en) * 2015-12-03 2016-03-23 上海卓易科技股份有限公司 Method and device for improving effect of photographing against light
CN106027912A (en) * 2016-07-15 2016-10-12 深圳市金立通信设备有限公司 Shooting mode selection method and terminal
CN107592453A (en) * 2017-09-08 2018-01-16 维沃移动通信有限公司 A kind of image pickup method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112506464A (en) * 2020-12-14 2021-03-16 广州极飞科技有限公司 Equipment display method and device, electronic equipment, system and storage medium

Also Published As

Publication number Publication date
CN108881636B (en) 2021-05-04

Similar Documents

Publication Publication Date Title
KR102580474B1 (en) Systems and methods for continuous auto focus (caf)
CN105611275B (en) The multi-camera for executing electronic device captures the method and its equipment of control
CN106060419B (en) A kind of photographic method and mobile terminal
CN106937045B (en) Display method of preview image, terminal equipment and computer storage medium
US8497920B2 (en) Method, apparatus, and computer program product for presenting burst images
CN112135046B (en) Video shooting method, video shooting device and electronic equipment
WO2017016030A1 (en) Image processing method and terminal
US10237528B2 (en) System and method for real time 2D to 3D conversion of a video in a digital camera
CN104410785A (en) An information processing method and electronic device
WO2014166127A1 (en) Image capturing method, apparatus, and electronic device
CN107909569B (en) Screen-patterned detection method, screen-patterned detection device and electronic equipment
US9100563B2 (en) Apparatus, method and computer-readable medium imaging through at least one aperture of each pixel of display panel
CN108777765B (en) Method and device for acquiring full-definition image and electronic equipment
WO2016197657A1 (en) Photographing processing method and apparatus
CN112954210A (en) Photographing method and device, electronic equipment and medium
CN112437232A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN103188434A (en) Method and device of image collection
CN109218621B (en) Image processing method, device, storage medium and mobile terminal
CN112188097B (en) Photographing method, photographing apparatus, terminal device, and computer-readable storage medium
CN105426068A (en) Photographing control system and photographing method
CN112312035A (en) Image sensor, exposure parameter adjustment method, and electronic apparatus
CN113794831B (en) Video shooting method, device, electronic equipment and medium
WO2015196681A1 (en) Picture processing method and electronic device
US11057558B2 (en) Using change of scene to trigger automatic image capture
CN112367465B (en) Image output method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant