CN106791375B - A kind of shooting focusing method and mobile terminal - Google Patents

A kind of shooting focusing method and mobile terminal Download PDF

Info

Publication number
CN106791375B
CN106791375B CN201611078985.5A CN201611078985A CN106791375B CN 106791375 B CN106791375 B CN 106791375B CN 201611078985 A CN201611078985 A CN 201611078985A CN 106791375 B CN106791375 B CN 106791375B
Authority
CN
China
Prior art keywords
camera
target object
target
mobile terminal
focusing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611078985.5A
Other languages
Chinese (zh)
Other versions
CN106791375A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Vivo Mobile Communication Co Ltd Beijing Branch
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 Vivo Mobile Communication Co Ltd, Vivo Mobile Communication Co Ltd Beijing Branch filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611078985.5A priority Critical patent/CN106791375B/en
Publication of CN106791375A publication Critical patent/CN106791375A/en
Application granted granted Critical
Publication of CN106791375B publication Critical patent/CN106791375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

The embodiment of the present invention provides a kind of shooting focusing method and mobile terminal, and wherein method is applied to the mobile terminal with radar installations, comprising: after starting camera, determines target object;According to target range value of the target object from the camera that the radar installations obtains, focus.In this way, the embodiment of the present invention obtains distance value of the target object from camera by radar installations, the focusing to target object is realized further according to the distance value.Since radar installations is using information such as the distances of electromagnetic wave measuring and calculating target and object features, it is not only restricted to the influence of ambient lighting brightness.As it can be seen that the shooting focusing method of the embodiment of the present invention realizes the purpose that low light condition is accurately focused.

Description

A kind of shooting focusing method and mobile terminal
Technical field
The present invention relates to field of communication technology more particularly to a kind of shooting focusing methods and mobile terminal.
Background technique
Currently, mobile terminal, which shoots common focusing mode, mainly phase type focusing (PDAF, Phase Detection Auto Focus) or laser type focusing (LDAF, Laser Diode Auto Focus).Wherein, phase type focusing needs to utilize Masking pixel on photosensitive element carries out phase-detection, and the requirement to light intensity is relatively high;Laser type focusing is according to hair Penetrate and receiving infrared-ray between time difference calculate the distance of target object, focus effects are poor under low light condition.As it can be seen that At present there is focus effects difference under low light condition in the shooting focusing method of mobile terminal.
Summary of the invention
The embodiment of the present invention provides a kind of shooting focusing method and mobile terminal, is deposited with solving existing shooting focusing method The problem of focus effects difference under low light condition.
In a first aspect, the embodiment of the invention provides a kind of shooting focusing methods, applied to the movement with radar installations Terminal, comprising:
After starting camera, target object is determined;
According to target range value of the target object from the camera that the radar installations obtains, focus.
Second aspect, the embodiment of the present invention also provide a kind of mobile terminal, have radar installations, comprising:
Determining module, for determining target object after starting camera;
Focusing module, target range of the target object from the camera for being obtained according to the radar installations Value, focuses.
In this way, after starting camera, determining target object in the embodiment of the present invention;It is obtained according to the radar installations Target range value of the target object taken from the camera, focuses.In this way, the embodiment of the present invention is filled by radar It sets and obtains distance value of the target object from camera, realize the focusing to target object further according to the distance value.Since radar fills It sets using information such as the distance of electromagnetic wave measuring and calculating target and object features, is not only restricted to the influence of ambient lighting brightness.As it can be seen that this The shooting focusing method of inventive embodiments realizes the purpose that low light condition is accurately focused.Further, since radar installations measuring and calculating speed Degree is very fast, and is not only restricted to the influence of target range, and the embodiment of the present invention also has focusing speed fast, can grow having away from focusing Beneficial effect.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, needed in being described below to the embodiment of the present invention Attached drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, For those of ordinary skill in the art, without any creative labor, it can also obtain according to these attached drawings Take other attached drawings.
Fig. 1 is the flow chart for the shooting focusing method that first embodiment of the invention provides;
Fig. 2 is the flow chart for the shooting focusing method that second embodiment of the invention provides;
Fig. 3 is the flow chart for the shooting focusing method that third embodiment of the invention provides;
Fig. 4 is one of the structure chart of mobile terminal that fourth embodiment of the invention provides;
Fig. 5 is one of the structure chart of mobile terminal that fourth embodiment of the invention provides;
Fig. 6 is the three of the structure chart for the mobile terminal that fourth embodiment of the invention provides;
Fig. 7 is the four of the structure chart for the mobile terminal that fourth embodiment of the invention provides;
Fig. 8 is the structure chart for the mobile terminal that fifth embodiment of the invention provides;
Fig. 9 is the structure chart for the mobile terminal that sixth embodiment of the invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, those of ordinary skill in the art's acquired every other implementation without creative efforts Example, shall fall within the protection scope of the present invention.
Main three big focusing technology at present, including the focusing of contrast formula, phase type focusing and laser type focusing, the above focusing There are focusing time is long or dim light focusing is difficult or long away from the disadvantages such as focusing success rate is low for technology.In order to overcome disadvantages described above, this hair Bright to provide a kind of technical solution based on radar installations auxiliary focusing, which needs to increase on mobile terminals radar hair Injection device and radar reception device (referred to as " radar installations ").The radar installations can be automatically turned in mobile terminal-opening; Or when starting camera, mobile terminal can automatically turn on the radar installations.It is mobile whole from the point of view of energy saving End automatically turns on radar installations when can preset starting camera.Radar installations using electromagnetic wave quickly calculate target away from From and the information such as object features, be not only restricted to ambient lighting brightness and the influence of distance.
First embodiment
Referring to Fig. 1, Fig. 1 be it is provided in an embodiment of the present invention shooting focusing method flow chart, as shown in Figure 1, include with Lower step:
Step 101, after starting camera, determine target object.
In the step, when starting camera, mobile terminal can control the object that camera acquisition is located in coverage The image of body, and the image of acquisition can be shown in imaging preview area.The process of above-mentioned determining target object can be shifting What dynamic terminal was automatically performed, it is also possible to mobile terminal and instructs completion depending on the user's operation;Can be based on it is existing really Set the goal the technology of object, is also possible to the technology based on the object that newly sets the goal really.In this regard, the embodiment of the present invention does not limit It is fixed.
For example, the object nearest from camera can be defaulted as target object by mobile terminal;It can also will meet object The object of characteristic information is defaulted as target object, and (for example, in recognition of face shooting, mobile terminal will can meet face characteristic automatically Object as target object);The target image for being located at imaging preview area can also be locked according to the specific operation of user, it will Object corresponding with target image is as target object;Etc..
Step 102, target range value of the target object from the camera obtained according to the radar installations, into Row focusing.
In the step, target range value of the target object from camera that can be obtained according to radar installations is focused. The distance value that radar installations obtains object can be any time in starting camera between being focused.For example, can be with It is when starting camera, radar installations is the distance value for obtaining object, is also possible to after determining target object, radar Device just obtains the distance value of object, and the embodiment of the present invention obtains the opportunity of object distance value to radar installations and is not construed as limiting.
In view of the distance value for focusing is the distance value based on object from camera, therefore, above-mentioned distance value can be with It is distance value of the object from camera.The process of above-mentioned distance value of the acquisition target object from camera, can be radar installations Distance value of the target object from radar installations is first obtained, the distance value is modified to target object from camera shooting further according to amendment relationship The distance value of head;It is also possible to radar installations according to the amendment relationship set, the distance value that will acquire directly is modified to target Distance value of the object from camera.
In the step, above-mentioned radar installations obtains the process of distance value of the target object from camera, can be radar dress The distance value for first obtaining all objects being located in coverage is set, is then further obtained according to the spatial position of target object The target range value of target object.For example, if the spatial position of target object is the object nearest from camera, by radar Target range value of the smallest distance value as target object in the distance value that device obtains.It is also possible to radar installations first to obtain The distance value and object features information of all objects in coverage, then according to the object features information of target object Further obtain the target range value of target object.For example, if target object is object (such as people for meeting object features information The face that face identification technology identifies), then using with the distance value of the object features information matches as the target of target object Distance value.
In the step, above-mentioned focusing is become also referred to as to light or focusing by the Focusing mechanism of camera (such as focusing motor) Animal away from position apart, make the process of target object imaging clearly.Above-mentioned focus process can be, and radar installations will acquire Target range value to target object from camera is reported to the processor of mobile terminal, and mobile terminal is according to the target range value Focusing motor is pushed into corresponding position and carries out focusing imaging.
It should be noted that the shooting focusing method is not only adapted to the focusing during taking pictures, it is also adapted to image Focusing in journey.
In the embodiment of the present invention, above-mentioned mobile terminal can be any equipment with radar installations and camera, such as: Mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), individual digital Assistant (personal digital assistant, abbreviation PDA), mobile Internet access electronic equipment (Mobile Internet Device, MID), wearable device (Wearable Device) etc..
The shooting focusing method of the embodiment of the present invention obtains distance value of the target object from camera by radar installations, The focusing to target object is realized further according to the distance value.Distance value, side due to radar installations using electromagnetic wave acquisition target The information such as position and object features, the light intensity independent of environment.As it can be seen that the shooting focusing method of the embodiment of the present invention is real The purpose that low light condition is accurately focused is showed.Further, since radar installations measuring and calculating speed is very fast, and it is not only restricted to target range Influence, the embodiment of the present invention also has focusing speed fast, can grow the beneficial effect away from focusing.
Second embodiment
Referring to fig. 2, Fig. 2 is the flow chart of shooting focusing method provided in an embodiment of the present invention, as shown in Fig. 2, this method Applied to the mobile terminal with radar installations and touch screen, comprising the following steps:
Step 201, after starting camera, when detecting the touch operation to the touch screen, obtain the touch The touch location of operation.
In the step, when starting camera, mobile terminal can control the object that camera acquisition is located in coverage The image of body, and the image of acquisition can be shown in imaging preview area.After starting camera, mobile terminal can be examined Survey touch operation of the user to touch screen, and the touch location of the available touch operation.
Step 202, according to the touch location, determine target object.
In the step, the process of above-mentioned determining target object can be mobile terminal and be grasped according to user in the touch of touch screen The touch location of work determines.
In this way, mobile terminal determines the mode of target object according to the touch location of user's touch operation, it can be preferably Meet the subjective demand of user, there is better user experience.
Optionally, if the touch location is located at the imaging preview area except shooting button region, by the imaging Image in preview area positioned at the touch location is determined as target image, and by object corresponding with the target image For target object.
In embodiment of the present invention, corresponding target object can be determined indirectly by determining target image.Specifically, When touch location is located at the imaging preview area except shooting button region, then imaging region can be located at the touch location Image is determined as target object as target image, and by object corresponding with the target image.When user's expectation was photographed most clearly When some clear object, the image of the object need to only be touched in imaging preview area.
Here, shooting button region can refer to that button of taking pictures perhaps images button or camera button or camera shooting key.
The photographing request of complex space and some special screnes may be implemented in embodiment of the present invention, such as before mobile terminal All there is object in side, the realtime graphic for needing user's finger to touch imaging preview area at this time will be clapped to determine in different distance The target object taken the photograph, mobile terminal can be realized according to the space object distribution that radar installations obtains in advance to different spaces object The focusing of body.
Optionally, if the touch location is located at shooting button region, by nearest object with a distance from the camera Body is determined as target object.
In embodiment of the present invention, when touch location is located at shooting button region, that is to say, that shot when user touches When key, it is meant that user's expectation directly shoots nearest object, and mobile terminal can be by nearest object with a distance from camera Body is determined as target object.
Here, shooting button region can refer to that button of taking pictures perhaps images button or camera button or camera shooting key.
Embodiment of the present invention may be implemented the photographing request to some simple scenarios or self-timer scene, and mobile terminal can be with The front and back object specific location of acquisition camera front space is not needed, it is only necessary to default the object nearest to distance in front of camera Body is focused.
Step 203, by the radar installations obtain imaging preview area in each object with a distance from the camera Value and corresponding object features information.
In the embodiment of the present invention, radar installations, which can be obtained first, to be located in imaging preview area and (is located in coverage) The distance value and object features information of all objects will be with its object features then according to the object features information of target object Target range value of distance value of the object that information matches from camera as target object from camera.The radar installations obtains The mode of target range value of the target object from camera is taken to be adaptable to any target object.
Wherein, object features information can refer to the resemblance information of object, the available camera acquisition of radar installations Each object object features information.
In the step, can by radar installations obtain imaging preview area in distance value of each object from camera and Corresponding object features information.
It should be noted that by radar installations obtain imaging preview area in distance value of each object from camera and Corresponding object features information, the step for can be carried out when starting camera, which can determine target Before the step of object, can also after the step of determining target object, can also with determine target object the step of simultaneously It carries out, in this regard, embodiment of the present invention and being not construed as limiting.
Step 204, distance value of the object from the camera that object features information and the target object match It is determined as first object distance value.
In the step, distance value of the object from camera that object features information and target object can be matched is determined For first object distance value.
Step 205, according to the first object distance value, focus.
In the step, it can be focused according to the first object distance value that step 204 determines.Above-mentioned focusing is also referred to as to light Or focus, i.e., object distance and position apart are changed by the Focusing mechanism of camera (such as focusing motor), target object is imaged Clearly process.Above-mentioned focus process can be, and radar installations will acquire in target range value of the target object from camera The processor of mobile terminal is offered, focusing motor is pushed into corresponding position according to the target range value and focused by mobile terminal Imaging.
It should be noted that the shooting focusing method is not only adapted to the focusing during taking pictures, it is also adapted to image Focusing in journey.
The shooting focusing method of the embodiment of the present invention, determines target object according to the touch location of user's touch operation, And distance value of the target object from camera is obtained by radar installations, realize the focusing to target object.Due to radar installations The information such as distance value, orientation and the object features of target are obtained using electromagnetic wave, the light intensity independent of environment.It can See, the shooting focusing method of the embodiment of the present invention realizes the purpose that low light condition is accurately focused.In addition, since radar installations is surveyed It is very fast to calculate speed, and is not only restricted to the influence of target range, the embodiment of the present invention also has focusing speed fast, can grow away from focusing Beneficial effect.In addition, the embodiment of the present invention can also preferably meet the subjective demand of user, there is better user experience.
3rd embodiment
It is the flow chart of shooting focusing method provided in an embodiment of the present invention referring to Fig. 3, Fig. 3, as shown in figure 3, this method Applied to the mobile terminal with radar installations and touch screen, comprising the following steps:
Step 301, after starting camera, when detecting the touch operation to the touch screen, obtain the touch The touch location of operation.
In the step, when starting camera, mobile terminal can control the object that camera acquisition is located in coverage The image of body, and the image of acquisition can be shown in imaging preview area.After starting camera, mobile terminal can be examined Survey touch operation of the user to touch screen, and the touch location of the available touch operation.
If step 302, the touch location are located at shooting button region, by nearest object with a distance from the camera Body is determined as target object.
In the step, when touch location is located at shooting button region, that is to say, that when user touches shooting button, meaning Taste user expectation nearest object is directly shot, nearest object with a distance from camera can be determined as mesh by mobile terminal Mark object.
Here, shooting button region can refer to that button of taking pictures perhaps images button or camera button or camera shooting key.
The photographing request to some simple scenarios or self-timer scene may be implemented in the embodiment of the present invention, and mobile terminal can not Need to obtain the front and back object specific location of camera front space, it is only necessary to default the object nearest to distance in front of camera It focuses.
Step 303, by the radar installations obtain imaging preview area in each object with a distance from the camera Value.
In the step, radar installations only obtains the distance value for all objects being located in coverage, then according to target The spatial position of object further obtains the target range value of target object.
In embodiments of the present invention, as long as the spatial position of target object can unambiguously determine, for example, target object It is the object or target object nearest from camera is the object, etc. farthest from camera, so that it may obtain target object Target range value.
It should be noted that step 303 can be carried out when starting camera, which can determine target Before the step of object, can also after the step of determining target object, can also with determine target object the step of simultaneously It carries out, in this regard, embodiment of the present invention and being not construed as limiting.
The lowest distance value that the radar installations obtains is determined as the second target range value by step 304.
It, can be by lowest distance value is determined as the second mesh in the distance value of radar installations acquisition in step 303 in the step Subject distance value.
Step 305, according to the second target range value, focus.
In the step, it can be focused according to the second target range value determined in step 304.Above-mentioned focusing also referred to as pair Light or focusing change object distance and position apart by the Focusing mechanism of camera (such as focusing motor), make target object at As clearly process.Above-mentioned focus process can be, and radar installations will acquire target range value of the target object from camera It is reported to the processor of mobile terminal, focusing motor is pushed into corresponding position according to the target range value and carried out pair by mobile terminal Coke imaging.
It should be noted that the shooting focusing method is not only adapted to the focusing during taking pictures, it is also adapted to image Focusing in journey.
The shooting focusing method of the embodiment of the present invention, determines target object according to the touch location of user's touch operation, And distance value of the target object from camera is obtained by radar installations, realize the focusing to target object.Due to radar installations The information such as distance value, orientation and the object features of target are obtained using electromagnetic wave, the light intensity independent of environment.It can See, the shooting focusing method of the embodiment of the present invention realizes the purpose that low light condition is accurately focused.In addition, since radar installations is surveyed It is very fast to calculate speed, and is not only restricted to the influence of target range, the embodiment of the present invention also has focusing speed fast, can grow away from focusing Beneficial effect.In addition, the embodiment of the present invention can also preferably meet the subjective demand of user, there is better user experience.
Fourth embodiment
Referring to fig. 4, Fig. 4 is the structure chart of mobile terminal provided in an embodiment of the present invention, as shown in figure 4, mobile terminal 400 With radar installations, including determining module 401 and Focusing module 402, wherein determining module 401 is connect with Focusing module 402.
Determining module 401, for determining target object after starting camera;
Focusing module 402, target of the target object from the camera for being obtained according to the radar installations Distance value is focused.
Optionally, as shown in figure 5, the mobile terminal 400 also has touch screen, the determining module 401 includes:
Acquisition submodule 4011, for when detecting to the touch operation of the touch screen, obtaining after starting camera Take the touch location of the touch operation;
First determines submodule 4012, for determining target object according to the touch location.
Optionally, described first determine that submodule 4012 is specifically used for: if the touch location is located at shooting button region Except imaging preview area, then will be located at the image of the touch location in the imaging preview area as target image, And object corresponding with the target image is determined as target object.
Optionally, described first determine that submodule 4012 is specifically used for: if the touch location is located at shooting button region, Nearest object with a distance from the camera is then determined as target object.
Optionally, as shown in fig. 6, mobile terminal 400 further include:
First obtains module 403, is used for through each object in radar installations acquisition imaging preview area from described The distance value of camera and corresponding object features information;
The Focusing module 402 includes:
Second determines submodule 4021, and the object for object features information to match with the target object is from described The distance value of camera is determined as first object distance value;
First focusing submodule 4022, for focusing according to the first object distance value.
Optionally, as shown in fig. 7, mobile terminal 400 further include:
Second obtains module 404, is used for through each object in radar installations acquisition imaging preview area from described The distance value of camera;
The Focusing module 402 includes:
Third determines submodule 4023, the lowest distance value for obtaining the radar installations be determined as the second target away from From value;
Second focusing submodule 4024, for focusing according to the second target range value.
Mobile terminal 400 can be realized each process that terminal is realized in the embodiment of the method for Fig. 1 to Fig. 3, to avoid weight Multiple, which is not described herein again.
The mobile terminal 400 of the embodiment of the present invention determines target object after starting camera;According to the radar Target range value of the target object from the camera that device obtains, focuses.Since radar installations utilizes electromagnetism Wave obtains the information such as distance value, orientation and the object features of target, the light intensity independent of environment.As it can be seen that of the invention Embodiment realizes the purpose that low light condition is accurately focused.Further, since radar installations measuring and calculating speed is very fast, and it is not only restricted to The influence of target range, the embodiment of the present invention also have focusing speed fast, can grow the beneficial effect away from focusing.
5th embodiment
It is the structure chart that the present invention implements the mobile terminal provided referring to Fig. 8, Fig. 8, as shown in figure 8, mobile terminal 800 wraps It includes: at least one processor 801 and memory 802, at least one network interface 804 and user interface 803, at least one radar Device 806, at least one camera 807.Various components in mobile terminal 800 are coupled by bus system 805.It can Understand, bus system 805 is for realizing the connection communication between these components.Bus system 805 except include data/address bus in addition to, It further include power bus, control bus and status signal bus in addition.But for the sake of clear explanation, in fig. 8 by various buses All it is designated as bus system 805.
Wherein, user interface 803 may include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory, It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read- Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable Device (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external high Speed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (DirectRambus RAM, DRRAM).The memory 802 of system and method described herein is intended to include but is not limited to these With the memory of any other suitable type.
In some embodiments, memory 802 stores following element, executable modules or data structures, or Their subset of person or their superset: operating system 8021 and application program 8022.
Wherein, operating system 8021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used for Realize various basic businesses and the hardware based task of processing.Application program 8022 includes various application programs, such as media Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention The program of method may be embodied in application program 8022.
In embodiments of the present invention, by the program or instruction of calling memory 802 to store, specifically, can be application The program or instruction stored in program 8022, processor 801 are used for: after starting camera 807, determining target object;Root According to target range value of the target object from the camera that the radar installations 806 obtains, focus.
The method that the embodiments of the present invention disclose can be applied in processor 801, or be realized by processor 801. Processor 801 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processor And software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-only In the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located at The step of memory 802, processor 801 reads the information in memory 802, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described herein The technology.Software code is storable in memory and is executed by processor.Memory can in the processor or It is realized outside processor.
Optionally, processor 801 is also used to: the mobile terminal also has touch screen;When detecting to the touch screen Touch operation, obtain the touch location of the touch operation;According to the touch location, target object is determined.
Optionally, processor 801 is also used to: if the touch location is located at the imaging preview region except shooting button region Domain, then using the image in the imaging preview area positioned at the touch location as target image, and will be with the target figure As corresponding object is determined as target object.
Optionally, processor 801 is also used to:, will be from the camera shooting if the touch location is located at shooting button region The nearest object of first 807 distance is determined as target object.
Optionally, processor 801 is also used to: obtaining each object in imaging preview area by the radar installations 806 Distance value and corresponding object features information from the camera 807;By object features information and the target object phase Distance value of the object matched from the camera 807 is determined as first object distance value;According to the first object distance value, into Row focusing.
Optionally, processor 801 is also used to: obtaining each object in imaging preview area by the radar installations 806 Distance value from the camera 807;The lowest distance value that the radar installations 806 obtains is determined as the second target range Value;According to the second target range value, focus.
Mobile terminal 800 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal 800 of the embodiment of the present invention determines target object after starting camera;According to the radar Target range value of the target object from the camera that device obtains, focuses.Since radar installations utilizes electromagnetism Wave obtains the information such as distance value, orientation and the object features of target, the light intensity independent of environment.As it can be seen that of the invention Embodiment realizes the purpose that low light condition is accurately focused.Further, since radar installations measuring and calculating speed is very fast, and it is not only restricted to The influence of target range, the embodiment of the present invention also have focusing speed fast, can grow the beneficial effect away from focusing.
Sixth embodiment
Referring to Fig. 9, Fig. 9 is the structure chart that the present invention implements the mobile terminal provided, as shown in figure 9, mobile terminal 900 Including radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, processor 950, voicefrequency circuit 960, communication module 970, power supply 980, radar installations 990, camera 1010.
Wherein, input unit 930 can be used for receiving the number or character information of user's input, and generation and mobile terminal The related signal input of 900 user setting and function control.Specifically, in the embodiment of the present invention, which can To include touch panel 931.Touch panel 931, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses the operations of any suitable object or attachment on touch panel 931 such as finger, stylus), and according to preparatory The formula of setting drives corresponding attachment device.Optionally, touch panel 931 may include touch detecting apparatus and touch controller Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, by signal Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, The processor 950 is given again, and can be received order that processor 950 is sent and be executed.Furthermore, it is possible to using resistance-type, The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 931.In addition to touch panel 931, input unit 930 can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key One of (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Wherein, display unit 940 can be used for showing information input by user or be supplied to the information and terminal of user 900 various menu interfaces.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission two The forms such as pole pipe (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that touch panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined After measuring touch operation on it or nearby, processor 950 is sent to determine the type of touch event, is followed by subsequent processing device 950 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with The interface elements such as the icon comprising at least one application program and/or widget desktop control.The Application Program Interface viewing area Or the empty interface not comprising any content.This commonly uses control viewing area for showing the higher control of utilization rate, for example, Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 950 is the control centre of mobile terminal 900, utilizes various interfaces and connection whole mobile phone Various pieces, by running or executing the software program and/or module that are stored in first memory 921, and calling storage Data in second memory 922 execute the various functions and processing data of mobile terminal 900, thus to mobile terminal 900 Carry out integral monitoring.Optionally, processor 950 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/ Or the data in the second memory 922, processor 950 are used for: after starting camera 1010, determining target object;Root According to target range value of the target object from the camera 1010 that the radar installations 990 obtains, focus.
Optionally, processor 950 is also used to: the mobile terminal also has touch screen;When detecting to the touch screen Touch operation, obtain the touch location of the touch operation;According to the touch location, target object is determined.
Optionally, processor 950 is also used to: if the touch location is located at the imaging preview region except shooting button region Domain, then using the image in the imaging preview area positioned at the touch location as target image, and will be with the target figure As corresponding object is determined as target object.
Optionally, processor 950 is also used to:, will be from the camera shooting if the touch location is located at shooting button region The object that the distance of head is nearest is determined as target object.
Optionally, processor 950 is also used to: obtaining each object in imaging preview area by the radar installations 990 Distance value and corresponding object features information from the camera 1010;By object features information and the target object phase Distance value of the object matched from the camera 1010 is determined as first object distance value;According to the first object distance value, It focuses.
Optionally, processor 950 is also used to: obtaining each object in imaging preview area by the radar installations 990 Distance value from the camera 1010;The lowest distance value that the radar installations 990 obtains is determined as the second target range Value;According to the second target range value, focus.
Mobile terminal 900 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, here It repeats no more.
The mobile terminal 900 of the embodiment of the present invention obtains distance value of the target object from camera by radar installations, then Value realizes the focusing to target object according to this distance.Distance value, orientation due to radar installations using electromagnetic wave acquisition target And the information such as object features, the light intensity independent of environment.As it can be seen that realize low light condition accurate for the embodiment of the present invention The purpose of focusing.Further, since radar installations measuring and calculating speed is very fast, and is not only restricted to the influence of target range, the present invention is real Applying example also has focusing speed fast, can grow the beneficial effect away from focusing.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of mobile terminal and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method can pass through it Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the unit is drawn Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling, direct-coupling or communication connection of opinion can be through some interfaces, mobile terminal or unit it is indirect Coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.Some or all of unit therein can be selected to realize the embodiment of the present invention according to the actual needs Purpose.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product 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: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
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, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

1. a kind of shooting focusing method, which is characterized in that applied to the mobile terminal with radar installations, comprising:
After starting camera, target object is determined;
According to target range value of the target object from the camera that the radar installations obtains, focus;
Wherein, it is described according to the radar installations obtain target range value of the target object from the camera, into Before the step of row focusing, the method also includes:
Distance value of each object from the camera and corresponding object in imaging preview area are obtained by the radar installations Body characteristics information;
The target range value of the target object from the camera obtained according to the radar installations, focuses, Include:
Distance value of the object from the camera that object features information and the target object match is determined as the first mesh Subject distance value;
According to the first object distance value, focus.
2. the method according to claim 1, wherein the mobile terminal also has touch screen;
The determining target object, comprising:
When detecting the touch operation to the touch screen, the touch location of the touch operation is obtained;
According to the touch location, target object is determined.
3. according to the method described in claim 2, it is characterized in that, described determine target object according to the touch location, packet It includes:
If the touch location is located at the imaging preview area except shooting button region, by position in the imaging preview area It is determined as target object as target image, and by object corresponding with the target image in the image of the touch location.
4. according to the method described in claim 2, it is characterized in that, described determine target object according to the touch location, packet It includes:
If the touch location is located at shooting button region, nearest object with a distance from the camera is determined as target Object.
5. a kind of mobile terminal, which is characterized in that have radar installations, comprising:
Determining module, for determining target object after starting camera;
Focusing module, target range value of the target object from the camera for being obtained according to the radar installations, It focuses;
The mobile terminal further include:
First obtain module, for by the radar installations obtain imaging preview area in each object from the camera Distance value and corresponding object features information;
The Focusing module includes:
Second determines submodule, and the object for object features information and the target object to match is from the camera Distance value is determined as first object distance value;
First focusing submodule, for focusing according to the first object distance value.
6. mobile terminal according to claim 5, which is characterized in that the mobile terminal also has touch screen;
The determining module includes:
Acquisition submodule, for when detecting the touch operation to the touch screen, obtaining the touching after starting camera Touch the touch location of operation;
First determines submodule, for determining target object according to the touch location.
7. mobile terminal according to claim 6, which is characterized in that described first determines that submodule is specifically used for: if institute The imaging preview area that touch location is located at except shooting button region is stated, then will be located at the touching in the imaging preview area The image of position is touched as target image, and object corresponding with the target image is determined as target object.
8. mobile terminal according to claim 6, which is characterized in that described first determines that submodule is specifically used for: if institute It states touch location and is located at shooting button region, then nearest object with a distance from the camera is determined as target object.
CN201611078985.5A 2016-11-29 2016-11-29 A kind of shooting focusing method and mobile terminal Active CN106791375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611078985.5A CN106791375B (en) 2016-11-29 2016-11-29 A kind of shooting focusing method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611078985.5A CN106791375B (en) 2016-11-29 2016-11-29 A kind of shooting focusing method and mobile terminal

Publications (2)

Publication Number Publication Date
CN106791375A CN106791375A (en) 2017-05-31
CN106791375B true CN106791375B (en) 2019-10-15

Family

ID=58898076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611078985.5A Active CN106791375B (en) 2016-11-29 2016-11-29 A kind of shooting focusing method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106791375B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222737B (en) * 2017-07-26 2019-05-17 维沃移动通信有限公司 A kind of processing method and mobile terminal of depth image data
CN109856617A (en) * 2019-01-24 2019-06-07 珠海格力电器股份有限公司 Shooting method and device based on microwave radar, processor and terminal
CN112565584B (en) * 2019-09-25 2023-04-07 荷兰移动驱动器公司 Target shooting device and method
WO2021259063A1 (en) * 2020-06-23 2021-12-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and system for automatically zooming one or more objects present in a camera preview frame
CN112804462B (en) * 2021-02-20 2024-04-26 北京小米移动软件有限公司 Multi-point focusing imaging method and device, mobile terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004205402A (en) * 2002-12-26 2004-07-22 Renesas Technology Corp Imaging device
CN1885084A (en) * 2005-06-23 2006-12-27 宾得株式会社 Photographing device with auto focusing function
CN104243828A (en) * 2014-09-24 2014-12-24 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for shooting pictures
CN105227838A (en) * 2015-09-28 2016-01-06 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal
CN105578097A (en) * 2015-07-10 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Video recording method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657090B (en) * 2015-07-08 2017-12-22 宇龙计算机通信科技(深圳)有限公司 Imaging method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004205402A (en) * 2002-12-26 2004-07-22 Renesas Technology Corp Imaging device
CN1885084A (en) * 2005-06-23 2006-12-27 宾得株式会社 Photographing device with auto focusing function
CN104243828A (en) * 2014-09-24 2014-12-24 宇龙计算机通信科技(深圳)有限公司 Method, device and terminal for shooting pictures
CN105578097A (en) * 2015-07-10 2016-05-11 宇龙计算机通信科技(深圳)有限公司 Video recording method and terminal
CN105227838A (en) * 2015-09-28 2016-01-06 广东欧珀移动通信有限公司 A kind of image processing method and mobile terminal

Also Published As

Publication number Publication date
CN106791375A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106791375B (en) A kind of shooting focusing method and mobile terminal
CN106101553B (en) A kind of photographic method and mobile terminal
CN106791400B (en) A kind of image display method and mobile terminal
CN106791393B (en) A kind of image pickup method and mobile terminal
CN105827952B (en) A kind of photographic method and mobile terminal removing specified object
CN106231178B (en) A kind of self-timer method and mobile terminal
CN107172361B (en) A kind of method and mobile terminal of pan-shot
CN106101544B (en) A kind of image processing method and mobile terminal
CN107317993B (en) A kind of video call method and mobile terminal
CN106170058B (en) A kind of exposure method and mobile terminal
CN107454330B (en) A kind of image processing method, mobile terminal and computer readable storage medium
CN106027900A (en) Photographing method and mobile terminal
CN105959544B (en) A kind of image processing method and mobile terminal of mobile terminal
CN107395976B (en) A kind of acquisition parameters setting method and mobile terminal
CN107155064B (en) A kind of image pickup method and mobile terminal
CN106657793B (en) A kind of image processing method and mobile terminal
CN106060422B (en) A kind of image exposure method and mobile terminal
CN106506962A (en) A kind of image processing method and mobile terminal
CN106210512B (en) A kind of camera switching method and mobile terminal
CN105959564B (en) A kind of photographic method and mobile terminal
CN106126108B (en) A kind of generation method and mobile terminal of thumbnail
CN105847674A (en) Preview image processing method based on mobile terminal, and mobile terminal therein
CN106657806B (en) A kind of exposure method and mobile terminal
CN107222737B (en) A kind of processing method and mobile terminal of depth image data
CN106713659B (en) A kind of panorama shooting method and mobile terminal

Legal Events

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

Effective date of registration: 20171107

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant after: VIVO MOBILE COMMUNICATION CO., LTD.

Applicant after: Wewo Mobile Communication Co. Ltd. Beijing branch

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Applicant before: VIVO MOBILE COMMUNICATION CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200526

Address after: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Patentee after: VIVO MOBILE COMMUNICATION Co.,Ltd.

Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue

Co-patentee before: Wewo Mobile Communication Co. Ltd. Beijing branch

Patentee before: VIVO MOBILE COMMUNICATION Co.,Ltd.

TR01 Transfer of patent right