CN103837129A - Distance measuring method and device in terminals and terminal - Google Patents

Distance measuring method and device in terminals and terminal Download PDF

Info

Publication number
CN103837129A
CN103837129A CN201410069510.4A CN201410069510A CN103837129A CN 103837129 A CN103837129 A CN 103837129A CN 201410069510 A CN201410069510 A CN 201410069510A CN 103837129 A CN103837129 A CN 103837129A
Authority
CN
China
Prior art keywords
current value
unit
terminal
shooting
positional information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410069510.4A
Other languages
Chinese (zh)
Other versions
CN103837129B (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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201410069510.4A priority Critical patent/CN103837129B/en
Publication of CN103837129A publication Critical patent/CN103837129A/en
Priority to PCT/CN2014/082401 priority patent/WO2015127743A1/en
Application granted granted Critical
Publication of CN103837129B publication Critical patent/CN103837129B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C3/00Measuring distances in line of sight; Optical rangefinders

Landscapes

  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Studio Devices (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)

Abstract

The embodiment of the invention discloses a distance measuring method and a distance measuring device in terminals and a terminal and relates to the field of terminals. By means of the distance measuring method and device and the terminal, the measurement data can be accurately obtained. The method comprises the following steps: firstly, obtaining a current value of controlling a voice coil motor and obtaining position information of a photographing unit according to the obtained current value, wherein the position information of the photographing unit is the distance from the mirror plane of the photographing unit to the image of a photographed subject; obtaining the corresponding distance information of the position information according to the obtained position information of the photographing unit and the corresponding relationship of the position information and the distance information, wherein the distance information is the distance from the photographed subject to the mirror plane of the photographing unit.

Description

Distance-finding method, device and terminal in a kind of terminal
Technical field
The present invention relates to terminal field, relate in particular to distance-finding method, device and terminal in a kind of terminal.
Background technology
Along with the development of terminal technology, increasing terminal has increased filming apparatus, can be taken pictures whenever and wherever possible and photograph by this device users.
At present, by the device arranging in terminal, can realize the function of the distance (abbreviation object distance) between taking lens and reference object in the process of taking.In the prior art, generally realize distance measurement function by following two kinds of modes:
The first distance measuring method, is specifically designed to the terminal of shooting, and for example slr camera, by the phase place focusing system (being optical system) arranging, thereby can calculate object distance according to optical characteristics therein.
The second distance measuring method, because some terminals are provided with image sensing unit and displacement driver, therefore in shooting process, can image sensing unit and taking lens be relatively moved by displacement driver and obtain image clearly, and then obtain image distance and the object distance of this picture rich in detail.
But in above-mentioned the first distance measuring method, not only cost is higher for the extra optical distance measurement apparatus such as the phase place focusing system of setting, and volume is larger, makes terminal structure complexity; In above-mentioned the second distance measuring method, need to realize distance measurement function by displacement driver and image sensing unit.
Summary of the invention
The invention provides distance-finding method, device and terminal in a kind of terminal, be different from the technical scheme of above-mentioned two kinds of prior aries, can also obtain exactly measurement data.
A first aspect of the present invention, provides the distance-finding method in a kind of terminal, and described terminal is provided with takes unit and voice coil motor, and the method comprises: obtain the current value of controlling described voice coil motor;
According to the described described current value getting, obtain the positional information of described shooting unit, the positional information of described shooting unit refers to the distance between minute surface and the picture of subject of described shooting unit;
According to the positional information of the described shooting unit obtaining, and the corresponding relation of described positional information and range information, obtaining range information corresponding to described positional information, described range information refers to the distance between subject and the minute surface of described shooting unit.
In the possible implementation of the first of first aspect, before the described positional information of obtaining described shooting unit, described method also comprises: the shooting attitude of determining described terminal; Control after the current value of described voice coil motor described obtaining, described in obtain described shooting unit positional information be specially: according to the described described current value getting and described definite shooting attitude, obtain the positional information of described shooting unit.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, the described shooting attitude of determining described terminal comprises: user selects the shooting attitude of described terminal voluntarily, or determines the shooting attitude of described terminal by sensor.
In conjunction with any one in the possible implementation of the second of the possible implementation of the first of first aspect, first aspect and first aspect, in the third possible implementation of first aspect, described method also comprises: the corresponding relation of described positional information and range information is specially: in the case of the focal length of described terminal be known, according to 1/ positional information+1/, focal length=1/ range information, go out described range information by the positional information calculation of the described shooting unit that obtains.
The 4th kind of possible implementation in conjunction with first aspect, first aspect is: determine the positional information of described shooting unit and the corresponding relation of current value; Store the positional information of described definite described shooting unit and the corresponding relation of described current value; The described current value getting described in described basis, the positional information of obtaining described shooting unit is specially: according to the described described current value getting, and the described positional information of described storage and the corresponding relation of described current value, obtain the positional information of described shooting unit.
A second aspect of the present invention, provides the distance-finding method in a kind of terminal, and described terminal is provided with takes unit and voice coil motor, comprising: obtain the current value of controlling described voice coil motor;
According to the described current value getting, and the corresponding relation of described current value and range information, obtaining the range information that described current value is corresponding, described range information refers to the distance between subject and the minute surface of described shooting unit.
In the possible implementation of the first of second aspect, at the current value getting described in described basis, and the corresponding relation of described current value and range information, to obtain before the range information that described current value is corresponding, described method also comprises:
Determine the shooting attitude of described terminal;
The current value getting described in described basis, and the corresponding relation of described current value and range information, obtaining the range information that described current value is corresponding is specially: according to the described described current value getting, described definite shooting attitude, and the corresponding relation of described current value, described shooting attitude and range information, obtain described range information.
A third aspect of the present invention, provides the distance measuring equipment in a kind of terminal, and described terminal is provided with takes unit and voice coil motor, and described device comprises:
Current value acquiring unit, for obtaining the current value of controlling described voice coil motor;
Location information acquiring unit, for the described current value getting according to described current value acquiring unit, obtains the positional information of described shooting unit, and the positional information of described shooting unit refers to the distance between minute surface and the picture of subject of described shooting unit;
Range information acquiring unit, be used for the positional information of the shooting unit obtaining according to described location information acquiring unit, and the corresponding relation of described positional information and range information, obtain range information corresponding to described positional information, described range information refers to the distance between subject and the minute surface of described shooting unit.
In the possible implementation of the first of the third aspect, described device also comprises: take attitude determining unit, for determining the shooting attitude of described terminal; Described location information acquiring unit, specifically for shooting attitude that the described current value getting according to described current value acquiring unit and described shooting attitude determining unit are definite, is obtained the positional information of described shooting unit.
A fourth aspect of the present invention, provides the distance measuring equipment in a kind of terminal, and described terminal is provided with takes unit and voice coil motor, and described device comprises: current value acquiring unit, for obtaining the current value of controlling described voice coil motor; Range information acquiring unit, for the current value of the described voice coil motor that gets according to described current value acquiring unit, and the corresponding relation of described current value and range information, obtain the range information that described current value is corresponding.
In the possible implementation of the first of fourth aspect, described device also comprises: take attitude determining unit, for determining the shooting attitude of described terminal;
Described range information acquiring unit specifically for: according to the described described current value getting, described definite shooting attitude, and the corresponding relation of described current value, described shooting attitude and range information, obtain described range information.
A fifth aspect of the present invention, a kind of terminal is provided, described terminal comprises: take the distance measuring equipment described in the arbitrary possible implementation in unit, voice coil motor and third aspect present invention, or, take the distance measuring equipment described in the arbitrary possible implementation in unit, voice coil motor and fourth aspect present invention.
Adopt distance-finding method, device and terminal in terminal provided by the invention, described terminal is provided with takes unit and voice coil motor.First, obtain and control the current value of voice coil motor, and according to the described current value getting, obtain the positional information of described shooting unit, the positional information of described shooting unit refers to the distance between minute surface and the picture of subject of described shooting unit; The positional information of the shooting unit then obtaining described in basis, and the corresponding relation of described positional information and range information, obtain range information corresponding to positional information, and described range information refers to the distance between subject and the minute surface of described shooting unit.Or, first, obtain the current value of controlling described voice coil motor, then according to the current value getting, and the corresponding relation of described current value and range information, obtain the range information that described current value is corresponding, described range information refers to the distance between subject and the minute surface of described shooting unit.As can be seen from above, the method for this utilization survey electric current realizes the mode of distance measurement function, is not only different from the embodiment of prior art, but also can obtains exactly measurement data.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
A kind of schematic flow sheet of distance-finding method in the terminal that Fig. 1 provides for the embodiment of the present invention one;
A kind of illustrative diagram of the corresponding relation in the terminal that Fig. 2 provides for the embodiment of the present invention one between current value and the positional information of distance-finding method;
A kind of illustrative diagram of the positional information of distance-finding method and the corresponding relation of range information in the terminal that Fig. 3 provides for the embodiment of the present invention one;
A kind of illustrative diagram of distance-finding method in the terminal that Fig. 4 provides for the embodiment of the present invention one;
A kind of schematic flow sheet of distance-finding method in the terminal that Fig. 5 provides for the embodiment of the present invention two;
A kind of structural representation of distance measuring equipment in the terminal that Fig. 6 provides for the embodiment of the present invention three;
The another kind of structural representation of distance measuring equipment in the terminal that Fig. 7 provides for the embodiment of the present invention three;
The another kind of structural representation of distance measuring equipment in the terminal that Fig. 8 provides for the embodiment of the present invention three;
The another kind of structural representation of distance measuring equipment in the terminal that Fig. 9 provides for the embodiment of the present invention three;
The another kind of structural representation of distance measuring equipment in the terminal that Figure 10 provides for the embodiment of the present invention three;
A kind of structural representation of distance measuring equipment in the terminal that Figure 11 provides for the embodiment of the present invention four;
The another kind of structural representation of distance measuring equipment in the terminal that Figure 12 provides for the embodiment of the present invention four;
The another kind of structural representation of distance measuring equipment in the terminal that Figure 13 provides for the embodiment of the present invention four;
The another kind of structural representation of distance measuring equipment in the terminal that Figure 14 provides for the embodiment of the present invention four;
A kind of structural representation of distance measuring equipment in the terminal that Figure 15 provides for the embodiment of the present invention five;
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment mono-
The embodiment of the present invention one provides the distance-finding method in a kind of terminal, this terminal is provided with takes unit and voice coil motor, wherein the terminal in the present invention can be arbitrary mobile devices such as mobile phone, PAD, panel computer, can be the filming apparatus with minute surface and take unit, the minute surface of taking unit can be fixed on voice coil motor.As shown in Figure 1, comprise the following steps:
S11, obtains the current value of controlling voice coil motor.
Described voice coil motor at least comprises magnet, coil, spring etc., described voice coil motor is by being converted to mechanical energy by the electric energy of inflow, thereby change the position of voice coil motor, understandable, the position of described voice coil motor typically refers to determined position after the deformation of voice coil motor medi-spring.
The current value of described voice coil motor is by driving circuit control, and optional, driving circuit can be a part for processor.Gather when image when taking unit, processor can be according to the current value of focus algorithm control voice coil motor, thereby changes the deformation quantity of voice coil motor medi-spring.Concrete, current source of processor control, this current source, according to the different instruction of processor, is exported different current values to voice coil motor, to make voice coil motor obtain different electric energy, voice coil motor is converted to corresponding mechanical energy by different electric energy again, understandable, different mechanical energy correspondences different spring deformation amounts, along with the change of current value, voice coil motor can travel through all camera sites, and therefrom determines the highest position of image definition (that is: acutance).When having determined the highest camera site of acutance, processor obtains the current value of now corresponding control voice coil motor.
S12, according to the current value getting, obtains the positional information of taking unit, and the positional information of described shooting unit refers to the distance of taking between the minute surface of unit and the picture of subject.
From the definition of the positional information to shooting unit in S12 step, the positional information of taking unit is equivalent to the image distance in optics.Wherein this distance values can be 2mm, 4mm etc.Optionally, the minute surface of taking unit can be the center of convex lens, and the picture of subject can be formed on the photosensitive sensor such as CCD, CMOS, this present invention is not specifically limited.
Optionally, voice coil motor comprises inner chamber, the minute surface of taking unit is arranged in the inner chamber of voice coil motor, and along with the movement (that is: the deformation of spring) of voice coil motor, the position of minute surface can synchronously be moved, that is: the distance between minute surface and the picture of subject changes, so the displacement of voice coil motor generally can be regarded as the positional information of taking unit.
In addition, in S11, mentioned, the driver element of controlling voice coil motor has the function of controlling voice coil motor place current values size.And the size of this current values and the displacement of voice coil motor are dull serial relation.This dullness serial relation can calculate as follows:
I=aS+b;
Wherein,
I represents to control the current value of voice coil motor;
S represents the displacement of voice coil motor, and this displacement represents the offset distance between position and its position in the time of no power that the coil of voice coil motor is currently located at.
A represents scale-up factor, a normally fixed numbers, and the size of this numerical value is to determine by the factors such as the number of turns of voice coil motor, diameter, material are common;
B represents migration parameter, is a fixed numbers, the position of the coil that this migration parameter represents voice coil motor in the time of no power.For example,, the numerical value of b corresponds to 0 when when setting the coil of voice coil motor and being positioned at no power the position.
In sum, control the current value I at voice coil motor place and the displacement S of voice coil motor and be dull serial relation, and the displacement S of voice coil motor generally can be regarded as the positional information of taking unit, so, the current value I of controlling voice coil motor place is dull serial relation with the positional information of taking unit, in other words,, according to the current value getting, can get the positional information of taking unit.For example, as shown in the curve 1 in Fig. 2, be 0.35mm when getting when controlling the current values at voice coil motor place and being 70mA to 100mA, can obtain the positional information of taking unit; Be about 0.15mm when getting when controlling the current values at voice coil motor place and being 40mA, can obtain the positional information of taking unit.
Consider that shooting unit and voice coil motor itself have constant weight, when terminal is in the time that difference is taken attitude, the shooting attitude of such as terminal is vertical placement, horizontal positioned, slant setting etc., can produce certain influence to the dull serial relation of controlling between the current values size at voice coil motor place and the positional information of shooting unit.Therefore the dull serial relation of, controlling between the current values size at voice coil motor place and the positional information of shooting unit can be different and different along with the shooting attitude of terminal.
Thus, in order to get a more accurate measurement data, in a specific embodiment of the present invention, obtaining before the positional information of taking unit, also comprise step: the shooting attitude of determining described terminal.In such cases, control after the current value of voice coil motor obtaining, obtaining the positional information of taking unit can be specially: according to the current value getting and definite shooting attitude, obtain the positional information of shooting unit.
Particularly, in the time that the taking lens of terminal keeps flat, the dull serial relation of now controlling between the current values size at voice coil motor place and the positional information of shooting unit can be as shown in the curve 1 in Fig. 2; Again for example, when the taking lens of terminal is upward time, the dull serial relation of now controlling between the current values size at voice coil motor place and the positional information of shooting unit can be as shown in the curve 2 in Fig. 2; Again for example, when the taking lens of terminal is down time, the dull serial relation of now controlling between the current values size at voice coil motor place and the positional information of shooting unit can be as shown in the curve 3 in Fig. 2.
Understandable, above-mentioned different dull serial relation can be calculated out by taking lens weight, angle of inclination, thereby the measurement data obtaining is more accurate.
Wherein, in a specific embodiment of the present invention, determine that the shooting attitude of terminal comprises: user selects the shooting attitude of terminal voluntarily, or determine the shooting attitude of terminal by sensor.
Particularly, user selects the shooting attitude of described terminal specifically to comprise the steps: first voluntarily, receive the shooting attitude command of user to terminal, next, according to this instruction, the shooting attitude option of display terminal, this option comprises the shooting angle option of terminal, for example 0 degree, 90 degree, 180 degree etc.Wherein, can be defined as follows the shooting angle of terminal: the taking lens place face that the shooting angle of terminal is described terminal is to the clockwise angle of surface level, and its numerical range can be defined as and be more than or equal to 0 degree, is less than 360 degree.For example, when the shooting angle of terminal is more than or equal to 0 degree and is less than 45 degree, or, be more than or equal to 315 degree and be less than 360 while spending, can think that the shooting attitude of terminal is: the pick-up lens of terminal is down; When the shooting angle of terminal is more than or equal to 45 degree and is less than 135 degree, or, be more than or equal to 225 degree and be less than 315 while spending, can think that the shooting attitude of terminal is: the pick-up lens of terminal keeps flat; When the shooting angle of terminal is more than or equal to 135 degree and is less than 225 while spending, can think that the shooting attitude of terminal is: the pick-up lens of terminal upward.Then, receive the option of user to this shooting angle, for example, receive " 30 degree " that user selects, now just can determine that the shooting attitude of terminal is: the pick-up lens of terminal down.
In addition, also can determine by sensor the shooting attitude of described terminal, such as adopting gravity sensor to determine the shooting attitude of terminal.
Further, in a specific embodiment of the present invention, the method is further comprising the steps of: first determine and take the positional information of unit and the shooting attitude of terminal, corresponding relation with current value; Then store the positional information of described definite shooting unit and the shooting attitude of described terminal, with the corresponding relation of described current value;
In this case, according to the current value getting and definite shooting attitude, obtain and take the positional information of unit and be specially: according to the current value getting and definite shooting attitude, and the positional information of described shooting unit of storage and the shooting attitude of terminal, with the corresponding relation of current value, obtain the positional information of taking unit.
Like this, storage take the shooting attitude of positional information, the terminal of unit, with control after the corresponding relation of current value of voice coil motor, for example, in the time getting the shooting unit of terminal by gravity sensor and keep flat, getting after the size of current value, now, can jointly determine the positional information of taking unit according to shooting attitude and the current value of taking unit.
S13, according to the positional information of the shooting unit obtaining, and the corresponding relation of positional information and range information, obtaining range information corresponding to positional information, described range information refers to the distance between subject and the minute surface of shooting unit.
From the definition of the information of adjusting the distance in S13 step, this range information is equivalent to the object distance in optics.Wherein this distance values can be 100mm, 300mm, 500mm etc.In concrete application, for example, in the time that shooting unit is camera lens, subject and the range information of taking between unit are the range information between subject and camera lens.
Optionally, in a specific embodiment of the present invention, the corresponding relation of positional information and range information can be specially: in the case of the focal length of terminal be known, according to Gaussian imaging equation, go out range information by the positional information calculation of described shooting unit.
Particularly, as mentioned before, the positional information of taking unit is equivalent to the image distance in optics, the range information of taking between unit and subject is equivalent to the object distance in optics, and because the focal length in terminal is present in a numerical range conventionally, therefore can preset focal length is any number of numerical value in a certain numerical range, if the numerical range of focal length is for being more than or equal to 2mm, while being less than or equal to 4mm, presetting focal length is 2mm, 2.1mm, 2.2mm ... 3.9mm, 4mm etc., about set focal length numerical range with and scope in multiple numerical values recited, the present invention is not specifically limited.Understandable, when the numerical value of focal length is while being known, can be according to Gaussian imaging equation: 1/ focal length=1/ object distance (that is: range information)+1/ image distance (that is: positional information), calculates the concrete numerical value of object distance by the concrete numerical value of image distance.For example, as shown in Figure 3, if the focal length of setting terminal is 4mm, can determine that the range information of taking between unit location information and subject and shooting unit has following corresponding relation: in the time that the positional information of shooting unit is 4mm, the range information of taking between unit and subject is infinitely great; In the time that the positional information of shooting unit is 4.05mm, the range information of taking between unit and subject is 324mm.
Determining after the corresponding relation of the range information between above-mentioned shooting unit location information and subject and shooting unit, this corresponding relation can be stored in terminal with form.
Distance-finding method in the terminal that the embodiment of the present invention one provides, first, obtains the current value of controlling voice coil motor; And, according to the described described current value getting, obtain the positional information of described shooting unit, the positional information of described shooting unit refers to the distance between minute surface and the picture of subject of described shooting unit; The positional information of the shooting unit then obtaining described in basis, and the corresponding relation of described positional information and range information, obtain range information corresponding to positional information, and described range information refers to the distance between subject and the minute surface of described shooting unit.As can be seen from above, the method for this utilization survey electric current realizes the mode of distance measurement function, is not only different from the embodiment of prior art, but also can obtains exactly measurement data.
Optionally, in a specific embodiment of the present invention, the method is further comprising the steps of: can first determine and take the positional information of unit and the corresponding relation of the current value of control voice coil motor, and store the positional information of definite shooting unit and the corresponding relation of the current value of control voice coil motor.
Particularly, can draw the one-to-one relationship between the current value of taking the positional information of unit and controlling voice coil motor as dull serial relation above, then, this corresponding relation determining is stored in terminal with form, in the time getting the current value of controlling voice coil motor, can from pre-stored corresponding relation, recall fast and accurately the positional information of taking unit, further improve thus the data-handling capacity of terminal.
Optionally, in a specific embodiment of the present invention, after step S13, the method is further comprising the steps of: at the range information that shows that screen display is obtained.
Particularly, as shown in Figure 4, when terminal is during in focusing state, the range information obtaining in the demonstration screen display of terminal.Wherein the display position of this range information can be positioned at the upper right corner of display screen, shows for example " 35cm " with data mode.The display position of range information also can be positioned at the lower right corner of display screen, shows with the array mode of histogram and data, and about display position or the display mode of range information, the present invention is not specifically limited.
As can be seen from above, user in the process of taking, can be on the display screen of terminal direct range of a signal information.This mode can guides user better be focused and shoot better image or picture, thereby improve user's shooting enjoyment and experience in the process of taking.In addition, this mode can also provide a kind of for measuring the method for object distance to user.
Embodiment bis-
Understandable, on the basis of the technical scheme of the embodiment of the present invention one, go back changeable type and obtain another embodiment, be i.e. embodiment bis-.Distance-finding method in the terminal embodiment of the present invention two being provided below by specific embodiment is elaborated.
The embodiment of the present invention two provides the distance-finding method in a kind of terminal, terminal is provided with voice coil motor and takes unit, wherein terminal can be arbitrary mobile devices such as mobile phone, PAD, panel computer, and taking unit can be the filming apparatus such as camera lens (can take pictures or make a video recording).As shown in Figure 5, the method comprises the following steps:
S51, obtains the current value of controlling voice coil motor.
This step can, with reference to S11, repeat no more.
S52, according to the current value getting, and the corresponding relation of current value and range information, obtaining the range information that current value is corresponding, described range information refers to the distance between subject and the minute surface of shooting unit.
In this step, current value is corresponding with range information.Particularly, be that camera lens is as example to take unit.Because the current values size of voice coil motor position is previously described dull serial relation with the positional information of taking unit, current value and positional information are corresponding one by one.In addition, the positional information (being equivalent to image distance) of camera lens and range information (being equivalent to object distance) can be according to Gaussian imaging equations: 1/ object distance+1/, focal length=1/ image distance, focal length in terminal is known, can calculate by the concrete numerical value of image distance the concrete numerical value of object distance, positional information and range information are corresponding one by one.Therefore in summary, between current value and range information, there is corresponding relation, can calculate by current values the concrete numerical value of range information.
Distance-finding method in the terminal that the embodiment of the present invention two provides, first, obtains the current value of controlling described voice coil motor; Then the current value getting described in basis, and the corresponding relation of described current value and range information, obtain the range information that described current value is corresponding, and described range information refers to the distance between subject and the minute surface of described shooting unit.As can be seen from above, directly obtain range information by the corresponding relation of current value and storage, not only can obtain exactly measurement data, and range finding step is also simplified.
Because the shooting state of terminal can affect the dull serial relation between current value and positional information, in order to get a more accurate measurement data, optionally, in a specific embodiment of the present invention, the current value getting in basis, and the corresponding relation of current value and range information, obtaining before the range information that current value is corresponding, this distance-finding method is further comprising the steps of:
521, determine the shooting attitude of terminal;
522, according to the current value getting, and the corresponding relation of current value and range information, obtain the range information that current value is corresponding and be specially: according to the current value getting, definite shooting attitude, and the corresponding relation of current value, shooting attitude and range information, obtain range information.
Further, in a specific embodiment of the present invention, determine that the shooting attitude of terminal comprises: user selects the shooting attitude of terminal voluntarily, or determine the shooting attitude of terminal by sensor.Intelligible, in the same embodiment mono-above of this specific implementation process, the specific implementation process of the shooting attitude of definite terminal is similar, and therefore not to repeat here.
Optionally, in a specific embodiment of the present invention, control before the current value of voice coil motor obtaining, the method is further comprising the steps of: the corresponding relation of then determining current value and range information; Next, the corresponding relation of store electricity flow valuve and range information; In this case, obtaining after the current value of controlling voice coil motor, obtaining the range information that current value is corresponding and be specially: according to the current value getting, and the corresponding relation of storage, obtain the range information that current value is corresponding.
Like this, determining after the corresponding relation of the range information between current value and shooting unit and the subject of controlling voice coil motor, this corresponding relation can be stored in terminal with form, to directly calculate range information according to the current value obtaining.
Optionally, in a specific embodiment of the present invention, after step S52, the method is further comprising the steps of: at the range information that shows that screen display is obtained.
Particularly, still with reference to Fig. 4, the range information obtaining in the demonstration screen display of terminal.Wherein the display position of this range information can be positioned at the upper right corner of display screen, shows for example " 35cm " with data mode.The display position of range information also can be positioned at the lower right corner of display screen, shows with the array mode of histogram and data, and about display position or the display mode of range information, the present invention is not specifically limited.
As can be seen from above, user in the process of taking, when terminal is during in focusing state, can be on the display screen of terminal direct range of a signal information.This mode can guides user better be focused and shoot better image or picture, thereby improve user's shooting enjoyment and experience in the process of taking.In addition, this mode can also provide a kind of for measuring the method for object distance to user.
Embodiment tri-
Corresponding with embodiment mono-, embodiments of the invention three also provide the distance measuring equipment 600 in a kind of terminal, and wherein this terminal is provided with and takes unit and voice coil motor, as shown in Figure 6, comprising:
Current value acquiring unit 601, for obtaining the current value of controlling voice coil motor;
Location information acquiring unit 602, for the current value getting according to current value acquiring unit 601, obtains and takes the positional information of unit, and the positional information of taking unit refers to the distance between minute surface and the picture of subject of described shooting unit;
Range information acquiring unit 603, be used for the positional information of the shooting unit obtaining according to location information acquiring unit 602, and the corresponding relation of positional information and range information, obtain range information corresponding to positional information, range information refers to the distance between subject and the minute surface of described shooting unit.
Distance measuring equipment 600 in the terminal that the embodiment of the present invention three provides, wherein this terminal is provided with and takes unit and voice coil motor, and current value acquiring unit 601 is for obtaining the current value of controlling voice coil motor; The current value of location information acquiring unit 602 for getting according to current value acquiring unit 601, obtains and takes the positional information of unit, and the positional information of taking unit refers to the distance between minute surface and the picture of subject of described shooting unit; Range information acquiring unit 603 is for the positional information of the shooting unit that obtains according to location information acquiring unit 602, and the corresponding relation of positional information and range information, obtains range information corresponding to positional information.By this device, can obtain exactly measurement data.
Optionally, in a specific embodiment of the present invention, as shown in Figure 7, this device 600 also comprises: take attitude determining unit 604, for determining the shooting attitude of terminal;
In such cases, location information acquiring unit 602, specifically for: the current value getting according to the current value acquiring unit 601 shooting attitude definite with taking attitude determining unit 604, is obtained the positional information of taking unit.
Further, in a specific embodiment of the present invention, as shown in Figure 8, device 600 also comprises: the first determining unit 605, for determining the corresponding relation of taking the positional information of unit and the shooting attitude of terminal, controlling the current value of described voice coil motor; Storage unit 606, for storing the positional information of the definite shooting unit of the first determining unit 605 and the shooting attitude of terminal, the corresponding relation of current value;
In such cases, location information acquiring unit tool 602 is specifically for: the current value getting according to the current value acquiring unit 601 shooting attitude definite with taking attitude determining unit 604, and storage unit 606 positional information of shooting unit of storing and the shooting attitude of terminal, the corresponding relation of current value, obtain the positional information of taking unit.
Optionally, in a specific embodiment of the present invention, as shown in Figure 9, device 600 also comprises: the second determining unit 607, take the positional information of unit and the corresponding relation of current value for determining;
In such cases, storage unit 606 is also for, storage the second determining unit 607 definite positional information of shooting unit and corresponding relation of current value;
Location information acquiring unit 602 is specifically for the current value getting according to current value acquiring unit 601, and storage unit 606 positional information of storing and the corresponding relation of current value, obtains the positional information of taking unit.
Optionally, in a specific embodiment of the present invention, as shown in figure 10, device 600 also comprises: display unit 608, and for the range information that range of a signal information acquisition unit 603 is obtained on display screen.。
It should be noted that, the concrete function of each structural unit of the distance measuring equipment 600 in the terminal that the embodiment of the present invention three provides refers to embodiment of the method one above.
Embodiment tetra-
Corresponding with embodiment bis-, the embodiment of the present invention four also provides the distance measuring equipment 110 in a kind of terminal, and this terminal is provided with takes unit and voice coil motor, and as shown in figure 11, device 110 comprises:
Current value acquiring unit 111, for obtaining the current value of controlling voice coil motor;
Range information acquiring unit 112, for the current value of the voice coil motor that gets according to current value acquiring unit 111, and the corresponding relation of current value and range information, obtain the range information that current value is corresponding.
Distance measuring equipment 110 in the terminal that the embodiment of the present invention four provides, wherein terminal is provided with and takes unit and voice coil motor.Current value acquiring unit 111, for obtaining the current value of controlling voice coil motor; Range information acquiring unit 112, for the current value of the voice coil motor that gets according to current value acquiring unit 111, and the corresponding relation of current value and range information, obtain the range information that current value is corresponding.By this distance measuring equipment 110, directly obtain range information by the corresponding relation of current value and storage, not only can obtain exactly measurement data, and range finding step is also simplified.
Optionally, in a specific embodiment of the present invention, as shown in figure 12, device 110 also comprises: take attitude determining unit 113, for determining the shooting attitude of described terminal;
In such cases, range information acquiring unit 112 specifically for: according to the current value getting, definite shooting attitude, and the corresponding relation of current value, shooting attitude and range information, obtain range information.
Optionally, in a specific embodiment of the present invention, as shown in figure 13, device 110 also comprises: determining unit 114, for determining the corresponding relation of current value and range information; Storage unit 115, for the corresponding relation of store electricity flow valuve and range information;
In such cases, range information acquiring unit 112 is specifically for, the current value getting according to current value acquiring unit 111, and the corresponding relation stored of described storage unit 115, obtains the range information that current value is corresponding.
Optionally, in a specific embodiment of the present invention, as shown in figure 14, device 110 also comprises: display unit 116, and for the range information that range of a signal information acquisition unit 112 is obtained on display screen.
It should be noted that, the concrete function of each structural unit of the distance measuring equipment 110 in the terminal that the embodiment of the present invention four provides refers to embodiment of the method two above.
Embodiment five
Figure 15 shows that the another kind of embodiment of the distance measuring equipment in the terminal that the embodiment of the present invention five provides, as shown in figure 15, distance measuring equipment 140 in the terminal that the present embodiment provides, comprises that processor 141, storer 142, camera lens module 146, camera lens module 146 comprise voice coil motor 145, current source 147, photosensitive sensor 148, minute surface 149.
Processor 141, storer 142, camera lens module 146 etc. connect by bus and complete mutual communication, between current source 147 and voice coil motor 145, are connected with transmission current by control line.Bus can be industry standard architecture (Industry Standard Architecture, referred to as ISA) bus, peripheral component interconnect (Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, referred to as EISA) bus etc.Bus can be divided into address bus, data bus, control bus etc.For ease of representing, in Figure 15, only represent with a line, but do not represent only to have the bus of a bus or a type.
Storer 142 is for stores executable programs code, and this program code comprises computer-managed instruction.Storer 142 may comprise high-speed RAM storer, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.In embodiments of the present invention, storer 142 is specifically for the corresponding relation of the positional information of storage camera lens module 146 and the current value of control voice coil motor 145.
Processor 141 moves the program corresponding with executable program code by the executable program code of storage in read memory 142, for:
Obtain the current value of controlling voice coil motor 145;
According to the current value getting, obtain the positional information of camera lens module 146, the positional information of this camera lens module 146 refers to the distance between minute surface 149 and the picture of subject of camera lens module 146;
According to the positional information of the camera lens module 146 obtaining, and the corresponding relation of positional information and range information, obtaining range information corresponding to positional information, this range information refers to the distance between subject and the minute surface 149 of camera lens module 146.
Wherein, processor 141 may be a central processing unit (Central Processing Unit, referred to as CPU), or specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), or be configured to implement one or more integrated circuit of the embodiment of the present invention.
It should be noted that, described voice coil motor 145 comprises magnet, coil, spring (not shown) etc., described voice coil motor 145 is by being converted to mechanical energy by the electric energy of inflow, thereby change the position of voice coil motor 145, understandable, the position of described voice coil motor 145 typically refers to determined position after voice coil motor 145 medi-spring deformation.
The current value of described voice coil motor 145 is by driving circuit control, and optional, driving circuit can be a part for processor 141.In the time that camera lens module 146 gathers image, processor 141 can be according to the current value of focus algorithm control voice coil motor 145, thereby changes the deformation quantity of voice coil motor 145 medi-springs.Concrete, processor 141 is controlled current source 147, make this current source 147 according to the different instruction of processor 141, export different current values to voice coil motor 145, to make voice coil motor 145 obtain different electric energy, voice coil motor 145 is converted to corresponding mechanical energy by different electric energy again, understandable, different mechanical energy correspondences different spring deformation amounts, along with the change of current value, voice coil motor 145 can travel through all camera sites, and therefrom determines the highest position of image definition (that is: acutance).When having determined the highest camera site of acutance, processor 141 obtains the current value of now corresponding control voice coil motor 145.
The positional information of camera lens module 146 is equivalent to the image distance in optics.Wherein this distance values can be 2mm, 4mm etc.Optionally, the minute surface 149 of camera lens module 146 can be the center of convex lens, the picture of subject can be formed on the photosensitive sensor such as CCD, CMOS 148, that is to say, the positional information of camera lens module 146 can be understood as the distance between minute surface 149 and the photosensitive sensor 148 that refers to camera lens module 146.Optionally, voice coil motor 145 comprises inner chamber, the minute surface 149 of camera lens module 146 is arranged in the inner chamber of voice coil motor 145, and along with the movement (that is: the deformation of spring) of voice coil motor 145, the position of minute surface 149 can synchronously be moved, that is: the distance between minute surface 149 and photosensitive sensor 148 changes, so the displacement of voice coil motor 145 generally can be regarded as the positional information of camera lens module 146.In sum, can, according to obtaining the current value of controlling voice coil motor 145, obtain the positional information of camera lens module 146.
It should be noted that, above-mentioned processor 141, except having above-mentioned functions, also can be used for carrying out other flow processs in said method embodiment mono-, does not repeat them here.
Also it should be noted that, in processor 141, the division of each functional unit can, referring to the embodiment of aforesaid distance measuring equipment 600 tri-, not repeat them here.
Optionally, utilize the device described in embodiment five, wherein, processor 141 can be for other flow processs for carrying out said method embodiment bis-, and the division of each functional unit can, referring to the embodiment of aforesaid distance measuring equipment 110 tetra-, not repeat them here in processor 141.
Wherein, terminal 160 can be mobile phone, panel computer, personal digital assistant, can certainly be the terminal that comprises camera head of other types, and the present invention does not limit this.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, between each embodiment identical similar part mutually referring to, what each embodiment stressed is and the difference of other embodiment.Especially,, for device embodiment, because it is substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part is referring to the part explanation of embodiment of the method.
It should be noted that, device embodiment described above is only schematic, can or can not also wherein physically to separate as the unit of separating component explanation, the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of module wherein to realize the object of the present embodiment scheme.In addition, in device embodiment accompanying drawing provided by the invention, the annexation between module represents to have communication connection between them, specifically can be implemented as one or more communication bus or signal wire.Those of ordinary skill in the art, in the situation that not paying creative work, are appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential common hardware by software and realize, and can certainly comprise that special IC, dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions being completed by computer program can realize with corresponding hardware easily, and the particular hardware structure that is used for realizing same function can be also diversified, such as mimic channel, digital circuit or special circuit etc.But software program realization is better embodiment under more susceptible for the purpose of the present invention condition.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium can read, as the floppy disk of computing machine, USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the method for the present invention each embodiment.
Above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claim.

Claims (12)

1. the distance-finding method in terminal, is characterized in that, described terminal is provided with takes unit and voice coil motor, comprising:
Obtain the current value of controlling described voice coil motor;
According to the described described current value getting, obtain the positional information of described shooting unit, the positional information of described shooting unit refers to the distance between minute surface and the picture of subject of described shooting unit;
According to the positional information of the described shooting unit obtaining, and the corresponding relation of described positional information and range information, obtaining range information corresponding to described positional information, described range information refers to the distance between subject and the minute surface of described shooting unit.
2. method according to claim 1, is characterized in that, before the described positional information of obtaining described shooting unit, described method also comprises:
Determine the shooting attitude of described terminal;
Control after the current value of described voice coil motor described obtaining, described in obtain described shooting unit positional information be specially: according to the described described current value getting and described definite shooting attitude, obtain the positional information of described shooting unit.
3. method according to claim 2, is characterized in that, the described shooting attitude of determining described terminal comprises: user selects the shooting attitude of described terminal voluntarily, or determines the shooting attitude of described terminal by sensor.
4. according to the method described in claim 1-3 any one, it is characterized in that, the corresponding relation of described positional information and range information is specially:
In the case of the focal length of described terminal be known, according to 1/ positional information+1/, focal length=1/ range information, go out described range information by the positional information calculation of the described shooting unit that obtains.
5. method according to claim 1, is characterized in that, described method also comprises:
Determine the positional information of described shooting unit and the corresponding relation of current value;
Store the positional information of described definite described shooting unit and the corresponding relation of described current value;
The described current value getting described in described basis, the positional information of obtaining described shooting unit is specially: according to the described described current value getting, and the described positional information of described storage and the corresponding relation of described current value, obtain the positional information of described shooting unit.
6. the distance-finding method in terminal, is characterized in that, described terminal is provided with takes unit and voice coil motor, comprising:
Obtain the current value of controlling described voice coil motor;
According to the described current value getting, and the corresponding relation of described current value and range information, obtaining the range information that described current value is corresponding, described range information refers to the distance between subject and the minute surface of described shooting unit.
7. method according to claim 6, is characterized in that, at the current value getting described in described basis, and the corresponding relation of described current value and range information, to obtain before the range information that described current value is corresponding, described method also comprises:
Determine the shooting attitude of described terminal;
The current value getting described in described basis, and the corresponding relation of described current value and range information, obtaining the range information that described current value is corresponding is specially: according to the described described current value getting, described definite shooting attitude, and the corresponding relation of described current value, described shooting attitude and range information, obtain described range information.
8. the distance measuring equipment in terminal, is characterized in that, described terminal is provided with takes unit and voice coil motor, and described device comprises:
Current value acquiring unit, for obtaining the current value of controlling described voice coil motor;
Location information acquiring unit, for the described current value getting according to described current value acquiring unit, obtains the positional information of described shooting unit, and the positional information of described shooting unit refers to the distance between minute surface and the picture of subject of described shooting unit;
Range information acquiring unit, be used for the positional information of the shooting unit obtaining according to described location information acquiring unit, and the corresponding relation of described positional information and range information, obtain range information corresponding to described positional information, described range information refers to the distance between subject and the minute surface of described shooting unit.
9. device according to claim 8, is characterized in that, described device also comprises:
Take attitude determining unit, for determining the shooting attitude of described terminal;
Described location information acquiring unit, specifically for shooting attitude that the described current value getting according to described current value acquiring unit and described shooting attitude determining unit are definite, is obtained the positional information of described shooting unit.
10. the distance measuring equipment in terminal, is characterized in that, described terminal is provided with takes unit and voice coil motor, and described device comprises:
Current value acquiring unit, for obtaining the current value of controlling described voice coil motor;
Range information acquiring unit, for the current value of the described voice coil motor that gets according to described current value acquiring unit, and the corresponding relation of described current value and range information, obtain the range information that described current value is corresponding.
11. devices according to claim 10, is characterized in that, described device also comprises:
Take attitude determining unit, for determining the shooting attitude of described terminal;
Described range information acquiring unit specifically for: according to the described described current value getting, described definite shooting attitude, and the corresponding relation of described current value, described shooting attitude and range information, obtain described range information.
12. 1 kinds of terminals, is characterized in that, described terminal comprises:
Take the distance measuring equipment described in unit, voice coil motor and claim 8-9 any one, or, the distance measuring equipment described in unit, voice coil motor and claim 10-11 any one taken.
CN201410069510.4A 2014-02-27 2014-02-27 Distance-finding method in a kind of terminal, device and terminal Active CN103837129B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410069510.4A CN103837129B (en) 2014-02-27 2014-02-27 Distance-finding method in a kind of terminal, device and terminal
PCT/CN2014/082401 WO2015127743A1 (en) 2014-02-27 2014-07-17 Distance measurement method and device in terminal, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410069510.4A CN103837129B (en) 2014-02-27 2014-02-27 Distance-finding method in a kind of terminal, device and terminal

Publications (2)

Publication Number Publication Date
CN103837129A true CN103837129A (en) 2014-06-04
CN103837129B CN103837129B (en) 2016-06-08

Family

ID=50800859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410069510.4A Active CN103837129B (en) 2014-02-27 2014-02-27 Distance-finding method in a kind of terminal, device and terminal

Country Status (2)

Country Link
CN (1) CN103837129B (en)
WO (1) WO2015127743A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015127743A1 (en) * 2014-02-27 2015-09-03 华为终端有限公司 Distance measurement method and device in terminal, and terminal
CN105100626A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 Method and device for resetting rotary camera during use of self-photographing stick
CN105136042A (en) * 2015-08-20 2015-12-09 广东欧珀移动通信有限公司 Height measuring method and apparatus, and mobile terminal
CN105446055A (en) * 2014-06-16 2016-03-30 南昌欧菲光电技术有限公司 Camera module group and focusing method therefor
CN106060366A (en) * 2016-07-29 2016-10-26 广东欧珀移动通信有限公司 Image focusing system, shooting device and electronic equipment
WO2018023961A1 (en) * 2016-08-01 2018-02-08 珠海格力电器股份有限公司 Distance information processing method and device
CN108007426A (en) * 2017-11-29 2018-05-08 珠海亿智电子科技有限公司 A kind of camera distance measuring method and system
CN110300267A (en) * 2019-07-19 2019-10-01 维沃移动通信有限公司 Photographic method and terminal device
CN110691191A (en) * 2019-09-16 2020-01-14 RealMe重庆移动通信有限公司 Image blurring method and device, computer storage medium and terminal equipment
CN110913134A (en) * 2019-11-26 2020-03-24 Oppo广东移动通信有限公司 Focusing method and device, camera, storage medium and electronic equipment
CN112954307A (en) * 2021-01-29 2021-06-11 昆山丘钛光电科技有限公司 Position feedback device and method and camera device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206380A (en) * 2006-12-21 2008-06-25 亚洲光学股份有限公司 Method for measuring distance by digital camera
CN101672620A (en) * 2008-09-08 2010-03-17 鸿富锦精密工业(深圳)有限公司 Electronic device and method for measuring size of object
US20100174398A1 (en) * 2009-01-08 2010-07-08 Fujitsu Limited Position measuring apparatus and coating apparatus
JP2011133360A (en) * 2009-12-24 2011-07-07 Canon Inc Distance measuring device, distance measurement method, and program
CN102752506A (en) * 2011-04-20 2012-10-24 宏达国际电子股份有限公司 Portable electronic devices and auto-focus control methods for cameras therein
CN102853810A (en) * 2012-09-04 2013-01-02 广东欧珀移动通信有限公司 Method for measuring object distance through mobile terminal, and system thereof
CN102857633A (en) * 2012-08-15 2013-01-02 苏州启智机电技术有限公司 Mobile phone ranging system
CN103679109A (en) * 2012-09-11 2014-03-26 信泰光学(深圳)有限公司 Bar code reading method and reading device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004104667A1 (en) * 2003-05-22 2004-12-02 Koninklijke Philips Electronics N.V. Distance measurement in motor-driven focusing systems
CN101216591B (en) * 2008-01-16 2010-11-10 中国电子科技集团公司第四十五研究所 Image gray scale based automatic focusing method and its system
CN103837129B (en) * 2014-02-27 2016-06-08 华为终端有限公司 Distance-finding method in a kind of terminal, device and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206380A (en) * 2006-12-21 2008-06-25 亚洲光学股份有限公司 Method for measuring distance by digital camera
CN101672620A (en) * 2008-09-08 2010-03-17 鸿富锦精密工业(深圳)有限公司 Electronic device and method for measuring size of object
US20100174398A1 (en) * 2009-01-08 2010-07-08 Fujitsu Limited Position measuring apparatus and coating apparatus
JP2011133360A (en) * 2009-12-24 2011-07-07 Canon Inc Distance measuring device, distance measurement method, and program
CN102752506A (en) * 2011-04-20 2012-10-24 宏达国际电子股份有限公司 Portable electronic devices and auto-focus control methods for cameras therein
CN102857633A (en) * 2012-08-15 2013-01-02 苏州启智机电技术有限公司 Mobile phone ranging system
CN102853810A (en) * 2012-09-04 2013-01-02 广东欧珀移动通信有限公司 Method for measuring object distance through mobile terminal, and system thereof
CN103679109A (en) * 2012-09-11 2014-03-26 信泰光学(深圳)有限公司 Bar code reading method and reading device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015127743A1 (en) * 2014-02-27 2015-09-03 华为终端有限公司 Distance measurement method and device in terminal, and terminal
CN105446055B (en) * 2014-06-16 2019-04-16 南昌欧菲光电技术有限公司 Camera mould group and its focusing method
CN105446055A (en) * 2014-06-16 2016-03-30 南昌欧菲光电技术有限公司 Camera module group and focusing method therefor
CN105136042A (en) * 2015-08-20 2015-12-09 广东欧珀移动通信有限公司 Height measuring method and apparatus, and mobile terminal
CN105100626A (en) * 2015-08-27 2015-11-25 广东欧珀移动通信有限公司 Method and device for resetting rotary camera during use of self-photographing stick
CN105100626B (en) * 2015-08-27 2018-06-29 广东欧珀移动通信有限公司 A kind of repositioning method and device using rotating camera during self-shooting bar
CN106060366A (en) * 2016-07-29 2016-10-26 广东欧珀移动通信有限公司 Image focusing system, shooting device and electronic equipment
WO2018023961A1 (en) * 2016-08-01 2018-02-08 珠海格力电器股份有限公司 Distance information processing method and device
CN108007426A (en) * 2017-11-29 2018-05-08 珠海亿智电子科技有限公司 A kind of camera distance measuring method and system
CN110300267A (en) * 2019-07-19 2019-10-01 维沃移动通信有限公司 Photographic method and terminal device
CN110300267B (en) * 2019-07-19 2022-01-25 维沃移动通信有限公司 Photographing method and terminal equipment
CN110691191A (en) * 2019-09-16 2020-01-14 RealMe重庆移动通信有限公司 Image blurring method and device, computer storage medium and terminal equipment
CN110913134A (en) * 2019-11-26 2020-03-24 Oppo广东移动通信有限公司 Focusing method and device, camera, storage medium and electronic equipment
CN110913134B (en) * 2019-11-26 2021-08-20 Oppo广东移动通信有限公司 Focusing method and device, camera, storage medium and electronic equipment
CN112954307A (en) * 2021-01-29 2021-06-11 昆山丘钛光电科技有限公司 Position feedback device and method and camera device

Also Published As

Publication number Publication date
CN103837129B (en) 2016-06-08
WO2015127743A1 (en) 2015-09-03

Similar Documents

Publication Publication Date Title
CN103837129A (en) Distance measuring method and device in terminals and terminal
KR101612727B1 (en) Method and electronic device for implementing refocusing
CN105827922B (en) A kind of photographic device and its image pickup method
CN104506762B (en) Optical field acquisition control method and device, optical field acquisition equipment
CN102905079B (en) For the method for pan-shot, device and mobile terminal
CN107950018B (en) Image generation method and system, and computer readable medium
CN108335323B (en) Blurring method of image background and mobile terminal
CN106060423A (en) Bokeh photograph generation method and device, and mobile terminal
CN106657805A (en) Shooting method in movement and mobile terminal
CN104539844A (en) Terminal
CN106716989A (en) Imaging device, imaging method, and program
CN104539843A (en) Terminal shooting method
CN104202527A (en) Method and equipment for adjusting lens of portable terminals
CN104363378A (en) Camera focusing method, camera focusing device and terminal
CN107483825B (en) Method and device for automatically adjusting focal length
EP3718296B1 (en) Electronic device and method for controlling autofocus of camera
CN104767937A (en) Photographing method
CN111866370A (en) Method, device, equipment, medium, camera array and assembly for synthesizing panoramic deep image
CN103843329A (en) Methods and apparatus for conditional display of a stereoscopic image pair
CN105008976A (en) Imaging device, signal processing method, and signal processing program
CN105959555A (en) Shooting mode automatic adjustment method and device and mobile terminal
CN104885440A (en) Image processing device, imaging device, image processing method, and image processing program
CN104580891A (en) Method for terminal to take images
CN104813212A (en) Imaging device and exposure determination method
CN104205825A (en) Image processing device and method, and imaging 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
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171106

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.