WO2019080616A1 - Synchronous focus method and apparatus - Google Patents

Synchronous focus method and apparatus

Info

Publication number
WO2019080616A1
WO2019080616A1 PCT/CN2018/101057 CN2018101057W WO2019080616A1 WO 2019080616 A1 WO2019080616 A1 WO 2019080616A1 CN 2018101057 W CN2018101057 W CN 2018101057W WO 2019080616 A1 WO2019080616 A1 WO 2019080616A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
target position
focus
image capturing
variable power
Prior art date
Application number
PCT/CN2018/101057
Other languages
French (fr)
Chinese (zh)
Inventor
林一育
朱力于
王斌
高翔
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019080616A1 publication Critical patent/WO2019080616A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • 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
    • 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/63Control of cameras or camera modules by using electronic viewfinders

Definitions

  • Embodiments of the present invention relate to the field of video surveillance, and in particular, to a synchronous focus method and apparatus.
  • the lens is a very important component in image capturing equipment such as cameras and internet protocol cameras (IPC).
  • the lens of current image capturing apparatuses often includes a plurality of lenses (concave, convex lenses), that is, imaging by a combination of a plurality of lenses.
  • a plurality of lenses in the lens that adjust the focal length are combined into a whole, called a zoom group, and the zoom group corresponds to a zoom motor, and the position of the zoom group is adjusted by the zoom motor to adjust the magnification.
  • a plurality of lenses that function to adjust imaging are combined into a whole, called a focus group, which also corresponds to a focus motor, by which the position of the focus group is adjusted, thereby adjusting the focus position.
  • the current image capturing apparatus includes only a single zoom group and a single focus group, that is, only one zoom motor and one focus motor are included. It can be seen that the structure of the lens in the current image capturing device is too simple, and the movement of the zoom group or the focus group is not flexible enough.
  • the embodiment of the invention provides a synchronous focusing method and device, which are used to solve the technical problem that the structure of the lens in the current image capturing device is relatively simple, and the movement of the zoom group or the focus group is not flexible enough.
  • an embodiment of the present invention provides a synchronization focusing method, the method includes: during a zoom shooting process, an image capturing device acquires a first image in a framing frame; and the image capturing device respectively adjusts N of the photographic frames
  • the respective positions of the zoom motor and the focus motor are such that the sharpness of the first image in the finder frame satisfies a preset condition to achieve focusing; wherein N is an integer greater than or equal to 2.
  • the image capturing apparatus is provided with a focus motor and N variable magnification motors, and during zooming, the position of each of the focus motor and the N variable magnification motors is adjusted to make the frame of the image capturing apparatus
  • the resolution of the image satisfies the preset condition, and solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the quality of the image taken by the image capturing device.
  • the image capturing device respectively adjusts the respective positions of the N variable power motors and the focus motors in the self, including: the image capturing device determines the reference zoom motor of the N variable power motors a first target position; the image capturing device respectively determines a target position of each of the other N-1 variable power motors and the focus motor according to the first target position of the reference zoom motor; the image capturing device sets the N The variable power motor and the focus motor are respectively moved to respective target positions.
  • the image capturing apparatus itself has N variable power motors, and one of the N variable power motors is a reference zoom motor, and the image capturing apparatus can determine the other according to the first target position of the reference zoom motor.
  • the respective target positions of the N-1 variable-magnification motors and the focus motors, that is, the respective motors (N variable-magnification motors, focus motors) in the image capturing device are interlocked with each other, which solves the structure of the lens in the current image capturing device. Too simple, and the movement of the zoom group or the focus group is not flexible enough to improve the quality of image capture.
  • the image capturing apparatus respectively determines the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, including: the image capturing apparatus changes according to the reference Determining, by a first target position of the motor and a first following curve, a second target position of the first variable power motor; the first variable power motor being any one of the N-1 variable power motors, the first A following curve is used to indicate a positional relationship between the reference zoom motor and the first zoom motor.
  • the image capturing apparatus may determine the first variable power motor (any one of the N-1 variable power motors) according to the first target position of the reference zoom motor and the first following curve. a second target position, the first following curve is used to indicate a positional relationship between the reference zoom motor and the first zoom motor. That is, the image capturing apparatus may sequentially determine the respective target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, and since the image capturing apparatus is the first variable power motor determined according to the first following curve The second target position, so the determined second target position of the first zoom motor is relatively accurate.
  • the image capturing apparatus respectively determines the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, including: the image capturing apparatus changes according to the reference Determining a second target position of the first zoom motor with a first target position and a first following curve; the first following curve is used to indicate between the reference zoom motor and the first zoom motor a positional relationship; the first variable power motor is any one of the N-1 variable power motors; the image capturing device determines the N- according to a second target position of the first variable power motor A target position of each of the variable power motors of the one variable power motor other than the first variable power motor.
  • the image capturing apparatus may determine a second target position of the first variable power motor (any one of the N-1 variable power motors) according to the first target position of the reference zoom motor, and then The target positions of the other N-2 variable power motors are sequentially determined according to the second target position of the first zoom motor, so that the linkage mode between the N variable power motors in the image capturing device is flexible, and the current image is solved.
  • the structure of the lens in the shooting device is too simple technical problem and helps to improve the quality of image capture.
  • the image capturing device before the image capturing device acquires the image in the framing frame, the image capturing device receives a zoom instruction through its own input component; the image capturing device determines a reference change in the N variable power motors a first target position of the motor, comprising: the image capturing device acquiring an initial position of the reference zoom motor in the N variable power motors; N being a positive integer greater than or equal to 2; the image capturing device is based on the change The zoom rate and the initial position included in the multiple command determine the first target position of the reference zoom motor at the first preset time.
  • the image capturing apparatus may determine the first target position of the reference zoom motor at the first preset time according to the zoom instruction and the initial position of the reference zoom motor, if the zoom instruction is the user passing the image capturing device
  • the input unit inputs an instruction, and the image capturing device can adjust the first target position of the base station zoom motor in real time according to the input operation of the user, and then adjust the respective target positions of the other N-1 variable power motors and the focus motor in linkage, That is to say, the linkage mode between the motors in the image capturing device is relatively flexible.
  • the image capturing apparatus determines a target position of the focus motor according to the first target position of the reference zoom motor, including: the image capturing apparatus according to the first target position of the reference zoom motor And a second following curve determining a third target position of the focus motor, the second following curve being used to indicate a positional relationship between the reference zoom motor and the focus motor, or
  • the image capturing apparatus determines a third target position of the focus motor according to a second target position of the first zoom motor and a second following curve, the second following curve is used to indicate the first zoom motor A positional relationship with the focus motor.
  • the image capturing apparatus can determine the target position of the focus motor in various manners, for example, the image capturing apparatus according to the first target of the reference zoom motor
  • the position and the second following curve determine a third target position of the focus motor, and the second following curve is used to indicate a positional relationship between the reference zoom motor and the focus motor.
  • the image capturing apparatus determines the third target position of the focus motor according to the second target position of the first variable power motor (any one of the N-1 variable power motors) and the second following curve, the second following curve It is used to indicate the positional relationship between the first zoom motor and the focus motor.
  • the image capturing apparatus may determine the third target position of the focus motor according to the first target position of the reference zoom motor, or determine the second target position of the first zoom motor according to the first target position of the reference zoom motor, and then The third target position of the focus motor is determined according to the second target position of the first zoom motor, that is, the linkage mode of each motor in the image capturing apparatus is flexible.
  • the image capturing apparatus acquires the image capturing apparatus before the third target position of the focus motor is adjusted according to the first target position of the reference zoom motor and the second following curve. Focusing an initial position of the motor; the image capturing apparatus determining a first object distance according to respective initial positions of the focus motor and the reference zoom motor; the image capturing apparatus determining the basis according to the first object distance and an imaging function The second following curve is described.
  • the image capturing apparatus may first determine a second following curve in order to obtain a third target position of the focus motor.
  • the first object distance may be determined according to respective initial positions of the focus motor and the reference zoom motor, and then according to The first object distance and the imaging function determine a second following curve, ie, the second following curve may reflect a positional relationship between the reference zoom motors of the focus motor of the first object distance.
  • the image capturing apparatus calculates a fourth position of the focus motor, wherein the fourth position is obtained by moving an initial position of the focus motor in a first direction by a first preset value; a preset value is smaller than a focal depth of the focus motor; the image capturing apparatus determines a second object distance according to a fourth position of the focus motor and an initial position of the reference zoom motor; the image capturing apparatus according to the a second object distance and the imaging function determine a third following curve; the image capturing device moves the focus motor to a fourth target position according to the first target position of the reference zoom motor and the third following curve, The definition of the first image in the finder frame is made to satisfy the preset condition.
  • the target of the focus motor is illustrated.
  • the position is not suitable, that is, the second following curve is not suitable, and it can be inferred that the first object distance is inaccurate, so the image capturing device can re-determine the second object distance, thereby re-determining the third following curve under the second object distance. Since the second following curve is determined by the image capturing device according to the respective initial positions of the focus motor and the reference zoom motor, the image capturing device can move the focus motor in the first direction based on the initial position to obtain the first preset value.
  • the fourth position determines a second object distance based on the fourth position of the focus motor and the initial position of the reference zoom motor to determine a third following curve at the second object distance. Therefore, the image capturing apparatus can adjust the target position of the focus motor according to the sharpness of the first image in the finder frame, so that the sharpness of the first image in the finder frame satisfies the preset condition as much as possible, thereby achieving focusing and helping to improve the image. Shooting quality.
  • an embodiment of the present invention further provides a synchronization aggregation device, where the synchronization aggregation device includes: N variable magnification motors, a focus motor, a processor, and a stepping motor; the processor and the stepping motor Connecting, the processor is configured to send, to the stepping motor, a target position corresponding to each of the N variable power motors and the gather motor; the stepping motor and the N variable power motors and the focus The motors are respectively connected; the stepping motor is configured to drive the N variable power motors and the focus motor to respectively move to respective corresponding target positions.
  • the synchronization aggregation device includes: N variable magnification motors, a focus motor, a processor, and a stepping motor; the processor and the stepping motor Connecting, the processor is configured to send, to the stepping motor, a target position corresponding to each of the N variable power motors and the gather motor; the stepping motor and the N variable power motors and the focus The motors are respectively connected; the stepping motor is configured
  • the synchronous gathering device includes a focus motor, N variable power motors, a processor, and a stepping motor, wherein the processor is connected to the stepping motor, and the processor can send N changes to the stepping motor.
  • the synchronous focusing device can achieve the purpose of synchronously adjusting the respective positions of the focus motor and the N variable power motors, and has a flexible structural design.
  • each of the N variable power motors is coupled to a variable power lens group; the zoom lens group is used to scale an image in a viewfinder frame of the synchronous focus device
  • the zoom lens group includes N lenses; the focusing motor is coupled to a focusing lens group, the focusing lens group is for focusing an image in the finder frame; and the focusing lens group includes M lenses, Wherein, N and M are integers greater than or equal to 1.
  • each motor in the synchronous focusing device has its own function.
  • the movement of the zoom motor can drive the movement of the zoom lens group to change the size of the image in the finder frame, for example, the movement of the focus motor.
  • the movement of the focusing lens group can be driven to focus the image in the framing frame. Therefore, the synchronous focusing device realizes the cooperation between the respective lens groups by moving the positions of the respective motors, thereby contributing to obtaining a higher quality image and improving the user experience.
  • an embodiment of the present invention further provides a synchronization focusing device.
  • the synchronous focusing device has the function of realizing an image capturing device in the above method design. These functions can be implemented in hardware or in software by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the specific structure of the synchronous focusing device may include an acquisition unit and an adjustment unit. These units may perform the respective functions of the methods provided by any of the possible aspects of the first aspect or the first aspect described above.
  • an embodiment of the present invention further provides a synchronization focusing device.
  • the synchronous focusing device has the function of realizing an image capturing device in the above method design. These features can be implemented in hardware.
  • the sync focusing device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory includes instructions that, when executed by the processor, cause the synchronization focusing device to perform the method performed by the image capture device of any of the first aspect or the first aspect of the first aspect described above .
  • the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to perform the synchronous focusing method described in the first aspect above. .
  • an embodiment of the present invention further provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the synchronous focusing method of the first aspect described above.
  • the image capturing apparatus is provided with a focus motor and N variable magnification motors, and during zooming, the position of each of the focus motor and the N variable magnification motors is adjusted to make the frame of the image capturing apparatus
  • the resolution of the image satisfies the preset condition, and solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the quality of the image taken by the image capturing device.
  • FIG. 1 is a structural diagram of an image capturing apparatus according to an embodiment of the present invention.
  • FIG. 2 is a flowchart of a method for synchronous focusing according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a (zoom0, zoom1) curve according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a (zoom0, focus) curve at different object distances according to an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a synchronization focusing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another synchronous focusing apparatus according to an embodiment of the present invention.
  • Image capturing device the image capturing device according to the embodiment of the present invention may be a device capable of image capturing such as a camera, a smart phone, or a video camera, and the image capturing device may collect a still image, a moving image, or a video.
  • the lens is a very important part of the image capture device.
  • the lens often includes a plurality of lenses (for example, a concave lens, a convex lens, etc.).
  • a plurality of lenses in the lens that adjust the focal length are combined into a whole body, which is called a zoom group, and the zoom group corresponds to a zoom motor.
  • the zoom motor adjusts the position of the zoom group and adjusts the magnification.
  • a plurality of lenses that function to adjust imaging are combined into a whole, called a focus group, which also corresponds to a focus motor, by which the position of the focus group is adjusted, thereby adjusting the focus position.
  • the zoom motor is an indispensable component in an image capturing device (especially a zoomable image capturing device).
  • a plurality of lenses for changing the focal length in the lens of the image capturing apparatus constitute a lens group, and the position of the lens group is moved by the variable magnification motor.
  • Focusing motor is also an indispensable component in image capturing equipment (especially in zoomable image capturing equipment).
  • a plurality of lenses for changing the distance in the lens of the image capturing apparatus constitute a lens group, and the position of the lens group is moved by the focus motor.
  • the following curve is a two-dimensional curve.
  • the abscissa indicates the position of the variable power motor
  • the ordinate indicates the position of the focus motor.
  • f and v have a two-dimensional correspondence relationship
  • the position of the variable power motor that is, the value of the focal length f
  • the position of the focus motor that is, the value of the distance v
  • the "following curve” may also be referred to as “shot curve”, “lens following curve”, “corrected zoom following curve”, and the like. That is to say, the name of the "following curve” is not limited herein, as long as the above concept is expressed.
  • Current image capture devices include only a single zoom group and a single focus group, ie, only one zoom motor and one focus motor. It can be seen that the structure of the lens in the current image capturing device is relatively simple, and the movement of the zoom group or the focus group is not flexible enough.
  • FIG. 1 shows a structural diagram of a possible image capturing apparatus.
  • the image capturing apparatus 100 includes a lens 110 , an image sensor 120 , an image processing (ISP) chip 130 , a processor 140 , and a stepping motor 150 .
  • ISP image processing
  • a zoom motor 151, a second zoom motor 152, a third zoom motor 153, and a focus motor 154 are examples of zoom motors.
  • the lens 110 in the image capturing apparatus 100 collects an optical signal of an object in the environment, and transmits the collected optical signal to the image sensor 120, and the image sensor 120 processes the acquired optical signal into electrical information, and transmits the electrical signal to the ISP 130.
  • the ISP 130 processes the electrical signal to obtain an image of the object, and the ISP 130 can also determine an evaluation value of the sharpness of the image and send the image and the sharpness evaluation value together to the processor 140.
  • the processor 140 determines the target position of each motor in the lens 110 according to the obtained evaluation value of the sharpness, and then issues the determined target position of each motor to the stepping motor 150, and the stepping motor 150 respectively moves the respective motors. Go to their respective target locations.
  • the stepping motor 150 moves the first variable power motor 151 to its own corresponding target position, moves the second variable power motor 152 to its own corresponding target position, and moves the third variable power motor 153 to its own corresponding position.
  • the position moves the focus motor to its own corresponding target position.
  • the ISP 130 and the processor 140 are two different components.
  • the ISP 130 can also be integrated into the processor 140, that is, only one component can be used.
  • a person skilled in the art can make a specific limitation according to the actual situation, and the embodiment of the present invention does not specifically limit this.
  • the first variable power motor 151, the second variable power motor 152, and the third variable power motor 153 are respectively connected to a concave lens, and FIG. 1 is only for ease of understanding, in actual operation, the first
  • the zoom motor 151 can also be connected to a plurality of lenses (convex lenses or concave lenses), that is, the first zoom motor 151 can be connected to a lens group, that is, the zoom group, the same, the second zoom motor 152, the third change
  • the double motor 153 and the focus motor 154 can each be connected to a lens group.
  • the second zoom motor 152 is connected to the zoom2 group
  • the third zoom motor is connected to the zoom3 group
  • the focus motor 154 is connected to the focus group. In this way, each motor can move the corresponding lens group together.
  • the structure of the image capturing apparatus shown in FIG. 1 does not constitute a limitation on the terminal device, and the image capturing apparatus provided by the embodiment of the present invention may include more or less components than illustrated, or Combining certain components, or different component arrangements, such as image capture devices, may also include more variable power motors and the like.
  • FIG. 2 is a flowchart of a synchronous focusing method according to an embodiment of the present invention, which is applicable to the image capturing apparatus 100 shown in FIG. 1. Therefore, in the following description, the method is applied to the image capturing apparatus 100 shown in FIG. 1 as an example. Referring to Figure 2, the process of the method is described as follows:
  • the image capturing device acquires the first image in the finder frame during the zoom shooting.
  • the finder frame may be a component for presenting a preview image in the image capturing apparatus, and the preview image may be an image of the object to be photographed.
  • the finder frame is also different. If the image capturing device is a mobile phone, the finder frame is located in the display screen of the mobile phone. If the image capturing device is a camera, the finder frame is located in the viewfinder of the camera.
  • S202 The image capturing device respectively adjusts the respective positions of the N variable power motors and the focus motors in the frame, so that the sharpness of the first image in the finder frame satisfies a preset condition to achieve focusing; wherein N is an integer greater than or equal to 2.
  • the image capturing apparatus is provided with a focus motor and N variable magnification motors, and during zooming, the position of each of the focus motor and the N variable magnification motors is adjusted to make the frame of the image capturing apparatus
  • the resolution of the image satisfies the preset condition, and solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the image quality of the image capturing device.
  • each motor (N variable power motors, focus motors) in the image capturing device can be interlocked with each other, for example, the image capturing device determines the first target position of the reference zoom motor in the N variable power motors. Then, the respective positions of the other N-1 variable power motors and the focus motors are determined according to the first target position of the reference zoom motor. Therefore, in S202, the image capturing apparatus can be performed in three steps. In the first step, the image capturing apparatus determines the first target position of the reference zoom motor in the N variable magnification motors. In the second step, the image capturing apparatus determines the respective target positions of the other N-1 variable power motors and the focus motors respectively according to the first target position of the reference zoom motor. In the third step, the image capturing apparatus moves the N variable power motors and the focus motor to respective target positions.
  • the image capturing apparatus includes N (N is an integer greater than or equal to 2) variable magnification motors, and the image capturing apparatus may determine the reference zoom motor from the N variable power motors in various manners, for example, Randomly selected, or the image capturing device determines the reference zoom motor according to the position of the N variable power motors, for example, the first zoom motor located near the forefront of the lens is the reference zoom motor, or is located furthest from the front of the lens A variable-magnification motor is used as the reference zoom motor, and one of the N variable-magnification motors can be determined as a reference zoom motor according to the actual situation, which is not specifically limited in the embodiment of the present invention.
  • the implementation of the first step in S202 is described below.
  • the image capturing apparatus before adjusting the respective positions of the focus motor and the N variable power motors, the image capturing apparatus can receive the zoom instruction through its own input part, that is, the zoom shooting process starts, and the zoom instruction includes the change. Double rate.
  • the image capturing device may be a camera, a mobile phone, a video camera or the like.
  • the input components used to input the zoom instruction in different types of image capturing devices are often different. If the image capturing device is a mobile phone, the touch screen, the volume button, etc. in the mobile phone can be used as input components to input the zoom instruction, if the image capturing device is In the camera, the zoom ring in the camera can be used as an input component to input a zoom command.
  • the specific structure of the input component is not limited in the embodiment of the present invention, and can be determined by those skilled in the art according to actual conditions.
  • the camera in the mobile phone can be opened.
  • the preview image is displayed in the finder frame, and the user can zoom the preview image through the finger, and the touch screen detects The rate of movement of the user's finger, which in turn determines the zoom rate, results in an image capture device having a zoom command that includes a zoom rate.
  • the image capturing apparatus may set a fixed zoom rate in advance, for example, setting a zoom ratio at the time of zooming, and a zoom ratio at the time of zooming, if the image capturing apparatus determines a zoom instruction input by the user through the input section. Is the enlargement command, then the image capture device defaults to the zoom ratio at the time of zooming to the final zoom rate. If the image capture device determines that the zoom command input by the user through the input component is a zoom instruction, the image capture device defaults.
  • the zoom rate at the time of reduction set in advance is the final zoom rate.
  • the zoom rate at the time of zooming and the zoom rate at the time of zooming may be the same or different, and may be determined by a person skilled in the art according to the specific situation, which is not specifically limited in the embodiment of the present invention.
  • the image capturing apparatus can acquire the moving speed of each variable power motor, for example, the moving speed of the first variable power motor is the first moving speed, and the second The moving speed of the zoom motor is the second moving speed or the like.
  • the first moving speed of the first zoom motor may be used as the zoom rate, or the second moving speed of the second zoom motor may be used as the zoom rate.
  • the image capture device uses the first movement rate of the first zoom motor as a zoom rate
  • the zoom received by the image capture device through the input component when the instruction is a reduction instruction, the image capturing apparatus uses the second moving rate of the second zoom motor as the zoom rate.
  • the first moving rate and the second moving rate may be the same or different, which is not specifically limited in this embodiment of the present invention.
  • the image capturing device can acquire the initial position of the reference zoom motor.
  • the image capturing device It is also possible to obtain the initial positions of the N-1 variable-magnification motors other than the reference zoom motor among the N variable-magnification motors for use, and the specific use process will be described later.
  • the image capturing apparatus may use the position at which the reference zoom motor is in the previous zoom shooting as the initial position of the reference zoom motor during the zoom shooting.
  • the image capturing apparatus may perform a reset operation on the reference zoom motor.
  • the specific process may be that the image capturing apparatus may set the initial position of the reference zoom motor in advance, when the zoom shooting starts.
  • the image capturing device acquires the current position of the reference zoom motor. If the position of the reference zoom motor is currently equal to the initial position set in advance, the image capturing device does not need to reset the reference zoom motor if the reference zooms The position where the motor is currently located is not equal to the initial position set in advance, and the image capturing apparatus performs a reset operation on the reference zoom motor, that is, the reference zoom motor is moved to the initial position set in advance.
  • the initial position of the reference zoom motor is fixed every time the image capture device starts zooming, regardless of the position of the reference zoom motor in the previous zoom shooting, as long as the new change
  • the multiple shooting process begins and the initial position of the reference zoom motor is at a fixed position.
  • the initial position of the reference zoom motor may be set in advance, and the specific value may be determined by a person skilled in the art according to the actual situation, and is not specifically limited in the embodiment of the present invention.
  • the image capturing apparatus may determine the first preset time according to the zoom rate included in the zoom instruction and the initial position of the reference zoom motor that has been acquired.
  • the first target position of the zoom motor that is, the product of the zoom rate and the first preset time.
  • the image capturing apparatus may set a specific value of the first preset time in advance.
  • the first preset time in S203 may be a certain time in the process of zooming the preview image by the finger, for example, the mobile phone detects that the user's finger starts to preview the image at 00:00:10mine.
  • the first preset time can be 00::00:12mine, or 00::00:11mine, that is, when the mobile phone detects that the user's finger starts to zoom in on the preview image, it can predict the first preset at the next moment.
  • the first target position of the reference zoom motor after time.
  • the image capturing apparatus can adjust the first target position of the reference zoom motor in real time during the process of adjusting the size of the preview image by the user, thereby adjusting the target position of the other motors, and ensuring that the user adjusts the preview image as much as possible.
  • the entire image is always clearer in the process of size.
  • the image capturing apparatus may record the input time of the zoom instruction and the stop time of the zoom instruction, and use the difference between the two as the first preset time
  • the image capturing device is a mobile phone, and the mobile phone detects When the user's finger starts to enlarge the preview image at 00:00:10mine, and detects that the user's finger stops zooming at 00::00:13mine, the image capturing apparatus determines that the first preset time is 3 seconds. In this way, the operation is relatively simple, the image capturing device can save a certain processing process, and can ensure that the entire image is clear when the user stops zooming.
  • a person skilled in the art may combine the two methods for determining the first preset time, or may also use other manners to determine the first preset time, which is not specifically implemented by the embodiment of the present invention. limited.
  • the image capturing apparatus determines the first preset time, the product of the first preset time and the zooming rate is obtained, and the product is the first target position of the reference zoom motor. Then, the image capturing apparatus performs the second step in S202, that is, the image capturing apparatus determines the target positions of the other N-1 variable power motors and the target position of the focus motor in accordance with the first target position of the reference zoom motor.
  • the first process of determining the target position of the other N-1 zoom motors according to the first target position of the reference zoom motor by the image capturing apparatus and the image capturing apparatus determining the focus according to the first target position of the reference zoom motor will be separately described below.
  • the first process and the second process are distinguished here only for the convenience of understanding, and are not limited to the chronological order of the two processes. In the actual operation process, the two processes can be performed simultaneously or at different times.
  • the embodiment of the invention is not specifically limited.
  • the first process that is, after the image capturing apparatus determines the first target position of the reference zoom motor at the first preset time, the target position of the other N-1 zoom motors can be further determined.
  • the first target position of the double motor determines the implementation of the target positions of the other N-1 variable power motors:
  • the image capturing apparatus determines a second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve, and the first zoom motor is another N-1 zoom motor In any one of the motors, the first following curve is used to indicate the positional relationship between the reference zoom motor and the first zoom motor.
  • the first following curve needs to be obtained.
  • the following describes the process of determining the first following curve by the image capturing device, which is described as follows:
  • the image capturing device can design the position of the N variable-magnification motors before leaving the factory, because the process of capturing images by the image capturing device is actually the optical imaging process of the lens, and the lens Multiple lenses are included, and the optical imaging process is actually the process of imaging the light through each lens to the imaging point. Therefore, in the process of designing each lens in the lens, the designer can experimentally determine at which position of each of the N variable-magnification motors, the imaging point is clear, the designer can each The position of the zoom motor is recorded.
  • the optimal position of the first zoom motor can be found, so that the first zoom motor At the optimal position, when the light passes through the reference zoom motor and the first zoom motor, the image is more clearly imaged, and after finding the optimal position of the first zoom motor, the second zoom motor can be continuously searched.
  • the optimal position is such that after the light passes through the reference zoom motor, the first zoom motor and the second zoom motor, the image is more clearly imaged.
  • the designer can also obtain the optimal position of each variable motor according to other methods.
  • the designer can record the first position of the reference zoom motor, the optimal position of the first zoom motor, and the optimal position of the second zoom motor.
  • the designer can mark the first position of the reference zoom motor and the optimal position of the first zoom motor in the first two-dimensional coordinate system, and the abscissa of the two-dimensional coordinate system can represent the reference zoom.
  • the position of the motor and the ordinate indicate the position of the first zoom motor.
  • the abscissa indicates the position of the first zoom motor
  • the ordinate indicates the position of the reference zoom motor.
  • the designer can also mark the first position of the reference zoom motor and the optimal position of the second variable power motor in a second two-dimensional coordinate system, and the abscissa of the two-dimensional coordinate system can represent the reference zoom.
  • the position of the motor, the ordinate may indicate the position of the second variable power motor, and the abscissa may indicate the position of the second variable power motor, and the ordinate indicates the position of the reference zoom motor.
  • the designer can adjust the reference zoom motor from the original first position to the second position. Since the position of the reference zoom motor changes, in order to ensure that the imaging at the imaging point is clear, the designer needs to find the first.
  • the optimal position of a variable motor and the optimal position of the second variable motor that is, each time the designer changes the position of the reference zoom motor, the optimal position of the first zoom motor and the second zoom motor can be re-determined.
  • the designer can mark the second position of the reference zoom motor and the new optimal position of the first zoom motor in the first two-dimensional coordinate system mentioned above, and can also convert the reference zoom motor.
  • the new position of the second position and the second variable power motor is indicated in the second two-dimensional coordinate system mentioned above.
  • the new optimal position of the first zoom motor and the second zoom motor is obtained, and the designer will mark the point obtained each time in the corresponding coordinate system.
  • the curve obtained in the first two-dimensional coordinate system can be called (zoom0, zoom1) curve, where zoom0 represents The reference zoom motor, zoom1 represents the first zoom motor, and the (zoom0, zoom1) curve is used to indicate the positional relationship between the reference zoom motor and the first zoom motor.
  • the curve obtained in the second two-dimensional coordinate system may be referred to as a (zoom0, zoom2) curve, wherein zoom0 represents a reference zoom motor, zoom2 represents a second zoom motor, and the (zoom0, zoom2) curve is It is used to indicate the positional relationship between the reference zoom motor and the second zoom motor.
  • FIG. 3 shows a schematic diagram of the first following curve.
  • the (zoom0, zoom1) curve and the (zoom0, zoom1) curve are in the same two-dimensional coordinate system, and the abscissa is the position of the reference zoom motor, and the ordinate. It is the position of the first zoom motor or the second zoom motor.
  • the second target position of the first zoom motor can be obtained according to the (zoom0, zoom1) curve.
  • the third target position of the second zoom motor is obtained according to the (zoom0, zoom1) curve.
  • the first target position of the reference zoom motor is 26, that is, the abscissa is 26, and the second target position of the first zoom motor is determined to be 5 according to the (zoom0, zoom1) curve.
  • the third target position of the second zoom motor is determined to be 20 according to the (zoom0, zoom1) curve.
  • the image capturing apparatus stores N-1 curves, and each curve represents a reference.
  • the N-1 curve can be determined according to the N-1 curve.
  • the target positions of the other N-1 variable power motors are determined one by one.
  • the image capturing apparatus first determines a second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve; and then, the image capturing apparatus is configured according to the first zoom motor
  • the two target positions respectively determine the target positions of each of the N-1 variable power motors other than the first variable power motor.
  • the manner in which the image capturing apparatus determines the second target position of the first zoom motor based on the first target position of the reference zoom motor and the first following curve may be similar to the case in the first implementation.
  • the first zoom motor here may be any one of the other N-1 variable power motors.
  • the target positions of the other N-2 zoom motors may be respectively determined according to the second target position of the first zoom motor.
  • the designer can mark the position of the reference zoom motor and the position of the second zoom motor in a two-dimensional coordinate system.
  • the designer can also position the first zoom motor.
  • the position of the second variable power motor is marked in a third two-dimensional coordinate system, in which the abscissa can represent the position of the first zoom motor and the ordinate can represent the second reference zoom motor
  • the position, that is, the curve obtained in the third two-dimensional coordinate system is a (zoom1, zoom2) curve, wherein zoom1 represents the first zoom motor, zoom2 represents the second zoom motor, and the (zoom1, zoom2) curve is used.
  • the positional relationship between the first zoom motor and the second zoom motor is indicated.
  • the image capturing apparatus can determine the second target position of the first zoom motor according to the first target position of the reference zoom motor and the (zoom0, zoom1) curve, and then, according to the first zoom motor
  • the second target position and (zoom1, zoom2) curve determine the third target position of the second zoom motor, and so on, and the target positions of the other N-2 zoom motors are derived.
  • the lens of the image capturing apparatus usually includes an concentrating motor, and the image capturing apparatus moves the position of the focusing lens by the concentrating motor, thereby changing the distance, so that the image quality of the image at the imaging point is better, for example, the sharpness is better. high.
  • the following describes a process in which the image capturing apparatus determines the target position of the focus motor, that is, the second process of S202, in which the image capturing apparatus determines the target position of the focusing motor based on the first target position of the reference zoom motor.
  • the image capturing apparatus may determine the third target position of the focus motor according to the first target position and the second following curve of the reference zoom motor, where The second following curve is used to indicate the positional relationship between the reference zoom motor and the focus motor.
  • the process of determining the second following curve by the image capturing apparatus will be described below.
  • the image capturing apparatus may acquire an initial position of the focusing motor, and then the image capturing apparatus may determine the first object distance according to the initial position of the reference zoom motor, the initial position of the focusing motor, and the imaging formula, and the imaging formula is as follows:
  • f the focal length
  • v the distance
  • u the object distance, which is the distance between the object and the lens.
  • the initial position of the reference zoom motor is denoted by f 0
  • the initial position of the concentrating motor is denoted by v 0
  • f0 and v0 are brought into the above imaging formula to obtain the first object distance u0, thereby obtaining the reference at the first object distance u0.
  • the focus can be determined according to the first target position of the reference zoom motor and the (zoom0, focus) curve of the first object distance u 0 .
  • the third target position of the motor. 4 shows a (zoom0, focus) curve at a first object distance u 0 .
  • the abscissa represents the position of the reference zoom motor
  • the ordinate represents the position of the gather motor
  • the image capturing apparatus may further determine whether the target position of the concentrating motor is an optimal position, for example, after the image capturing apparatus determines the target positions of the respective zoom motor and the concentrating motor, each zoom motor and the concentrating motor may be moved to respective targets. Positioning, then, the image capturing apparatus may determine whether the sharpness of the first image in the finder frame satisfies a preset condition, and if so, the image capturing apparatus determines that the target position of the gathering motor is the optimal position, if not, then The image capturing device needs to recalculate the (zoom0, focus) curve of the new object distance according to the (zoom0, focus) curve of the first object distance u 0 (the zoom target is not suitable). . The following describes how the image capture device recalculates the (zoom0, focus) curve at the new object distance.
  • the image capturing apparatus calculates the (zoom0, focus) curve of the first object distance u 0 by the initial position f 0 of the reference zoom motor and the initial position v 0 of the gather motor.
  • the initial position v 0 of the collecting motor can be changed according to the first direction to a preset value to obtain a new position of the collecting motor.
  • the preset value mentioned here may be any value less than or equal to the depth of focus of the collecting motor.
  • the image capturing apparatus determines the new position of the gathering motor, that is, v 1 , the second object distance u 1 , that is, v 1 and f 0 , can be obtained according to the initial position f 0 of the reference zoom motor and the new position v 1 of the collecting motor and the imaging formula. Bring into the imaging formula to obtain the second object distance u 1, and then obtain the (zoom0, focus) curve of the second object distance u 1 , ie
  • the reference target position in accordance with a first motor and a second variator curve was again determined aggregate motor The fourth target position.
  • the image capturing apparatus determines the first target position of the reference zoom motor, that is, the value of the abscissa
  • the first step of determining the gather motor according to the (zoom0, focus) curve of the second object distance u 1 The value of the four target positions and the ordinate.
  • the image capturing apparatus can determine again whether the target position of the focus motor is the optimal position, that is, the image capturing apparatus can again determine whether the sharpness of the first image in the finder frame satisfies a preset condition, and if not, the image is illustrated.
  • the photographing device determines that the fourth target position of the gather motor is not suitable according to the (zoom0, focus) curve of the second object distance u 1 , and the image photographing device needs to recalculate the (zoom0, focus) curve under the new object distance again.
  • the process may be: the image capturing device changes the initial position v 0 of the collecting motor according to the second direction (the direction opposite to the first direction) by a preset value to obtain a new position of the collecting motor, denoted by v 2 , mentioned here
  • the preset value may be equal to or less than the focal depth of the concentrating motor.
  • the image capturing apparatus determines the new position of the concentrating motor, that is, v 2
  • the third object distance u 2 that is, v 2 and f 0
  • the imaging formula Bringing into the imaging formula, the third object distance u 2 is obtained, and then the (zoom0, focus) curve of the third object distance u 2 is obtained, that is,
  • the distance u 2 according to the first target position and the third reference was zooming motor (zoom0, focus) motor aggregation curve redetermined
  • the fifth target position Please continue to refer to FIG. 4, after the image capturing apparatus determines the first target position of the reference zoom motor, that is, the value of the abscissa, the fifth of the gather motor can be determined according to the (zoom0, focus) curve of the third object distance u2. The value of the target position and the ordinate.
  • the image capturing apparatus mentioned above changes the initial position of the focus motor in a first direction or a second direction to change a preset value.
  • the ordinate represents the position of the focus motor
  • the first direction may be vertical.
  • the direction in which the coordinates increase is the near direction
  • the second direction that is, the direction in which the ordinate decreases, that is, the far direction, or vice versa, that is, the first direction is the far direction
  • the second direction is the near direction.
  • the image capturing apparatus mentioned above can determine whether the sharpness of the first image in the finder frame satisfies a preset condition.
  • the following describes a process in which the image capturing apparatus determines whether the sharpness of the first image satisfies a preset condition.
  • the image capture device stores the sharpness standard value in advance, and when the sharpness of the first image in the finder frame is greater than or equal to the sharpness standard value, it is determined that the preset condition is satisfied.
  • the image capturing apparatus changes the first image in real time during the zoom shooting process, for example, gradually zooming in or out
  • the image capturing apparatus adjusts the position of the focus motor one time. Recording the sharpness of the first image in the framing frame, and comparing the sharpness of the recorded first image with the sharpness of the second image in the framing frame after the position of the focus motor was last adjusted, if the second The sharpness of the image is smaller than the sharpness of the first image, indicating that the target position of the focus motor determined by the image capturing device is suitable for the second time. If the sharpness of the second image is greater than the sharpness of the first image, the image is taken. The target position of the focus motor determined by the device for the second time is not suitable. If the first and second times are to adjust the position of the focus motor in the first direction, then the second direction (and the first direction) may be followed. Instead, adjust the target position of the focus motor.
  • the image capturing apparatus acquires the first image in the framing frame at the start of the zooming, and when the image capturing apparatus moves the respective target positions of the respective zoom motor and the focus motor to the respective target positions, respectively, the image at this time
  • the photographing device can acquire the second image in the framing frame again. If the sharpness of the second image is greater than the sharpness of the first image, the adjustment of the position of the focus motor by the image capturing device is appropriate, if the sharpness of the second image is Less than the sharpness of the second image, the adjustment of the position of the focus motor by the image capture device is not appropriate, and the image capture device can continue to adjust the position of the focus motor such that the sharpness of the second image is greater than the first image.
  • the image capturing apparatus may determine the second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve; the first following curve is used to indicate a positional relationship between the reference zoom motor and the first variable power motor; the first variable power motor is any one of the N-1 variable power motors; therefore, the image capturing device determines the first zoom motor
  • the third target position of the focus motor may also be determined according to the second target position of the first zoom motor and the second following curve, where the second following curve is used to indicate the first zoom motor and the focus motor The positional relationship between.
  • the manner in which the image capturing device determines the second following curve is similar to the manner in which the second following curve is determined in the first mode. For the sake of brevity of the description, no further details are provided herein.
  • the image capturing apparatus may determine the target position of the concentrating motor according to the first target position of the reference variator motor, and may first determine any one of the other N-1 variator motors according to the first target position of the reference variator motor. The second target position of the motor is then determined, and then the target position of the concentrating motor is determined according to the determined second target position of any of the variator motors. After the image capturing apparatus obtains the target position of the focus motor, the N variable power motors (the respective target positions of the N variable power motors have been determined in the first process) and the focus motor can be respectively moved to the respective target positions.
  • the image capturing apparatus can determine whether the target position of the focus motor is the optimal position, and can respectively move the N variable power motors to the determined target position of each variable power motor. And then determining whether the target position of the focus motor is the optimal position by judging the sharpness of the first image in the framing frame, so if the image capturing apparatus has experienced a process of determining whether the target position of the focus motor is the optimal position , indicating that the N variable-magnification motors have moved to their respective target positions, and only need to move the focus motor to its own target position.
  • the image capturing apparatus may send the target positions of the N variable power motors and the focus motor to the stepping motor, and the stepping motor drives the N variable power motors and the focus motor to move respectively, so that the N variable power motors are respectively Move to the respective target position simultaneously with the focus motor.
  • the image capturing apparatus determines the position of the focus motor as a process in which a zoom (zoom, focus) curve under different object distance curves is stored in advance, and after the image capturing apparatus determines the target position of the zoom motor, Find the appropriate (zoom0, focus) curve in the (zoom0, focus) curve of all the different object distances stored in advance.
  • the image capturing equipment stores the object distances of 5, 8, and 10 meters respectively. (zoom0, focus) curve, after the image capturing device determines the target position of the zoom motor, it can only find the best (zoom0, focus) curve among the three curves, but in fact, these three (zoom0, focus) curves correspond to The granularity between the object distances is large.
  • the image capturing device switches from the (zoom0, focus) curve with the object distance of 8 to the (zoom0, focus) curve with the object distance of 5, the object distance is missed by 5-8.
  • the image capturing apparatus is provided with N variable magnification motors, and the image capturing apparatus can respectively determine the respective targets of the other N-1 variable power motors and the focus motors according to the reference variable power motors of the N variable power motors.
  • Position, and in the process of determining the target position of the focus motor the image capturing device can calculate the (zoom0, focus) curve under different object distances in real time, and each time the object distance is calculated, the current position of the focus motor is changed less than The preset value of the depth of focus obtains a new position, and then according to the new position and the current position of the reference zoom motor, a relatively accurate new object distance is obtained, and then the (zoom0, focus) curve of the object distance is obtained.
  • the image capturing device can determine whether the target position of the focus motor obtained by the object distance (zoom0, focus) curve is appropriate, and if not, it can be re
  • the object distance and the (zoom0, focus) curve of the object distance are calculated, that is, the target position of the focus motor is re-determined until the determined target position of the focus motor is appropriate. Therefore, in the embodiment of the present invention, the image capturing device can accurately determine the (zoom0, focus) curve under the optimal object distance, thereby more accurately determining the target position of the focus motor, and contributing to the improvement of the image capturing device. The quality of the image taken.
  • the image capturing apparatus is provided with a focus motor and N variable power motors, and the image capturing apparatus is adjusted by adjusting the respective positions of the focus motor and the N variable power motors during the zoom shooting process.
  • the resolution of the image in the framing frame satisfies the preset condition, which solves the technical problem that the lens structure in the current image capturing device is too simple, and at the same time helps to improve the image quality of the image capturing device.
  • FIG. 5 shows a schematic structural view of a synchronous focusing device 500.
  • the synchro focus device 500 can implement the functions of the image capture device referred to above.
  • the synchronization focusing device 500 can include an obtaining unit 501 and an adjusting unit 502.
  • the obtaining unit 501 can be used to execute S201 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein.
  • Adjustment unit 502 can be used to perform S202 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • the image capturing apparatus described above is displayed in the form of a functional unit.
  • the term "unit” as used herein, without limitation, may refer to an application-specific integrated circuit (ASIC), electronic circuit, (shared, dedicated, or group) that executes one or more software or firmware programs.
  • synchronous focus device 500 can also be implemented by the structure shown in FIG.
  • the sync focus device 600 can include a memory 601, a processor 602, and a bus 603. Processor 601 and processor 602 can be coupled by bus 603.
  • the memory 601 is configured to store computer execution instructions.
  • the processor 602 executes computer execution instructions stored in the memory 601 to cause the synchronous focus device 600 to perform the synchronous focus method provided by the embodiment shown in FIG. .
  • a specific synchronous focusing method reference may be made to the related descriptions in the above and the drawings, and details are not described herein again.
  • the processor 602 may be a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), and a central unit.
  • the bus 603 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like.
  • the bus 603 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
  • the embodiments of the present invention provide a synchronization focusing method and apparatus.
  • the image capturing apparatus is provided with a focus motor and N variable magnification motors, and the image of the framing frame of the image capturing apparatus is adjusted by adjusting the respective positions of the focus motor and the N variable magnification motors during the zoom shooting process.
  • the resolution meets the preset conditions, which solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the image quality of the image capturing device.
  • the invention may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another readable storage medium, for example, the computer instructions can be passed from a website site, computer, server or data center Wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center.
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium eg, a solid state disk (SSD)

Abstract

Disclosed by an embodiment of the present invention are a synchronous focus method and apparatus, which are beneficial in improving the quality of captured images. The method comprises: an image capture device acquiring a first image within a viewing frame when capturing a zoomed-in image; the image capture device respectively adjusting the positions of N zoom motors and focus motors thereof such that the sharpness of the first image acquired within the viewing frame meets a preset condition, thus achieving focusing; N is an integer greater than or equal to 2.

Description

一种同步聚焦方法及装置Synchronous focusing method and device
本申请要求于2017年10月24日提交中国专利局、申请号为201711000014.3、发明名称为“一种同步聚焦方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application, filed on Jan. 24,,,,,,,,,,,,,,,,,,,,,,,,,,,,, .
技术领域Technical field
本发明实施例涉及视频监控领域,尤其涉及一种同步聚焦方法及装置。Embodiments of the present invention relate to the field of video surveillance, and in particular, to a synchronous focus method and apparatus.
背景技术Background technique
镜头是相机、网络摄像机(internet protocol camera,IPC)等图像拍摄设备中的一个非常重要的部件。目前的图像拍摄设备的镜头中往往包括多个镜片(凹、凸透镜),即通过多个镜片组合成像。通常,镜头中起到调节焦距作用的多个镜片被组合成一个整体,称为zoom群,该zoom群对应一个变倍马达,通过该变倍马达调整zoom群的位置,进而调整放大倍数。起到调节成像作用的多个镜片被组合成一个整体,称为focus群,该focus群也对应一个聚焦马达,通过该聚焦马达调整focus群的位置,进而调整聚焦位置。The lens is a very important component in image capturing equipment such as cameras and internet protocol cameras (IPC). The lens of current image capturing apparatuses often includes a plurality of lenses (concave, convex lenses), that is, imaging by a combination of a plurality of lenses. Generally, a plurality of lenses in the lens that adjust the focal length are combined into a whole, called a zoom group, and the zoom group corresponds to a zoom motor, and the position of the zoom group is adjusted by the zoom motor to adjust the magnification. A plurality of lenses that function to adjust imaging are combined into a whole, called a focus group, which also corresponds to a focus motor, by which the position of the focus group is adjusted, thereby adjusting the focus position.
由于目前的图像拍摄设备中只包含单个zoom群和单个focus群,即只包含一个变倍马达和一个聚焦马达。可见,目前的图像拍摄设备中镜头的结构太过简单,并且zoom群或focus群的移动不够灵活。Since the current image capturing apparatus includes only a single zoom group and a single focus group, that is, only one zoom motor and one focus motor are included. It can be seen that the structure of the lens in the current image capturing device is too simple, and the movement of the zoom group or the focus group is not flexible enough.
发明内容Summary of the invention
本发明实施例提供一种同步聚焦方法及装置,用以解决目前的图像拍摄设备中镜头的结构较为简单,并且zoom群或focus群的移动不够灵活的技术问题。The embodiment of the invention provides a synchronous focusing method and device, which are used to solve the technical problem that the structure of the lens in the current image capturing device is relatively simple, and the movement of the zoom group or the focus group is not flexible enough.
第一方面,本发明实施例提供一种同步聚焦方法,该方法包括:在变倍拍摄过程中,图像拍摄设备获取取景框中的第一图像;所述图像拍摄设备分别调整自身中的N个变倍马达和聚焦马达各自的位置,使得所述取景框中的第一图像的清晰度满足预设条件,实现聚焦;其中N为大于等于2的整数。In a first aspect, an embodiment of the present invention provides a synchronization focusing method, the method includes: during a zoom shooting process, an image capturing device acquires a first image in a framing frame; and the image capturing device respectively adjusts N of the photographic frames The respective positions of the zoom motor and the focus motor are such that the sharpness of the first image in the finder frame satisfies a preset condition to achieve focusing; wherein N is an integer greater than or equal to 2.
在本发明实施例中,图像拍摄设备中具备聚焦马达和N个变倍马达,在变倍拍摄过程中,通过调整聚焦马达和N个变倍马达各自的位置,使得图像拍摄设备的取景框中的图像的清晰度满足预设条件,解决了目前的图像拍摄设备中镜头的结构太过简单的技术问题,同时有助于提高图像拍摄设备拍摄的图像的质量。In the embodiment of the present invention, the image capturing apparatus is provided with a focus motor and N variable magnification motors, and during zooming, the position of each of the focus motor and the N variable magnification motors is adjusted to make the frame of the image capturing apparatus The resolution of the image satisfies the preset condition, and solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the quality of the image taken by the image capturing device.
在一个可能的设计中,所述图像拍摄设备分别调整自身中的N个变倍马达和聚焦马达各自的位置,包括:所述图像拍摄设备确定所述N个变倍马达中基准变倍马达的第一目标位置;所述图像拍摄设备根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达以及聚焦马达各自的目标位置;所述图像拍摄设备将所述N个变倍马达和所述聚焦马达分别移动到各自的目标位置。In a possible design, the image capturing device respectively adjusts the respective positions of the N variable power motors and the focus motors in the self, including: the image capturing device determines the reference zoom motor of the N variable power motors a first target position; the image capturing device respectively determines a target position of each of the other N-1 variable power motors and the focus motor according to the first target position of the reference zoom motor; the image capturing device sets the N The variable power motor and the focus motor are respectively moved to respective target positions.
在本发明实施例中,图像拍摄设备自身中具备N个变倍马达,N个变倍马达中有一个为基准变倍马达,图像拍摄设备可以根据基准变倍马达的第一目标位置分别确定其它N-1个变倍马达以及聚焦马达各自的目标位置,即图像拍摄设备中各个马达(N个变倍马达、聚焦马 达)之间是相互联动的,解决了目前的图像拍摄设备中镜头的结构太过简单,并且zoom群或focus群的移动不够灵活的技术问题,同时有助于提高图像拍摄质量。In the embodiment of the present invention, the image capturing apparatus itself has N variable power motors, and one of the N variable power motors is a reference zoom motor, and the image capturing apparatus can determine the other according to the first target position of the reference zoom motor. The respective target positions of the N-1 variable-magnification motors and the focus motors, that is, the respective motors (N variable-magnification motors, focus motors) in the image capturing device are interlocked with each other, which solves the structure of the lens in the current image capturing device. Too simple, and the movement of the zoom group or the focus group is not flexible enough to improve the quality of image capture.
在一个可能的设计中,所述图像拍摄设备根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达的目标位置,包括:所述图像拍摄设备根据所述基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;所述第一变倍马达为所述N-1个变倍马达中的任意一个马达,所述第一跟随曲线用于指示所述基准变倍马达和所述第一变倍马达之间的位置关系。In a possible design, the image capturing apparatus respectively determines the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, including: the image capturing apparatus changes according to the reference Determining, by a first target position of the motor and a first following curve, a second target position of the first variable power motor; the first variable power motor being any one of the N-1 variable power motors, the first A following curve is used to indicate a positional relationship between the reference zoom motor and the first zoom motor.
在本发明实施例中,图像拍摄设备可以根据基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达(所述N-1个变倍马达中的任意一个马达)的第二目标位置,所述第一跟随曲线用于指示所述基准变倍马达和所述第一变倍马达之间的位置关系。即,图像拍摄设备可以根据基准变倍马达的第一目标位置依次确定其它N-1个变倍马达各自的目标位置,并且由于图像拍摄设备是根据第一跟随曲线确定的第一变倍马达的第二目标位置,所以确定的第一变倍马达的第二目标位置较为准确。In the embodiment of the present invention, the image capturing apparatus may determine the first variable power motor (any one of the N-1 variable power motors) according to the first target position of the reference zoom motor and the first following curve. a second target position, the first following curve is used to indicate a positional relationship between the reference zoom motor and the first zoom motor. That is, the image capturing apparatus may sequentially determine the respective target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, and since the image capturing apparatus is the first variable power motor determined according to the first following curve The second target position, so the determined second target position of the first zoom motor is relatively accurate.
在一个可能的设计中,所述图像拍摄设备根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达的目标位置,包括:所述图像拍摄设备根据所述基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;所述第一跟随曲线用于指示所述基准变倍马达和所述第一变倍马达之间的位置关系;所述第一变倍马达为所述N-1个变倍马达中的任意一个马达;所述图像拍摄设备根据所述第一变倍马达的第二目标位置分别确定所述N-1个变倍马达中除所述第一变倍马达之外的每个变倍马达的目标位置。In a possible design, the image capturing apparatus respectively determines the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, including: the image capturing apparatus changes according to the reference Determining a second target position of the first zoom motor with a first target position and a first following curve; the first following curve is used to indicate between the reference zoom motor and the first zoom motor a positional relationship; the first variable power motor is any one of the N-1 variable power motors; the image capturing device determines the N- according to a second target position of the first variable power motor A target position of each of the variable power motors of the one variable power motor other than the first variable power motor.
在本发明实施例中,图像拍摄设备可以根据基准变倍马达的第一目标位置确定第一变倍马达(所述N-1个变倍马达中的任意一个马达)的第二目标位置,然后根据第一变倍马达的第二目标位置依次确定其它N-2个变倍马达各自的目标位置,所以,图像拍摄设备中N个变倍马达之间的联动方式较为灵活,解决了目前的图像拍摄设备中镜头的结构太过简单的技术问题,同时有助于提高图像拍摄质量。In an embodiment of the present invention, the image capturing apparatus may determine a second target position of the first variable power motor (any one of the N-1 variable power motors) according to the first target position of the reference zoom motor, and then The target positions of the other N-2 variable power motors are sequentially determined according to the second target position of the first zoom motor, so that the linkage mode between the N variable power motors in the image capturing device is flexible, and the current image is solved. The structure of the lens in the shooting device is too simple technical problem and helps to improve the quality of image capture.
在一个可能的设计中,在图像拍摄设备获取取景框中的图像之前,所述图像拍摄设备通过自身的输入部件接收变倍指令;所述图像拍摄设备确定所述N个变倍马达中基准变倍马达的第一目标位置,包括:所述图像拍摄设备获取所述N个变倍马达中基准变倍马达的初始位置;N为大于等于2的正整数;所述图像拍摄设备基于所述变倍指令中包含的变倍速率和所述初始位置确定所述基准变倍马达在第一预设时间的第一目标位置。In one possible design, before the image capturing device acquires the image in the framing frame, the image capturing device receives a zoom instruction through its own input component; the image capturing device determines a reference change in the N variable power motors a first target position of the motor, comprising: the image capturing device acquiring an initial position of the reference zoom motor in the N variable power motors; N being a positive integer greater than or equal to 2; the image capturing device is based on the change The zoom rate and the initial position included in the multiple command determine the first target position of the reference zoom motor at the first preset time.
在本发明实施例中,图像拍摄设备可以根据变倍指令和基准变倍马达的初始位置确定基准变倍马达在第一预设时间的第一目标位置,若变倍指令是用户通过图像拍摄设备的输入部件输入的指令,那么图像拍摄设备可以根据用户的输入操作实时的调整基站变倍马达的第一目标位置,进而联动的调整其它N-1个变倍马达以及聚焦马达各自的目标位置,即图像拍摄设备中各个马达之间联动方式较为灵活。In the embodiment of the present invention, the image capturing apparatus may determine the first target position of the reference zoom motor at the first preset time according to the zoom instruction and the initial position of the reference zoom motor, if the zoom instruction is the user passing the image capturing device The input unit inputs an instruction, and the image capturing device can adjust the first target position of the base station zoom motor in real time according to the input operation of the user, and then adjust the respective target positions of the other N-1 variable power motors and the focus motor in linkage, That is to say, the linkage mode between the motors in the image capturing device is relatively flexible.
在一个可能的设计中,所述图像拍摄设备根据所述基准变倍马达的第一目标位置确定聚焦马达的目标位置,包括:所述图像拍摄设备根据所述基准变倍马达的第一目标位置和第二跟随曲线确定所述聚焦马达的第三目标位置,所述第二跟随曲线用于指示所述基准变倍马达和所述聚焦马达之间的位置关系,或In one possible design, the image capturing apparatus determines a target position of the focus motor according to the first target position of the reference zoom motor, including: the image capturing apparatus according to the first target position of the reference zoom motor And a second following curve determining a third target position of the focus motor, the second following curve being used to indicate a positional relationship between the reference zoom motor and the focus motor, or
所述图像拍摄设备根据所述第一变倍马达的第二目标位置和第二跟随曲线确定所述聚焦马达的第三目标位置,所述第二跟随曲线用于指示所述第一变倍马达和所述聚焦马达之间的 位置关系。The image capturing apparatus determines a third target position of the focus motor according to a second target position of the first zoom motor and a second following curve, the second following curve is used to indicate the first zoom motor A positional relationship with the focus motor.
在本发明实施例中,由于图像拍摄设备中具备N个变倍马达,所以图像拍摄设备确定聚焦马达的目标位置的方式可以有多种,例如,图像拍摄设备根据基准变倍马达的第一目标位置和第二跟随曲线确定聚焦马达的第三目标位置,第二跟随曲线用于指示基准变倍马达和聚焦马达之间的位置关系。再例如,图像拍摄设备根据第一变倍马达(N-1个变倍马达中任意一个变倍马达)的第二目标位置和第二跟随曲线确定聚焦马达的第三目标位置,第二跟随曲线用于指示第一变倍马达和聚焦马达之间的位置关系。因此,图像拍摄设备可以根据基准变倍马达的第一目标位置确定聚焦马达的第三目标位置,也可以根据基准变倍马达的第一目标位置确定第一变倍马达的第二目标位置,然后根据第一变倍马达的第二目标位置确定聚焦马达的第三目标位置,即图像拍摄设备中各个马达的联动方式较为灵活。In the embodiment of the present invention, since the image capturing apparatus has N variable-magnification motors, the image capturing apparatus can determine the target position of the focus motor in various manners, for example, the image capturing apparatus according to the first target of the reference zoom motor The position and the second following curve determine a third target position of the focus motor, and the second following curve is used to indicate a positional relationship between the reference zoom motor and the focus motor. For another example, the image capturing apparatus determines the third target position of the focus motor according to the second target position of the first variable power motor (any one of the N-1 variable power motors) and the second following curve, the second following curve It is used to indicate the positional relationship between the first zoom motor and the focus motor. Therefore, the image capturing apparatus may determine the third target position of the focus motor according to the first target position of the reference zoom motor, or determine the second target position of the first zoom motor according to the first target position of the reference zoom motor, and then The third target position of the focus motor is determined according to the second target position of the first zoom motor, that is, the linkage mode of each motor in the image capturing apparatus is flexible.
在一个可能的设计中,在所述图像拍摄设备根据所述基准变倍马达的第一目标位置和第二跟随曲线调整所述聚焦马达的第三目标位置之前,所述图像拍摄设备获取所述聚焦马达的初始位置;所述图像拍摄设备根据所述聚焦马达和所述基准变倍马达各自的初始位置确定第一物距;所述图像拍摄设备根据所述第一物距和成像函数确定所述第二跟随曲线。In one possible design, the image capturing apparatus acquires the image capturing apparatus before the third target position of the focus motor is adjusted according to the first target position of the reference zoom motor and the second following curve. Focusing an initial position of the motor; the image capturing apparatus determining a first object distance according to respective initial positions of the focus motor and the reference zoom motor; the image capturing apparatus determining the basis according to the first object distance and an imaging function The second following curve is described.
在本发明实施例中,图像拍摄设备为了得到聚焦马达的第三目标位置,可以首先确定第二跟随曲线,例如可以根据聚焦马达和基准变倍马达各自的初始位置确定第一物距,然后根据所述第一物距和成像函数确定第二跟随曲线,即,第二跟随曲线可以反映第一物距下聚焦马达的基准变倍马达之间的位置关系。In an embodiment of the present invention, the image capturing apparatus may first determine a second following curve in order to obtain a third target position of the focus motor. For example, the first object distance may be determined according to respective initial positions of the focus motor and the reference zoom motor, and then according to The first object distance and the imaging function determine a second following curve, ie, the second following curve may reflect a positional relationship between the reference zoom motors of the focus motor of the first object distance.
在一个可能的设计中,若所述图像拍摄设备将所述N个变倍马达和所述聚焦马达分别移动到各自的目标位置之后,所述取景框中的第一图像仍不满足所述预设条件,则所述图像拍摄设备计算所述聚焦马达的第四位置,所述第四位置是将所述聚焦马达的初始位置以第一方向移动第一预设值得到的;所述第一预设值小于所述聚焦马达的焦深;所述图像拍摄设备根据所述聚焦马达的第四位置和所述基准变倍马达的初始位置确定第二物距;所述图像拍摄设备根据所述第二物距和所述成像函数确定第三跟随曲线;所述图像拍摄设备根据所述基准变倍马达的第一目标位置和所述第三跟随曲线移动所述聚焦马达到第四目标位置,使得所述取景框中的第一图像的清晰度满足所述预设条件。In a possible design, if the image capturing apparatus moves the N variable power motors and the focus motor to respective target positions, respectively, the first image in the finder frame still does not satisfy the predetermined Setting a condition, the image capturing apparatus calculates a fourth position of the focus motor, wherein the fourth position is obtained by moving an initial position of the focus motor in a first direction by a first preset value; a preset value is smaller than a focal depth of the focus motor; the image capturing apparatus determines a second object distance according to a fourth position of the focus motor and an initial position of the reference zoom motor; the image capturing apparatus according to the a second object distance and the imaging function determine a third following curve; the image capturing device moves the focus motor to a fourth target position according to the first target position of the reference zoom motor and the third following curve, The definition of the first image in the finder frame is made to satisfy the preset condition.
在本发明实施例中,图像拍摄设备在移动N个变倍马达和聚焦马达各自的目标位置之后,若图像拍摄设备的取景框中的第一图像仍然不满足预设条件,说明聚焦马达的目标位置不合适,即第二跟随曲线不合适,进而可推论出第一物距不准确,所以图像拍摄设备可以重新第二物距,进而重新确定第二物距下的第三跟随曲线。由于第二跟随曲线是图像拍摄设备根据聚焦马达和基准变倍马达各自的初始位置确定出来的,所以图像拍摄设备可以将聚焦马达在初始位置的基础上以第一方向移动第一预设值得到第四位置,然后基于聚焦马达的第四位置和基准变倍马达的初始位置确定第二物距,进而确定第二物距下的第三跟随曲线。因此,图像拍摄设备可以根据取景框中第一图像的清晰度调整聚焦马达的目标位置,使得取景框中的第一图像的清晰度尽可能的满足预设条件,实现聚焦,有助于提高图像拍摄质量。In the embodiment of the present invention, after the image capturing apparatus moves the target positions of the N variable power motors and the focus motors, if the first image of the image capturing apparatus still does not satisfy the preset condition, the target of the focus motor is illustrated. The position is not suitable, that is, the second following curve is not suitable, and it can be inferred that the first object distance is inaccurate, so the image capturing device can re-determine the second object distance, thereby re-determining the third following curve under the second object distance. Since the second following curve is determined by the image capturing device according to the respective initial positions of the focus motor and the reference zoom motor, the image capturing device can move the focus motor in the first direction based on the initial position to obtain the first preset value. The fourth position then determines a second object distance based on the fourth position of the focus motor and the initial position of the reference zoom motor to determine a third following curve at the second object distance. Therefore, the image capturing apparatus can adjust the target position of the focus motor according to the sharpness of the first image in the finder frame, so that the sharpness of the first image in the finder frame satisfies the preset condition as much as possible, thereby achieving focusing and helping to improve the image. Shooting quality.
第二方面,本发明实施例还提供了一种同步聚集装置,所述同步聚集装置包括:N个变倍马达、聚焦马达、处理器和步进电机;所述处理器与所述步进电机连接,所述处理器用于向所述步进电机下发所述N个变倍马达和所述聚集马达各自对应的目标位置;所述步进电机与所述N个变倍马达和所述聚焦马达分别连接;所述步进电机用于带动所述N个变倍马达和所述聚焦马达分别移动到各自对应的目标位置。In a second aspect, an embodiment of the present invention further provides a synchronization aggregation device, where the synchronization aggregation device includes: N variable magnification motors, a focus motor, a processor, and a stepping motor; the processor and the stepping motor Connecting, the processor is configured to send, to the stepping motor, a target position corresponding to each of the N variable power motors and the gather motor; the stepping motor and the N variable power motors and the focus The motors are respectively connected; the stepping motor is configured to drive the N variable power motors and the focus motor to respectively move to respective corresponding target positions.
在本发明实施例中,同步聚集装置中具备聚焦马达、N个变倍马达、处理器和步进电机,其中,处理器与步进电机连接,处理器可以向步进电机下发N个变倍马达和聚集马达各自对应的目标位置;然后,步进电机带动N个变倍马达和聚焦马达分别移动到各自对应的目标位置。该同步聚焦装置可以实现同步调整聚焦马达和N个变倍马达各自的位置的目的,结构设计灵活。In the embodiment of the present invention, the synchronous gathering device includes a focus motor, N variable power motors, a processor, and a stepping motor, wherein the processor is connected to the stepping motor, and the processor can send N changes to the stepping motor. The target motor position corresponding to each of the motor and the concentrating motor; then, the stepping motor drives the N variable power motors and the focus motor to move to respective corresponding target positions. The synchronous focusing device can achieve the purpose of synchronously adjusting the respective positions of the focus motor and the N variable power motors, and has a flexible structural design.
在一个可能的设计中,所述N个变倍马达中每个变倍马达与一个变倍镜片组连接;所述变倍镜片组用于对所述同步聚焦装置的取景框中的图像进行缩放,所述变倍镜片组中包含N个镜片;所述聚集马达与聚焦镜片组连接,所述聚焦镜片组用于聚焦所述取景框中的图像;所述聚焦镜片组中包含M个镜片,其中,N和M均为大于等于1的整数。In one possible design, each of the N variable power motors is coupled to a variable power lens group; the zoom lens group is used to scale an image in a viewfinder frame of the synchronous focus device The zoom lens group includes N lenses; the focusing motor is coupled to a focusing lens group, the focusing lens group is for focusing an image in the finder frame; and the focusing lens group includes M lenses, Wherein, N and M are integers greater than or equal to 1.
在本发明实施例中,同步聚焦装置中各个马达均具有各自的作用,例如变倍马达的移动可以带动变倍镜片组的移动进而可以改变取景框中的图像的大小,再例如聚焦马达的移动可以带动聚焦镜片组的移动进而可以对取景框中的图像进行聚焦。因此,同步聚焦装置通过移动各个马达的位置进而实现各个镜片组之间的配合,有助于得到质量较高的图像,提高用户体验感。In the embodiment of the present invention, each motor in the synchronous focusing device has its own function. For example, the movement of the zoom motor can drive the movement of the zoom lens group to change the size of the image in the finder frame, for example, the movement of the focus motor. The movement of the focusing lens group can be driven to focus the image in the framing frame. Therefore, the synchronous focusing device realizes the cooperation between the respective lens groups by moving the positions of the respective motors, thereby contributing to obtaining a higher quality image and improving the user experience.
第三方面,本发明实施例还提供一种同步聚焦装置。该同步聚焦装置具有实现上述方法设计中图像拍摄设备的功能。这些功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元。In a third aspect, an embodiment of the present invention further provides a synchronization focusing device. The synchronous focusing device has the function of realizing an image capturing device in the above method design. These functions can be implemented in hardware or in software by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above.
在一个可能的设计中,同步聚焦装置的具体结构可包括获取单元和调整单元。这些单元可执行上述第一方面或第一方面的任意一种可能的设计所提供的方法中的相应功能。In one possible design, the specific structure of the synchronous focusing device may include an acquisition unit and an adjustment unit. These units may perform the respective functions of the methods provided by any of the possible aspects of the first aspect or the first aspect described above.
第四方面,本发明实施例还提供一种同步聚焦装置。该同步聚焦装置具有实现上述方法设计中图像拍摄设备的功能。这些功能可以通过硬件实现。该同步聚焦装置包括:存储器,用于存储计算机可执行程序代码;处理器,处理器与存储器耦合。其中存储器所存储的程序代码包括指令,当处理器执行所述指令时,所述指令使同步聚焦装置执行上述第一方面或第一方面的任意一种可能的设计中图像拍摄设备所执行的方法。In a fourth aspect, an embodiment of the present invention further provides a synchronization focusing device. The synchronous focusing device has the function of realizing an image capturing device in the above method design. These features can be implemented in hardware. The sync focusing device includes a memory for storing computer executable program code, a processor coupled to the memory. Wherein the program code stored in the memory includes instructions that, when executed by the processor, cause the synchronization focusing device to perform the method performed by the image capture device of any of the first aspect or the first aspect of the first aspect described above .
第五方面,本发明实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的同步聚焦方法。In a fifth aspect, the embodiment of the present invention further provides a computer readable storage medium, where the computer readable storage medium stores instructions, when executed on a computer, causing the computer to perform the synchronous focusing method described in the first aspect above. .
第六方面,本发明实施例还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的同步聚焦方法。In a sixth aspect, an embodiment of the present invention further provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the synchronous focusing method of the first aspect described above.
在本发明实施例中,图像拍摄设备中具备聚焦马达和N个变倍马达,在变倍拍摄过程中,通过调整聚焦马达和N个变倍马达各自的位置,使得图像拍摄设备的取景框中的图像的清晰度满足预设条件,解决了目前的图像拍摄设备中镜头的结构太过简单的技术问题,同时有助于提高图像拍摄设备拍摄的图像的质量。In the embodiment of the present invention, the image capturing apparatus is provided with a focus motor and N variable magnification motors, and during zooming, the position of each of the focus motor and the N variable magnification motors is adjusted to make the frame of the image capturing apparatus The resolution of the image satisfies the preset condition, and solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the quality of the image taken by the image capturing device.
附图说明DRAWINGS
图1为本发明实施例提供的一种图像拍摄设备的结构图;1 is a structural diagram of an image capturing apparatus according to an embodiment of the present invention;
图2为本发明实施例提供的一种同步聚焦方法的流程图;2 is a flowchart of a method for synchronous focusing according to an embodiment of the present invention;
图3为本发明实施例提供的(zoom0、zoom1)曲线的示意图;FIG. 3 is a schematic diagram of a (zoom0, zoom1) curve according to an embodiment of the present invention;
图4为本发明实施例提供的不同物距下的(zoom0、focus)曲线的示意图;4 is a schematic diagram of a (zoom0, focus) curve at different object distances according to an embodiment of the present invention;
图5为本发明实施例提供的一种同步聚焦装置的结构示意图;FIG. 5 is a schematic structural diagram of a synchronization focusing apparatus according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的另一种同步聚焦装置的结构示意图。FIG. 6 is a schematic structural diagram of another synchronous focusing apparatus according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings in the embodiments of the present invention.
以下,对本发明中的部分用语进行解释说明,以便于本领域技术人员理解。Hereinafter, some of the terms used in the present invention will be explained so as to be understood by those skilled in the art.
(1)图像拍摄设备,本发明实施例所涉及的图像拍摄设备可以是相机、智能手机、摄像机等能够进行图像拍摄的设备,图像拍摄设备可以采集静态图像、动态图像或者视频等。(1) Image capturing device, the image capturing device according to the embodiment of the present invention may be a device capable of image capturing such as a camera, a smart phone, or a video camera, and the image capturing device may collect a still image, a moving image, or a video.
(2)镜头,镜头是图像拍摄设备中的一个非常重要的部件。镜头中往往包括多个镜片(例如凹透镜、凸透镜等),通常,镜头中起到调节焦距作用的多个镜片被组合成一个整体,称为zoom群,该zoom群对应一个变倍马达,通过该变倍马达调整zoom群的位置,进而调整放大倍数。起到调节成像作用的多个镜片被组合成一个整体,称为focus群,该focus群也对应一个聚焦马达,通过该聚焦马达调整focus群的位置,进而调整聚焦位置。(2) Lens, the lens is a very important part of the image capture device. The lens often includes a plurality of lenses (for example, a concave lens, a convex lens, etc.). Generally, a plurality of lenses in the lens that adjust the focal length are combined into a whole body, which is called a zoom group, and the zoom group corresponds to a zoom motor. The zoom motor adjusts the position of the zoom group and adjusts the magnification. A plurality of lenses that function to adjust imaging are combined into a whole, called a focus group, which also corresponds to a focus motor, by which the position of the focus group is adjusted, thereby adjusting the focus position.
(3)变倍马达,是图像拍摄设备(尤其是可变焦的图像拍摄设备)中必不可少的部件。图像拍摄设备的镜头中用于改变焦距的多个镜片构成一个镜片组,通过变倍马达移动这个镜片组的位置。(3) The zoom motor is an indispensable component in an image capturing device (especially a zoomable image capturing device). A plurality of lenses for changing the focal length in the lens of the image capturing apparatus constitute a lens group, and the position of the lens group is moved by the variable magnification motor.
(4)聚焦马达,同样是图像拍摄设备(尤其是可变焦的图像拍摄设备)中必不可少的部件。图像拍摄设备的镜头中用于改变相距的多个镜片构成一个镜片组,通过聚焦马达移动这个镜片组的位置。(4) Focusing motor is also an indispensable component in image capturing equipment (especially in zoomable image capturing equipment). A plurality of lenses for changing the distance in the lens of the image capturing apparatus constitute a lens group, and the position of the lens group is moved by the focus motor.
(5)跟随曲线,是二维曲线,通常,横坐标表示变倍电机的位置,纵坐标表示聚焦电机的位置,不同的物距下都有一条对应的曲线。其原理为,根据成像公式1/f=1/u+1/v(f表示变倍马达的位置即焦距,u表示物距,即物体距离镜头的距离,v表示聚焦马达的位置即相距),当物距u固定时,f和v便存在二维的对应的关系,用横坐标表示变倍马达的位置即焦距f的值,用纵坐标表示聚焦马达的位置即相距v的值,便可得到不同物距下的f和v的对应二维关系曲线,即跟随曲线。(5) The following curve is a two-dimensional curve. Generally, the abscissa indicates the position of the variable power motor, and the ordinate indicates the position of the focus motor. There is a corresponding curve under different object distances. The principle is that according to the imaging formula 1/f=1/u+1/v (f denotes the position of the zoom motor, that is, the focal length, u denotes the object distance, that is, the distance of the object from the lens, and v denotes the position of the focus motor, that is, the distance) When the object distance u is fixed, f and v have a two-dimensional correspondence relationship, and the position of the variable power motor, that is, the value of the focal length f is represented by the abscissa, and the position of the focus motor, that is, the value of the distance v, is represented by the ordinate. Corresponding two-dimensional relationship curves of f and v under different object distances, that is, following curves, can be obtained.
本发明实施例中,也可以将“跟随曲线”称为“镜头曲线”、“镜头跟随曲线”、“校正变倍跟随曲线”等等。也就是说,本文对于“跟随曲线”的名称不作限制,只要表达的是如上的概念即可。In the embodiment of the present invention, the "following curve" may also be referred to as "shot curve", "lens following curve", "corrected zoom following curve", and the like. That is to say, the name of the "following curve" is not limited herein, as long as the above concept is expressed.
(6)本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,如无特殊说明,一般表示前后关联对象是一种“或”的关系。且在本发明的描述中,“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。(6) The term “and/or” in this document is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article, unless otherwise specified, generally indicates that the contextual object is an "or" relationship. In the description of the present invention, the terms "first", "second" and the like are used to distinguish the purpose of the description, and are not to be construed as indicating or implying relative importance, nor in the order of indication or suggestion.
目前的图像拍摄设备中只包含单个zoom群和单个focus群,即只包含一个变倍马达和一个聚焦马达。可见,目前的图像拍摄设备中镜头的结构较为简单,并且zoom群或focus群的移动不够灵活。Current image capture devices include only a single zoom group and a single focus group, ie, only one zoom motor and one focus motor. It can be seen that the structure of the lens in the current image capturing device is relatively simple, and the movement of the zoom group or the focus group is not flexible enough.
为了解决这个技术问题,本发明实施例提供一种同步聚焦方法。该方法适用于图像拍摄设备中。图1示出了一种可能的图像拍摄设备的结构图。请参阅图1所示,图像拍摄设备100包括:镜头110、图像传感器120、图像处理(Image Signal Processing,ISP)芯片130、处理器140、步进电机150,其中,步进电机150中包括第一变倍马达151、第二变倍马达152、第三变倍马达153和聚焦马达154。In order to solve this technical problem, an embodiment of the present invention provides a synchronous focusing method. This method is suitable for use in image capture devices. Fig. 1 shows a structural diagram of a possible image capturing apparatus. Referring to FIG. 1 , the image capturing apparatus 100 includes a lens 110 , an image sensor 120 , an image processing (ISP) chip 130 , a processor 140 , and a stepping motor 150 . A zoom motor 151, a second zoom motor 152, a third zoom motor 153, and a focus motor 154.
下面结合图1介绍图像拍摄设备100采集图像的过程,具体如下:The process of acquiring an image by the image capturing apparatus 100 will be described below with reference to FIG. 1 as follows:
图像拍摄设备100中镜头110采集环境中物体的光信号,并将采集到的光信号发送于图像传感器120,图像传感器120将获取的光信号处理成电信息,并将电信号发送于ISP 130。ISP 130对电信号进行处理得到物体的图像,ISP 130还可以确定图像的清晰度的评价值,并将该图像和清晰度评价值一并发送于处理器140。处理器140根据得到的清晰度的评价值确定镜头110中每个马达的目标位置,然后将确定出的每个马达的目标位置下发于步进电机150,步进电机150分别将各个马达移动到各自对应的目标位置。例如,步进电机150将第一变倍马达151移动到它自己对应的目标位置,将第二变倍马达152移动到它自己对应的目标位置,将第三变倍马达153移动到它自己对应的位置,将聚焦马达移动到它自己对应的目标位置。The lens 110 in the image capturing apparatus 100 collects an optical signal of an object in the environment, and transmits the collected optical signal to the image sensor 120, and the image sensor 120 processes the acquired optical signal into electrical information, and transmits the electrical signal to the ISP 130. The ISP 130 processes the electrical signal to obtain an image of the object, and the ISP 130 can also determine an evaluation value of the sharpness of the image and send the image and the sharpness evaluation value together to the processor 140. The processor 140 determines the target position of each motor in the lens 110 according to the obtained evaluation value of the sharpness, and then issues the determined target position of each motor to the stepping motor 150, and the stepping motor 150 respectively moves the respective motors. Go to their respective target locations. For example, the stepping motor 150 moves the first variable power motor 151 to its own corresponding target position, moves the second variable power motor 152 to its own corresponding target position, and moves the third variable power motor 153 to its own corresponding position. The position moves the focus motor to its own corresponding target position.
图1所示的图像拍摄设备中,ISP 130和处理器140作为两个不同的部件,在实际操作过程中,也可以将ISP 130集成于处理器140中,即只需一个部件即可,本领域技术人员可以根据实际情况而定,本发明实施例对此不作具体的限定。In the image capturing apparatus shown in FIG. 1, the ISP 130 and the processor 140 are two different components. In actual operation, the ISP 130 can also be integrated into the processor 140, that is, only one component can be used. A person skilled in the art can make a specific limitation according to the actual situation, and the embodiment of the present invention does not specifically limit this.
图1所示的图像拍摄设备中,第一变倍马达151、第二变倍马达152和第三变倍马达153分别连接一个凹透镜,图1只是为了便于理解,在实际操作过程中,第一变倍马达151也可以连接多个镜片(凸透镜或凹透镜),即第一变倍马达151可以连接一个镜片组,该镜片组即zoom1群组,同样的,第二变倍马达152、第三变倍马达153以及聚焦马达154均可以分别连接一个镜片组,例如第二变倍马达152连接zoom2群组,第三变倍马达连接zoom3群组,聚焦马达154连接focus群组。这样的话,每个马达便可以带动各自对应的镜片组一起移动。In the image capturing apparatus shown in FIG. 1, the first variable power motor 151, the second variable power motor 152, and the third variable power motor 153 are respectively connected to a concave lens, and FIG. 1 is only for ease of understanding, in actual operation, the first The zoom motor 151 can also be connected to a plurality of lenses (convex lenses or concave lenses), that is, the first zoom motor 151 can be connected to a lens group, that is, the zoom group, the same, the second zoom motor 152, the third change The double motor 153 and the focus motor 154 can each be connected to a lens group. For example, the second zoom motor 152 is connected to the zoom2 group, the third zoom motor is connected to the zoom3 group, and the focus motor 154 is connected to the focus group. In this way, each motor can move the corresponding lens group together.
本领域技术人员可以理解,图1中示出的图像拍摄设备的结构并不构成对终端设备的限定,本发明实施例提供的图像拍摄设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,例如图像拍摄设备还可以包括更多的变倍马达等等。A person skilled in the art may understand that the structure of the image capturing apparatus shown in FIG. 1 does not constitute a limitation on the terminal device, and the image capturing apparatus provided by the embodiment of the present invention may include more or less components than illustrated, or Combining certain components, or different component arrangements, such as image capture devices, may also include more variable power motors and the like.
图2示出了本发明实施例提供的一种同步聚焦方法的流程图,该方法适用于如图1所示的图像拍摄设备100中。因此,在下文的介绍过程中,以将该方法应用在图1所示的图像拍摄设备100为例。请参阅图2,该方法的流程描述如下:FIG. 2 is a flowchart of a synchronous focusing method according to an embodiment of the present invention, which is applicable to the image capturing apparatus 100 shown in FIG. 1. Therefore, in the following description, the method is applied to the image capturing apparatus 100 shown in FIG. 1 as an example. Referring to Figure 2, the process of the method is described as follows:
S201:在变倍拍摄过程中,图像拍摄设备获取取景框中的第一图像。S201: The image capturing device acquires the first image in the finder frame during the zoom shooting.
在本发明实施例中,取景框可以是图像拍摄设备中用于呈现预览图像的部件,该预览图像可以是被拍摄物体的图像。不同的图像拍摄设备中,取景框也不相同,若图像拍摄设备是手机,则取景框位于手机的显示屏中,若图像拍摄设备是相机,则取景框位于相机的取景器中。In the embodiment of the present invention, the finder frame may be a component for presenting a preview image in the image capturing apparatus, and the preview image may be an image of the object to be photographed. In different image capturing devices, the finder frame is also different. If the image capturing device is a mobile phone, the finder frame is located in the display screen of the mobile phone. If the image capturing device is a camera, the finder frame is located in the viewfinder of the camera.
S202:图像拍摄设备分别调整自身中的N个变倍马达和聚焦马达各自的位置,使得取景框中的第一图像的清晰度满足预设条件,实现聚焦;其中N为大于等于2的整数。S202: The image capturing device respectively adjusts the respective positions of the N variable power motors and the focus motors in the frame, so that the sharpness of the first image in the finder frame satisfies a preset condition to achieve focusing; wherein N is an integer greater than or equal to 2.
在本发明实施例中,图像拍摄设备中具备聚焦马达和N个变倍马达,在变倍拍摄过程中,通过调整聚焦马达和N个变倍马达各自的位置,使得图像拍摄设备的取景框中的图像的清晰度满足预设条件,解决了目前的图像拍摄设备中镜头的结构太过简单的技术问题,同时有助于提高图像拍摄设备拍摄的图像质量。In the embodiment of the present invention, the image capturing apparatus is provided with a focus motor and N variable magnification motors, and during zooming, the position of each of the focus motor and the N variable magnification motors is adjusted to make the frame of the image capturing apparatus The resolution of the image satisfies the preset condition, and solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the image quality of the image capturing device.
一种可能的实现方式为,图像拍摄设备中各个马达(N个变倍马达、聚焦马达)之间可以相互联动,例如图像拍摄设备确定N个变倍马达中基准变倍马达的第一目标位置,然后根据该基准变倍马达的第一目标位置确定其它N-1个变倍马达和聚焦马达各自的位置。因此,在S202中,图像拍摄设备可以分三步进行,第一步,图像拍摄设备确定N个变倍马达中基准变倍马达的第一目标位置。第二步,图像拍摄设备根据基准变倍马达的第一目标位置分别确定其它N-1个变倍马达以及聚焦马达各自的目标位置。第三步,图像拍摄设备将所述N个 变倍马达和所述聚焦马达分别移动到各自的目标位置。A possible implementation manner is that each motor (N variable power motors, focus motors) in the image capturing device can be interlocked with each other, for example, the image capturing device determines the first target position of the reference zoom motor in the N variable power motors. Then, the respective positions of the other N-1 variable power motors and the focus motors are determined according to the first target position of the reference zoom motor. Therefore, in S202, the image capturing apparatus can be performed in three steps. In the first step, the image capturing apparatus determines the first target position of the reference zoom motor in the N variable magnification motors. In the second step, the image capturing apparatus determines the respective target positions of the other N-1 variable power motors and the focus motors respectively according to the first target position of the reference zoom motor. In the third step, the image capturing apparatus moves the N variable power motors and the focus motor to respective target positions.
在本发明实施例中,图像拍摄设备中具备N(N为大于等于2的整数)个变倍马达,图像拍摄设备从N个变倍马达中确定基准变倍马达的方式可以有多种,例如随机选择,或者图像拍摄设备根据N个变倍马达的位置来确定基准变倍马达,例如位于靠近镜头最前方的第一个变倍马达则为基准变倍马达,或者位于距离镜头前方最远的一个变倍马达作为基准变倍马达,本领域技术人员可以根据实际情况确定N个变倍马达中哪一个作为基准变倍马达,本发明实施例对此不作具体的限定。图像拍摄设备确定基准变倍马达后,下面介绍S202中第一步的实现方式。In the embodiment of the present invention, the image capturing apparatus includes N (N is an integer greater than or equal to 2) variable magnification motors, and the image capturing apparatus may determine the reference zoom motor from the N variable power motors in various manners, for example, Randomly selected, or the image capturing device determines the reference zoom motor according to the position of the N variable power motors, for example, the first zoom motor located near the forefront of the lens is the reference zoom motor, or is located furthest from the front of the lens A variable-magnification motor is used as the reference zoom motor, and one of the N variable-magnification motors can be determined as a reference zoom motor according to the actual situation, which is not specifically limited in the embodiment of the present invention. After the image capturing apparatus determines the reference zoom motor, the implementation of the first step in S202 is described below.
在本发明实施例中,图像拍摄设备在调整聚焦马达和N个变倍马达各自的位置之前,可以通过自身的输入部件接收变倍指令,即变倍拍摄过程开始,该变倍指令中包含变倍速率。In the embodiment of the present invention, before adjusting the respective positions of the focus motor and the N variable power motors, the image capturing apparatus can receive the zoom instruction through its own input part, that is, the zoom shooting process starts, and the zoom instruction includes the change. Double rate.
前面已经提到过,在本发明实施例中,图像拍摄设备可以是相机、手机、摄像机等等。不同类型的图像拍摄设备中用来输入变倍指令的输入部件往往不同,若图像拍摄设备是手机,则手机中的触摸屏、音量按键等可以作为输入部件来输入变倍指令,若图像拍摄设备是相机,则相机中的变焦环可以作为输入部件来输入变倍指令,本发明实施例对输入部件的具体结构不作限定,本领域技术人员可以根据实际情况而定。As already mentioned, in the embodiment of the invention, the image capturing device may be a camera, a mobile phone, a video camera or the like. The input components used to input the zoom instruction in different types of image capturing devices are often different. If the image capturing device is a mobile phone, the touch screen, the volume button, etc. in the mobile phone can be used as input components to input the zoom instruction, if the image capturing device is In the camera, the zoom ring in the camera can be used as an input component to input a zoom command. The specific structure of the input component is not limited in the embodiment of the present invention, and can be determined by those skilled in the art according to actual conditions.
作为一种示例,以图像拍摄设备是手机为例,用户在拍摄图像时,可以打开手机中的相机,此时,取景框中显示预览图像,用户可以通过手指对预览图像进行缩放操作,触摸屏检测用户手指的移动速率,进而确定变倍速率,那么图像拍摄设备便得到包含变倍速率的变倍指令。As an example, taking the image capturing device as a mobile phone as an example, when the user takes an image, the camera in the mobile phone can be opened. At this time, the preview image is displayed in the finder frame, and the user can zoom the preview image through the finger, and the touch screen detects The rate of movement of the user's finger, which in turn determines the zoom rate, results in an image capture device having a zoom command that includes a zoom rate.
作为另一种示例,图像拍摄设备可以事先设置固定的变倍速率,例如设置一个放大时的变倍速率、一个缩小时的变倍速率,若图像拍摄设备确定用户通过输入部件输入的变倍指令是放大指令,那么图像拍摄设备便默认事先设置的放大时的变倍速率为最终的变倍速率,若图像拍摄设备确定用户通过输入部件输入的变倍指令是缩小指令,那么图像拍摄设备便默认事先设置的缩小时的变倍速率为最终的变倍速率。当然,放大时的变倍速率和缩小时的变倍速率可以相同或者不同,本领域技术人员可以根据具体情况而定,本发明实施例对此不作具体的限定。As another example, the image capturing apparatus may set a fixed zoom rate in advance, for example, setting a zoom ratio at the time of zooming, and a zoom ratio at the time of zooming, if the image capturing apparatus determines a zoom instruction input by the user through the input section. Is the enlargement command, then the image capture device defaults to the zoom ratio at the time of zooming to the final zoom rate. If the image capture device determines that the zoom command input by the user through the input component is a zoom instruction, the image capture device defaults. The zoom rate at the time of reduction set in advance is the final zoom rate. Of course, the zoom rate at the time of zooming and the zoom rate at the time of zooming may be the same or different, and may be determined by a person skilled in the art according to the specific situation, which is not specifically limited in the embodiment of the present invention.
作为另一种示例,由于图像拍摄设备中具有多个变倍马达,图像拍摄设备可以获取每个变倍马达的移动速率,例如,第一变倍马达的移动速率为第一移动速率,第二变倍马达的移动速率为第二移动速率等等。当图像拍摄设备通过自身的输入部件接收变倍指令之后,可以将第一变倍马达的第一移动速率作为变倍速率,或者将第二变倍马达的第二移动速率作为变倍速率。例如,图像拍摄设备通过输入部件接收到的变倍指令是放大指令时,图像拍摄设备便将第一变倍马达的第一移动速率作为变倍速率,图像拍摄设备通过输入部件接收到的变倍指令是缩小指令时,图像拍摄设备便将第二变倍马达的第二移动速率作为变倍速率。同样的,这里的第一移动速率和第二移动速率可以相同也可以不同,本发明实施例对此不作具体的限定。As another example, since the image capturing apparatus has a plurality of variable power motors, the image capturing apparatus can acquire the moving speed of each variable power motor, for example, the moving speed of the first variable power motor is the first moving speed, and the second The moving speed of the zoom motor is the second moving speed or the like. After the image capturing apparatus receives the zoom command through its own input unit, the first moving speed of the first zoom motor may be used as the zoom rate, or the second moving speed of the second zoom motor may be used as the zoom rate. For example, when the zoom instruction received by the image capture device through the input component is an enlargement command, the image capture device uses the first movement rate of the first zoom motor as a zoom rate, and the zoom received by the image capture device through the input component When the instruction is a reduction instruction, the image capturing apparatus uses the second moving rate of the second zoom motor as the zoom rate. Similarly, the first moving rate and the second moving rate may be the same or different, which is not specifically limited in this embodiment of the present invention.
在第一步中,图像拍摄设备通过输入部件接收到变倍指令后,即变倍拍摄开始后,图像拍摄设备可以获取基准变倍马达的初始位置,当然,在实际操作过程中,图像拍摄设备还可以获取N个变倍马达中除基准变倍马达之外的其它N-1个变倍马达的初始位置,以便使用,具体的使用过程将在后续介绍。In the first step, after the image capturing device receives the zoom instruction through the input component, that is, after the zoom shooting starts, the image capturing device can acquire the initial position of the reference zoom motor. Of course, during the actual operation, the image capturing device It is also possible to obtain the initial positions of the N-1 variable-magnification motors other than the reference zoom motor among the N variable-magnification motors for use, and the specific use process will be described later.
作为一种示例,在第一步中,图像拍摄设备可以将上一次的变倍拍摄过程中基准变倍马 达所在的位置作为此次变倍拍摄过程中基准变倍马达的初始位置。As an example, in the first step, the image capturing apparatus may use the position at which the reference zoom motor is in the previous zoom shooting as the initial position of the reference zoom motor during the zoom shooting.
作为另一种示例,在第一步中,图像拍摄设备可以对基准变倍马达进行复位操作,具体过程可以是,图像拍摄设备可以事先设置基准变倍马达的初始位置,当变倍拍摄开始时,图像拍摄设备获取基准变倍马达当前所在的位置,如果基准变倍马达当前所在的位置等于事先设置的初始位置,图像拍摄设备便不需要对基准变倍马达的进行复位操作,如果基准变倍马达当前所在的位置不等于事先设置的初始位置,图像拍摄设备对基准变倍马达进行复位操作,即将基准变倍马达移动到事先设置的初始位置处。在这种方式下,图像拍摄设备每次变倍拍摄开始时,基准变倍马达的初始位置是固定的,无论上一次的变倍拍摄中基准变倍马达所在的位置是如何,只要新的变倍拍摄过程开始,基准变倍马达的初始位置便处于固定的位置处。这种情况下,基准变倍马达的初始位置可以事先设置,具体的值本领域技术人员可以根据实际情况而定,本发明实施例不作具体的限定。As another example, in the first step, the image capturing apparatus may perform a reset operation on the reference zoom motor. The specific process may be that the image capturing apparatus may set the initial position of the reference zoom motor in advance, when the zoom shooting starts. The image capturing device acquires the current position of the reference zoom motor. If the position of the reference zoom motor is currently equal to the initial position set in advance, the image capturing device does not need to reset the reference zoom motor if the reference zooms The position where the motor is currently located is not equal to the initial position set in advance, and the image capturing apparatus performs a reset operation on the reference zoom motor, that is, the reference zoom motor is moved to the initial position set in advance. In this way, the initial position of the reference zoom motor is fixed every time the image capture device starts zooming, regardless of the position of the reference zoom motor in the previous zoom shooting, as long as the new change The multiple shooting process begins and the initial position of the reference zoom motor is at a fixed position. In this case, the initial position of the reference zoom motor may be set in advance, and the specific value may be determined by a person skilled in the art according to the actual situation, and is not specifically limited in the embodiment of the present invention.
因此,在第一步中,图像拍摄设备接收到变倍指令之后,可以根据变倍指令中包含的变倍速率和已经获取到的基准变倍马达的初始位置确定第一预设时间时该基准变倍马达的第一目标位置,即,变倍速率与第一预设时间的乘积。Therefore, in the first step, after receiving the zoom instruction, the image capturing apparatus may determine the first preset time according to the zoom rate included in the zoom instruction and the initial position of the reference zoom motor that has been acquired. The first target position of the zoom motor, that is, the product of the zoom rate and the first preset time.
作为一种示例,图像拍摄设备可以事先设置第一预设时间的具体值。在实际操作过程中,用户通过输入部件调整预览图像的大小时,往往是一个连续的动作,以图像拍摄设备是手机为例,用户通过手指对预览图像进行放大时,往往会持续2-3秒,或更多的时间,因此,S203中的第一预设时间可以是手指对预览图像进行放大的过程中的某一个时间,例如手机检测到用户手指在00:00:10mine开始对预览图像进行放大,那么第一预设时间可以是00::00:12mine,或者00::00:11mine,即手机检测到用户手指开始对预览图像进行放大时,便可预测在下一时刻即第一预设时间后基准变倍马达的第一目标位置。在这种方式下,图像拍摄设备可以在用户调整预览图像的大小的过程中,实时的调整基准变倍马达的第一目标位置,进而调整其它马达的目标位置,尽可能的保证用户调整预览图像的大小的过程中,整个图像一直都较为清晰。As an example, the image capturing apparatus may set a specific value of the first preset time in advance. In the actual operation process, when the user adjusts the size of the preview image through the input component, it is often a continuous action. Taking the image capturing device as a mobile phone as an example, when the user zooms in on the preview image by fingers, it often lasts for 2-3 seconds. , or more time, therefore, the first preset time in S203 may be a certain time in the process of zooming the preview image by the finger, for example, the mobile phone detects that the user's finger starts to preview the image at 00:00:10mine. Zoom in, then the first preset time can be 00::00:12mine, or 00::00:11mine, that is, when the mobile phone detects that the user's finger starts to zoom in on the preview image, it can predict the first preset at the next moment. The first target position of the reference zoom motor after time. In this manner, the image capturing apparatus can adjust the first target position of the reference zoom motor in real time during the process of adjusting the size of the preview image by the user, thereby adjusting the target position of the other motors, and ensuring that the user adjusts the preview image as much as possible. The entire image is always clearer in the process of size.
作为另一种示例,图像拍摄设备可以记录变倍指令的输入时间和变倍指令的停止时间,将这二者之差作为第一预设时间,以图像拍摄设备是手机为例,手机检测到用户手指在00:00:10mine时开始对预览图像进行放大,并检测到用户手指在00::00:13mine停止放大,则图像拍摄设备确定第一预设时间为3秒。这种方式下,操作较为简单,图像拍摄设备可以节省一定的处理过程,并且可以保证用户停止放大时,整个图像较为清晰。As another example, the image capturing apparatus may record the input time of the zoom instruction and the stop time of the zoom instruction, and use the difference between the two as the first preset time, for example, the image capturing device is a mobile phone, and the mobile phone detects When the user's finger starts to enlarge the preview image at 00:00:10mine, and detects that the user's finger stops zooming at 00::00:13mine, the image capturing apparatus determines that the first preset time is 3 seconds. In this way, the operation is relatively simple, the image capturing device can save a certain processing process, and can ensure that the entire image is clear when the user stops zooming.
在实际操作过程中,本领域技术人员可以将上述的两种确定第一预设时间的方式结合,或者还可以采用其它的方式来确定第一预设时间,本发明实施例对此不作具体的限定。During the actual operation, a person skilled in the art may combine the two methods for determining the first preset time, or may also use other manners to determine the first preset time, which is not specifically implemented by the embodiment of the present invention. limited.
图像拍摄设备确定第一预设时间之后,获取第一预设时间和变倍速率的乘积,该乘积即为基准变倍马达的第一目标位置。然后,图像拍摄设备进行S202中的第二步,即图像拍摄设备根据基准变倍马达的第一目标位置确定其它N-1个变倍马达的目标位置和聚焦马达的目标位置。下文将分别介绍图像拍摄设备根据基准变倍马达的第一目标位置确定其它N-1个变倍马达的目标位置的第一个过程和图像拍摄设备根据基准变倍马达的第一目标位置确定聚焦马达的目标位置的第二个过程。这里区分第一个过程和第二个过程只是为了便于理解,并不是对这两个过程的时间先后顺序的限定,在实际操作过程中,这个两个过程可以同时进行也可以不同时进行,本发明实施例不作具体的限定。After the image capturing apparatus determines the first preset time, the product of the first preset time and the zooming rate is obtained, and the product is the first target position of the reference zoom motor. Then, the image capturing apparatus performs the second step in S202, that is, the image capturing apparatus determines the target positions of the other N-1 variable power motors and the target position of the focus motor in accordance with the first target position of the reference zoom motor. The first process of determining the target position of the other N-1 zoom motors according to the first target position of the reference zoom motor by the image capturing apparatus and the image capturing apparatus determining the focus according to the first target position of the reference zoom motor will be separately described below. The second process of the motor's target position. The first process and the second process are distinguished here only for the convenience of understanding, and are not limited to the chronological order of the two processes. In the actual operation process, the two processes can be performed simultaneously or at different times. The embodiment of the invention is not specifically limited.
第一个过程,即图像拍摄设备确定基准变倍马达在第一预设时间的第一目标位置后,可 以进一步确定其它N-1个变倍马达的目标位置,下面介绍图像拍摄设备根据基准变倍马达的第一目标位置确定其它N-1个变倍马达的目标位置的实现方式:The first process, that is, after the image capturing apparatus determines the first target position of the reference zoom motor at the first preset time, the target position of the other N-1 zoom motors can be further determined. The first target position of the double motor determines the implementation of the target positions of the other N-1 variable power motors:
第一种实现方式,图像拍摄设备根据基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置,第一变倍马达是其它N-1个变倍马达中的任意一个马达,第一跟随曲线用于指示基准变倍马达和第一变倍马达之间的位置关系。In a first implementation manner, the image capturing apparatus determines a second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve, and the first zoom motor is another N-1 zoom motor In any one of the motors, the first following curve is used to indicate the positional relationship between the reference zoom motor and the first zoom motor.
若要采取第一种实现方式,则首先需要得到第一跟随曲线,下面介绍图像拍摄设备确定第一跟随曲线的过程,具体描述如下:To adopt the first implementation, firstly, the first following curve needs to be obtained. The following describes the process of determining the first following curve by the image capturing device, which is described as follows:
在本发明实施例中,图像拍摄设备在出厂前,设计人员可以对N个变倍马达的位置进行设计,这是因为,图像拍摄设备采集图像的过程实际上是镜头的光学成像过程,而镜头中包含多个镜片,光学成像过程实际是光线经过各个镜片后到达成像点成像的过程。因此,设计人员在设计镜头中各个镜片的成像的过程中,可以通过实验确定当N个变倍马达中每个变倍马达在哪个位置处,在成像点成像较为清晰,设计人员可以将每个变倍马达的位置记录下来。举例来说,以图像拍摄设备具有3个变倍马达为例,设计人员将基准变倍马达设置于第一位置处后,可以寻找第一变倍马达的最佳位置,使得第一变倍马达在该最佳位置处,光线通过基准变倍马达和第一变倍马达时,在成像点成像较为清晰,当寻找到第一变倍马达的最佳位置后,可以继续寻找第二变倍马达的最佳位置,使得光线通过基准变倍马达、第一变倍马达和第二变倍马达之后,在成像点成像较为清晰。当然前述的只是举例,在实际操作过程中,设计人员还可以根据其它的方式来获得每个变倍马达的最佳位置。In the embodiment of the present invention, the image capturing device can design the position of the N variable-magnification motors before leaving the factory, because the process of capturing images by the image capturing device is actually the optical imaging process of the lens, and the lens Multiple lenses are included, and the optical imaging process is actually the process of imaging the light through each lens to the imaging point. Therefore, in the process of designing each lens in the lens, the designer can experimentally determine at which position of each of the N variable-magnification motors, the imaging point is clear, the designer can each The position of the zoom motor is recorded. For example, taking an image capturing device with three zoom motors as an example, after the designer sets the reference zoom motor at the first position, the optimal position of the first zoom motor can be found, so that the first zoom motor At the optimal position, when the light passes through the reference zoom motor and the first zoom motor, the image is more clearly imaged, and after finding the optimal position of the first zoom motor, the second zoom motor can be continuously searched. The optimal position is such that after the light passes through the reference zoom motor, the first zoom motor and the second zoom motor, the image is more clearly imaged. Of course, the foregoing is only an example. In actual operation, the designer can also obtain the optimal position of each variable motor according to other methods.
设计人员可以将基准变倍马达的第一位置、第一变倍马达的最佳位置和第二变倍马达的最佳位置记录下来。例如,设计人员可以将此时基准变倍马达的第一位置和第一变倍马达的最佳位置在第一个二维坐标系中标出,该二维坐标系的横坐标可以表示基准变倍马达的位置,纵坐标表示第一变倍马达的位置,当然,也可以是横坐标表示第一变倍马达的位置、纵坐标表示基准变倍马达的位置。同样的,设计人员还可以将基准变倍马达的第一位置和第二变倍马达的最佳位置在第二个二维坐标系中标出,该二维坐标系的横坐标可以表示基准变倍马达的位置,纵坐标可以表示第二变倍马达的位置,同样的,也可以是横坐标表示第二变倍马达的位置,纵坐标表示基准变倍马达的位置。The designer can record the first position of the reference zoom motor, the optimal position of the first zoom motor, and the optimal position of the second zoom motor. For example, the designer can mark the first position of the reference zoom motor and the optimal position of the first zoom motor in the first two-dimensional coordinate system, and the abscissa of the two-dimensional coordinate system can represent the reference zoom. The position of the motor and the ordinate indicate the position of the first zoom motor. Of course, the abscissa indicates the position of the first zoom motor, and the ordinate indicates the position of the reference zoom motor. Similarly, the designer can also mark the first position of the reference zoom motor and the optimal position of the second variable power motor in a second two-dimensional coordinate system, and the abscissa of the two-dimensional coordinate system can represent the reference zoom. The position of the motor, the ordinate may indicate the position of the second variable power motor, and the abscissa may indicate the position of the second variable power motor, and the ordinate indicates the position of the reference zoom motor.
然后,设计人员可以将基准变倍马达由原来的第一位置调整到第二位置,由于基准变倍马达的位置发生改变,所以为了保证最终在成像点成像较为清晰,设计人员还需要再次寻找第一变倍马达的最佳位置和第二变倍马达的最佳位置。即设计人员每次改变基准变倍马达的位置之后,可以重新确定第一变倍马达和第二变倍马达的最佳位置。此时,设计人员可以将基准变倍马达的第二位置和第一变倍马达的新的最佳位置在前面提到的第一个二维坐标系中标出,还可以将基准变倍马达的第二位置和第二变倍马达的新的最佳位置在前面提到的第二个二维坐标系中标出。这样的话,设计人员每改变一次基准变倍马达的位置,便会得到第一变倍马达和第二变倍马达的新的最佳位置,设计人员将每次得到的点在对应的坐标系中标出,这样,在二维坐标系中将有一系列的点,这些点便可得到一条曲线,在第一个二维坐标系中得到的曲线可以称为(zoom0、zoom1)曲线,其中,zoom0表示基准变倍马达,zoom1表示第一变倍马达,该(zoom0、zoom1)曲线则用于指示基准变倍马达和第一变倍马达之间的位置关系。同样的,在第二个二维坐标系中得到的曲线可以称为(zoom0、zoom2)曲线,其中,zoom0表示基准变倍马达,zoom2表示第二变倍马达,该(zoom0、zoom2)曲线则用于指示基准变倍马达和第二变倍马达之间的位置关系。Then, the designer can adjust the reference zoom motor from the original first position to the second position. Since the position of the reference zoom motor changes, in order to ensure that the imaging at the imaging point is clear, the designer needs to find the first. The optimal position of a variable motor and the optimal position of the second variable motor. That is, each time the designer changes the position of the reference zoom motor, the optimal position of the first zoom motor and the second zoom motor can be re-determined. At this point, the designer can mark the second position of the reference zoom motor and the new optimal position of the first zoom motor in the first two-dimensional coordinate system mentioned above, and can also convert the reference zoom motor. The new position of the second position and the second variable power motor is indicated in the second two-dimensional coordinate system mentioned above. In this case, each time the designer changes the position of the reference zoom motor, the new optimal position of the first zoom motor and the second zoom motor is obtained, and the designer will mark the point obtained each time in the corresponding coordinate system. In this way, there will be a series of points in the two-dimensional coordinate system, and these points will get a curve. The curve obtained in the first two-dimensional coordinate system can be called (zoom0, zoom1) curve, where zoom0 represents The reference zoom motor, zoom1 represents the first zoom motor, and the (zoom0, zoom1) curve is used to indicate the positional relationship between the reference zoom motor and the first zoom motor. Similarly, the curve obtained in the second two-dimensional coordinate system may be referred to as a (zoom0, zoom2) curve, wherein zoom0 represents a reference zoom motor, zoom2 represents a second zoom motor, and the (zoom0, zoom2) curve is It is used to indicate the positional relationship between the reference zoom motor and the second zoom motor.
设计人员得到(zoom0、zoom1)曲线、(zoom0、zoom1)曲线之后,可以将这些曲线存储于图像拍摄设备中,以便使用。图3示出了第一跟随曲线的示意图,图3中,(zoom0、zoom1)曲线和(zoom0、zoom1)曲线在同一个二维坐标系中,横坐标为基准变倍马达的位置,纵坐标是第一变倍马达或第二变倍马达的位置。After the designer gets the (zoom0, zoom1) curve, (zoom0, zoom1) curve, these curves can be stored in the image capture device for use. 3 shows a schematic diagram of the first following curve. In FIG. 3, the (zoom0, zoom1) curve and the (zoom0, zoom1) curve are in the same two-dimensional coordinate system, and the abscissa is the position of the reference zoom motor, and the ordinate. It is the position of the first zoom motor or the second zoom motor.
因此,在第一种实现方式下,图像拍摄设备确定基准变倍马达的第一目标位置之后,便可根据(zoom0、zoom1)曲线,得到第一变倍马达的第二目标位置,同样的,根据(zoom0、zoom1)曲线得到第二变倍马达的第三目标位置。举例来说,请继续参阅图3,基准变倍马达的第一目标位置为26,即横坐标在26,则根据(zoom0、zoom1)曲线确定第一变倍马达的第二目标位置为5,根据(zoom0、zoom1)曲线确定第二变倍马达的第三目标位置为20。Therefore, in the first implementation manner, after the image capturing apparatus determines the first target position of the reference zoom motor, the second target position of the first zoom motor can be obtained according to the (zoom0, zoom1) curve. The third target position of the second zoom motor is obtained according to the (zoom0, zoom1) curve. For example, please continue to refer to FIG. 3, the first target position of the reference zoom motor is 26, that is, the abscissa is 26, and the second target position of the first zoom motor is determined to be 5 according to the (zoom0, zoom1) curve. The third target position of the second zoom motor is determined to be 20 according to the (zoom0, zoom1) curve.
以上至少介绍了图像拍摄设备具有3个变倍马达的情况,对于图像拍摄设备具有更多变倍马达的情况是类似的,即图像拍摄设备中存储有N-1条曲线,每条曲线代表基准变倍马达与其它N-1个变倍马达中的某一个变倍马达之间的位置关系曲线,图像拍摄设备确定基准变倍马达的第一目标位置之后,便可以根据这N-1条曲线逐一确定其它N-1的变倍马达的目标位置。At least the case where the image capturing apparatus has three variable power motors is described above, and the case where the image capturing apparatus has more variable power motors is similar, that is, the image capturing apparatus stores N-1 curves, and each curve represents a reference. A positional relationship curve between the variable power motor and one of the other N-1 variable power motors. After the image capturing device determines the first target position of the reference zoom motor, the N-1 curve can be determined according to the N-1 curve. The target positions of the other N-1 variable power motors are determined one by one.
第二种实现方式,图像拍摄设备首先根据基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;然后,图像拍摄设备根据第一变倍马达的第二目标位置分别确定N-1个变倍马达中除第一变倍马达之外的每个变倍马达的目标位置。In a second implementation manner, the image capturing apparatus first determines a second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve; and then, the image capturing apparatus is configured according to the first zoom motor The two target positions respectively determine the target positions of each of the N-1 variable power motors other than the first variable power motor.
在这种方式下,图像拍摄设备根据基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置的方式可以与第一种实现方式下的情况类似。这里的第一变倍马达可以是其它N-1个变倍马达中的任意一个变倍马达。当图像拍摄设备确定第一变倍马达的第二目标位置之后,可以继续根据第一变倍马达的第二目标位置分别确定其它N-2个变倍马达的目标位置。In this manner, the manner in which the image capturing apparatus determines the second target position of the first zoom motor based on the first target position of the reference zoom motor and the first following curve may be similar to the case in the first implementation. The first zoom motor here may be any one of the other N-1 variable power motors. After the image capturing apparatus determines the second target position of the first zoom motor, the target positions of the other N-2 zoom motors may be respectively determined according to the second target position of the first zoom motor.
在前面的介绍中提到过,设计人员可以将基准变倍马达的位置和第二变倍马达的位置在二维坐标系中标出,实际上,设计人员还可以将第一变倍马达的位置和第二变倍马达的位置在第三个二维坐标系中标出,在该二维坐标系中,横坐标可以表示第一变倍马达的位置,纵坐标可以表示第二基准变倍马达的位置,即在第三个二维坐标系中得到的曲线是(zoom1、zoom2)曲线,其中,zoom1表示第一变倍马达,zoom2表示第二变倍马达,该(zoom1、zoom2)曲线则用于指示第一变倍马达和第二变倍马达之间的位置关系。As mentioned in the previous introduction, the designer can mark the position of the reference zoom motor and the position of the second zoom motor in a two-dimensional coordinate system. In fact, the designer can also position the first zoom motor. And the position of the second variable power motor is marked in a third two-dimensional coordinate system, in which the abscissa can represent the position of the first zoom motor and the ordinate can represent the second reference zoom motor The position, that is, the curve obtained in the third two-dimensional coordinate system is a (zoom1, zoom2) curve, wherein zoom1 represents the first zoom motor, zoom2 represents the second zoom motor, and the (zoom1, zoom2) curve is used. The positional relationship between the first zoom motor and the second zoom motor is indicated.
因此,在第二种方式下,图像拍摄设备可以根据基准变倍马达的第一目标位置和(zoom0、zoom1)曲线确定第一变倍马达的第二目标位置,然后,根据第一变倍马达的第二目标位置和(zoom1、zoom2)曲线确定第二变倍马达的第三目标位置,以此类推得到其他N-2个的变倍马达的目标位置。Therefore, in the second mode, the image capturing apparatus can determine the second target position of the first zoom motor according to the first target position of the reference zoom motor and the (zoom0, zoom1) curve, and then, according to the first zoom motor The second target position and (zoom1, zoom2) curve determine the third target position of the second zoom motor, and so on, and the target positions of the other N-2 zoom motors are derived.
以上只是列举了图像拍摄设备根据基准变倍马达的第一目标位置确定其它N-1个变倍马达的目标位置的两种实现方式,在实际操作过程中,还可以有其它的实现方式,本发明实施例对此不作具体的限定。The above only enumerates two implementation manners for determining the target position of the other N-1 variable power motors according to the first target position of the reference zoom motor by the image capturing device. In the actual operation process, there may be other implementation manners. The embodiment of the invention is not specifically limited thereto.
在实际应用中,图像拍摄设备的镜头中通常还会包括聚集马达,图像拍摄设备通过该聚集马达移动聚焦镜片的位置,进而改变相距,以使得图像在成像点的成像质量较好例如清晰度较高。下面介绍图像拍摄设备确定聚焦马达的目标位置的过程,即S202的第二个过程,图像拍摄设备根据基准变倍马达的第一目标位置确定聚集马达的目标位置的实现方式。In practical applications, the lens of the image capturing apparatus usually includes an concentrating motor, and the image capturing apparatus moves the position of the focusing lens by the concentrating motor, thereby changing the distance, so that the image quality of the image at the imaging point is better, for example, the sharpness is better. high. The following describes a process in which the image capturing apparatus determines the target position of the focus motor, that is, the second process of S202, in which the image capturing apparatus determines the target position of the focusing motor based on the first target position of the reference zoom motor.
第一种实现方式,图像拍摄设备在确定基准变倍马达的第一目标位置之后,可以根据基 准变倍马达的第一目标位置和第二跟随曲线确定聚焦马达的第三目标位置,这里的第二跟随曲线用于指示基准变倍马达和聚焦马达之间的位置关系。下面介绍图像拍摄设备确定第二跟随曲线的过程。In a first implementation manner, after determining the first target position of the reference zoom motor, the image capturing apparatus may determine the third target position of the focus motor according to the first target position and the second following curve of the reference zoom motor, where The second following curve is used to indicate the positional relationship between the reference zoom motor and the focus motor. The process of determining the second following curve by the image capturing apparatus will be described below.
作为一种示例,图像拍摄设备可以获取聚集马达的初始位置,然后图像拍摄设备可以根据基准变倍马达的初始位置、聚集马达的初始位置和成像公式确定第一物距,成像公式如下:As an example, the image capturing apparatus may acquire an initial position of the focusing motor, and then the image capturing apparatus may determine the first object distance according to the initial position of the reference zoom motor, the initial position of the focusing motor, and the imaging formula, and the imaging formula is as follows:
Figure PCTCN2018101057-appb-000001
Figure PCTCN2018101057-appb-000001
其中,f代表焦距,即基准变倍马达的位置,v代表相距,即聚焦马达的位置。u代表物距,即物体与镜头之间的距离。基准变倍马达的初始位置用f 0表示、聚集马达的初始位置用v 0表示,将f0和v0带入上述成像公式即可得到第一物距u0,进而得到在第一物距u0下基准变倍马达和聚集马达的(zoom0、focus)曲线,即 Where f represents the focal length, ie the position of the reference zoom motor, and v represents the distance, ie the position of the focus motor. u represents the object distance, which is the distance between the object and the lens. The initial position of the reference zoom motor is denoted by f 0 , the initial position of the concentrating motor is denoted by v 0 , and f0 and v0 are brought into the above imaging formula to obtain the first object distance u0, thereby obtaining the reference at the first object distance u0. The zoom (zoom0, focus) curve of the zoom motor and the gather motor, ie
Figure PCTCN2018101057-appb-000002
Figure PCTCN2018101057-appb-000002
图像拍摄设备计算得到第一物距u 0下的(zoom0、focus)曲线之后,可以根据基准变倍马达的第一目标位置和该第一物距u 0下的(zoom0、focus)曲线确定聚焦马达的第三目标位置。图4示出了第一物距u 0下的(zoom0、focus)曲线,图4所示的二维坐标系中,横坐标代表基准变倍马达的位置,纵坐标代表聚集马达的位置,图像拍摄设备确定基准变倍马达的第一目标位置即横坐标的取值之后,根据第一物距u 0下的(zoom0、focus)曲线确定聚集马达的第三目标位置即纵坐标的取值。 After the image capturing device calculates the (zoom0, focus) curve of the first object distance u 0 , the focus can be determined according to the first target position of the reference zoom motor and the (zoom0, focus) curve of the first object distance u 0 . The third target position of the motor. 4 shows a (zoom0, focus) curve at a first object distance u 0 . In the two-dimensional coordinate system shown in FIG. 4 , the abscissa represents the position of the reference zoom motor, and the ordinate represents the position of the gather motor, the image After the photographing device determines the value of the first target position of the reference zoom motor, that is, the abscissa, the value of the third target position, that is, the ordinate, of the gather motor is determined according to the (zoom0, focus) curve at the first object distance u 0 .
图像拍摄设备可以进一步确定聚集马达的目标位置是否是最佳的位置,例如图像拍摄设备在确定各个变倍马达和聚集马达的目标位置之后,可以将各个变倍马达以及聚集马达移动到各自的目标位置处,然后,图像拍摄设备可以判断取景框中的第一图像的清晰度是否满足预设条件,若满足,则图像拍摄设备确定聚集马达的目标位置是最佳的位置,若不满足,则说明图像拍摄设备根据第一物距u 0下的(zoom0、focus)曲线确定出的聚集马达的第三目标位置不合适,图像拍摄设备需要重新计算新的物距下的(zoom0、focus)曲线。下面介绍图像拍摄设备重新计算新的物距下的(zoom0、focus)曲线的方式。 The image capturing apparatus may further determine whether the target position of the concentrating motor is an optimal position, for example, after the image capturing apparatus determines the target positions of the respective zoom motor and the concentrating motor, each zoom motor and the concentrating motor may be moved to respective targets. Positioning, then, the image capturing apparatus may determine whether the sharpness of the first image in the finder frame satisfies a preset condition, and if so, the image capturing apparatus determines that the target position of the gathering motor is the optimal position, if not, then The image capturing device needs to recalculate the (zoom0, focus) curve of the new object distance according to the (zoom0, focus) curve of the first object distance u 0 (the zoom target is not suitable). . The following describes how the image capture device recalculates the (zoom0, focus) curve at the new object distance.
作为一种示例,前面提到过,图像拍摄设备计算第一物距u 0下的(zoom0、focus)曲线时,是通过基准变倍马达的初始位置f 0和聚集马达的初始位置v 0来计算的,那么图像拍摄设备重新计算新的物距下的(zoom0、focus)曲线时,可以将聚集马达的初始位置v 0按照第一方向改变预设的值,得到聚集马达的新的位置,用v 1表示,这里提到的预设的值可以是小于等于聚集马达的焦深值得任意一个值。图像拍摄设备确定聚集马达的新位置即v 1之后,可以根据基准变倍马达的初始位置f 0和聚集马达的新位置v 1以及成像公式得到第二物距u 1,即将v 1和f 0带入到成像公式,得到第二物距u 1,,进而得到第二物距u 1下的(zoom0、focus)曲线,即 As an example, as mentioned above, the image capturing apparatus calculates the (zoom0, focus) curve of the first object distance u 0 by the initial position f 0 of the reference zoom motor and the initial position v 0 of the gather motor. Calculated, when the image capturing device recalculates the (zoom0, focus) curve under the new object distance, the initial position v 0 of the collecting motor can be changed according to the first direction to a preset value to obtain a new position of the collecting motor. Expressed by v 1 , the preset value mentioned here may be any value less than or equal to the depth of focus of the collecting motor. After the image capturing apparatus determines the new position of the gathering motor, that is, v 1 , the second object distance u 1 , that is, v 1 and f 0 , can be obtained according to the initial position f 0 of the reference zoom motor and the new position v 1 of the collecting motor and the imaging formula. Bring into the imaging formula to obtain the second object distance u 1, and then obtain the (zoom0, focus) curve of the second object distance u 1 , ie
Figure PCTCN2018101057-appb-000003
Figure PCTCN2018101057-appb-000003
图像拍摄设备得到第二物距u 1下的(zoom0、focus)曲线之后,可以根据基准变倍马达的第一目标位置和第二物距u 1下的(zoom0、focus)曲线重新确定聚集马达的第四目标位置。 请继续参阅图4所示,图像拍摄设备确定基准变倍马达的第一目标位置即横坐标的取值之后,可以根据第二物距u 1下的(zoom0、focus)曲线确定聚集马达的第四目标位置及纵坐标的取值。 After the second image pickup apparatus to give the object distance u 1 (zoom0, focus) curve, at a distance u can (zoom0, focus) the reference target position in accordance with a first motor and a second variator curve was again determined aggregate motor The fourth target position. Please continue to refer to FIG. 4, after the image capturing apparatus determines the first target position of the reference zoom motor, that is, the value of the abscissa, the first step of determining the gather motor according to the (zoom0, focus) curve of the second object distance u 1 The value of the four target positions and the ordinate.
当然,图像拍摄设备可以再次确定聚焦马达的目标位置是否为最佳的位置,即图像拍摄设备可以再次判断取景框中的第一图像的清晰度是否满足预设条件,若不满足,则说明图像拍摄设备根据第二物距u 1下的(zoom0、focus)曲线确定聚集马达的第四目标位置不合适,图像拍摄设备还需要再次重新计算新的物距下的(zoom0、focus)曲线,具体过程可以为:图像拍摄设备将聚集马达的初始位置v 0按照第二方向(与第一方向相反的方向)改变预设的值,得到聚集马达的新的位置,用v 2表示,这里提到的预设的值可以是小于等于聚集马达的焦深值得任意一个值。图像拍摄设备确定聚集马达的新位置即v 2之后,可以根据基准变倍马达的初始位置f 0、聚集马达的新位置v 2和成像公式得到第三物距u 2,即将v 2和f 0带入到成像公式,得到第三物距u 2,进而得到第三物距u 2下的(zoom0、focus)曲线,即 Of course, the image capturing apparatus can determine again whether the target position of the focus motor is the optimal position, that is, the image capturing apparatus can again determine whether the sharpness of the first image in the finder frame satisfies a preset condition, and if not, the image is illustrated. The photographing device determines that the fourth target position of the gather motor is not suitable according to the (zoom0, focus) curve of the second object distance u 1 , and the image photographing device needs to recalculate the (zoom0, focus) curve under the new object distance again. The process may be: the image capturing device changes the initial position v 0 of the collecting motor according to the second direction (the direction opposite to the first direction) by a preset value to obtain a new position of the collecting motor, denoted by v 2 , mentioned here The preset value may be equal to or less than the focal depth of the concentrating motor. After the image capturing apparatus determines the new position of the concentrating motor, that is, v 2 , the third object distance u 2 , that is, v 2 and f 0 , may be obtained according to the initial position f 0 of the reference variator motor, the new position v 2 of the concentrating motor, and the imaging formula. Bringing into the imaging formula, the third object distance u 2 is obtained, and then the (zoom0, focus) curve of the third object distance u 2 is obtained, that is,
Figure PCTCN2018101057-appb-000004
Figure PCTCN2018101057-appb-000004
图像拍摄设备得到第三物距u 2下的(zoom0、focus)曲线之后,可以根据基准变倍马达的第一目标位置和第三物距u 2下的(zoom0、focus)曲线重新确定聚集马达的第五目标位置。请继续参阅图4所示,图像拍摄设备确定基准变倍马达的第一目标位置即横坐标的取值之后,可以根据第三物距u2下的(zoom0、focus)曲线确定聚集马达的第五目标位置及纵坐标的取值。 After the third image pickup apparatus to give the object distance u 2 (zoom0, focus) curves, the distance u 2 according to the first target position and the third reference was zooming motor (zoom0, focus) motor aggregation curve redetermined The fifth target position. Please continue to refer to FIG. 4, after the image capturing apparatus determines the first target position of the reference zoom motor, that is, the value of the abscissa, the fifth of the gather motor can be determined according to the (zoom0, focus) curve of the third object distance u2. The value of the target position and the ordinate.
前面提到的图像拍摄设备将聚焦马达的初始位置按照第一方向或第二方向改变预设的值,请继续参阅图4,图4中纵坐标代表聚焦马达的位置,第一方向可以是纵坐标增大的方向即near方向,那么第二方向即纵坐标减小的方向即far方向,或者相反,即第一方向是far方向,第二方向是near方向。The image capturing apparatus mentioned above changes the initial position of the focus motor in a first direction or a second direction to change a preset value. Please continue to refer to FIG. 4. In FIG. 4, the ordinate represents the position of the focus motor, and the first direction may be vertical. The direction in which the coordinates increase is the near direction, then the second direction, that is, the direction in which the ordinate decreases, that is, the far direction, or vice versa, that is, the first direction is the far direction, and the second direction is the near direction.
前面提到的图像拍摄设备可以判断取景框中的第一图像的清晰度是否满足预设条件,下面介绍图像拍摄设备判断第一图像的清晰度是否满足预设条件的过程。The image capturing apparatus mentioned above can determine whether the sharpness of the first image in the finder frame satisfies a preset condition. The following describes a process in which the image capturing apparatus determines whether the sharpness of the first image satisfies a preset condition.
作为一种示例,图像拍摄设备中事先存储清晰度标准值,当取景框中的第一图像的清晰度大于等于该清晰度标准值时,则确定其满足预设条件。As an example, the image capture device stores the sharpness standard value in advance, and when the sharpness of the first image in the finder frame is greater than or equal to the sharpness standard value, it is determined that the preset condition is satisfied.
作为另一种示例,由于图像拍摄设备在变倍拍摄过程中,取景框中的第一图像是实时变化的,例如在逐渐放大或者缩小,所以图像拍摄设备在某一次调整聚焦马达的位置后,将取景框中的第一图像的清晰度记录下来,并将记录的第一图像的清晰度与上一次调整聚焦马达的位置后,取景框中的第二图像的清晰度进行比较,若第二图像的清晰度小于第一图像的清晰度,则说明图像拍摄设备第二次确定的聚焦马达的目标位置是合适的,若第二图像的清晰度大于第一图像的清晰度,则说明图像拍摄设备第二次确定的聚焦马达的目标位置是不合适的,若第一次、第二次均是是按照第一方向调整聚焦马达的位置的,那么之后可以以第二方向(与第一方向相反)调整聚焦马达的目标位置。As another example, since the image capturing apparatus changes the first image in real time during the zoom shooting process, for example, gradually zooming in or out, the image capturing apparatus adjusts the position of the focus motor one time. Recording the sharpness of the first image in the framing frame, and comparing the sharpness of the recorded first image with the sharpness of the second image in the framing frame after the position of the focus motor was last adjusted, if the second The sharpness of the image is smaller than the sharpness of the first image, indicating that the target position of the focus motor determined by the image capturing device is suitable for the second time. If the sharpness of the second image is greater than the sharpness of the first image, the image is taken. The target position of the focus motor determined by the device for the second time is not suitable. If the first and second times are to adjust the position of the focus motor in the first direction, then the second direction (and the first direction) may be followed. Instead, adjust the target position of the focus motor.
举例来说,图像拍摄设备在变倍开始时,获取取景框中的第一图像,当图像拍摄设备将各个变倍马达以及聚焦马达各自的目标位置分别移动到各自的目标位置时,此时图像拍摄设备可以再次获取取景框中的第二图像,若第二图像的清晰度大于第一图像的清晰度,则图像拍摄设备对聚焦马达的位置的调整是合适的,若第二图像的清晰度小于第二图像的清晰度, 则图像拍摄设备对聚焦马达的位置的调整是不合适的,则图像拍摄设备可以继续调整聚焦马达的位置,使得第二图像的清晰度大于第一图像。For example, the image capturing apparatus acquires the first image in the framing frame at the start of the zooming, and when the image capturing apparatus moves the respective target positions of the respective zoom motor and the focus motor to the respective target positions, respectively, the image at this time The photographing device can acquire the second image in the framing frame again. If the sharpness of the second image is greater than the sharpness of the first image, the adjustment of the position of the focus motor by the image capturing device is appropriate, if the sharpness of the second image is Less than the sharpness of the second image, the adjustment of the position of the focus motor by the image capture device is not appropriate, and the image capture device can continue to adjust the position of the focus motor such that the sharpness of the second image is greater than the first image.
第二种实现方式,前面已经提到过,图像拍摄设备可以根据基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;第一跟随曲线用于指示基准变倍马达和第一变倍马达之间的位置关系;第一变倍马达为所述N-1个变倍马达中的任意一个马达;因此,图像拍摄设备在确定第一变倍马达的第二目标位置之后,还可以根据第一变倍马达的第二目标位置和第二跟随曲线确定聚焦马达的第三目标位置,这里的第二跟随曲线用于指示第一变倍马达和聚焦马达之间的位置关系。A second implementation manner, as mentioned above, the image capturing apparatus may determine the second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve; the first following curve is used to indicate a positional relationship between the reference zoom motor and the first variable power motor; the first variable power motor is any one of the N-1 variable power motors; therefore, the image capturing device determines the first zoom motor After the second target position, the third target position of the focus motor may also be determined according to the second target position of the first zoom motor and the second following curve, where the second following curve is used to indicate the first zoom motor and the focus motor The positional relationship between.
在第二种方式中,图像拍摄设备确定第二跟随曲线的方式与第一种方式中确定第二跟随曲线的方式类似,为了说明书的简洁在此不作赘述。In the second mode, the manner in which the image capturing device determines the second following curve is similar to the manner in which the second following curve is determined in the first mode. For the sake of brevity of the description, no further details are provided herein.
因此,图像拍摄设备可以根据基准变倍马达的第一目标位置确定聚集马达的目标位置,还可以首先根据基准变倍马达的第一目标位置确定其它N-1个变倍马达中的任意一个变倍马达的第二目标位置,然后根据确定出的任意一个变倍马达的第二目标位置确定聚集马达的目标位置。图像拍摄设备得到聚焦马达的目标位置之后,可以将N个变倍马达(在第一个过程中已经确定N个变倍马达各自的目标位置)和聚焦马达分别移动到各自对应的目标位置。Therefore, the image capturing apparatus may determine the target position of the concentrating motor according to the first target position of the reference variator motor, and may first determine any one of the other N-1 variator motors according to the first target position of the reference variator motor. The second target position of the motor is then determined, and then the target position of the concentrating motor is determined according to the determined second target position of any of the variator motors. After the image capturing apparatus obtains the target position of the focus motor, the N variable power motors (the respective target positions of the N variable power motors have been determined in the first process) and the focus motor can be respectively moved to the respective target positions.
需要说明的是,前面已经提到过,图像拍摄设备在判断聚焦马达的目标位置是否是最佳位置,可以将N个变倍马达的分别移动到已经确定出的每个变倍马达的目标位置处,然后通过判断取景框中的第一图像的清晰度进而判断聚焦马达的目标位置是否是最佳位置,所以,若图像拍摄设备经历过一次判断聚焦马达的目标位置是否是最佳位置的过程,说明N个变倍马达已经移动到各自的目标位置,只需再将聚焦马达移动到它自身的目标位置即可。It should be noted that, as already mentioned, the image capturing apparatus can determine whether the target position of the focus motor is the optimal position, and can respectively move the N variable power motors to the determined target position of each variable power motor. And then determining whether the target position of the focus motor is the optimal position by judging the sharpness of the first image in the framing frame, so if the image capturing apparatus has experienced a process of determining whether the target position of the focus motor is the optimal position , indicating that the N variable-magnification motors have moved to their respective target positions, and only need to move the focus motor to its own target position.
作为一种示例,图像拍摄设备可以将N个变倍马达和聚焦马达的目标位置下发于步进电机,由步进电机带动N个变倍马达和聚焦马达分别移动,使得N个变倍马达和聚焦马达同时移动到各自的目标位置处。As an example, the image capturing apparatus may send the target positions of the N variable power motors and the focus motor to the stepping motor, and the stepping motor drives the N variable power motors and the focus motor to move respectively, so that the N variable power motors are respectively Move to the respective target position simultaneously with the focus motor.
现有技术中,图像拍摄设备确定聚焦马达的位置是过程为,在图像拍摄设备中事先存储不同物距曲线下的(zoom、focus)曲线,图像拍摄设备确定变倍马达的目标位置之后,在事先存储的所有的不同物距下的(zoom0、focus)曲线中寻找合适的(zoom0、focus)曲线,举例来说,图像拍摄设备中事先存储有物距分别为5、8、10米下的(zoom0、focus)曲线,图像拍摄设备确定变倍马达的目标位置之后,只能在这三条曲线中寻找最佳的(zoom0、focus)曲线,但实际上,这三条(zoom0、focus)曲线对应的物距之间的粒度较大,例如图像拍摄设备从物距为8的(zoom0、focus)曲线切换到物距为5的(zoom0、focus)曲线时,就错过了物距为5-8之间的其它物距下的(zoom0、focus)曲线,所以,由于确定的(zoom0、focus)曲线不准确,进而导致确定的聚焦马达的位置不准确。In the prior art, the image capturing apparatus determines the position of the focus motor as a process in which a zoom (zoom, focus) curve under different object distance curves is stored in advance, and after the image capturing apparatus determines the target position of the zoom motor, Find the appropriate (zoom0, focus) curve in the (zoom0, focus) curve of all the different object distances stored in advance. For example, the image capturing equipment stores the object distances of 5, 8, and 10 meters respectively. (zoom0, focus) curve, after the image capturing device determines the target position of the zoom motor, it can only find the best (zoom0, focus) curve among the three curves, but in fact, these three (zoom0, focus) curves correspond to The granularity between the object distances is large. For example, when the image capturing device switches from the (zoom0, focus) curve with the object distance of 8 to the (zoom0, focus) curve with the object distance of 5, the object distance is missed by 5-8. The (zoom0, focus) curve between the other object distances, so the position of the determined focus motor is inaccurate due to the inaccurate (zoom0, focus) curve.
在本发明实施例中,图像拍摄设备中具备N个变倍马达,图像拍摄设备可以根据N个变倍马达中的基准变倍马达分别确定其它N-1个变倍马达和聚焦马达各自的目标位置,并且在确定聚焦马达的目标位置的过程中,图像拍摄设备可以实时的计算不同物距下的(zoom0、focus)曲线,每次计算物距时,都是将聚焦马达当前的位置改变小于焦深的预设值得到新的位置,然后根据新的位置和基准变倍马达的当前的位置,得到较为准确的新的物距,进而得到该物距下的(zoom0、focus)曲线。进一步,图像拍摄设备在得到新的物距下的(zoom0、focus)曲线之后,可以判断通过该物距下(zoom0、focus)曲线得到的聚焦马达的目标位置是否合适,若不合适,可以重新计算物距以及该物距下的(zoom0、focus)曲线,即重新确 定聚焦马达的目标位置,直到确定的聚焦马达的目标位置合适为止。因此,在本发明实施例中,图像拍摄设备可以较为准确的确定出最佳物距下的(zoom0、focus)曲线,进而较为准确的确定出聚焦马达的目标位置,有助于提高图像拍摄设备拍摄的图像质量。In the embodiment of the present invention, the image capturing apparatus is provided with N variable magnification motors, and the image capturing apparatus can respectively determine the respective targets of the other N-1 variable power motors and the focus motors according to the reference variable power motors of the N variable power motors. Position, and in the process of determining the target position of the focus motor, the image capturing device can calculate the (zoom0, focus) curve under different object distances in real time, and each time the object distance is calculated, the current position of the focus motor is changed less than The preset value of the depth of focus obtains a new position, and then according to the new position and the current position of the reference zoom motor, a relatively accurate new object distance is obtained, and then the (zoom0, focus) curve of the object distance is obtained. Further, after obtaining the (zoom0, focus) curve of the new object distance, the image capturing device can determine whether the target position of the focus motor obtained by the object distance (zoom0, focus) curve is appropriate, and if not, it can be re The object distance and the (zoom0, focus) curve of the object distance are calculated, that is, the target position of the focus motor is re-determined until the determined target position of the focus motor is appropriate. Therefore, in the embodiment of the present invention, the image capturing device can accurately determine the (zoom0, focus) curve under the optimal object distance, thereby more accurately determining the target position of the focus motor, and contributing to the improvement of the image capturing device. The quality of the image taken.
总结来说,在本发明实施例中,图像拍摄设备中具备聚焦马达和N个变倍马达,在变倍拍摄过程中,通过调整聚焦马达和N个变倍马达各自的位置,使得图像拍摄设备的取景框中的图像的清晰度满足预设条件,解决了目前的图像拍摄设备中镜头的结构太过简单的技术问题,同时有助于提高图像拍摄设备拍摄的图像质量。In summary, in the embodiment of the present invention, the image capturing apparatus is provided with a focus motor and N variable power motors, and the image capturing apparatus is adjusted by adjusting the respective positions of the focus motor and the N variable power motors during the zoom shooting process. The resolution of the image in the framing frame satisfies the preset condition, which solves the technical problem that the lens structure in the current image capturing device is too simple, and at the same time helps to improve the image quality of the image capturing device.
下面结合附图介绍本发明实施例提供的设备。The device provided by the embodiment of the present invention is described below with reference to the accompanying drawings.
图5示出了一种同步聚焦装置500的结构示意图。该同步聚焦装置500可以实现上文中涉及的图像拍摄设备的功能。该同步聚焦装置500可以包括获取单元501、调整单元502。其中,获取单元501可以用于执行图2所示的实施例中的S201,和/或用于支持本文所描述的技术的其它过程。调整单元502可以用于执行图2所示的实施例中的S202,和/或用于支持本文所描述的技术的其它过程。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。FIG. 5 shows a schematic structural view of a synchronous focusing device 500. The synchro focus device 500 can implement the functions of the image capture device referred to above. The synchronization focusing device 500 can include an obtaining unit 501 and an adjusting unit 502. The obtaining unit 501 can be used to execute S201 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein. Adjustment unit 502 can be used to perform S202 in the embodiment shown in FIG. 2, and/or other processes for supporting the techniques described herein. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
需要说明的是,在本发明实施例中,上述图像拍摄装置以功能单元的形式展示。在不受限制的情况下,本文所使用的术语“单元”可指执行一个或多个软件或固件程序的专用集成电路(application-specific integrated circuit,ASIC)、电子电路、(共享、专用或组)处理器以及存储器,组合逻辑电路,和/或提供所述功能的其它合适的部件。It should be noted that, in the embodiment of the present invention, the image capturing apparatus described above is displayed in the form of a functional unit. The term "unit" as used herein, without limitation, may refer to an application-specific integrated circuit (ASIC), electronic circuit, (shared, dedicated, or group) that executes one or more software or firmware programs. A processor and memory, combinational logic, and/or other suitable components that provide the described functionality.
在一个简单的实施例中,本领域的技术人员可以想到,还可以将同步聚焦装置500通过如图6所示的结构实现。In a simple embodiment, those skilled in the art will appreciate that the synchronous focus device 500 can also be implemented by the structure shown in FIG.
如图6所示,同步聚焦装置600可以包括:存储器601、处理器602和总线603。处理器601和处理器602可以通过总线603连接。其中,存储器601用于存储计算机执行指令,当同步聚焦装置600运行时,处理器602执行存储器601存储的计算机执行指令,以使同步聚焦装置600执行图2所示的实施例提供的同步聚焦方法。具体的同步聚焦方法可参考上文及附图中的相关描述,此处不再赘述。As shown in FIG. 6, the sync focus device 600 can include a memory 601, a processor 602, and a bus 603. Processor 601 and processor 602 can be coupled by bus 603. The memory 601 is configured to store computer execution instructions. When the synchronous focus device 600 is in operation, the processor 602 executes computer execution instructions stored in the memory 601 to cause the synchronous focus device 600 to perform the synchronous focus method provided by the embodiment shown in FIG. . For a specific synchronous focusing method, reference may be made to the related descriptions in the above and the drawings, and details are not described herein again.
在本发明实施例中,处理器602可以是现场可编程门阵列(field-programmable gate array,FPGA),专用集成芯片(application specific integrated circuit,ASIC),系统芯片(system on chip,SoC),中央处理器(central processor unit,CPU),网络处理器(network processor,NP),数字信号处理电路(digital signal processor,DSP),微控制器(micro controller unit,MCU),还可以采用可编程控制器(programmable logic device,PLD)或其他集成芯片。总线603可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线603可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。In the embodiment of the present invention, the processor 602 may be a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), and a central unit. Central processor unit (CPU), network processor (NP), digital signal processor (DSP), microcontroller (micro controller unit (MCU), programmable controller (programmable logic device, PLD) or other integrated chip. The bus 603 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus or the like. The bus 603 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 6, but it does not mean that there is only one bus or one type of bus.
综上所述,本发明实施例提供了一种同步聚焦方法以及装置。在该方法中,图像拍摄设备中具备聚焦马达和N个变倍马达,在变倍拍摄过程中,通过调整聚焦马达和N个变倍马达各自的位置,使得图像拍摄设备的取景框中的图像的清晰度满足预设条件,解决了目前的图像拍摄设备中镜头的结构太过简单的技术问题,同时有助于提高图像拍摄设备拍摄的图像质量。In summary, the embodiments of the present invention provide a synchronization focusing method and apparatus. In the method, the image capturing apparatus is provided with a focus motor and N variable magnification motors, and the image of the framing frame of the image capturing apparatus is adjusted by adjusting the respective positions of the focus motor and the N variable magnification motors during the zoom shooting process. The resolution meets the preset conditions, which solves the technical problem that the structure of the lens in the current image capturing device is too simple, and at the same time helps to improve the image quality of the image capturing device.
在上述发明实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。 当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘Solid State Disk(SSD))等。In the above described embodiments of the invention, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another readable storage medium, for example, the computer instructions can be passed from a website site, computer, server or data center Wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.) to another website site, computer, server, or data center. The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)) or the like.
以上实施例仅用以对本发明实施例的技术方案进行详细介绍,但以上实施例的说明只是用于帮助理解本发明实施例的方法及其核心思想,不应该理解为对本申请的限制。本领域技术人员在本发明实施例揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明实施例的保护范围之内。The above embodiments are only used to describe the technical solutions of the embodiments of the present invention, but the description of the above embodiments is only used to help understand the method and the core ideas of the embodiments of the present invention, and should not be construed as limiting the present application. Those skilled in the art, within the scope of the technical scope of the present invention, are susceptible to variations and substitutions within the scope of the present invention.

Claims (21)

  1. 一种同步聚焦方法,其特征在于,包括:A synchronous focusing method, comprising:
    在变倍拍摄过程中,图像拍摄设备获取取景框中的第一图像;During the zoom shooting process, the image capturing device acquires the first image in the finder frame;
    所述图像拍摄设备分别调整自身中的N个变倍马达和聚焦马达各自的位置,使得所述取景框中的第一图像的清晰度满足预设条件,实现聚焦;其中N为大于等于2的整数。The image capturing device respectively adjusts the respective positions of the N variable power motors and the focus motors in the frame, so that the sharpness of the first image in the finder frame satisfies a preset condition to achieve focusing; wherein N is greater than or equal to 2 Integer.
  2. 如权利要求1所述的方法,其特征在于,所述图像拍摄设备分别调整自身中的N个变倍马达和聚焦马达各自的位置,包括:The method according to claim 1, wherein the image capturing apparatus respectively adjusts respective positions of the N variable power motors and the focus motors in the self, including:
    所述图像拍摄设备确定所述N个变倍马达中基准变倍马达的第一目标位置;The image capturing apparatus determines a first target position of the reference zoom motor in the N variable power motors;
    所述图像拍摄设备根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达以及聚焦马达各自的目标位置;The image capturing apparatus respectively determines a target position of each of the other N-1 variable power motors and the focus motor according to the first target position of the reference zoom motor;
    所述图像拍摄设备将所述N个变倍马达和所述聚焦马达分别移动到各自的目标位置。The image capturing apparatus moves the N variable power motors and the focus motor to respective target positions.
  3. 如权利要求2所述的方法,其特征在于,所述图像拍摄设备根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达的目标位置,包括:The method according to claim 2, wherein the image capturing apparatus determines the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, respectively, including:
    所述图像拍摄设备根据所述基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;所述第一变倍马达为所述N-1个变倍马达中的任意一个马达,所述第一跟随曲线用于指示所述基准变倍马达和所述第一变倍马达之间的位置关系。Determining, by the image capturing device, a second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve; the first zoom motor is the N-1 zoom a motor of any one of the motors, wherein the first following curve is used to indicate a positional relationship between the reference zoom motor and the first zoom motor.
  4. 如权利要求2所述的方法,其特征在于,所述图像拍摄设备根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达的目标位置,包括:The method according to claim 2, wherein the image capturing apparatus determines the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, respectively, including:
    所述图像拍摄设备根据所述基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;所述第一跟随曲线用于指示所述基准变倍马达和所述第一变倍马达之间的位置关系;所述第一变倍马达为所述N-1个变倍马达中的任意一个马达;The image capturing apparatus determines a second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve; the first following curve is used to indicate the reference zoom motor and a positional relationship between the first variable power motors; the first variable power motor is any one of the N-1 variable power motors;
    所述图像拍摄设备根据所述第一变倍马达的第二目标位置分别确定所述N-1个变倍马达中除所述第一变倍马达之外的每个变倍马达的目标位置。The image capturing apparatus determines a target position of each of the N-1 variable power motors other than the first variable power motor according to a second target position of the first variable power motor.
  5. 如权利要求2-4任一所述的方法,其特征在于,在图像拍摄设备获取取景框中的图像之前,所述方法还包括:The method of any of claims 2-4, wherein before the image capturing device acquires the image in the framing frame, the method further comprises:
    所述图像拍摄设备通过自身的输入部件接收变倍指令;The image capturing device receives a zoom instruction through its own input component;
    所述图像拍摄设备确定所述N个变倍马达中基准变倍马达的第一目标位置,包括:The image capturing apparatus determines a first target position of the reference zoom motor in the N variable power motors, including:
    所述图像拍摄设备获取所述N个变倍马达中基准变倍马达的初始位置;N为大于等于2的正整数;The image capturing apparatus acquires an initial position of a reference zoom motor in the N variable power motors; N is a positive integer greater than or equal to 2;
    所述图像拍摄设备基于所述变倍指令中包含的变倍速率和所述初始位置确定所述基准变倍马达在第一预设时间的第一目标位置。The image capturing apparatus determines a first target position of the reference zoom motor at a first preset time based on a zoom rate included in the zoom command and the initial position.
  6. 如权利要求3-5任一所述的方法,其特征在于,所述图像拍摄设备根据所述基准变倍马达的第一目标位置确定聚焦马达的目标位置,包括:The method of any of claims 3-5, wherein the image capturing device determines a target position of the focus motor based on the first target position of the reference zoom motor, comprising:
    所述图像拍摄设备根据所述基准变倍马达的第一目标位置和第二跟随曲线确定所述聚焦马达的第三目标位置,所述第二跟随曲线用于指示所述基准变倍马达和所述聚焦马达之间的位置关系,或The image capturing apparatus determines a third target position of the focus motor according to a first target position and a second following curve of the reference zoom motor, the second following curve is used to indicate the reference zoom motor and the The positional relationship between the focus motors, or
    所述图像拍摄设备根据所述第一变倍马达的第二目标位置和第二跟随曲线确定所述聚焦马达的第三目标位置,所述第二跟随曲线用于指示所述第一变倍马达和所述聚焦马达之间的位置关系。The image capturing apparatus determines a third target position of the focus motor according to a second target position of the first zoom motor and a second following curve, the second following curve is used to indicate the first zoom motor A positional relationship with the focus motor.
  7. 如权利要求6所述的方法,其特征在于,在所述图像拍摄设备根据所述基准变倍马达 的第一目标位置和第二跟随曲线调整所述聚焦马达的第三目标位置之前,所述方法还包括:The method according to claim 6, wherein said said image capturing apparatus adjusts said third target position of said focus motor based on said first target position of said reference zoom motor and said second following curve The method also includes:
    所述图像拍摄设备获取所述聚焦马达的初始位置;The image capturing device acquires an initial position of the focus motor;
    所述图像拍摄设备根据所述聚焦马达和所述基准变倍马达各自的初始位置确定第一物距;The image capturing apparatus determines a first object distance according to respective initial positions of the focus motor and the reference zoom motor;
    所述图像拍摄设备根据所述第一物距和成像函数确定所述第二跟随曲线。The image capture device determines the second following curve based on the first object distance and an imaging function.
  8. 如权利要求6或7所述的方法,其特征在于,所述方法还包括:The method of claim 6 or claim 7, wherein the method further comprises:
    若所述图像拍摄设备将所述N个变倍马达和所述聚焦马达分别移动到各自的目标位置之后,所述取景框中的第一图像仍不满足所述预设条件,则所述图像拍摄设备计算所述聚焦马达的第四位置,所述第四位置是将所述聚焦马达的初始位置以第一方向移动第一预设值得到的;所述第一预设值小于所述聚焦马达的焦深;If the image capturing apparatus moves the N variable power motors and the focus motor to respective target positions, and the first image in the finder frame still does not satisfy the preset condition, the image The photographing device calculates a fourth position of the focus motor, the fourth position being obtained by moving an initial position of the focus motor in a first direction by a first preset value; the first preset value is smaller than the focus The depth of focus of the motor;
    所述图像拍摄设备根据所述聚焦马达的第四位置和所述基准变倍马达的初始位置确定第二物距;The image capturing apparatus determines a second object distance according to a fourth position of the focus motor and an initial position of the reference zoom motor;
    所述图像拍摄设备根据所述第二物距和所述成像函数确定第三跟随曲线;The image capturing device determines a third following curve according to the second object distance and the imaging function;
    所述图像拍摄设备根据所述基准变倍马达的第一目标位置和所述第三跟随曲线移动所述聚焦马达到第四目标位置,使得所述取景框中的第一图像的清晰度满足所述预设条件。The image capturing apparatus moves the focus motor to a fourth target position according to the first target position of the reference zoom motor and the third following curve, such that the sharpness of the first image in the finder frame satisfies Presuppose conditions.
  9. 一种同步聚集装置,其特征在于,所述同步聚集装置包括:N个变倍马达、聚焦马达、处理器和步进电机;A synchronous gathering device, characterized in that: the synchronous gathering device comprises: N variable power motors, a focus motor, a processor and a stepping motor;
    所述处理器与所述步进电机连接,所述处理器用于向所述步进电机下发所述N个变倍马达和所述聚集马达各自对应的目标位置;The processor is connected to the stepping motor, and the processor is configured to send, to the stepping motor, a target position corresponding to each of the N variable power motors and the gather motor;
    所述步进电机与所述N个变倍马达和所述聚焦马达分别连接;所述步进电机用于带动所述N个变倍马达和所述聚焦马达分别移动到各自对应的目标位置。The stepping motor is respectively connected to the N variable power motors and the focus motor; the stepping motor is configured to drive the N variable power motors and the focus motor to respectively move to respective corresponding target positions.
  10. 如权利要求9所述的装置,其特征在于,所述N个变倍马达中每个变倍马达与一个变倍镜片组连接;所述变倍镜片组用于对所述同步聚焦装置的取景框中的图像进行缩放,所述变倍镜片组中包含N个镜片;The apparatus according to claim 9, wherein each of said N variable power motors is coupled to a variable power lens group; said variable power lens group being used for framing said synchronous focus device The image in the frame is scaled, and the variable magnification lens group includes N lenses;
    所述聚集马达与聚焦镜片组连接,所述聚焦镜片组用于聚焦所述取景框中的图像;所述聚焦镜片组中包含M个镜片,其中,N和M均为大于等于1的整数。The focusing motor is coupled to a focusing lens group for focusing an image in the finder frame; the focusing lens group includes M lenses, wherein N and M are integers greater than or equal to 1.
  11. 一种同步聚焦装置,其特征在于,包括:A synchronous focusing device, comprising:
    获取单元,用于在变倍拍摄过程中,获取所述同步聚焦装置的取景框中的第一图像;An acquiring unit, configured to acquire a first image of a framing frame of the synchronous focusing device during zoom shooting;
    调整单元,用于分别调整所述同步聚焦装置中的N个变倍马达和聚焦马达各自的位置,使得所述取景框中的第一图像的清晰度满足预设条件,实现聚焦;其中N为大于等于2的整数。An adjusting unit, configured to respectively adjust a position of each of the N variable power motors and the focus motor in the synchronous focusing device, so that a resolution of the first image in the finder frame satisfies a preset condition to achieve focusing; wherein N is An integer greater than or equal to 2.
  12. 如权利要求11所述的装置,其特征在于,所述调整单元具体用于:The apparatus according to claim 11, wherein the adjusting unit is specifically configured to:
    确定所述N个变倍马达中基准变倍马达的第一目标位置;Determining a first target position of the reference zoom motor in the N variable power motors;
    根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达以及聚焦马达各自的目标位置;Determining respective target positions of the other N-1 variable power motors and the focus motors according to the first target position of the reference zoom motor;
    将所述N个变倍马达和所述聚焦马达分别移动到各自的目标位置。The N variable power motors and the focus motor are respectively moved to respective target positions.
  13. 如权利要求12所述的装置,其特征在于,所述调整单元在根据所述基准变倍马达的第一目标位置分别确定其它N-1个变倍马达的目标位置时,具体用于:The apparatus according to claim 12, wherein the adjusting unit is configured to: when determining the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor, respectively:
    根据所述基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;所述第一变倍马达为所述N-1个变倍马达中的任意一个马达,所述第一跟随曲线用于指示所述基准变倍马达和所述第一变倍马达之间的位置关系。Determining a second target position of the first variable power motor according to the first target position of the reference zoom motor and the first following curve; the first variable power motor is any one of the N-1 variable power motors a motor, the first following curve is used to indicate a positional relationship between the reference zoom motor and the first zoom motor.
  14. 如权利要求12所述的装置,其特征在于,所述调整单元在根据所述基准变倍马达的 第一目标位置分别确定其它N-1个变倍马达的目标位置时,具体用于:The apparatus according to claim 12, wherein the adjusting unit is configured to: when determining the target positions of the other N-1 variable power motors according to the first target position of the reference zoom motor;
    根据所述基准变倍马达的第一目标位置和第一跟随曲线确定第一变倍马达的第二目标位置;所述第一跟随曲线用于指示所述基准变倍马达和所述第一变倍马达之间的位置关系;所述第一变倍马达为所述N-1个变倍马达中的任意一个马达;Determining a second target position of the first zoom motor according to the first target position of the reference zoom motor and the first following curve; the first following curve is used to indicate the reference zoom motor and the first change a positional relationship between the motors; the first variable power motor is any one of the N-1 variable power motors;
    根据所述第一变倍马达的第二目标位置分别确定所述N-1个变倍马达中除所述第一变倍马达之外的每个变倍马达的目标位置。Determining a target position of each of the N-1 variable power motors other than the first variable power motor according to a second target position of the first variable power motor.
  15. 如权利要求12-14任一所述的装置,其特征在于,所述同步聚焦单元还包括接收单元,所述接收单元用于:The device according to any one of claims 12-14, wherein the synchronization focusing unit further comprises a receiving unit, the receiving unit is configured to:
    接收变倍指令;Receiving a zoom instruction;
    所述调整单元在用于确定所述N个变倍马达中基准变倍马达的第一目标位置时,具体用于:The adjusting unit is specifically configured to: when determining a first target position of the reference zoom motor in the N variable power motors:
    获取所述N个变倍马达中基准变倍马达的初始位置;N为大于等于2的正整数;Obtaining an initial position of the reference zoom motor in the N variable power motors; N is a positive integer greater than or equal to 2;
    基于所述变倍指令中包含的变倍速率和所述初始位置确定所述基准变倍马达在第一预设时间的第一目标位置。Determining a first target position of the reference zoom motor at a first preset time based on a zoom rate included in the zoom command and the initial position.
  16. 如权利要求13-15任一所述的装置,其特征在于,所述调整单元在根据所述基准变倍马达的第一目标位置确定聚焦马达的目标位置时,具体用于:The apparatus according to any one of claims 13-15, wherein the adjusting unit is configured to: when determining a target position of the focus motor according to the first target position of the reference zoom motor;
    根据所述基准变倍马达的第一目标位置和第二跟随曲线确定所述聚焦马达的第三目标位置,所述第二跟随曲线用于指示所述基准变倍马达和所述聚焦马达之间的位置关系,或Determining a third target position of the focus motor according to a first target position and a second following curve of the reference zoom motor, the second following curve being used to indicate between the reference zoom motor and the focus motor Location relationship, or
    根据所述第一变倍马达的第二目标位置和第二跟随曲线确定所述聚焦马达的第三目标位置,所述第二跟随曲线用于指示所述第一变倍马达和所述聚焦马达之间的位置关系。Determining a third target position of the focus motor according to a second target position of the first zoom motor and a second following curve, the second following curve being used to indicate the first zoom motor and the focus motor The positional relationship between.
  17. 如权利要求16所述的装置,其特征在于,在所述调整单元根据所述基准变倍马达的第一目标位置和第二跟随曲线确定所述聚焦马达的第三目标位置之前,所述调整单元还用于:The apparatus according to claim 16, wherein said adjusting is performed before said adjusting unit determines said third target position of said focus motor based on said first target position of said reference zoom motor and said second following curve The unit is also used to:
    获取所述聚焦马达的初始位置;Obtaining an initial position of the focus motor;
    根据所述聚焦马达和所述基准变倍马达各自的初始位置确定第一物距;Determining a first object distance according to respective initial positions of the focus motor and the reference zoom motor;
    根据所述第一物距和成像函数确定所述第二跟随曲线。The second following curve is determined based on the first object distance and an imaging function.
  18. 如权利要求16或17所述的装置,其特征在于,所述调整单元还用于:The device according to claim 16 or 17, wherein the adjusting unit is further configured to:
    在所述调整单元将所述N个变倍马达和所述聚焦马达分别移动到各自的目标位置之后,所述取景框中的第一图像仍不满足所述预设条件,则计算所述聚焦马达的第四位置,所述第四位置是将所述聚焦马达的初始位置以第一方向移动第一预设值得到的;所述第一预设值小于所述聚焦马达的焦深;After the adjusting unit moves the N variable power motors and the focus motor to respective target positions, and the first image in the finder frame still does not satisfy the preset condition, the focus is calculated. a fourth position of the motor, wherein the fourth position is obtained by moving an initial position of the focus motor in a first direction by a first preset value; the first preset value is smaller than a depth of focus of the focus motor;
    根据所述聚焦马达的第四位置和所述基准变倍马达的初始位置确定第二物距;Determining a second object distance according to a fourth position of the focus motor and an initial position of the reference zoom motor;
    根据所述第二物距和所述成像函数确定第三跟随曲线;Determining a third following curve according to the second object distance and the imaging function;
    根据所述基准变倍马达的第一目标位置和所述第三跟随曲线移动所述聚焦马达到第四目标位置,使得所述取景框中的第一图像的清晰度满足所述预设条件。And moving the focus motor to the fourth target position according to the first target position of the reference zoom motor and the third following curve, so that the definition of the first image in the finder frame satisfies the preset condition.
  19. 一种同步聚焦装置,其特征在于,包括:处理器和存储器;A synchronous focusing device, comprising: a processor and a memory;
    所述存储器用于存储计算机执行指令,当所述处理器执行所述指令时,使所述同步聚焦装置执行如权利要求1-8任意一项所述的方法。The memory is for storing computer execution instructions that, when executed by the processor, cause the synchronization focusing device to perform the method of any of claims 1-8.
  20. 一种计算机可读存储介质,其特征在于,所述存储介质中包括指令,当所述指令在计算机上运行时,使得所述计算机执行如权利要求1-8任意一项所述的方法。A computer readable storage medium, comprising: instructions in the storage medium, when the instructions are run on a computer, causing the computer to perform the method of any of claims 1-8.
  21. 一种包含指令的计算机程序产品,其特征在于,当所述指令在计算机上运行时,使得计算机执行如权利要求1-8任意一项所述的方法。A computer program product comprising instructions, wherein when said instructions are run on a computer, causing a computer to perform the method of any of claims 1-8.
PCT/CN2018/101057 2017-10-24 2018-08-17 Synchronous focus method and apparatus WO2019080616A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711000014.3A CN109698902B (en) 2017-10-24 2017-10-24 Synchronous focusing method and device
CN201711000014.3 2017-10-24

Publications (1)

Publication Number Publication Date
WO2019080616A1 true WO2019080616A1 (en) 2019-05-02

Family

ID=66227670

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/101057 WO2019080616A1 (en) 2017-10-24 2018-08-17 Synchronous focus method and apparatus

Country Status (2)

Country Link
CN (1) CN109698902B (en)
WO (1) WO2019080616A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243030A (en) * 2020-01-06 2020-06-05 浙江大华技术股份有限公司 Target focusing dynamic compensation method and device and storage device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988527B (en) * 2020-08-28 2022-03-22 Oppo广东移动通信有限公司 Device control method, device, storage medium and electronic device
CN114554072B (en) * 2020-11-26 2023-05-05 华为技术有限公司 Motor control method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001208956A (en) * 2000-01-25 2001-08-03 Fuji Photo Film Co Ltd Digital camera
US20060140608A1 (en) * 2004-12-28 2006-06-29 Soroj Triteyaprasert Image pickup device and method, and program
US20110188129A1 (en) * 2010-02-03 2011-08-04 Canon Kabushiki Kaisha Lens control device having lens position control function for bringing, method of controlling the same, and storage medium
CN103728813A (en) * 2012-10-15 2014-04-16 浙江大华技术股份有限公司 Method for synchronizing focusing operation and zooming operation
US20140198247A1 (en) * 2013-01-11 2014-07-17 Canon Kabushiki Kaisha Lens apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI509308B (en) * 2013-08-13 2015-11-21 Sintai Optical Shenzhen Co Ltd Zoom lens and focusing mechanism for the optical apparatus
JP6257245B2 (en) * 2013-09-27 2018-01-10 キヤノン株式会社 Imaging apparatus and control method thereof
CN105827962A (en) * 2016-03-23 2016-08-03 深圳英飞拓科技股份有限公司 Correction method and device of movement back focal length deviation of camera

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001208956A (en) * 2000-01-25 2001-08-03 Fuji Photo Film Co Ltd Digital camera
US20060140608A1 (en) * 2004-12-28 2006-06-29 Soroj Triteyaprasert Image pickup device and method, and program
US20110188129A1 (en) * 2010-02-03 2011-08-04 Canon Kabushiki Kaisha Lens control device having lens position control function for bringing, method of controlling the same, and storage medium
CN103728813A (en) * 2012-10-15 2014-04-16 浙江大华技术股份有限公司 Method for synchronizing focusing operation and zooming operation
US20140198247A1 (en) * 2013-01-11 2014-07-17 Canon Kabushiki Kaisha Lens apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243030A (en) * 2020-01-06 2020-06-05 浙江大华技术股份有限公司 Target focusing dynamic compensation method and device and storage device
CN111243030B (en) * 2020-01-06 2023-08-11 浙江大华技术股份有限公司 Target focusing dynamic compensation method and device and storage device

Also Published As

Publication number Publication date
CN109698902B (en) 2020-09-11
CN109698902A (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN104980644B (en) A kind of image pickup method and device
WO2019105214A1 (en) Image blurring method and apparatus, mobile terminal and storage medium
CN105007420B (en) A kind of focusing method and mobile terminal
JP5662511B2 (en) Imaging device
CN107395993B (en) Full-automatic focusing method and system
WO2018228479A1 (en) Automatic focusing method and apparatus, storage medium and electronic device
CN110248103B (en) Photographing method and device and electronic equipment
CN103728813B (en) A kind of method of synchronizing focus during zoom
WO2015180509A1 (en) Image capturing terminal and image capturing method
WO2018228330A1 (en) Focusing method and apparatus for realizing clear human face, and computer device
WO2019080616A1 (en) Synchronous focus method and apparatus
CN104601892A (en) Terminal and image shooting method and device
JP4730478B2 (en) IMAGING DEVICE, IMAGING DEVICE CONTROL METHOD, AND PROGRAM
WO2017126222A1 (en) Display control device, display control method, and computer program
CN107026979B (en) Double-camera shooting method and device
CN109690568A (en) A kind of processing method and mobile device
CN106154688B (en) Automatic focusing method and device
JP2013081159A (en) Imaging device
JP2017135660A (en) Image processor, imaging apparatus, image processing method, and program
TWI693828B (en) Image-capturing device and method for operating the same
EP3218756B1 (en) Direction aware autofocus
JP2010170051A (en) Lens drive control device, image capturing apparatus, lens drive control method, and computer program
US20110164867A1 (en) Digital photographing apparatus and method that apply high-speed multi-autofocusing (af)
CN107124547B (en) Double-camera shooting method and device
JP6645711B2 (en) Image processing apparatus, image processing method, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18870597

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18870597

Country of ref document: EP

Kind code of ref document: A1