CN105681657B - A kind of method and terminal device for shooting focusing - Google Patents

A kind of method and terminal device for shooting focusing Download PDF

Info

Publication number
CN105681657B
CN105681657B CN201610032286.0A CN201610032286A CN105681657B CN 105681657 B CN105681657 B CN 105681657B CN 201610032286 A CN201610032286 A CN 201610032286A CN 105681657 B CN105681657 B CN 105681657B
Authority
CN
China
Prior art keywords
touch
point
touch point
terminal device
camera
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.)
Expired - Fee Related
Application number
CN201610032286.0A
Other languages
Chinese (zh)
Other versions
CN105681657A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610032286.0A priority Critical patent/CN105681657B/en
Publication of CN105681657A publication Critical patent/CN105681657A/en
Application granted granted Critical
Publication of CN105681657B publication Critical patent/CN105681657B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

The invention discloses a kind of method for shooting focusing, including:Detection shoots the touch parameter of the touch control operation at interface, touch-control pressure value corresponding to touch point and the touch point of the touch parameter including the touch control operation for terminal device in advance;If the touch point falls into the first touch area corresponding to shooting focusing, focusing area is determined according to the touch point, and the focusing area is focused using the camera of the terminal device.The embodiment of the present invention additionally provides a kind of terminal device.The intelligent and convenience that user treats reference object and focused can be lifted using the embodiment of the present invention.

Description

A kind of method and terminal device for shooting focusing
Technical field
The present invention relates to electronic technology field, more particularly to a kind of method and terminal device for shooting focusing
Background technology
With the continuous development of microelectric technique, the function of intelligent terminal (such as smart mobile phone, tablet personal computer etc.) is more next More diversified, user can be browsed webpage, shopping online by intelligent terminal, chat, take pictures.User is carried out using intelligent terminal , it is necessary to preparation before being taken pictures before taking pictures, for example treat reference object and focused.At present, reference object is treated The common practice that focus is intelligent terminal auto-focusing when intelligent terminal enters exposal model, or user is clapped by half-press Button is taken the photograph to be focused.The object that above two focusing mode is focused is that intelligent terminal voluntarily selects, under certain conditions It is difficult to meet user's request.
The content of the invention
The embodiment of the present invention provides a kind of method and terminal device for shooting focusing, and reference object is treated to lift user The intelligent and convenience focused.
In a first aspect, the present invention provides a kind of method for shooting focusing, including:
Detection shoots the touch parameter of the touch control operation at interface for terminal device in advance, and the touch parameter includes described touch Control touch-control pressure value corresponding to the touch point operated and the touch point;
If the touch point falls into the first touch area corresponding to shooting focusing, focusing area is determined according to the touch point Domain, and the focusing area is focused using the camera of the terminal device.
In a possible design, the camera includes M camera, and M is the integer more than 1, described to use institute The camera for stating terminal device is focused to the focusing area, including:
If the touch-control pressure value falls into first pressure scope, the focusing area is carried out using the M camera Focusing;
If the touch-control pressure value is in second pressure scope, using one of camera in the M camera The focusing area is focused.
It is described that focusing area is determined according to the touch point in a possible design, including:
According to touch-control pressure value and the mapping relations of radius, first object radius corresponding to the touch-control pressure value is determined; The point centered on the touch point, the first object radius are radius, determine focusing area.
In a possible design, the touch point includes N number of touch point, and the N is the integer more than 1, described Focusing area is determined according to the touch point, including:Obtain touch trajectory corresponding to N number of touch point;According to the touch-control rail Mark determines focusing area.
In a possible design, the touch trajectory includes middle touch point, initial touch point and termination touch point, It is described that focusing area is determined according to the touch trajectory, including:
The one of the distance between the point centered on the middle touch point, the initial touch point and the termination touch point Half is radius, determines focusing area;
Or
The one of the distance between the point centered on the termination touch point, the initial touch point and the termination touch point Half is radius, determines focusing area;
Or
According to touch-control pressure value and the mapping relations of radius, determine that touch-control pressure value corresponding to the termination touch point is corresponding The second radius of target;The point centered on the termination touch point, second radius of target is radius, determines focusing area.
In a possible design, methods described also includes:If the touch point falls into the second touch-control corresponding to shooting Region, reference object is treated using the camera of the terminal device and shot.
In a possible design, the camera includes M camera, and M is the integer more than 1, described to use institute The camera for stating terminal device is treated reference object and shot, including:
If the touch-control pressure value falls into the 3rd pressure limit, reference object is treated using the M camera and clapped Take the photograph;
If the touch-control pressure value is in the 4th pressure limit, taken the photograph using using one of them in the M camera Reference object is treated as head to be shot.
Second aspect, the present invention provide a kind of terminal device, and the terminal device, which has, realizes terminal in above method design The function of equipment behavior.Function can be realized by hardware, and corresponding software can also be performed by hardware and is realized.Hardware is soft Part includes one or more modules corresponding with above-mentioned function phase.Module can be software and/or hardware.Terminal device includes inspection Unit, determining unit and focusing unit are surveyed, a kind of related step of the method for shooting focusing for performing first aspect offer Suddenly.
Detection unit, for detecting the touch parameter for the touch control operation for shooting interface in advance for terminal device, the touch-control Touch-control pressure value corresponding to touch point and the touch point of the parameter including the touch control operation;Determining unit, if for described Touch point falls into the first touch area corresponding to shooting focusing, the touch point determination pair detected according to the detection unit Burnt region;Focusing unit, for the focusing area determined using the camera of the terminal device to the determining unit Focused.
The third aspect, the present invention provide a kind of terminal device, the structure of terminal device include receiver, transmitter and Processor, processor are configured as supporting terminal device to perform in the method that a kind of shooting that first aspect provides is focused accordingly Function.The communication that transmitter is used between terminal device and mobile network service device.Terminal device can also include memory, deposit Reservoir is used to couple with processor, and it preserves the necessary programmed instruction of terminal device and data.Terminal device can also include logical Interface is believed, for terminal device and other equipment or communication.
Fourth aspect, the invention provides a kind of computer-readable storage medium, for saving as used in above-mentioned terminal device Computer software instructions, it, which is included, is used to perform the program designed by above-mentioned aspect.
As can be seen that in the embodiment of the present invention, terminal device detection is for the touch control operation at terminal device shooting interface Touch parameter, touch-control pressure value corresponding to touch point and the touch point of the touch parameter including the touch control operation;If The touch point falls into the first touch area corresponding to shooting focusing, and terminal device determines focusing area according to the touch point, And the focusing area is focused using the camera of the terminal device.It can be seen that user need to only enter to pre- shooting interface Row touch control operation, you can focused to focusing position corresponding to touch point, be advantageous to lifting user and treat reference object progress The intelligent and convenience of focusing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of terminal device disclosed in the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet for the method for shooting focusing disclosed in the inventive method embodiment;
Fig. 2 .1 are the schematic flow sheets of the method for another shooting focusing disclosed in the inventive method embodiment;
Fig. 2 .2 are the schematic flow sheets of the method for another shooting focusing disclosed in the inventive method embodiment;
Fig. 2 .3 are the schematic flow sheets of the method for another shooting focusing disclosed in the inventive method embodiment;
Fig. 3 is the unit composition frame chart of terminal device disclosed in apparatus of the present invention embodiment.
Embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, it should all belong to the model that the present invention protects Enclose.
It is described in detail individually below.
Term " first ", " second ", " the 3rd " in description and claims of this specification and the accompanying drawing and " Four " etc. be to be used to distinguish different objects, rather than for describing particular order.In addition, term " comprising " and " having " and it Any deformation, it is intended that cover non-exclusive include.Such as contain the process of series of steps or unit, method, be The step of system, product or equipment are not limited to list or unit, but alternatively also including the step of not listing or list Member, or alternatively also include for the intrinsic other steps of these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can wrap in conjunction with the embodiments In at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In order to be best understood from a kind of method and terminal device for shooting focusing disclosed in the embodiment of the present invention, below first to this The applicable terminal device of inventive embodiments is described.Fig. 1 is referred to, Fig. 1 is a kind of shooting pair provided in an embodiment of the present invention The structure composed figure of the terminal device of burnt method.At least one place can specifically be included in the structure composed figure of the terminal device Manage device 101, at least one memory 102, at least one communication bus 103, reception/transtation mission circuit 104, antenna 105, at least one Individual touch screen 106, at least one display screen 107, microphone 108, loudspeaker 109, client identification module SIM Card110, thing Manage button 111, bluetooth controller 113, digital signal processing circuit 114;Wherein, the touching display screen is the touch screen 106 and the display screen 107 it is integrated, array of pressure sensors can be provided with the touching display screen, terminal device can Pressure parameter is detected by the array of pressure sensors, wherein, above-mentioned pressure sensor for example can be resistance strain gage pressure Sensor, semiconductor gauge pressure sensor, piezoresistive pressure sensor, inductance pressure transducer, capacitive pressure pass Sensor, resonance type pressure sensor etc., aforesaid way is included but is not limited in the embodiment of the present invention to obtain pressure value.It is described Memory 102 includes following at least one:Random access memory (RAM), nonvolatile memory and external memory storage, the place Manage device 101 and pass through reception/transtation mission circuit 104 and the control of antenna 105 and the communication of External cell net;In at least one memory Instruction set is stored with, the instruction set is integrated in operating system or by the executable application program of processor 101, being somebody's turn to do Instruction set can bootstrap processor 101 perform the touch control method that specifically discloses in the inventive method embodiment.The terminal is set The standby all kinds of universal electrics such as can be smart mobile phone, tablet personal computer, notebook computer, wearable device (such as intelligent watch) Equipment.
Wherein, the touching display screen includes:Panel;The indium tin oxide figure being arranged at below the panel;Set Touch sensor below the indium tin oxide figure;The indium tin oxide base being arranged at below the touch sensor Plate;And it is arranged at the upper surface of the indium tin oxide substrate or the pressure sensor of lower surface;Or
The touching display screen specifically includes:Panel;The indium tin oxide figure being arranged at below the panel;It is arranged at Touch sensor below the indium tin oxide figure;And it is arranged at the pressure sensor below the touch sensor.
Processor 101 in above-mentioned terminal device 100 can couple at least one memory 102, the memory Instruction set is prestored in 102, the instruction set specifically includes detection module, determining module, Focusing module and shooting mould Block, the memory 102 are also further stored with kernel module, and the kernel module includes operating system (such as WINDOWSTM, ANDROIDTM, IOSTMDeng).The processor 101 calls the instruction set to perform the touch-control disclosed in the embodiment of the present invention Method, specifically include following steps:
Detection module in the run memory 102 of processor 101 of the terminal device 100, set with detection for terminal The touch parameter of the touch control operation at standby pre- shooting interface, the touch parameter include the touch point of the touch control operation and described touched Touch-control pressure value corresponding to control point;
If the touch point falls into the first touch area corresponding to shooting focusing, the processor 101 of the terminal device 100 Determining module in run memory 102, to determine focusing area according to the touch point;
Focusing module in the run memory 102 of processor 101 of the terminal device 100, to be set using the terminal Standby camera is focused to the focusing area.
Optionally, the camera includes M camera, and M is the integer more than 1, the processor of the terminal device 100 Focusing module in 101 run memories 102, to be focused using the camera of the terminal device to the focusing area Embodiment be:
If the touch-control pressure value falls into first pressure scope, the focusing area is carried out using the M camera Focusing;
If the touch-control pressure value is in second pressure scope, using one of camera in the M camera The focusing area is focused.
Optionally, the Focusing module in the run memory 102 of processor 101 of the terminal device 100, with described in use The embodiment that the camera of terminal device is focused to the focusing area is:
According to touch-control pressure value and the mapping relations of radius, first object radius corresponding to the touch-control pressure value is determined; The point centered on the touch point, the first object radius are radius, determine focusing area.
Optionally, the touch point includes N number of touch point, and the N is the integer more than 1, the place of the terminal device 100 The Focusing module in the run memory 102 of device 101 is managed, to be carried out using the camera of the terminal device to the focusing area The embodiment of focusing is:
Obtain touch trajectory corresponding to N number of touch point;Focusing area is determined according to the touch trajectory.
Optionally, the touch trajectory includes middle touch point, and initial touch point and termination touch point, the terminal are set It is standby to determine that the embodiment of focusing area is according to the touch trajectory:
The one of the distance between the point centered on the middle touch point, the initial touch point and the termination touch point Half is radius, determines focusing area;
Or
The one of the distance between the point centered on the termination touch point, the initial touch point and the termination touch point Half is radius, determines focusing area;
Or
According to touch-control pressure value and the mapping relations of radius, determine that touch-control pressure value corresponding to the termination touch point is corresponding The second radius of target;The point centered on the termination touch point, second radius of target is radius, determines focusing area.
Optionally, if the touch point falls into the second touch area corresponding to shooting, the processor of the terminal device 100 Taking module in 101 run memories 102, reference object is treated with the camera using the terminal device and shot.
Optionally, the camera includes M camera, and M is the integer more than 1, the processor of the terminal device 100 Taking module in 101 run memories 102, to treat what reference object was shot using the camera of the terminal device Embodiment is:
If the touch-control pressure value falls into the 3rd pressure limit, reference object is treated using the M camera and clapped Take the photograph;
If the touch-control pressure value is in the 4th pressure limit, taken the photograph using using one of them in the M camera Reference object is treated as head to be shot.
As can be seen that in the embodiment of the present invention, touch-control ginseng of the terminal device detection for the pre- shooting interface of terminal device Number, touch-control pressure value corresponding to touch point and the touch point of the touch parameter including the touch control operation;If described touch Control point falls into the first touch area corresponding to shooting focusing, and terminal device determines focusing area according to the touch point, and uses The camera of the terminal device is focused to the focusing area.It can be seen that user only need to carry out touch-control to pre- shooting interface Operation, you can focused to focusing position corresponding to touch point, be advantageous to lifting user and treat what reference object was focused Intelligent and convenience.
Consistent with the technical scheme of foregoing description, as a specific embodiment, Fig. 2 is include terminal device specific The schematic flow sheet of the method for the shooting focusing of implementation procedure.Although the method for shooting focusing described herein is to be based on Fig. 1 institutes The terminal device that shows performs, but should be noted that the carrying out practically of the method for the disclosed shooting focusing of the embodiment of the present invention Environment is not limited only to above-mentioned terminal device.
As shown in Fig. 2 the method for the disclosed shooting focusing of the inventive method embodiment specifically includes following steps:
S201, terminal device detection shoot the touch parameter of the touch control operation at interface, the touch-control for terminal device in advance Touch-control pressure value corresponding to touch point and the touch point of the parameter including the touch control operation.
If S202, the touch point fall into the first touch area corresponding to shooting focusing, terminal device is according to the touch-control Point determines focusing area, and the focusing area is focused using the camera of the terminal device.
Wherein, the first touch area corresponding to shooting focusing can be that (for example central point is for touch area set in advance The central point of touch display screen, radius are 2cm touch area);Can also be it is pre- shooting interface in except virtual key (such as Shooting button, flash lamp button etc.) corresponding to all touch areas outside touch area;Etc..
For example, Fig. 2 .1 are referred to, the camera includes M camera, and M is the integer more than 1, terminal device Use the specific implementation that the camera of the terminal device is focused to the focusing area for:
If S202-a1, the touch-control pressure value fall into first pressure scope, terminal device uses the M camera pair The focusing area is focused.
If S202-a2, the touch-control pressure value are in second pressure scope, terminal device is used in the M camera One of camera the focusing area is focused.
Optionally, first pressure scope and second pressure scope are not occured simultaneously mutually.First pressure scope can for example be equal to 1N- 2N, 1N-3N, or other values.Second pressure scope can for example be equal to 3N-4N, 3-6N, or other values.
Optionally, above-mentioned camera can be the double rear cameras or terminal device of terminal device it is double before Put camera.
For example, above-mentioned camera is double rear cameras of terminal device, when above-mentioned touch-control pressure value is in first During pressure limit, terminal device is focused using double rear cameras of terminal device to above-mentioned focusing area simultaneously;When upper When stating touch-control pressure value and being in second pressure scope, terminal device is only with wherein one in double rear cameras of terminal device Individual camera is focused to above-mentioned focusing area.
For example, Fig. 2 .2 are referred to, terminal device determines the embodiment of focusing area according to the touch point For:
S202-b1, terminal device determine that the touch-control pressure value is corresponding according to touch-control pressure value and the mapping relations of radius First object radius.
S202-b2, the terminal device point centered on the touch point, the first object radius are radius, it is determined that focusing Region.
Optionally, touch-control pressure value and the mapping relations of radius can be stored in terminal device, can also be in cloud service In device, the present invention is not construed as limiting.
For example, above-mentioned touch-control pressure value is 2N, during mapping relations=2N/1cm of above-mentioned touch-control pressure value and radius, It is 1cm to obtain above-mentioned first object radius, therefore above-mentioned focusing area is the point centered on touch point, and radius is 1cm circle Region.
Optionally, terminal device determines that the embodiment of focusing area can also be according to the touch point:Terminal Equipment determines target length corresponding to the touch-control pressure value according to touch-control pressure value and the mapping relations of length;Terminal device Focusing area is determined according to touch point and target length, point be touch point centered on focusing area, cross-directional length and vertically Direction length is respectively the plane domain of target length.
For example, Fig. 2 .3 are referred to, the touch point includes N number of touch point, and the N is the integer more than 1, terminal Equipment determines that the embodiment of focusing area is according to the touch point:
S202-c1, terminal device obtain touch trajectory corresponding to N number of touch point.
S202-c2, terminal device determine focusing area according to the touch trajectory.
Specifically, if the touch control operation that user is directed to the pre- shooting interface of terminal device is slide, step S201 is whole The touch point for the touch control operation that end equipment detects includes N number of touch point, and terminal device can determine that touch-control is grasped according to each touch points of N The touch trajectory of work, then terminal device determine focusing area further according to touch trajectory.
Optionally, the touch trajectory includes middle touch point, initial touch point and termination touch point, above-mentioned steps S202-c2 terminal devices determine that the embodiment of focusing area is according to the touch trajectory:
Terminal device point centered on the middle touch point, between the initial touch point and the termination touch point The half of distance is radius, determines focusing area;
Or
Terminal device point centered on the termination touch point, between the initial touch point and the termination touch point The half of distance is radius, determines focusing area;
Or
Terminal device determines touch-control pressure corresponding to the termination touch point according to touch-control pressure value and the mapping relations of radius Second radius of target corresponding to force value;The point centered on the termination touch point, second radius of target is radius, it is determined that pair Burnt region.
Wherein, N number of touch point corresponds to N number of touch-control time, and N number of touch point corresponds with N number of touch-control time.Above-mentioned centre Touch point is the touch point for the touch-control time being located at centre position of N number of touch-control time.The touch-control time of initial touch point earlier than except The touch-control time of any one touch point outside initial touch point.The touch-control time for terminating touch point is later than except terminating touch-control The touch-control time of any one touch point outside point.N number of touch-control time centre position touch point.Such as N number of touch point bag The first touch point, the second touch point and the 3rd touch point are included, the sequencing of touch-control time corresponding to 3 touch points is first The touch point of the touch point of touch point-the second-the three, therefore, the second touch point are middle touch point, and the first touch point is initial touch-control Point, the 3rd touch point are termination touch point.
For example, when user for the touch control operation at the pre- shooting interface of terminal device is slide, terminal device Can between point centered on touch point, initial touch point and terminate the half of the distance between touch point and make for the border circular areas of radius For focusing area;Or terminal device point centered on terminating touch point, the distance between initial touch point and termination touch point Half for radius border circular areas as focusing area;Or terminal device closes according to the mapping of touch-control pressure value and radius System, it is determined that terminating the second radius of target corresponding to touch-control pressure value corresponding to touch point, terminal device is to terminate touch point in Heart point, the second radius of target are the border circular areas of radius as focusing area.
Optionally, the shooting focusing method shown in Fig. 1 also includes:
If the touch point falls into the second touch area corresponding to shooting, terminal device uses the shooting of the terminal device Head is treated reference object and shot.
Wherein, the second touch area corresponding to shooting can be touch area set in advance (such as central point for touch The central point of display screen, radius are 2cm touch area);Can also be touched in pre- shooting interface corresponding to virtual shooting button Control region;Etc..
Optionally, the camera includes M camera, and M is the integer more than 1, and terminal device is set using the terminal Standby camera treats the embodiment that reference object is shot:
If the touch-control pressure value falls into the 3rd pressure limit, terminal device is using the M camera to be captured right As being shot;
If the touch-control pressure value is in the 4th pressure limit, terminal device uses its in the M camera In a camera treat reference object and shot.
Optionally, the 3rd pressure limit and the 4th pressure limit are not occured simultaneously mutually.3rd pressure limit can for example be equal to 1N- 2N, 1N-3N, or other values.4th pressure limit can for example be equal to 3N-4N, 3-6N, or other values.
Optionally, above-mentioned camera can be the double rear cameras or terminal device of terminal device it is double before Put camera.
For example, above-mentioned camera is double rear cameras of terminal device, when above-mentioned touch-control pressure value is in the 3rd During pressure limit, terminal device is treated reference object using double rear cameras of terminal device simultaneously and shot;When above-mentioned When touch-control pressure value is in four pressure limits, terminal device is only with one of them in double rear cameras of terminal device Camera is treated reference object and shot.
Optionally, after terminal device is focused using the camera of the terminal device to the focusing area,
Terminal device detection shoots the second touch parameter of second touch control operation at interface for terminal device in advance, and second touches Control the second touch point of the second touch control operation described in parameter;If second touch point falls into the 3rd touch-control corresponding to shooting focusing Region, terminal device are taken pictures using the camera of terminal device to treating reference object;Or terminal device is not detected by Shoot the touch control operation at interface in advance for terminal device, terminal device is entered using the camera of terminal device to treating reference object Row is taken pictures.
For example, after terminal device is focused using the camera of terminal device to focusing area, if terminal Equipment detects that terminal device shoots interface again by touch-control in advance, then terminal device is clapped treating using the camera of terminal device Object is taken the photograph to be taken pictures, or, terminal device detects that the touch control operation for shooting interface in advance for terminal device disappears, then terminal Equipment is taken pictures using the camera of terminal device to treating reference object.
As can be seen that in the embodiment of the present invention, touch-control ginseng of the terminal device detection for the pre- shooting interface of terminal device Number, touch-control pressure value corresponding to touch point and the touch point of the touch parameter including the touch control operation;If described touch Control point falls into the first touch area corresponding to shooting focusing, and terminal device determines focusing area according to the touch point, and uses The camera of the terminal device is focused to the focusing area.It can be seen that user only need to carry out touch-control to pre- shooting interface Operation, you can focused to focusing position corresponding to touch point, be advantageous to lifting user and treat what reference object was focused Intelligent and convenience.
Below structure, terminal disclosed in the embodiment of the present invention are formed for the unit of terminal device disclosed in the embodiment of the present invention The unit composition structure of equipment is used to perform the method that the inventive method embodiment is realized.
Based on the composition framework of the terminal device 100 shown in Fig. 1, the embodiment of the invention discloses a kind of terminal device. Referring to Fig. 3, Fig. 3 is the unit composition structural representation of terminal device disclosed in the embodiment of the present invention.
As shown in figure 3, the terminal device 300 can include detection unit 301, determining unit 302 and focusing unit 303, wherein:
Detection unit 301, it is described to touch for detecting the touch parameter for the touch control operation for shooting interface in advance for terminal device Control touch-control pressure value corresponding to touch point and the touch point of the parameter including the touch control operation;
Determining unit 302, if the first touch area corresponding to shooting focusing is fallen into for the touch point, according to the inspection Survey the touch point that unit detects and determine focusing area;
Focusing unit 303, for the focusing determined using the camera of the terminal device to the determining unit Focused in region.
Optionally, the camera includes M camera, and M is the integer more than 1, and the focusing unit 303 is specifically used In:
If the touch-control pressure value falls into first pressure scope, the focusing area is carried out using the M camera Focusing;
If the touch-control pressure value is in second pressure scope, using one of camera in the M camera The focusing area is focused.
Optionally, the determining unit 302 is specifically used for:
According to touch-control pressure value and the mapping relations of radius, first object radius corresponding to the touch-control pressure value is determined; The point centered on the touch point, the first object radius are radius, determine focusing area.
Optionally, the determining unit 302 is specifically used for:
Obtain touch trajectory corresponding to N number of touch point;Focusing area is determined according to the touch trajectory.
Optionally, the touch trajectory includes middle touch point, initial touch point and termination touch point, the determining unit 302 are specifically used for:
The one of the distance between the point centered on the middle touch point, the initial touch point and the termination touch point Half is radius, determines focusing area;
Or
The one of the distance between the point centered on the termination touch point, the initial touch point and the termination touch point Half is radius, determines focusing area;
Or
According to touch-control pressure value and the mapping relations of radius, determine that touch-control pressure value corresponding to the termination touch point is corresponding The second radius of target;The point centered on the termination touch point, second radius of target is radius, determines focusing area.
Optionally, the terminal device shown in Fig. 3 also includes:
Shooting unit 304, if the second touch area corresponding to shooting is fallen into for the touch-control pressure, using the terminal The camera of equipment is treated reference object and shot.
Optionally, the camera includes M camera, and M is the integer more than 1, and the shooting unit is specifically used for:
If the touch-control pressure value falls into the 3rd pressure limit, reference object is treated using the M camera and clapped Take the photograph;
If the touch-control pressure value is in the 4th pressure limit, taken the photograph using using one of them in the M camera Reference object is treated as head to be shot.
It should be noted that above-mentioned each functional unit (detection unit 301, determining unit 302, focusing unit 303 and bat Take the photograph unit 304) it is used to perform the correlation step of above-mentioned shooting focusing method.
In the present embodiment, terminal device 300 is presented in the form of functional unit.Here " unit " can refer to spy Determine application integrated circuit (application-specific integrated circuit, ASIC), circuit, perform one or The processor and memory of multiple softwares or firmware program, integrated logic circuit, and/or other can provide the device of above-mentioned function Part.In a simple embodiment, those skilled in the art is contemplated that terminal device 300 can be used shown in Fig. 1 Form.Detection unit 301, determining unit 302, focusing unit 303 and shooting unit 304 can by Fig. 1 processor and Memory is realized.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, the part or all of step of the method including any shooting focusing described in the above method embodiment when program performs Suddenly.
It should be noted that for foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because According to the present invention, some steps can use other orders or carry out simultaneously.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of the unit, it is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.Another, shown or discussed is mutual Coupling direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication connection of device or unit, Can be electrical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part to be contributed to prior art or the technical scheme all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, including some instructions are causing a computer equipment (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the present invention Step.And foregoing memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable memory, memory It can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
The embodiment of the present invention is described in detail above, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help the method and its core concept for understanding the present invention; Meanwhile for those of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, to sum up above-mentioned, this specification content should not be construed as limiting the invention.

Claims (13)

1. a kind of method for shooting focusing, the camera for a mobile terminal, it is characterised in that the camera includes M Camera, M are the integer more than 1, and methods described includes:
Detection shoots the touch parameter of the touch control operation at interface for terminal device in advance, and the touch parameter is grasped including the touch-control Touch-control pressure value corresponding to the touch point of work and the touch point;
If the touch point fall into shooting focusing corresponding to the first touch area, focusing area is determined according to the touch point, and When the touch-control pressure value falls into first pressure scope, the focusing area is focused using the M camera; When the touch-control pressure value is in second pressure scope, using one of camera in the M camera to described right Focused in burnt region;Wherein, point is that central point, the radius of touch display screen are preset value centered on first touch area Touch area.
2. according to the method for claim 1, it is characterised in that it is described that focusing area is determined according to the touch point, including:
According to touch-control pressure value and the mapping relations of radius, first object radius corresponding to the touch-control pressure value is determined;
The point centered on the touch point, the first object radius are radius, determine focusing area.
3. according to the method for claim 1, it is characterised in that the touch point includes N number of touch point, and the N is more than 1 Integer, it is described that focusing area is determined according to the touch point, including:
Obtain touch trajectory corresponding to N number of touch point;
Focusing area is determined according to the touch trajectory.
4. according to the method for claim 3, it is characterised in that the touch trajectory includes middle touch point, initial touch-control Point and termination touch point, it is described that focusing area is determined according to the touch trajectory, including:
The point centered on the middle touch point, the initial touch point and it is described terminate the distance between touch point half be Radius, determine focusing area;
Or
The point centered on the termination touch point, the initial touch point and it is described terminate the distance between touch point half be Radius, determine focusing area;
Or
According to touch-control pressure value and the mapping relations of radius, the is determined corresponding to touch-control pressure value corresponding to the termination touch point Two radius of target;The point centered on the termination touch point, second radius of target is radius, determines focusing area.
5. according to the method described in claim any one of 1-4, it is characterised in that methods described also includes:
If the touch point falls into the second touch area corresponding to shooting, using the camera of the terminal device to be captured right As being shot.
6. according to the method described in claim 5, it is characterised in that the camera includes M camera, and M is whole more than 1 Number, the camera using the terminal device are treated reference object and shot, including:
If the touch-control pressure value falls into the 3rd pressure limit, reference object is treated using the M camera and shot;
If the touch-control pressure value is in the 4th pressure limit, using using one of camera in the M camera Reference object is treated to be shot.
7. a kind of terminal device, including camera, it is characterised in that the camera includes M camera, and M is whole more than 1 Number, the terminal device also include:
Detection unit, for detecting the touch parameter for the touch control operation for shooting interface in advance for terminal device, the touch parameter Touch-control pressure value corresponding to touch point and the touch point including the touch control operation;
Determining unit, if the first touch area corresponding to shooting focusing is fallen into for the touch point, according to the detection unit The touch point detected determines focusing area;Wherein, point is in touch display screen centered on first touch area Heart point, the touch area that radius is preset value;
Focusing unit, the focusing area for being determined using the camera of the terminal device to the determining unit are carried out Focusing, including:If the touch-control pressure value falls into first pressure scope, the focusing area is entered using the M camera Row focusing;If the touch-control pressure value is in second pressure scope, using one of camera pair in the M camera The focusing area is focused;The first pressure scope and the second pressure scope are not occured simultaneously mutually.
8. terminal device according to claim 7, it is characterised in that the determining unit is specifically used for:
According to touch-control pressure value and the mapping relations of radius, first object radius corresponding to the touch-control pressure value is determined;With institute Point centered on touch point is stated, the first object radius is radius, determines focusing area.
9. terminal device according to claim 7, it is characterised in that the touch point includes N number of touch point, and the N is Integer more than 1, the determining unit are specifically used for:
Obtain touch trajectory corresponding to N number of touch point;Focusing area is determined according to the touch trajectory.
10. terminal device according to claim 9, it is characterised in that the touch trajectory includes middle touch point, initially Touch point and termination touch point, the determining unit are specifically used for:
The point centered on the middle touch point, the initial touch point and it is described terminate the distance between touch point half be Radius, determine focusing area;
Or
The point centered on the termination touch point, the initial touch point and it is described terminate the distance between touch point half be Radius, determine focusing area;
Or
According to touch-control pressure value and the mapping relations of radius, the is determined corresponding to touch-control pressure value corresponding to the termination touch point Two radius of target;The point centered on the termination touch point, second radius of target is radius, determines focusing area.
11. according to the terminal device described in claim any one of 7-10, it is characterised in that the terminal device also includes:
Shooting unit, if the second touch area corresponding to shooting is fallen into for the touch point, using taking the photograph for the terminal device Reference object is treated as head to be shot.
12. terminal device according to claim 11, it is characterised in that the camera includes M camera, and M is big In 1 integer, the shooting unit is specifically used for:
If the touch-control pressure value falls into the 3rd pressure limit, reference object is treated using the M camera and shot;
If the touch-control pressure value is in the 4th pressure limit, using using one of camera in the M camera Reference object is treated to be shot.
A kind of 13. terminal device, it is characterised in that including:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs as claim 1 to 6 is any Method described in.
CN201610032286.0A 2016-01-15 2016-01-15 A kind of method and terminal device for shooting focusing Expired - Fee Related CN105681657B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610032286.0A CN105681657B (en) 2016-01-15 2016-01-15 A kind of method and terminal device for shooting focusing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610032286.0A CN105681657B (en) 2016-01-15 2016-01-15 A kind of method and terminal device for shooting focusing

Publications (2)

Publication Number Publication Date
CN105681657A CN105681657A (en) 2016-06-15
CN105681657B true CN105681657B (en) 2017-11-14

Family

ID=56301337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610032286.0A Expired - Fee Related CN105681657B (en) 2016-01-15 2016-01-15 A kind of method and terminal device for shooting focusing

Country Status (1)

Country Link
CN (1) CN105681657B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018018378A1 (en) * 2016-07-25 2018-02-01 深圳市大疆创新科技有限公司 Method, device and system for controlling movement of moving object
CN107637065A (en) * 2016-10-29 2018-01-26 深圳市大疆创新科技有限公司 It is a kind of on the processing method of shooting, device, video camera and system
CN107613208B (en) * 2017-09-29 2020-11-06 努比亚技术有限公司 Focusing area adjusting method, terminal and computer storage medium
CN108920067A (en) * 2018-05-15 2018-11-30 维沃移动通信有限公司 A kind of camera focusing method and mobile terminal
CN110740265B (en) * 2019-10-31 2021-03-12 维沃移动通信有限公司 Image processing method and terminal equipment
CN112702482B (en) * 2020-12-01 2024-04-19 珠海格力电器股份有限公司 Method and device for adjusting focal length of camera

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360189A (en) * 2008-07-03 2009-02-04 明基电通有限公司 Camera control method and camera thereof
CN201238345Y (en) * 2008-08-11 2009-05-13 台湾微米科技股份有限公司 Shooting apparatus
CN101567975A (en) * 2009-05-26 2009-10-28 深圳华为通信技术有限公司 Method and device for selecting focusing zone
CN102223476A (en) * 2010-04-13 2011-10-19 索尼公司 Image pick-up apparatus, detection-frame adjustment method, and program
EP2782328A1 (en) * 2011-12-16 2014-09-24 Olympus Imaging Corp. Imaging device and imaging method, and storage medium for storing tracking program processable by computer
CN105045502A (en) * 2015-06-29 2015-11-11 努比亚技术有限公司 Image processing method and image processing device
CN105159594A (en) * 2015-09-29 2015-12-16 努比亚技术有限公司 Touch photographing device and method based on pressure sensor, and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360189A (en) * 2008-07-03 2009-02-04 明基电通有限公司 Camera control method and camera thereof
CN201238345Y (en) * 2008-08-11 2009-05-13 台湾微米科技股份有限公司 Shooting apparatus
CN101567975A (en) * 2009-05-26 2009-10-28 深圳华为通信技术有限公司 Method and device for selecting focusing zone
CN102223476A (en) * 2010-04-13 2011-10-19 索尼公司 Image pick-up apparatus, detection-frame adjustment method, and program
EP2782328A1 (en) * 2011-12-16 2014-09-24 Olympus Imaging Corp. Imaging device and imaging method, and storage medium for storing tracking program processable by computer
CN105045502A (en) * 2015-06-29 2015-11-11 努比亚技术有限公司 Image processing method and image processing device
CN105159594A (en) * 2015-09-29 2015-12-16 努比亚技术有限公司 Touch photographing device and method based on pressure sensor, and mobile terminal

Also Published As

Publication number Publication date
CN105681657A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105681657B (en) A kind of method and terminal device for shooting focusing
US10754938B2 (en) Method for activating function using fingerprint and electronic device including touch display supporting the same
CN104969480B (en) Mobile/handheld terminal
CN105912260B (en) The startup method and mobile terminal of a kind of application program
CN106227437B (en) A kind of unlocked by fingerprint method and terminal
CN102067070B (en) For the device using two-sided input equipment commanding apparatus, method and computer program product
CN107193471B (en) Unlocking control method and related product
CN105487781B (en) A kind of screenshot method and terminal device
US20140317499A1 (en) Apparatus and method for controlling locking and unlocking of portable terminal
US20140189551A1 (en) Portable device and method for controlling user interface in portable device
CN105704375B (en) A kind of method of image procossing, terminal and computer readable storage medium
CN103399632A (en) Gesture control method and mobile terminal
CN106548125A (en) Multi-finger fingerprint identification device, multi-finger fingerprint identification electronic device and operation method
CN107179871A (en) Fingerprint recognition region display methods and Related product
CN104991721A (en) Fingerprint operation method and apparatus
CN106203034B (en) A kind of unlocked by fingerprint method and terminal
CN107563165A (en) Fingerprint identification method, device, storage medium and terminal
CN105700790B (en) A kind of screenshot method and terminal device
CN105677788A (en) File searching method and user terminal
US9678608B2 (en) Apparatus and method for controlling an interface based on bending
EP2509019A1 (en) Security arrangement
CN105739886A (en) Video playing method and mobile terminal
CN106022057B (en) A kind of unlocked by fingerprint method and terminal
CN105739891A (en) Music processing method and mobile terminal
CN105677081B (en) A kind of touch control method and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171114

CF01 Termination of patent right due to non-payment of annual fee