BACKGROUND OF THE INVENTION
The present invention relates to a method and apparatus for automatically tracking and photographing a moving object for use in a system using a camera.
When a user photographs a moving object with a conventional camera, such as a video camera, etc., the user must intentionally move his body such that the camera moves in the direction of the object's motion. This body motion alters the direction in which the camera lens is pointed in order to take a picture of the moving object. However, with a conventional video camera it is difficult to take a picture of the moving object while maintaining the moving object in the middle of a video screen or in a constant place on the screen. It is also difficult to manually track and photograph the moving object.
A conventional system for automatically focusing and photographing a moving object is disclosed in U.S. Pat. No. 4,980,715. However, this conventional automatic focus adjusting apparatus is only for automatically adjusting a focusing distance between a moving object and a camera lens. The system of U.S. Pat. No. 4,980,715 does not teach a method and an apparatus for moving a camera lens in the direction of a moving object.
Another system (U.S. Pat. No. 5,091,781) commonly assigned with the present application, discloses a camera moving apparatus used to move a camera in the same direction as that of a moving object. In the '781 system, luminance signals stored in picture memory are multiplexed, and the multiplexed signals are added and subtracted in a desired manner. The multiplexed peak values of the luminance signals are peak detected and a camera moving control signal is supplied to a camera driving unit based on these peak detected signals thereby moving the camera according to the direction of the picture's movement. However, the system of U.S. Pat. No. 5,091,781 does not use the present invention's method and apparatus for detecting the picture's movement.
SUMMARY OF THE INVENTION
It is an object of the present invention to provide a method and an apparatus for automatically tracking and photographing a moving object.
It is another object of the present invention to provide a method and an apparatus for maintaining a picture of an object in a constant location on each picture screen by automatically tracking and photographing the moving object.
To accomplish the above objects, the present invention provides a method for automatically tracking and photographing a moving object for use in a camera. The method stores image signals input to the camera in a plurality of memory locations according to a predetermined time interval and predetermined sequence. The present method also detects the image signals stored in the respective memory locations and senses differences between address bits in the respective memory locations. These differences correspond to movement of the object. Next, the method calculates a time interval proportional to a distance, that the object has moved by using the difference values between corresponding addressed bits in memory. Finally, the method drives the camera by the distance that the object has moved according to the magnitude of the calculated time interval.
The invention also provides an apparatus for automatically tracking and photographing a moving object for use in a camera. The apparatus includes a plurality of memory units for sequentially storing image signals input to the camera according to a predetermined time interval. A memory selection circuit is used for sequentially selecting one of the plurality of memory units according to the predetermined time interval. The apparatus also includes means for detecting the image signals stored in memory and for sensing differences between addressed bits in the respective memory locations with respect to the image signals input from the object. A voltage detector is used for selecting a voltage proportional to the output of the sensing means, so as to angularly displace a focal point of the camera by an amount equal to the movement of the object. A driving motor is used for angularly shifting the focal point of the camera according to the output of the voltage detector.
The above objects and other advantages of the present invention will become more apparent by describing the preferred embodiment of the present invention with reference to the attached drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram showing circuitry of a preferred embodiment of the present apparatus for automatically tracking and photographing a moving object for use in a camera;
FIG. 2 is an exemplary diagram for explaining an address signal which results from mixing the signals stored in the respective memory units shown in FIG. 1;
FIGS. 3A, 3B and 3C are waveform diagrams resulting from the address signal of FIG. 2; and
FIG. 4 is a detailed circuit diagram showing the voltage detector of FIG. 1.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
A preferred embodiment of the present invention will be described hereinafter with reference to the attached drawings.
A block diagram relating to an apparatus for automatically tracking and photographing a moving object is shown in FIG. 1.
In FIG. 1, a composite video signal CV from a camera 5 is supplied to a luminance separator 10. The composite video signal CV includes an image signal of a moving object. An A/D converter 20 converts an analog luminance signal from the luminance separator 10 into a digital signal. A memory selection circuit 30 sequentially stores the digital signals from the A/D converter 20 in a first memory unit 50 and a second memory unit 60, alternating therebetween at a constant interval, in accordance with the image signal of the moving object. The memory selection circuit 30 alternatively selects each memory unit 50 and 60 according to the time interval set in a microcomputer 40.
During operation data corresponding to the first memory location of the object to be photographed is input to, and stored in, the first memory unit 50. Then, after the time preset in microcomputer 40 has passed, data corresponding to the location of the object which has moved during the preset time is input to, and stored in, the second memory unit 60. First and second buffers 70 and 80 extract and temporarily store the data stored in particular addresses of the first and second memory units 50 and 60, respectively. Specifically, the first and second buffers 70 and 80 extract and store the data stored in the middle of the respective memory units 50 and 60. Since the camera 5 has not yet moved, at this stage of operation the data in both buffers 70 and 80 is the same except for the data corresponding to the object portion of the image signal. Next, corresponding addresses of the object portion from both buffers 70 and 80 are exclusively OR-ed with one another in an exclusive OR gate 90 and output as parallel data. Thereafter, a parallel-to-serial (P/S) converter 100 converts the parallel data signals into serial signals.
FIG. 2 shows the output from the P/S converter 100. As shown in FIG. 2, the remaining data portions not corresponding to the object all equal "0" and the object data portions are composed of pulse-shaped serial signals, each of which includes a combination of "0's" and "1's".
FIGS. 3A, 3B and 3C show waveform diagrams obtained from the output of an integrator 110 (shown in FIG. 1). The output of the P/S converter 100 is integrated in integrator 110, thereby forming the waveform shown in FIG. 3A. An amplifier 120 amplifies the integrated signal waveform to produce the waveform diagram shown in FIG. 3A. The output of the amplifier 120 is clamped in a clamper 140 for use as a reference voltage of the reference voltage generator 130. The clamper outputs a rectangular waveform (shown in FIG. 3C) having a time period T taken from the rising time of the first rectangular wave to the rising time of the second rectangular wave. The time period T is proportional to the distance between the object location P input to first memory unit 50 and the object location P' input to second memory unit 60.
FIG. 4 is a detailed circuitry diagram of the DC voltage detector 150 (shown in FIG. 1) used by the present invention. As shown in FIG. 4, the DC voltage detector 150 includes a counter 151 for counting the period of time T output by the clamped signal according to a predetermined clock from a clock generator 152. The detector 150 also includes a voltage selection switch 153 for selecting a particular voltage in voltage source portion 154 in accordance with the output of the counter 151. Thus, the magnitude of the voltage to be selected is proportionally determined according to the magnitude of the time T. Such a selected voltage is amplified through DC amplifier 160 (FIG. 1) and used to drive a motor 170. The motor 170 rotates the camera 5 based on the amplified signal, so as to rotate the camera 5 by an angle that corresponds to the object movement location P' for tracking the moving object to be photographed.
The above-described embodiment relates to horizontal movement of an object to be photographed. However, similar technology can be applied to photographing a vertically moving object.
Also, in this embodiment, only one moving object is described. However, the very same principle can be applied to a plurality of the moving objects. Thus, the apparatus for automatically tracking and photographing a moving object according to the present invention is adapted in a camera, thereby moving the camera up and down, and from left to right and vice versa, so as to automatically track and photograph one or more moving objects. Also, the present invention can be applied to any system adopting a camera, as well as a video camera.
In the present invention, the video signal stored in the respective memory units are extracted in the respective buffers, and the address signals stored in the respective buffers are exclusively and logically summed in the exclusive-OR gate. The amount of movement of the picture is detected based on this exclusive-OR signal. That is, when each of the bits of the address signals in the respective buffers is exclusively and logically summed, a high signal is output only when values of the OR-ed bits differ. On the other hand, a low signal is output when values of the bits are the same.
As described above, the present invention can take a picture of a moving object by automatically tracking the moving object to be photographed, thereby eradicating any inconvenience associated with shifting the direction of the camera lens. The invention also allows for harmonically photographing an object at a constant location on the picture screen.