Deviation correction technique in pan or tilt operation of digital camera
The method corrects misalignment in digital cameras by determining and applying correction factors based on preliminary experiments, addressing image shift issues and improving capture accuracy.
Patent Information
- Application Number
- JP2023051039
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
AI Technical Summary
Existing digital cameras, particularly cheaper models, exhibit significant left-right or vertical shifts in images when panned or tilted from different sides, leading to misalignment issues that can result in missed detections or incorrect evaluations, especially in disaster monitoring scenarios using ONVIF-compatible PTZ cameras.
A method to correct misalignment by determining camera-specific shift characteristics through preliminary experiments, normalizing deviation values, and applying correction factors to ensure accurate panning and tilting operations.
Significantly reduces image shifts during panning and tilting, enhancing the accuracy of image capture and reducing the risk of missed detections or incorrect evaluations, particularly in disaster monitoring applications.
Smart Images

Figure 2024140052000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for correcting misalignment during panning or tilting of a digital camera. More specifically, the present invention relates to a method for correcting misalignment of a digital camera, a method for generating data for determining the amount of correction, a control device for the digital camera, and a program for correction. [Background technology]
[0002] In Japan, where natural disasters are common, cameras are installed all over the country for the purpose of disaster monitoring and the like. It is effective to remotely operate such surveillance cameras via wired or wireless networks, and ONVIF (Open Network Video Interface Forum) is known as a standard for such remote operation (Non-Patent Document 1). ONVIF is a standard protocol for standardizing the communication interface between cameras and external control devices that are connected to each other via communication lines such as the Internet. A wide variety of ONVIF-compatible cameras are available on the market, from inexpensive to expensive.
[0003] There is known technology that enables a user to execute remote control commands based on such ONVIF protocols to perform various operations such as panning, tilting, and zooming a camera to capture an image of a desired target, and transmit images captured by the camera to an external control device via a wired or wireless IP network (Patent Document 1). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2013-026642 A [Non-patent literature]
[0005] [Patent Document 1] ONVIF Network Interface Specifications (https: / / www.onvif.org / profiles / specifications / ) Summary of the Invention [Problem to be solved by the invention]
[0006] However, regardless of whether the camera is based on the standard ONVIF standard or another proprietary standard, depending on the camera model (especially inexpensive models), when comparing an image captured when the camera is panned from the right side toward a target with an image captured when the camera is panned from the left side toward the same target, a horizontal misalignment may occur between the two images, even though the same x coordinate value is specified. In the case of tilt operation, when comparing an image captured when the camera is tilted from above toward a target with an image captured when the camera is tilted from below toward the same target, a vertical misalignment occurs between the two images, even though the same y coordinate value is specified. For example, if such a misalignment occurs during pan operation, when an external control device sends a command to a camera via a network to specify a target with the same coordinates and to take a picture, different captured images will be obtained when the camera is panned from the left side toward the target and when it is panned from the right side, which will result in the following problems. In other words, the pixel value (ΔPx, ΔPy) that indicates the magnitude of the deviation is proportional to the zoom magnification of the camera, so for example, even if the deviation is 4 pixels when the zoom magnification is 1, if the zoom magnification of the camera is increased to 25 times, the deviation will be 100 pixels. When installing and operating an ONVIF-compatible PTZ camera for disaster monitoring or other purposes, it is usually shot wide at a zoom magnification of 1, and if an abnormality such as smoke or fire is detected on the screen by visual inspection or AI, it is necessary to increase the zoom magnification to get a closer look. However, if you zoom up as it is, the abnormal point will go out of frame, so you need to pan and tilt the camera so that the abnormal point is in the center of the screen. However, if a large deviation like the above occurs, problems will occur, such as the abnormal point being overlooked or the correct evaluation or judgment not being made, especially in automatic alert processing by AI.
[0007] In the ONVIF absolute value specified movement command, as its argument, the pan value of the camera is specified by the absolute value of the x coordinate (-1 < x ≤ 1), and similarly, the tilt value of the camera is specified by the absolute value of the y coordinate (-1 < y ≤ 1). At this time, for example, if the camera can pan over 360°, since x = -1 corresponds to -180° and x = 1 corresponds to 180°, for example, x = 0.01 becomes 1.8° and x = -0.01 becomes -1.8°. On the other hand, the maximum tilt angle of the camera is often smaller than the pan angle. For example, when the tilt angle of the camera is limited to 180°, since y = -1 corresponds to -90° and y = 1 corresponds to 90°, for example, y = 0.01 becomes 0.9°. Thus, in the ONVIF absolute value specified movement command, by comparing the pan value and the tilt value, it can be seen that, for example, even with the same 0.01 unit, the swing range of the pan value is larger in terms of angle. Therefore, when following the ONVIF standard, generally, the deviation amount for a certain target is said to be larger in the case of the pan operation. Also, in ONVIF, a movement command that specifies a relative value as an argument is also prepared, but the situation where deviation occurs is the same as when using the absolute value specified movement command.
[0008] The main object of the present invention is to provide a technique for correcting the deviation of a captured image when panning or tilting from one side and from the other side with respect to a certain target.
Means for Solving the Problem
[0009] As a result of intensive studies by the inventors of the present invention on means for achieving the above object, for example, the deviation amount between a captured image panned from the left side and a captured image panned from the right side with respect to a first type of target whose distance from the camera is known is normalized by an angle value (Δx i ), a constant (C) regarding the deviation characteristic specific to the camera is obtained, and using this constant (C), the deviation amount between a captured image panned from the left side and a captured image panned from the right side with respect to a specific second type of target whose distance from the camera is unknown is normalized by an angle value (Δx o) are calculated in advance, and when the camera is panned to an arbitrary third target whose distance from the camera is unknown, the normalized values (Δx o ) to interpolate the third target's pan value (x) (±Δx o / 2), it has been found that it is possible to reduce the camera misalignment when panning to this third type target. The same applies to tilting the camera. Based on the above findings, the inventors have come to the realization that the problems of the prior art can be solved, and have completed the present invention. The present invention will be specifically described below.
[0010] A first aspect of the present invention relates to a method for correcting deviations that occur during panning or tilting of a digital camera. The correction method according to the present invention includes the following first step (S1) to seventh step (S7). The first step (S1) to third step (S3) are steps performed on one or more specific first-type targets whose distances from the correction target camera are known, and are performed, for example, indoors (indoor preliminary experiment). The fourth step (S4) to sixth step (S6) are steps performed on multiple specific second-type targets whose distances from the correction target camera are unknown, and are performed, for example, outdoors (outdoor preliminary experiment). The seventh step (S7) is a step of panning or tilting the correction target camera with respect to any third-type target whose distance from the correction target camera is unknown, and the amount of correction for the camera is calculated using data obtained through the above first step to sixth step.
[0011] In the first step, for one or more specific first - type targets whose distances from the camera to be corrected are known, the pan value (x) or tilt value (y) of the first - type target is specified for the camera to be corrected, and first - type images are obtained when panning or tilting from one side sandwiching the first - type target to the first - type target for shooting and when panning or tilting from the other side to the first - type target for shooting. When panning the camera to be corrected towards the target, for example, the "one side" mentioned here is the left side of the target, and the "other side" is the right side of the target. When tilting the camera to be corrected towards the target, for example, the "one side" mentioned here is the upper side of the target, and the "other side" is the lower side of the target.
[0012] In the second step, by analyzing the first - type images obtained in the first step, the pixel values (ΔPx i , ΔPy i ) representing the displacement amount from the displacement position when shooting by panning or tilting from one side to the displacement position when shooting by panning or tilting from the other side, and the values (Δx i , Δy i ) obtained by normalizing the displacement amount with the angle of the pan angle or tilt angle are obtained. The "value (Δx i , Δy i ) obtained by normalizing the displacement amount with the angle of the pan angle or tilt angle" here is the value representing the displacement amount with respect to the first - type target in terms of the pan value (- 1 < x ≤ 1) or tilt value (- 1 < y ≤ 1) of the camera specified by the ONVIF command. For example, since the distance (e.g., l [m]) from the first - type target to the camera is known, the lengths of the above - mentioned displacement amounts (Δdx, Δdy) on the installation surface (e.g., wall surface) of this first - type target can be obtained by triangulation or the like. Also, for example, if the camera to be corrected can pan up to 360° (2π), when considering the displacement amount (Δdx) in the pan direction in terms of the above - mentioned pan value (- 1 < x ≤ 1), when x changes by 2 from - 1 to 1, Δdx changes by 2πl, that is, Δx iIt is obtained by (Δdx / l) / (2π / 2). Similarly, for example, if the camera to be corrected can tilt up to 180° (π), the amount of deviation in the tilt direction (Δdy) in terms of the pan value (-1 < y ≤ 1) is such that when y changes by 2 from -1 to 1, Δdy changes by πl, that is, Δy i is obtained by (Δdy / l) / (π / 2). The value obtained in this way, "the value obtained by normalizing the amount of deviation with the angle of the pan angle or tilt angle (Δx i , Δy i )" is constant regardless of the distance from the camera to the first type of target, so it is a value that can be applied to other targets with an unknown distance from the camera.
[0013] In the third step, from the pixel values (ΔPx i , ΔPy i ) and the values normalized by the angle (Δx i , Δy i ) obtained in the second step, constants (Cx, Cy) regarding the deviation characteristics specific to the camera to be corrected are obtained. Specifically, the constant (Cx) representing the deviation characteristics in the pan direction is Cx = ΔPx i / Δx i and is obtained in this way. Also, the constant (Cy) representing the deviation characteristics in the tilt direction is Cy = ΔPy i / Δy i and is obtained in this way. The constants (Cx, Cy) obtained in this way are also constant regardless of the distance from the camera to the first type of target, so they are values that can be applied to other targets with an unknown distance from the camera.
[0014] In the fourth step, for a plurality of specific second type of targets with an unknown distance from the camera to be corrected, the pan value (x) or tilt value (y) of the second type of target is specified for the camera to be corrected, and second type images are respectively obtained when panning or tilting from one side to the second type of target across the second type of target and when panning or tilting from the other side to the second type of target and taking a picture. Note that this fourth step is the same procedure as the first step described above.
[0015] In the fifth step, by analyzing the second type of image obtained in the fourth step, the pixel values (ΔPx o , ΔPy o ) representing the amount of deviation from the deviation position when shooting with pan or tilt from one side to the deviation position when shooting with pan or tilt from the other side are obtained for a plurality of cases. Note that this fifth step is the same procedure as the second step described above. However, since the distance from the camera to the second type of target is unknown, in the fifth step, "the value obtained by normalizing the amount of deviation by the angle of the pan angle or tilt angle (Δx i , Δy i )" cannot be obtained, which is different from the second step in this regard.
[0016] In the sixth step, from the constants (Cx, Cy) obtained in the third step and the plurality of pixel values (ΔPx o , ΔPy o ) obtained in the fifth step, a plurality of values obtained by normalizing the amount of deviation by the angle of the pan angle or tilt angle (Δx o , Δy o ) are obtained. The "value obtained by normalizing the amount of deviation by the angle of the pan angle or tilt angle (Δx o , Δy o )" mentioned here is a value representing the amount of deviation with respect to the second type of target in terms of the pan value (-1 < x ≦ 1) or tilt value (-1 < y ≦ 1) of the camera specified by, for example, an ONVIF command. Specifically, for the pan value (Δx o ) of the camera, Δx o = ΔPx o / Cx may be calculated. Also, for the tilt value (Δy o ) of the camera, Δy o = ΔPy o / Cy may be calculated.
[0017] In the seventh step, actually, when panning or tilting the camera to be corrected with respect to any third type of target for which the distance from the camera to be corrected is unknown, based on the plurality of values normalized by the angles (Δx o , Δy o ) obtained in the sixth step, the correction amount (±Δx o / 2,±Δy o For example, when panning the camera to a third target with a certain x coordinate, Δx is calculated for the second target that is closest to the x coordinate of the third target. o Refer to the value to set the panning correction amount (±Δx o For example, when panning the camera from the left side toward a third-type target at a certain x coordinate, the ONVIF absolute value specified movement command is used to set the camera to x+Δx o When you specify / 2 as an argument and pan the camera from the right side toward a third-type target at a certain x coordinate, you use the ONVIF absolute value specified movement command to move the camera to x-Δx. o / 2 can be specified as an argument. This operation is also used to tilt the camera to a third target at a certain y coordinate.
[0018] In the misalignment correction method according to the present invention, the first step is performed for a plurality of first type targets, and in the second step, pixel values (ΔPx i ,ΔPy i The first step may be performed for only one first type target, but it is preferable to perform the first step for a plurality of first type targets and calculate the pixel value (ΔPx i ,ΔPy i ) the accuracy of the deviation correction can be improved.
[0019] In the misalignment correction method according to the present invention, the seventh step is to calculate the normalized value (Δx o ,Δy o ) of the pan value (x) or tilt value (y) in the vicinity of the third target normalized by the angle obtained in the sixth step (Δx o ,Δy o ) is interpolated to obtain the deviation amount for the third target normalized by the pan angle or tilt angle (Δx o ,Δy o) and calculate the value (Δx o ,Δy o ) to the correction amount (±Δx o / 2,±Δy o It is preferable to find the value (Δx / 2) in the normalized range. Interpolation means to find the value that fills the range of each interval of some known numerical data. In this way, the normalized values (Δx o ,Δy o ) to obtain the normalized value (Δx o ,Δy o ) and use this to calculate the correction amount (±Δx o / 2,±Δy o / 2), the accuracy of the deviation correction can be improved.
[0020] The second aspect of the present invention relates to a method for generating data for calculating a correction amount during panning or tilting of a digital camera. The data generation method according to the second aspect includes the first to sixth steps described in the deviation correction method according to the first aspect, but does not include the seventh step. Instead of the seventh step, the data generation method according to the second aspect uses a plurality of "angle-normalized values (Δx o ,Δy o The eighth step includes a step of storing data including the angle-normalized value (Δx o ,Δy o As mentioned above, the angle-normalized value (Δx o ,Δy o It is valuable to generate multiple pieces of data including "" and store them in a storage device.
[0021] A third aspect of the present invention relates to a control device for a digital camera. This control device is connected to a digital camera to be corrected by wire or wirelessly (via the Internet, etc.). The control device for the digital camera includes a storage unit and a control unit. The storage unit stores a value (Δx o ,Δy o When the digital camera is panned or tilted with respect to an arbitrary target (the third type target described above) whose distance from the digital camera is unknown, the control unit determines the correction amount (±Δx o / 2,±Δy o / 2) and the correction amount is added to control the pan or tilt operation of the digital camera.
[0022] In the control device according to the third aspect of the present invention, when the current orientation of the digital camera is within a predetermined threshold distance from the arbitrary target, the control unit preferably moves the orientation of the digital camera away from the arbitrary target once, and then adds a correction amount to execute a pan or tilt operation of the digital camera. If the current orientation of the digital camera is too close to the arbitrary target, the digital camera may not be accurately aimed at the target even if the correction amount is added and the digital camera is panned or tilted toward the target. For this reason, the digital camera can be accurately aimed at the target by moving the orientation of the digital camera away from the arbitrary target once, adding the correction amount, and panning or tilting the digital camera toward the target again.
[0023] A fourth aspect of the present invention relates to a computer program for causing an information processing device such as a personal computer to function as the control device according to the third aspect described above. This computer program may be downloaded and installed in the information processing device via the Internet or the like, or may be non-temporarily recorded on a recording medium such as a CD-ROM. Effect of the Invention
[0024] According to the present invention, it is possible to correct the misalignment of captured images when a target is panned or tilted from one side and when it is panned or tilted from the other side. [Brief description of the drawings]
[0025] [Figure 1] FIG. 1 is a flow diagram clearly illustrating each step in a method for correcting misalignment in a digital camera. [Diagram 2] FIG. 2 shows an example of a measurement experiment in which multiple first-type targets are photographed from a camera positioned indoors. [Diagram 3] Figure 3 shows an example of experimental data that indicates that misalignment occurs in images captured by a camera before correction when shooting indoors. [Figure 4] FIG. 4 shows the concept of the amount of deviation obtained from a photographed image (first type image) of a first type target. [Diagram 5] FIG. 5 shows an example of experimental data that shows that the misalignment is suppressed in images captured by a corrected camera when photographing indoors. [Figure 6] FIG. 6 shows an example of a measurement experiment in which multiple second type targets are photographed from a camera positioned outdoors. [Figure 7] FIG. 7 shows an example of experimental data that indicates that misalignment occurs in images captured by a camera before correction when photographing outdoors. [Figure 8] FIG. 8 shows the concept of the amount of deviation obtained from a captured image (second type image) of a second type target. [Figure 9]FIG. 9 shows an example of experimental data that indicates that the shift is suppressed in the image captured by the corrected camera when photographing outdoors. [Figure 10] Figure 10 shows an example of the measurement results of pixel values (ΔPxo) of the amount of shift measured for multiple second type targets at a specified interval, and an example of the measurement results of pixel values (ΔPxo) of the amount of shift measured individually for a specific target. [Figure 11] FIG. 11 is a block diagram showing an example of the configuration of a digital camera to be corrected and its control device. [Figure 12] FIG. 12 shows an example of a digital control method by the control device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0026] Hereinafter, the embodiments of the present invention will be described with reference to the drawings. The present invention is not limited to the embodiments described below, and includes appropriate modifications of the embodiments described below within the scope obvious to those skilled in the art.
[0027] Fig. 1 shows the steps included in the misalignment correction method for a digital camera according to the present invention. The contents of the present invention will be explained below along with specific experimental procedures, following the steps shown in Fig. 1. Note that the following explanation will focus on panning the camera, which is generally considered to cause a relatively large amount of misalignment. However, the misalignment correction method according to the present invention can also be applied to tilting the camera using the same procedures as for panning.
[0028] [1. Indoor preliminary experiment] First, in this embodiment, the first step (S1) to the third step (S3) shown in FIG. 1 are directed at a first type of target whose distance from the camera is known, and this first type of target is, for example, arranged indoors. In the first step (S1), for the first type of target whose distance from the camera is known, captured images (first type of images) are acquired when panning from the left side and when panning from the right side. FIG. 2 schematically shows this step. As shown in FIG. 2, for example, a camera 10 to be corrected is installed indoors with four sides surrounded by walls. This camera 10 has an imaging unit (image sensor), a pan mechanism for rotating this imaging unit in the pan direction, and a tilt mechanism for rotating this imaging unit in the tilt direction. Note that this camera 10 can rotate 360° in the pan direction and 180° in the tilt direction. In this room, first type of targets A to C are installed on the wall surface, target B is installed at a point orthogonal to the line-of-sight direction of the camera 10, and targets A and C are installed on both adjacent sides thereof. At the center of each of the targets A to C, as exemplified by target B, a marker line (ML) is drawn vertically, and a scale is attached or printed horizontally so that the distance from this marker line (ML) can be measured. Also, the distance l i [m] (i = 1, 2, 3) from the camera 10 to each of the targets A to C is a known value measured in advance. Also, for each of the targets A to C, the exact absolute value coordinate value (-1.0 < x ≦ 1.0) in the pan direction of the camera 10 in the ONVIF command, that is, the pan value x i (i = 1, 2, 3) is also acquired. Note that x = 0 is 0°, x = -1.0 is -180°, and x = 1.0 is 180°, so x = -1.0 and x = 1.0 are substantially the same coordinate value. In the example shown in FIG. 1, the pan value x of target A is -0.279, the pan value x of target B is -0.258, and the pan value x of target C is -0.235. Note that the absolute value coordinate values (-1.0 < y ≦ 1.0) in the tilt direction of each of the targets A to C are all set to y = 1.0 (horizontal).
[0029] In the above indoor environment, the pan value x of each of the targets A to C is input to the camera 10 iInput it as an argument of the ONVIF command, and after panning the camera 10 toward the marker lines (ML) of each of the targets A to C, photograph each of the targets A to C. As a specific experimental procedure for target B, first, determine whether to turn the camera 10 to the left or right of each target B by a random number (1). Next, determine by a random number the angle to which the camera 10 is to be turned within a predetermined range, and set the x-coordinate value (pan value) of the camera 10 when turned to that angle as x n Let it be (2). For example, if the predetermined range of the angle is ±54°, since 54° becomes 0.3 in the absolute coordinate system of (-1.0 < x ≤ 1.0), x - 0.3 ≤ x n ≤ x + 0.3. Note that n is the number of trials, and in this example, n = 1, 2, …, 400 times. Next, input the pan value (x = -0.258) of target B as an argument of the ONVIF absolute value specified movement command to the camera 10, and pan the camera 10 to this target B for photographing (3). Next, save the photographed image captured by the camera 10, here an FHD (1920×1080 px) image D n together with the value of x n in a computer such as the control device 20 (4). Next, by image processing such as a Python program executed by this computer, obtain the pixel value V n of the x-axis of the marker line (ML) of target B in the photographed image D n . And for target B, repeat the above processes (1) to (5) 400 times. By this experiment, 400 sets (n = 1, 2, …, 400) of data sets (D n , x n , V n ) are obtained.
[0030] Subsequently, in the second step (S2), first, based on the data sets of the plurality of first-type images acquired in the first step, by image processing by a computer, the pixel value (ΔPx iThat is, as a result of the above-mentioned repeated trials, for the target B (x=-0.258), a histogram such as that shown in FIG. 3 is obtained. Then, the data set (D n ,x n ,V n ), it is possible to determine how many pixels of deviation will occur on average in the captured image when the camera 10 is panned from the left side relative to the target B, and how many pixels of deviation will occur on average in the captured image when the camera 10 is panned from the right side relative to the target B. In this indoor preliminary experiment, the difference between the average value of the deviation position of the captured image when panning from the left side and the average value of the deviation position of the captured image when panning from the right side is defined as ΔPx i In the calculation results of the histogram example shown in Figure 3, ΔPx i =69.3[px].
[0031] Figure 4 shows the amount of deviation (ΔPx i) concept. That is, as shown in FIG. 4(a), it is ideal that the center line (CL) of the image captured by the camera completely coincides with, for example, the marker line (ML) of target B. However, as shown in FIG. 4(b), in an image captured by panning the camera from the left side of target B toward this target B, or as shown in FIG. 4(c), in an image captured by panning the camera from the right side of target B toward this target B, the center line (CL) of the captured image often deviates from the marker line (ML) of target B. In the examples shown in FIG. 4(b) and FIG. 4(c), the rotation of the camera in the pan direction is insufficient, and the center line (CL) of the captured image does not reach the marker line (ML) of target B. Note that, depending on the characteristics of the camera, the rotation of the camera in the pan direction may be excessive, and the center line (CL) of the captured image may exceed the marker line (ML) of target B. In such a case, as shown in Fig. 4(d), the deviation between the center line (CL) of the image captured when panning from the left side of target B (Fig. 4(b)) and the center line (CL) of the image captured when panning from the right side of target B (Fig. 4(c)) is calculated by image analysis, and the distance between these center lines is expressed in pixel values as the deviation, which is "ΔPx i The center line of the image captured when panning from the left side and the center line of the image captured when panning from the right side can each be calculated from the average value of multiple trials, as described above.
[0032] Also, as shown in Figure 4, by attaching or printing rulers on the walls on both sides of the marker line (ML), it is possible to obtain the actual dimension Δdx [cm] of the deviation between the center line (CL) of the image captured by panning from the left side of the target and the center line (CL) of the image captured by panning from the right side of the target on this wall by computer image processing. The value of Δdx is expressed by the following <Equation 1> when the captured image is FHD (1920 x 1080px). <Formula 1> Δdx[cm]=ΔPx / 1920×L[cm] Here, as shown in FIG. 4(d), L is the horizontal width of the wall surface on which the target shown in the captured image is provided (that is, the length of the scale that fits within the full width of the captured image). For example, if this L is 34.1 [cm] and ΔPx i is the aforementioned 69.3 [px], then Δdx is 1.23 [cm]. If the captured image is 4K instead of FHD, the above 1920×1080 px will be replaced by 3840×2160 px.
[0033] Also, in the second step (S2), based on the pixel value (ΔPx i ) of the deviation amount calculated by the above procedure, for target B whose distance (l2) from camera 10 is known, a value (Δx i ) obtained by normalizing this deviation amount with the pan angle (2π) is determined. The normalized value (Δx i ) is a value representing the deviation amount (Δdx) of camera 10 with respect to target B in terms of the pan value (-1 < x ≦ 1) of the camera specified by the ONVIF command. For example, if the camera 10 to be corrected can pan up to 360° (2π), the value of the deviation amount (Δdx) in the pan direction in terms of the above pan value (-1 < x ≦ 1) can be obtained from the fact that Δdx changes by 2πl2 when x changes by 2 from -1 to 1. That is, the normalized value (Δx i ) for target B is represented by the following <Equation 2>. <Equation 2> Δx i =(Δdx / l2) / (2π / 2) For example, as described above, when Δdx is 1.23 [cm] and the distance l2 is 651 [cm], Δx i =(1.23 / 651) / (2π / 2)=0.00060141499.
[0034] Subsequently, in the third step (S3), based on the values of ΔPx i and Δx i obtained in the above-described second step, a constant (Cx) regarding the deviation characteristics specific to camera 10 to be corrected is determined. That is, the constant Cx is represented by the following <Equation 3>. <Formula 3> Cx=ΔPx i / Δx i
[0035] If the distance l2 from the camera 10 to the target B is doubled, Δdx will also be doubled. From the above formula 2, Δx i The value of is constant regardless of distance. Also, if the distance l2 from the camera 10 to the target B is doubled, Δdx is also doubled, but L in the above <Equation 1> is also doubled, so it can be said from the above <Equation 1> that the value of ΔPx is also constant regardless of distance. Therefore, ΔPx in the above <Equation 3> i / Δx i The constant Cx calculated by the above formula is constant regardless of the distance. Therefore, the constant Cx can be considered to indicate the deviation characteristic specific to the camera 10 to be corrected. For the target B described above, ΔPx i = 69.3 and Δx = 0.00060141499, so according to the above <Equation 3>, the constant Cx = 115228.255285.
[0036] Moreover, the first to third steps performed for the target B may be performed for the targets A and C arranged in the same room while keeping the position of the camera 10 fixed. The constants Cx obtained in the experiments for the targets A and C should be approximately the same as the constant Cx obtained in the experiments for the target B, although there may be some errors. The average value of the constants Cx obtained in the experiments for the targets A, B, and C may be used as the constant Cx specific to the camera 10. In this way, by using the targets whose distances from the camera 10 are known through the indoor preliminary experiments, a constant (Cx) that is constant regardless of the distance from the camera 10 can be obtained, and this constant (Cx) can be used when calculating the amount of deviation of the same camera 10 for a target whose distance is unknown. In this embodiment, ΔPx i / Δx i =Cx≒110000.
[0037] In addition, when correcting the deviation when panning to a target whose distance from the camera 10 is known in the indoor preliminary experiment, the normalized value (Δx i ) is halved (Δx i / 2) is the correction amount during panning. In other words, in the indoor preliminary experiment, for example, when panning the camera 10 from the right side to the target B, the ONVIF command argument is x-Δx i / 2 to camera 10, for example, to pan camera 10 from the left to target B, use x+Δx i In this case, the experimental results are as shown in the histogram in Figure 5, and it can be seen that the amount of deviation is significantly reduced compared to the histogram shown in Figure 4. In other words, in the calculation results of the histogram shown in Figure 4, ΔPx i = 69.3 [px], but the calculation results of the histogram shown in Figure 4 show that ΔPx i =4.2[px], which is a significant improvement.
[0038] [2. Outdoor preliminary experiment] 1, a second type target whose distance from the camera 10 is unknown is targeted, and the second type target is assumed to be placed outdoors, for example. In the outdoor preliminary experiment of the fourth to sixth steps, the camera 10 that has been used in the indoor preliminary experiment of the first to third steps continues to be the subject of the experiment. In the outdoor preliminary experiment, for example, as shown in FIG. 6, a feature point (e.g., a steel tower or a signboard) that is easy to analyze images of and exists outdoors may be appropriately selected as the second type target.
[0039] As shown in FIG. 6, in the fourth step (S4), similar to the first step (S1) described above, the pan value x (e.g., -0.415) of each target is input to the camera 10 as an argument, the camera 10 is panned toward the target, and then an image of the target is taken. Specifically, a random number is used to determine whether the camera 10 should be directed to the left or right of the target (1). Next, a random number is used to determine the angle at which the camera 10 should be directed within a specified range, and the x coordinate value (pan value) of the camera 10 when directed to that angle is calculated as xn Set it as (2). For example, if the predetermined range of the angle is ±54°, since 54° becomes 0.3 in the absolute coordinate system of (-1.0 < x ≤ 1.0), then x - 0.3 ≤ x n ≤ x + 0.3. Here, n is the number of trials, and in this example, n = 1, 2, …, 100. Next, input the pan value (x = -0.415) of the target into the absolute value specified movement command of ONVIF for Camera 10, and pan Camera 10 to this target for shooting (3). Next, the captured image shown on Camera 10, here an FHD (1920×1080px) image D n is saved together with the value of x n in a computer such as the control device 20 (4). Next, through image processing such as a Python program executed on this computer, the pixel value V n of the x-axis of the target in the captured image D n is obtained (5). Then, for one target, the above-mentioned processes (1) to (5) are repeated 400 times. Through this experiment, 400 sets (n = 1, 2, …, 400) of data sets (D n , x n , V n ) are obtained for one target. And the above-mentioned processes (1) to (5) are repeated for each of a plurality of targets. In the example shown in FIG. 6, at the pan value x (-1.0 < x ≤ 1.0), targets are set every 0.005 (i.e., 0.9°) to the left and right, and the processes (1) to (5) are performed for each target.
[0040] Subsequently, in the fifth step (S5), similar to the second step (S2) described above, based on the data sets of the plurality of second-type images acquired in the fourth step, by image processing using a computer, the pixel value (ΔPx O ) of the deviation amount between the captured image when Camera 10 pans from the left side and the captured image when it pans from the right side for a specific target is obtained. That is, as a result of the above-mentioned repeated trials, for the target (x = -0.415), for example, a histogram as shown in FIG. 7 is obtained. And the data sets (D n , x n , Vn ), it is possible to determine how many pixels of deviation will occur on average in the captured image when the camera 10 is panned from the left side of the target, and how many pixels of deviation will occur on average in the captured image when the camera 10 is panned from the right side of the target. In this outdoor preliminary experiment, the difference between the average value of the deviation position of the captured image when panning from the left side and the average value of the deviation position of the captured image when panning from the right side is defined as ΔPx O In the calculation results of the histogram example shown in Figure 7, ΔPx O = 210.4[px]. Such ΔPx O The value of is calculated for each of the multiple targets.
[0041] Figure 8 shows the amount of deviation (ΔPx O ) concept. In other words, as shown in FIG. 8(a), it is ideal that the center line (CL) of an image captured by a camera perfectly coincides with the center of a specific target (a steel tower), for example. However, as shown in FIG. 8(b), in an image captured by panning the camera from the left side of the target toward the target, or as shown in FIG. 8(c), in an image captured by panning the camera from the right side of the target toward the target, the center line (CL) of the captured image often deviates from the center of the target. In the examples shown in FIG. 8(b) and FIG. 8(c), the rotation of the camera in the pan direction is insufficient, and the center line (CL) of the captured image does not reach the target. Note that, depending on the characteristics of the camera, the rotation of the camera in the pan direction may be excessive, causing the center line (CL) of the captured image to exceed the target. In such a case, as shown in Fig. 8(d), the deviation between the center line (CL) of the image captured when panning from the left side of the target (Fig. 8(b)) and the center line (CL) of the image captured when panning from the right side of the target (Fig. 8(c)) is calculated by image analysis. This deviation is expressed in pixel values as "ΔPx i The center line of the image captured when panning from the left side and the center line of the image captured when panning from the right side can each be calculated from the average value of multiple trials, as described above.
[0042] However, the fifth step (S5) is different from the second step (S2) in that the target is a target whose distance from the camera 10 is unknown. Therefore, the amount of deviation normalized by the pan angle (Δx o Therefore, in the following sixth step (S6), the ΔPx O Based on the value of and the value of the constant Cx obtained in the third step, this normalized value (Δx o In other words, the constant Cx is given by <Formula 3> Cx = ΔPx i / Δx i Since this is the value obtained by Δx o When applied to the formula, Δx o can be calculated using the following Equation 4. <Formula 4> Δx O =ΔPx O / Cx For example, as described above, the constant Cx for this camera 10 is ≈ 110000, so the deviation of the camera 10 from the target (x = -0.415) is ΔPx O = 210.4[px], Δx O =210.4 / 110000=0.00191272727.
[0043] In the outdoor preliminary experiment, the angle between the camera 10 and the target differs depending on the direction of the camera 10. O Since the value of varies depending on the direction of the target as seen by the camera 10 (i.e., the pan value x input to the camera 10), Δx O However, the correction amount of the camera 10 facing the same target is x-Δx when panning the camera 10 from the right side, as in the indoor preliminary experiment. O Enter the command as / 2, and x+Δx to pan from the left O / 2. For example, when panning the camera 10 from the left toward a target at x=-0.415, the command argument is corrected as (-0.415+0.00191272727 / 2), and when panning the camera 10 from the right toward the same target, the command argument is corrected as (-0.415-0.00191272727 / 2). The experimental results after this correction are as shown in the histogram in FIG. 9, and it can be seen that the amount of deviation is significantly reduced compared to the histogram shown in FIG. 7. In the calculation results of the histogram shown in FIG. 7, ΔPx O = 210.4 [px], but the calculation results of the histogram shown in Figure 9 show that ΔPx O =-18.2[px], a significant improvement.
[0044] In addition, as described above, when photographing a target whose distance from the camera 10 is unknown, such as in outdoor photography, the above Δx O The value of varies depending on the pan value x (the direction of the target as seen by the camera 10), but the Δx O The change in x is smooth. For example, the value of x is changed in advance from -1.0 to 1.0 (-180° to 180°) in increments of a predetermined value (for example, in increments of 0.1, 0.05, 0.01, or 0.005), and for each value, ΔPx is calculated in the above procedure. O or Δx O The value of is stored in a computer such as the control device 20. This allows Δx O When calculating, ΔPx for the pre-calculated pan value x O Or Δx O Read out the value from the computer and calculate the value of ΔPx O or Δx O Δx for any pan value x by interpolation based on O It is possible to calculate ΔPx OThe intervals of the x values at which values such as the above are measured do not necessarily have to be at regular intervals as described above. For example, the intervals of the x values can be adjusted appropriately according to the outdoor scenery, for example, by making the intervals of the x values closer together in places where there are a lot of characteristic points such as steel towers and signs, and by making the intervals of the x values sparser in places where there are almost no characteristic points.
[0045] For example, in the graph of Figure 10, the pan value x is changed from -0.24 to -0.07 in increments of 0.005, and the ΔPx O The results are shown below. Note that Δx O is ΔPx O Since it is proportional to Δx O If you create a graph of this, you will get a broken line similar to that of Figure 10. From this result, even in outdoor shooting, even if the pan value x changes slightly, the magnitude of the deviation ΔPx O (pixel value) also changes very little. Therefore, ΔPx for any pan value x O is the known ΔPx in the vicinity of x O For example, in the graph of FIG. 10, the pan value -0.24 and the pan value -0.245 are already calculated by ΔPx O is calculated, and Δx O Therefore, for any point between these pan values, Δx O To find the value, use Δx for the pan value of -0.24. O and Δx with pan value -0.245 O By referring to these values, Δx of any point can be calculated by interpolating them. O Specifically, in FIG. 10, ΔPx obtained by the fourth step (S4) and the fifth step (S5) for specific targets with characteristic points such as a radio station antenna (x=-0.241, -0.214) and a clock tower (x=-0.173) are shown. O In this way, the value of ΔPx for any target is O Most of the measurements were done in advance at 0.005 intervals. OSince the target is located on the broken line connecting the targets, ΔPx can be calculated by interpolation for any other target. O Therefore, the first step (S1) to the sixth step (S6) shown in FIG. 1 are steps for obtaining Δx for each pan value x of a number of targets whose distances are unknown for the camera 10 to be corrected. O Find the number of Δx O The ultimate goal is to store the value of Δx as data in the computer. O Such data is useful for calibrating the camera 10 because it allows one to determine the amount of correction required to pan the same camera 10 to any other target.
[0046] [3. Camera correction control] 1 is a step in which the control device 20 corrects the pan operation of the camera 10 based on the data generated in the first step (S1) to the sixth step (S6). Fig. 11 is a block diagram showing the hardware configuration of the control device 20 and the camera 10 to be corrected.
[0047] As shown in FIG. 11, the camera 10 mainly includes a control circuit 11, a communication unit 12, an image capturing unit 13, a pan mechanism 14, and a tilt mechanism 15. As the camera 10, a known network camera (IP camera) that can be remotely controlled through a communication line such as the Internet can be adopted. The control circuit 11 is connected to the other elements 12 to 15, and is a circuit for performing overall control of these elements. The communication unit 12 is a communication module for communicating with the control device 20 via the communication circuit, and is connected to the communication circuit by a wired LAN or wireless LAN. The image capturing unit 13 is realized by, for example, an optical waveguide lens, an optical zoom lens, a mechanical shutter, a shutter driver, a photoelectric conversion element such as a CCD image sensor unit or a CMOS image sensor unit, a digital signal processor (DSP) that reads the charge amount from the photoelectric conversion element and generates image data, an IC memory, and the like. The pan mechanism 14 is a mechanism for physically rotating the image capturing unit 13 in the pan direction (horizontal direction), and is realized by a combination of multiple gears and the like. The pan mechanism 14 is preferably capable of rotating the imaging unit 13 in the pan direction over a full 360° circumference, but may have an upper limit of panning of, for example, 270° or 180°. The tilt mechanism 15 is a mechanism for physically rotating the imaging unit 13 in the tilt direction (vertical direction), and is realized by a combination of multiple gears, etc. The tilt mechanism 15 may be capable of rotating the imaging unit 13 in the tilt direction over a full 360° circumference, but may have an upper limit of tilting of, for example, 270°, 180°, or 90°.
[0048] The control device 20 mainly includes a control unit 21, a communication unit 22, a storage unit 23, an input unit 24, and an output unit 25. The control device 20 can be a general-purpose computer. The control unit 21 is composed of a processor such as a CPU or a GPU, and performs arithmetic processing for remotely controlling the camera 10 and other control processing of the entire control device 20. The communication unit 22 is a communication module for connecting to a communication line such as the Internet via a wired LAN or wireless LAN. The memory function of the storage unit 23 is realized by a volatile memory such as a RAM or a non-volatile memory such as a flash memory, and the storage function is realized by a non-volatile memory such as an HDD and an SDD. The input unit 24 can be a known input device such as a keyboard, a mouse, a touch panel, or a microphone. The output unit 25 can be a display device such as a liquid crystal display or an organic EL display, and a sound output device such as a speaker.
[0049] In addition, the storage unit 23 of the control device 20 stores a driver program for remotely controlling the camera 10 in accordance with a known standard such as ONVIF. The control unit 21 reads out the driver program from the storage unit 23, develops it in the memory, and performs a predetermined calculation process for generating a command (control signal) to be transmitted to the camera 10 in accordance with the program. When the camera 10 receives a command generated by the control device 20 via the communication circuit, the camera 10 controls the photographing unit 13, the pan mechanism 14, and the tilt mechanism 15 in accordance with the command. Specifically, the zoom operation by the photographing unit 13, the pan operation of the photographing unit 13 by the pan mechanism 14, and / or the tilt operation of the photographing unit 13 by the tilt mechanism 15 are performed. In addition, the image captured by the photographing unit 13 of the camera 10 is converted into, for example, a predetermined image format, and then transmitted to the control device 20 via a communication line. The control device 20 stores the photographed image received from the camera 10 in the storage unit 23.
[0050] The control device 20 can also be used as a computer for performing the image analysis in the first to sixth steps described above. Specifically, when the control device 20 receives an image captured by the camera 10 to be corrected, it performs image analysis on the image and calculates the pixel value (ΔPx i ,ΔPy i ), the deviation normalized by angle (Δx i ,Δy i ), constants related to the camera's inherent shift characteristics (Cx, Cy), pixel value of the shift amount (ΔPx o ,ΔPy o ), the deviation normalized by angle (Δx o ,Δy o The method of calculating these values is as described above. The control device 20 may also carry out a predetermined calculation process to calculate the values (Δx o ,Δy o It is sufficient to store data including this value (Δx o ,Δy o The image analysis and calculation processing for determining the difference (i.e., the difference between the distance and the distance) may be performed by using a computer other than the control device 20.
[0051] In addition, the storage unit 23 of the control device 20 stores the values (Δx o ,Δy o When generating a command for specifying an arbitrary pan value or tilt value for the camera 10, the control unit 21 of the control device 20 calculates a correction amount (±Δx o / 2,±Δy o Then, the control device 20 transmits to the camera 10 a command in which this correction amount is added to an arbitrary pan value or tilt value, and the camera 10 performs a pan operation or tilt operation according to this command.
[0052] Fig. 12 shows an example of remote control of the camera 10 by the control device 20. Fig. 12(a) shows an example of a general pan operation, and Fig. 12(b) shows an example of a special pan operation performed when the orientation of the camera 10 is close to the target.
[0053] First, as shown in FIG. 12(a), when the camera 10 is panned toward a target T whose pan value x is -0.125, the control device 20 inputs a value obtained by adding a correction amount (±Δx / 2) to the pan value (-0.125) of the target T to the camera 10 as a command. The correction amount (±Δx / 2) at this time is (-Δx / 2) when the camera 10 is panned from the right side of the target as shown in the figure, and is (+Δx / 2) when the camera 10 is panned from the left side of the target. This correction amount can be calculated by using data of Δx values calculated in advance for many other pan values, obtaining a value of Δx corresponding to the pan value (-0.125) of the target T by interpolation or the like, and then dividing the obtained Δx by 1 / 2. Note that if the pan value (-0.125) of the target T matches another pan value whose Δx value has been calculated in advance, there is no need to perform an interpolation calculation. The control device 20 inputs the command (-0.125-Δx / 2) thus obtained to the camera 10. The camera 10 then executes a pan operation in response to this command, and points the imaging unit toward the target T. Since this pan operation is performed taking into consideration the amount of correction, the deviation of the optical axis of the camera 10 from the target T is further reduced compared to before the correction.
[0054] Next, as shown in FIG. 12(b), when the camera 10 is panned toward a target T having a pan value x of -0.125, for example, the orientation of the camera 10 before the pan operation may be too close to the target T. In such a case, as in FIG. 12(a), it has been confirmed that the deviation may not be effectively suppressed even if the pan value x of the target T and its correction amount are simply input to the camera 10. This is considered to be a hardware problem of the pan mechanism of the camera 10, and such a phenomenon occurs frequently, particularly in inexpensive models of the camera 10. Therefore, as shown in FIG. 12(b), when the pan value of the camera 10 before the pan operation is within a predetermined threshold value with respect to the pan value of the target T, the control device 20 may control the camera 10 to move the optical axis of the camera 10 away from the target T once before inputting a command to pan to the target T to the camera 10. The position to which the camera 10 is moved away from the target T may be determined by a random number or may be determined by a predetermined calculation formula (for example, by adding a predetermined value to the pan value x of the target T). 12(a), the control device 20 inputs a command (-0.125-Δx / 2) to which a correction amount determined by an interpolation calculation or the like is added to the camera 10, and the camera 10 executes a pan operation in response to this command. As a result, for example, similar to the histogram shown in FIG. 9, the deviation between the optical axis of the camera 10 and the target T can be significantly reduced whether the camera 10 is panned from the right side or the left side with respect to the target T.
[0055] The above steps can be summarized as follows: (1. Indoor preliminary experiment) After preparing indoors by measuring the distance from the camera to the wall, the camera performs multiple pan or tilt operations from random positions to the target using the ONVIF absolute value specified movement command, and measures the average deviation (ΔPx i ,ΔPy i ) and normalized it by the angle (Δx i ,Δy i ) and calculate the constant (Cx = ΔPx i / Δx i,Cy=ΔPy i / Δy i ) is required. (2. Outdoor Preliminary Experiment) Outdoors, the average displacement (ΔPx i ,ΔPy i ) and normalize the deviation by angle using the constant obtained in the indoor preliminary experiment (Δx o =ΔPx o / Cx,Δy o =ΔPy o / Cy). (3. Camera correction control) For any pan value x or tilt value y outdoors, the Δx values obtained in the above outdoor preliminary experiment are o Also Δy o From the corresponding Δx by interpolation, etc. o Also Δy o The amount of correction (±Δx) is calculated and used as an argument for the ONVIF absolute value specified movement command to an arbitrary pan value x or tilt value y. o / 2,±Δy o / 2) to specify a value that significantly reduces the misalignment between the camera's optical axis and the target.
[0056] In this specification, the contents of the present invention have been explained mainly using the example of panning a camera aimed at a target. However, as stated in the summary above, the present invention is not limited to correcting deviations in panning a camera, and can also be applied to correcting tilt operations of a camera.
[0057] In the above, in order to express the contents of the present invention, the present specification has described the embodiments of the present invention with reference to the drawings. However, the present invention is not limited to the above-mentioned embodiments, and includes modifications and improvements that are obvious to a person skilled in the art based on the matters described in the present specification. [Explanation of symbols]
[0058] 10... camera 20... control device 11... Control circuit 21... Control unit 12…Communications Department 22…Communications Department 13...photography section 23...storage section 14...Pan mechanism 24...Input section 15...Tilt mechanism 25...Output section
Claims
1. A method for correcting a misalignment occurring during a pan or tilt operation of a digital camera, comprising: a first step of acquiring first type images of one or more specific first type targets whose distance from a camera to be corrected is known, by specifying a pan value (x) or tilt value (y) of the first type target to the camera to be corrected, and acquiring first type images of a case where the first type target is photographed by panning or tilting from one side of the first type target and the first type target is photographed by panning or tilting from the other side; By analyzing the first type image, a pixel value (ΔPx i , ΔPy i ) and the value (Δx i , Δy i ) in a second step; The pixel value (ΔPx i , ΔPy i ) and the value normalized by the angle (Δx i , Δy i a third step of calculating constants (Cx, Cy) relating to the deviation characteristics specific to the camera to be corrected from the above-mentioned a fourth step of acquiring second-type images of a plurality of specific second-type targets whose distances from the camera to be corrected are unknown, by specifying a pan value (x) or tilt value (y) of the second-type targets to the camera to be corrected, and acquiring second-type images of the second-type targets when the camera is panned or tilted from one side of the second-type targets and when the camera is panned or tilted from the other ... By analyzing the second type image, a pixel value (ΔPx o , ΔPy o A fifth step of determining a plurality of The constants (Cx, Cy) obtained in the third step and the pixel values (ΔPx o , ΔPy o ) to obtain a value (Δx o , Δy o A sixth step of determining a plurality of When the camera to be corrected is panned or tilted with respect to an arbitrary third type target whose distance from the camera to be corrected is unknown, the normalized value (Δx o , Δy o ), the amount of correction (±Δx) of the pan value (x) or tilt value (y) of the third target to be specified for the camera to be corrected is calculated. o / 2, ±Δy o / 2) and a seventh step of determining method.
2. The first step is performed on a plurality of the first type targets, In the second step, a pixel value (ΔPx i , ΔPy i ) to find the average The method of claim 1.
3. In the seventh step, the normalized values (Δx o , Δy o ), the pan value (x) or tilt value (y) in the vicinity of the third target is normalized by the angle obtained in the sixth step (Δx o , Δy o ) is interpolated to obtain the deviation amount for the third target normalized by the pan angle or tilt angle (Δx o , Δy o ) and calculate the value (Δx o , Δy o ) to the correction amount (±Δx o / 2, ±Δy o / 2) The method of claim 1.
4. A method for generating data for determining a correction amount during pan or tilt operation of a digital camera, comprising: a first step of acquiring first type images of one or more specific first type targets whose distance from a camera to be corrected is known, by specifying a pan value (x) or tilt value (y) of the first type target to the camera to be corrected, and acquiring first type images of a case in which the camera pans or tilts to the first type target from one side across the first type target and photographs the first type target from the other side; By analyzing the first type image, a pixel value (ΔPx i , ΔPy i ) and the value (Δx i , Δy i ) in a second step; The pixel value (ΔPx i , ΔPy i ) and the value normalized by the angle (Δx i , Δy i a third step of calculating constants (Cx, Cy) relating to the deviation characteristics specific to the camera to be corrected from the above-mentioned a fourth step of acquiring second-type images of a plurality of specific second-type targets whose distances from the camera to be corrected are unknown, by specifying a pan value (x) or tilt value (y) of the second-type targets to the camera to be corrected, and acquiring second-type images of the second-type targets when the camera is panned or tilted from one side of the second-type targets and when the camera is panned or tilted from the other ... By analyzing the second type image, a pixel value (ΔPx o , ΔPy o A fifth step of determining a plurality of The constants (Cx, Cy) obtained in the third step and the pixel values (ΔPx o , ΔPy o ) to obtain a value (Δx o , Δy o A sixth step of determining a plurality of The normalized values (Δx o , Δy o storing data including the method.
5. A control device for a digital camera, For a plurality of specific targets whose distances from the digital camera are unknown, the amount of displacement from one side of the pan or tilt to the other side of each specific target is normalized by the pan angle or tilt angle (Δx o , Δy o A storage unit storing data relating to each of the above items, When the digital camera is panned or tilted with respect to an arbitrary target whose distance from the digital camera is unknown, a correction amount (±Δx) of the pan value (x) or tilt value (y) of the arbitrary target to be specified for the digital camera is determined based on the data stored in the storage unit. o / 2, ±Δy o / 2), and a control unit that adds the correction amount to generate a control signal for controlling a pan or tilt operation of the digital camera. Control device.
6. When the current orientation of the digital camera is within a predetermined threshold range from the arbitrary target, the control unit moves the orientation of the digital camera away from the arbitrary target once, and then adds the correction amount to execute a pan or tilt operation of the digital camera. The control device according to claim 5.
7. A program for causing an information processing device to function as the control device according to claim 5.
Citation Information
Patent Citations
Camera, control device and program
JP2013026642A
