Control apparatus for imaging apparatus, method, and program

JP2024058738A5Pending Publication Date: 2025-10-14CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2022166019
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2022-10-17
Publication Date
2025-10-14

AI Technical Summary

Technical Problem

Existing imaging devices struggle to complete shot operations including focus processing within a specified time, especially when the subject is a moving object, due to varying focus processing times based on environmental brightness, leading to potential out-of-focus issues.

Method used

A control device that calculates and adjusts the moving time of drive units (pan, tilt, and zoom) based on designated shot operation time and focus processing time, determined by photometric results, ensuring simultaneous arrival at target positions and appropriate focus processing.

Benefits of technology

Enables completion of shot operations including focus processing within the specified time without causing out-of-focus conditions, by optimizing the movement and focus processing times according to environmental brightness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To complete shot operation including focus processing in a specified time while performing appropriate focus processing.SOLUTION: A control apparatus controls an imaging apparatus comprising driving sections (107, 110, and 111) for varying an imaging region. The control apparatus includes: first acquisition means (118) for acquiring target positions of the driving sections (107, 110, and 111); second acquisition means (118) for moving the driving sections (107, 110, and 111) to the target positions and acquiring specified time set as time for performing focus processing; determination means (118) for determining focus processing time, which is time required for the focus processing, on the basis of a photometric result of photometric means included in the imaging apparatus; and calculation means (118) for calculating movement time for moving the driving sections (107, 110, and 111) to the target positions on the basis of the specified time and the focus processing time.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device, method, and program for an imaging device such as a network camera. [Background technology]

[0002] Some imaging devices, such as network cameras, have a function called a shot operation, which moves the pan, tilt, and zoom drive units to preset positions. Some also perform focus processing during the shot operation. In this case, when an instruction to start a shot operation is received, the drive units for the pan, tilt, and zoom are controlled to start and end simultaneously, and then the focus processing is performed. A shot operation is required to be completed within a specified time. However, in a shot operation that includes a focus process, the time required for the focus process may vary depending on the brightness of the environment, and there are cases in which the shot operation cannot be completed within the specified time.

[0003] Patent Document 1 discloses a method for simultaneously driving and terminating moving parts such as pan, tilt, zoom, and focus by specifying the moving time from the current position to the destination position and calculating the optimal moving speed from the specified time and the moving distance of each of the moving parts. However, in the process of moving a moving focus member to a target position as in Patent Document 1, if the subject moves, the subject may go out of focus, and the focus process is not necessarily appropriate. For example, in a network camera, the subject may be not only a stationary object such as a building, but also a moving object such as a person. Therefore, the distance between the subject and the camera changes from moment to moment, and in the process of moving a moving focus member to a target position, it is expected that the focus may not be achieved in many cases. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2004-325710 A Summary of the Invention [Problem to be solved by the invention]

[0005] The present invention has been made in consideration of the above-mentioned points, and has an object to enable a shot operation including focus processing to be completed within a specified time while performing appropriate focus processing. [Means for solving the problem]

[0006] The control device for controlling the imaging device of the present invention is a control device for controlling an imaging device equipped with a drive unit that changes the shooting area, and is characterized in that it comprises a first acquisition means for acquiring a target position of the drive unit, a second acquisition means for moving the drive unit to the target position and acquiring a designated time set as the time for performing focus processing, a determination means for determining a focus processing time, which is the time required for the focus processing, based on the photometry result of a photometry means provided in the imaging device, and a calculation means for calculating a movement time for moving the drive unit to the target position based on the designated time and the focus processing time. Effect of the Invention

[0007] According to the present invention, it is possible to complete a shot operation including a focus process within a specified time while performing an appropriate focus process. [Brief description of the drawings]

[0008] [Figure 1] 1 is a block diagram showing an example of the configuration of a network camera according to a first embodiment. [Diagram 2] 5 is a flowchart showing a process executed by the network camera in the first embodiment. [Diagram 3] 11 is a flowchart showing a process executed by the network camera in the second embodiment. [Figure 4] FIG. 11 is a diagram for explaining a shot motion in the second embodiment. [Diagram 5] FIG. 2 is a diagram illustrating an example of a hardware configuration of a device that functions as a control device of the imaging device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. <First embodiment> FIG. 1 is a block diagram showing an example of the configuration of a network camera 100 according to an embodiment. In FIG. 1, a network camera 100 is connected to a client device (information processing device) (not shown) via a network 150 so as to be able to communicate with each other.

[0010] The network camera 100 includes a lens 101 , an image sensor 102 , an image capture control circuit 103 , a signal processing circuit 104 , a memory transfer circuit 105 , a memory 106 , a zoom driving unit 107 , a focus driving unit 108 , and a motor control unit 109 . The lens 101 is a group of lenses including a zoom lens, a focus lens, an anti-vibration lens, and an aperture blade. Under the control of a system control unit 118, control of the zoom lens, control of the focus lens, control of the anti-vibration lens, control of the aperture blade, etc. are executed. The zoom driver 107 drives the zoom lens included in the lens 101. The zoom driver 107 includes an electric motor that serves as an actuator. The focus driver 108 drives a focus lens included in the lens 101. The focus driver 108 includes an electric motor that serves as an actuator. The motor control unit 109 controls the electric motor of the zoom driving unit 107 and the electric motor of the focus driving unit 108 under the control of the system control unit 118. In this embodiment, contrast AF (autofocus) can be performed using the focus lens and the focus driving unit 108. In contrast AF, a defocus amount is calculated from contrast data based on an image signal periodically output from the image sensor 102, focusing processing is performed based on the calculated value, and driving of the focus lens is stopped when focusing is achieved.

[0011] The image sensor 102 converts the light imaged through the lens 101 into an electric charge and generates an image signal. The imaging control circuit 103 controls the imaging element 102 at the same cycle as the image output cycle under the control of the system control unit 118. When the accumulation time in the imaging element 102 is longer than the image output cycle, the imaging control circuit 103 controls the signal processing circuit 104 to hold the captured image data in the frame memory of the signal processing circuit 104 during the period when the imaging element 102 cannot output an imaging signal. A signal processing circuit 104, under the control of a system control unit 118, receives an image signal generated by the image sensor 102 and digitizes the image signal to generate captured image data. The memory transfer circuit 105 receives the captured image data generated by the signal processing circuit 104 and transfers it to a memory 106 .

[0012] The network camera 100 also includes a pan driving unit 110 , a tilt driving unit 111 , a motor control unit 112 , a PT mechanism phase detection control unit 113 , a pan phase detection unit 114 , and a tilt phase detection unit 115 . The pan driving unit 110 includes a pan mechanism that performs panning of the network camera 100, and an electric motor that serves as an actuator. The pan mechanism includes, for example, gears and belts. The tilt driving unit 111 includes a tilt mechanism that performs a tilt operation of the network camera 100, and an electric motor that serves as an actuator. The tilt mechanism includes, for example, gears and belts. The motor control unit 112 controls the electric motor of the pan drive unit 110 and the electric motor of the tilt drive unit 111 under the control of the system control unit 118 . The PT mechanical phase detection control unit 113 is a control unit for detecting the mechanical phase of mechanical parts operated by the pan driving unit 110 and the tilt driving unit 111, and performs control for detecting mechanical phase signals from the pan phase detection unit 114 and the tilt phase detection unit 115. For example, the pan phase detection unit 114 and the tilt phase detection unit 115 are PI sensors, and the detection process is performed by a mechanism for blocking / not blocking the sensor with a mechanical phase plate.

[0013] The network camera 100 also includes an interface (I / F) 116 for implementing a network communication function. The network camera 100 communicates with a network device 151 through a network I / F 116. The captured image data transferred to the memory 106 is transmitted to a network 150 via the external network device 151 through the network I / F 116. The network device 151 is not only capable of receiving images from the network camera 100, but also capable of supplying power to the network camera 100 through a network cable. For example, the network device 151 complies with a power supply standard from a wired LAN cable, such as PoE or PoE+. The network camera 100 also communicates with an operating device 152 via the network I / F 116. The operating device 152 is, for example, a joystick, and is connected to the network camera 100 via an RC232C cable, allowing communication between the devices. The joystick also transmits information on the direction and tilt of the lever to the network camera 100, and the network camera 100 can determine the speed and direction based on that information to move the pan driving unit 110 and the tilt driving unit 111.

[0014] The network camera 100 also includes a power supply control circuit 117. The power supply control circuit 117 is, for example, a DC-DC converter, and is configured with a switch circuit for switching the control module to be energized, etc. The power supply control circuit 117 receives power supply from the network device 151 or the external power supply 153 via a network cable or a power cable under the control of the system control unit 118, and performs power supply control for the network camera 100. The external power supply 153 is a commercial power supply or a DC power supply, and is capable of supplying power to the network camera 100.

[0015] The network camera 100 also includes a system control unit 118 that is responsible for overall control thereof. The system control unit 118 distributes captured image data to the client device via the network I / F 116. The system control unit 118 also receives a camera control command from the client device via the network I / F 116 and transmits a response to the camera control command to the client device. The system control unit 118 analyzes the transmitted camera control command and performs processing according to the command. For example, the system control unit 118 instructs the signal processing circuit 104 to set image quality and instructs the motor control units 109 and 112 to perform panning, tilting, zooming, and focusing. The system control unit 118 also uses the image sensor 102 as a photometry sensor to perform photometry. Although the image sensor 102 is used as a photometry sensor, which is a photometry means, a sensor dedicated to photometry may be provided.

[0016] Note that the configuration shown in Fig. 1 is an example, and is not limited thereto. For example, in Fig. 1, the system control unit 118 controls the zoom operation and the focus operation via the motor control unit 109, but the configuration is not limited thereto. For example, a lens unit including various lens groups, the zoom driving unit 107, the focus driving unit 108, the motor control unit 109, etc. may be removably attached to the main body of the network camera 100. In this case, the lens unit may include a lens control unit, and the lens control unit may communicate with the system control unit 118 and control the zoom operation and the focus operation via the motor control unit 109.

[0017] In the network camera 100 configured as described above, a shot operation including focus processing is performed, and as described below, the pan driving unit 110, tilt driving unit 111, and zoom driving unit 107 are moved to preset positions (pan target position, tilt target position, and zoom target position) at a specified time, and focus processing is executed.

[0018] Next, the process executed by the network camera 100 in the first embodiment will be described with reference to Fig. 2. Fig. 2 shows an example of the process when an instruction to start a shot operation is given. The network camera 100 is in a power-on state, and the pan driving unit 110, tilt driving unit 111, zoom driving unit 107, and focus driving unit 108 are in a stopped state. The network camera 100 is also connected to an operation device 152, and can be operated from the operation device 152. In this state, when the user operates the operation device 152, for example, to instruct the start of a shot operation, this flowchart starts.

[0019] In step S201, the system control unit 118 digitizes the imaging signal generated by the imaging element 102 using the signal processing circuit 104 to generate captured image data, and controls the data to be transferred to the memory 106 via the memory transfer circuit 105. The system control unit 118 acquires a photometric value using the captured image data to determine the brightness of the environment (ambient light). If it is determined that the environment is bright, the process proceeds to step S202. If it is determined that the environment is dark, the process proceeds to step S203.

[0020] In steps S202 and S203, the system control unit 118 calculates a focus processing time T f Determine. Here, the focus processing time T f This section explains how the focus adjustment is determined. The processing time for focusing on a subject varies depending on factors such as brightness and the state of the subject. Contrast AF is a system that periodically detects contrast while moving the focus lens at a constant speed, calculates the contrast difference, and determines the focus position while searching for the point where this difference is minimal. This allows for high-precision focusing even in dark environments, but the focus processing time is longer in dark environments than in bright environments. Considering the difference in focus processing time due to the environmental light (brightness), the focus processing time T f =T a , and in a dark environment, the focus processing time T f =T b (>T a ) to determine the focus processing time. Time T a ,T b The focus processing time T may be a predetermined time. Also, although the focus processing time T is divided into two patterns, bright and dark, it may be divided into three or more patterns (bright, normal, dark, etc.). f Alternatively, a predetermined calculation formula may be used to determine the focus processing time T f may be calculated.

[0021] In step S204, the system control unit 118 acquires the designated time T for the set shot operation. The designated time can be arbitrarily set by the user between 2 seconds and 48 seconds, for example, and is stored in a storage medium accessible by the system control unit 118. In step S205, the system control unit 118 acquires the pan target position, tilt target position, and zoom target position that are set as preset positions. The pan target position, tilt target position, and zoom target position can be arbitrarily set by the user, and are stored in a storage medium that the system control unit 118 can access. In step S 206 , the system control unit 118 acquires the current position of the pan driving unit 110 , the current position of the tilt driving unit 111 , and the current position of the zoom driving unit 107 .

[0022] In step S207, the system control unit 118 compares the designated time T acquired in step S204 with the focus processing time T determined in steps S202 and S203. f Based on this, a moving time T for moving the pan driving unit 110, the tilt driving unit 111, and the zoom driving unit 107 to their respective target positions is calculated. x (=TT f ) is calculated. In step S208, the system control unit 118 calculates the moving speed of the pan driving unit 110, the moving speed of the tilt driving unit 111, and the moving speed of the zoom driving unit 107. Specifically, based on the target positions of the driving units 107, 110, and 111 acquired in step S205, the current positions of the driving units 107, 110, and 111 acquired in step S206, and the moving time T x Based on this, the movement speeds of the drive units 107, 110, and 111, which start and end driving simultaneously, are calculated.

[0023] In step S209, the system control unit 118 executes a movement process to move the pan driving unit 110, the tilt driving unit 111, and the zoom driving unit 107 at the movement speed calculated in step S208. xThen, the pan driving unit 110, the tilt driving unit 111, and the zoom driving unit 107 are moved to their respective target positions. Once the pan driving unit 110, the tilt driving unit 111, and the zoom driving unit 107 have been moved to their respective target positions, the system control unit 118 stops driving them. In step S210, the system control unit 118 executes focus processing using contrast AF. The time required for the focus processing executed in step S210 is the focus processing time T f When the focus process is completed, the system control unit 118 determines that the shot operation is completed, exits this flowchart, and transitions to a state in which the next operation instruction can be received.

[0024] As described above, the focus processing time T f is determined in advance, and then the movement time T that can be used to move the pan driving unit 110, the tilt driving unit 111, and the zoom driving unit 107 to their respective target positions so as to match the designated time T is determined. x This makes it possible to complete a shot operation including focus processing within the specified time T while performing appropriate focus processing, that is, focus processing that does not cause out-of-focus.

[0025] <Second embodiment> Next, a second embodiment will be described. The network camera according to the second embodiment is similar to that shown in Fig. 1, and the following description will focus on the differences from the first embodiment, with the same components as those in the first embodiment being given the same reference numerals and their description omitted. The network camera 100 according to the second embodiment can perform multiple types of focus processing, specifically, phase difference AF and contrast AF. In phase difference AF, the distance to the subject is measured first, and the focus lens is moved to a position where the subject is in focus based on the distance information, thereby performing focus processing, and the focus processing can be completed in a short time. In contrast, contrast AF is a mechanism for searching for a point where the contrast difference is minimum while moving the focus lens as described above, so that it can focus even in a dark environment, but it takes longer to focus than phase difference AF.

[0026] Next, the process executed by the network camera 100 in the second embodiment will be described with reference to Fig. 3 and Fig. 4. Fig. 3 shows an example of the process when an instruction to start a shot operation is given. Fig. 4 is a diagram for explaining the shot operation in the second embodiment. The network camera 100 is in a power-on state, and the pan driving unit 110, tilt driving unit 111, zoom driving unit 107, and focus driving unit 108 are in a stopped state. The network camera 100 is also connected to an operation device 152, and can be operated from the operation device 152. In this state, when the user operates the operation device 152, for example, to instruct the start of a shot operation, this flowchart starts.

[0027] Step S301 is the same process as step S201 in Fig. 2. If it is determined that the environment is bright, the process proceeds to step S302. If it is determined that the environment is dark, the process proceeds to step S303. In step 302, the system control unit 118 selects phase-difference AF as the focus process. Then, in step 304, the system control unit 118 determines the focus process time T f =T g Determine. In step 303, the system control unit 118 selects contrast AF as the focus process. Then, in step 305, the system control unit 118 calculates the focus process time T f =T t Determine. Here, the processing when phase difference AF is selected and when contrast AF is selected will be described with reference to FIG. As shown in Fig. 4(a), in phase-difference AF, the focus lens is moved at a speed of V g In contrast AF, the focus lens is moved at a speed of V g Movement speed slower than V t The focus lens is moved from the current position to the far side distance D1 for focusing far away and the near side distance D2 for focusing close up, and the focus processing time for the longer one is calculated. As shown in Figure 4(b), when phase difference AF is selected, the focus processing time T g is T g =D2 / V g When contrast AF is selected, the focus processing time T t is T t =(D2+d a +d b +d c ) / V t It is calculated as d a ,d b ,d c is the distance the focus lens moves to search for the point where the contrast difference is minimal. t >T g It becomes.

[0028] Steps S306 to S312 are the same processes as steps S204 to S210 in FIG. In step S309, as shown in FIG. 4C, when phase-difference AF is selected, the movement time T x is T x =TT g Also, when contrast AF is selected, the movement time T x is T x=TT t It becomes. In steps S311 and S312, as shown in FIG. 4(d), the pan driver 110, the tilt driver 111, and the zoom driver 107 are moved to their respective target positions, and then the focus processing selected in steps S302 and S303 is executed.

[0029] As described above, the focus processing method is selected based on the photometry result, and the focus processing time T f is determined in advance, and then the movement time T that can be used to move the pan driving unit 110, the tilt driving unit 111, and the zoom driving unit 107 to their respective target positions so as to match the designated time T is determined. x This makes it possible to complete a shot operation including focus processing within the specified time T while performing appropriate focus processing, that is, focus processing that does not cause out-of-focus.

[0030] In steps S303 and S305, contrast AF is selected, and the focus processing time T t When determining the focus processing time, as described in the first embodiment, the focus processing time may be determined according to the brightness of the environment.

[0031] 1, the network camera 100 is shown as a single imaging device, but it may be configured to include, for example, an imaging device and a camera platform for panning and tilting the imaging device. Also, in this embodiment, the imaging device 100 itself functions as a control device for the imaging device to which the present invention is applied, but, for example, the control device for the imaging device to which the present invention is applied may be configured as a device separate from the imaging device. An example of the hardware configuration of a device that functions as a control device for an imaging device to which the present invention is applied is shown in Fig. 5. The computer device includes a CPU 1, a memory 2, a storage device 3, an input device 4, and an output device 5, which are interconnected by a bus 6. The CPU 1 executes a program stored in the storage device 3. This executes the functions of the acquisition means, decision means, calculation means, and control means of the present invention. The memory 2 temporarily stores the programs and data read by the CPU 1 from the storage device 3. The memory 2 is also used as an area for the CPU 1 to execute various programs. The storage device 3 stores an operating system (OS), various programs, and various data. The input device 4 is a functional unit that accepts input from an operator, and may be, for example, a keyboard or a mouse. The output device 5 executes output of information input by the input device 4 and the execution results of the programs executed by the CPU 1.

[0032] Although the present invention has been described above with reference to the embodiments, the above embodiments are merely illustrative of the specific examples of the present invention, and the technical scope of the present invention should not be interpreted as being limited by these embodiments. In other words, the present invention can be embodied in various forms without departing from its technical concept or main features. In this embodiment, an imaging device has been described that is equipped with a pan driving unit, a tilt driving unit, and a zoom driving unit as driving units that change the shooting area, but the present invention can also be applied to imaging devices that are equipped with some of these, such as a pan driving unit and a tilt driving unit. (Other embodiments) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0033] The disclosure of this embodiment includes the following configuration. (Configuration 1) A control device for controlling an imaging device having a driving unit that changes an imaging area, A first acquisition means for acquiring a target position of the driving unit; a second acquisition means for acquiring a designated time set as a time for moving the driving unit to the target position and for executing a focus process; a determination unit that determines a focus processing time, which is a time required for the focus processing, based on a photometry result of a photometry unit included in the imaging device; a control device for an imaging device, comprising: a calculation means for calculating a movement time for moving the driving portion to the target position based on the specified time and the focus processing time. (Configuration 2) 2. The control device for an imaging device according to configuration 1, further comprising a control means for controlling the driving unit to move to the target position during the movement time, and then executing the focus process. (Configuration 3) the imaging device includes a pan driving unit, a tilt driving unit, and a zoom driving unit as the driving unit, 3. The control device for an imaging device according to configuration 1 or 2, wherein the target positions are a target position of the pan driving unit, a target position of the tilt driving unit, and a target position of the zoom driving unit. (Configuration 4) The control device for an imaging device described in configuration 3, wherein the calculation means calculates a moving speed of the pan driving unit, the moving speed of the tilt driving unit, and the moving speed of the zoom driving unit, which simultaneously starts and ends driving of the pan driving unit, the tilt driving unit, and the zoom driving unit, based on the target position of the pan driving unit, the target position of the tilt driving unit, and the target position of the zoom driving unit, the current position of the pan driving unit, the current position of the tilt driving unit, and the current position of the zoom driving unit, and the moving time. (Configuration 5) 5. The control device for an imaging device according to any one of configurations 1 to 4, wherein the imaging device executes contrast autofocus as the focus process. (Configuration 6) The imaging device is capable of performing a plurality of focus processes as the focus process, The control device for an imaging device described in any one of configurations 1 to 4, characterized in that the determination means selects a focus processing method from the plurality of focus processing methods based on a photometry result of the photometry means, and then determines the focus processing time. (Configuration 7) the imaging device is capable of executing phase difference autofocus and contrast autofocus as the focus processing, The control device for an imaging device according to configuration 6, wherein the determination means, when a photometry result of the photometry means indicates a bright environment, selects phase difference autofocus and then determines the focus processing time. [Explanation of symbols]

[0034] 100: network camera, 101: lens, 102: imaging element, 103: imaging control circuit, 104: signal processing circuit, 107: zoom drive unit, 108: focus drive unit, 109, 112: motor control unit, 110: pan drive unit, 111: tilt drive unit, 118: system control unit

Claims

1. A control device for controlling an imaging device having a driving unit that changes the imaging area, a first acquisition means for acquiring a target position of the driving unit; a second acquisition means for acquiring a designated time set as a time for moving the drive unit to the target position and for executing a focus process; a determining unit that determines a focus processing time, which is a time required for the focus processing, based on a photometric result of a photometric unit included in the imaging device; A control device for an imaging device, comprising: a calculation unit that calculates a movement time for moving the drive unit to the target position based on the specified time and the focus processing time.

2. 2. The control device for an imaging device according to claim 1, further comprising a control unit that controls the driving unit to move to the target position during the movement time and then executes the focus process.

3. the imaging device includes a pan driving unit, a tilt driving unit, and a zoom driving unit as the driving unit; 3. The control device for an imaging device according to claim 1, wherein the target positions are a target position of the pan driving unit, a target position of the tilt driving unit, and a target position of the zoom driving unit.

4. 4. The control device for an imaging device according to claim 3, wherein the calculation means calculates the movement speed of the pan drive unit, the movement speed of the tilt drive unit, and the movement speed of the zoom drive unit, which simultaneously start and end driving of the pan drive unit, the tilt drive unit, and the zoom drive unit, based on the target position of the pan drive unit, the target position of the tilt drive unit, and the target position of the zoom drive unit, the current position of the pan drive unit, the current position of the tilt drive unit, and the current position of the zoom drive unit, and the movement time.

5. 3. The control device for an image pickup device according to claim 1, wherein the image pickup device executes contrast autofocus as the focus processing.

6. the imaging device is capable of performing a plurality of focus processes as the focus process, 3. The control device for an imaging device according to claim 1, wherein the determining means selects a focus process from the plurality of focus processes based on a photometry result of the photometry means, and then determines the focus process time.

7. the imaging device is capable of performing phase difference autofocus and contrast autofocus as the focus processing; 7. The control device for an imaging device according to claim 6, wherein the determining means, when the photometry result of the photometry means indicates that the environment is bright, selects phase difference autofocus and then determines the focus processing time.

8. 3. The control device for an imaging device according to claim 1, wherein the determination means determines a first focus processing time when the photometry result is brighter than a predetermined value, and determines a second focus processing time longer than the first focus processing time when the photometry result is darker than the predetermined value.

9. 3. The control device for an imaging device according to claim 1, wherein the specified time is set by a user.

10. A control method for controlling an imaging device having a driving unit that changes the imaging area, obtaining a target position of the drive unit; a step of moving the driving unit to the target position and acquiring a designated time set as a time for performing a focus process; determining a focus processing time, which is a time required for the focus processing, based on a photometric result of a photometric means included in the imaging device; a step of calculating a movement time for moving the driving unit to the target position based on the specified time and the focus processing time.

11. A program for controlling an imaging device having a driving unit that changes the imaging area, A process of obtaining a target position of the drive unit; a process of moving the driving unit to the target position and acquiring a designated time set as a time for performing a focus process; a process of determining a focus processing time, which is a time required for the focus processing, based on a photometry result of a photometry means included in the imaging device; and calculating a movement time for moving the drive unit to the target position based on the specified time and the focus processing time.