Image processing device

Abstract: The present invention relates to an image processing device, consisting of filter means which extracts predetermined spatial frequency components from an input image signal, and a binarizing circuit which binarizes the output of the filter means by assessing a zero level as a threshold level, as well as the image vibration correcting means which detects a movement vector of an image by use of the image processing device and thus corrects the image vibration.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an image processing device for detecting the movement of image by measuring the movement vector of the image and, more particularly, a pretreatment device to recognize the moving images. Related Background Art In this field, there are already known two methods for detecting the movement vector, namely gradient method and matching method. The gradient method is described in Japanese Patent Publication JP-A-60-46878, and "Measuring the speed of moving objects from Television Signal", IEEE. Trans. Com., Com-23,4 pp.474-478 (April 1975), written by J.O. Limb and J.A. Murphy, etc., while the matching method is also explained, for example, in the literature, entitled as "A device for detecting the moving vector for muse application", in the Television Academic Institute's Technical Report PP OE59-5, written by Uichi Ninomiya, etc. There is a close co-relation between the pattern size of an object shown in the image, namely its space frequency, and the detection accuracy for a movement vector to be detected from the image. For example, in case an image of high spatial frequency which includes periodic patterns such as stripe pattern is to be detected, the gradient method tends to narrow the range of its detection while the matching method tends to increase the probability for erroneous detection. In case an image of low spatial frequency such as the image showing a plain wall without pattern in full picture, both methods cause erroneous detection. Furthermore, since both detective methods are designed to handle the multivalued density gradation, they have a common problem to equip complicated hardware components. On the other hand, the pattern matching of binary image enables the simplification of the hardware components but it causes the sensor to detect different patterns under the different brightness of lighting, thus resulting such a drawback as likely to produce erroneous detection. A primary concern of the present invention is to solve these problems and provide an image processing device which detects the moving vector more accurately. European Patent Specification No. EP-A-0425288 discloses an image processing circuit in which the size and shape of a movement detection block is optimised. Japanese Specification JP-A-63054064 discloses a circuit which can detect character components by comparing a contrast signal with a predetermined threshold to binarise the signal. In accordance with the present invention there is provided an image processing device as set out in claim 1. An embodiment of the present invention provides an image processing device which can catch the binary pattern of an image and is not affected by the brightness of lighting over the object, as a result of which the device can detect movement vectors accurately even if the brightness fluctuates. Another embodiment of the present invention provides an image processing device which can detect precisely movement vectors of very fine image patterns and simplifies hardware components in comparison with multivalued density gradation system by recognising binary patterns in the image. Reference will now be made by way of example to preferred embodiments of the invention which are shown in the accompanying drawings, in which: Fig. 1 is a block diagram, showing an embodiment of the present invention. Fig. 2 is an embodiment of circuit diagram for two-dimensional BPF 12. Fig. 3 is a waveform graph for the input of two-dimensional BPF 12. Fig. 4 is a waveform graph for the output of two-dimensional BPF 12. Fig. 5 is a timing chart which is drawn to explain the movements of phase difference detection circuit 16. Fig. 6 is a block diagram for another embodiment of the present invention. Figs. 7 and 8 are block diagrams, showing other embodiment of an image aberration detection device using an image processing device of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained in detail with reference to the drawings. Fig. 1 is a block diagram showing an embodiment of the present invention. Element 10 is an input terminal for the moving image signal such as television signals, Element 12 is a two-dimensional band pass filter (BPF) realized by digital filter. Element 14 is a zero cross detection circuit which functions as a concentration normalizing circuit, realized by a binarizing circuit. Element 16 is a two-dimensional phase-difference detection circuit which measures the phase difference in image patterns between the specified fields. Element 18 is an output terminal for the movement vector detected by the two-dimensional phase-difference detection circuit 16. The lighting components of video signals such as NTSC or PAS system may be fed to the input. Fig. 2 shows an embodiment of circuit diagram in which a digital filter circuit is adopted for the two-dimensional BPF 12. In Fig. 2, H means a line memory; D means a pixel memory which provides a time lag between the neighboring two pixels; a 1 ∼ a n , b 1 ∼ b n , c 1 ... means multiplication circuit of fixed number; Σ is the addition circuit which sums the signals input to it. The circuit, shown in Fig. 2, extracts predetermined frequency components by two-dimensional convolution (mask processing). Fig. 3 shows the brightness signal which is to be fed at the input terminal 10, namely the waveform of input signal of two-dimensional BPF 12. Fig. 4 shows the output waveforms of two-dimentional BPF12. In Fig. 3 and Fig. 4, the horizontal axis means the distance toward X direction while the vertical axis means the concentration, thus the figure illustrates a cross-section, located at a two-dimensional space. In Fig. 3, Curve 20, 22 and 24 show the waveforms of brightness signal which are recorded by applying different lighting conditions to an object. In Fig. 4, Curve 30, 32 and 34 show the output waveforms of BPF 12 which correspond to Curve 20, 22 and 24 respectively. The conventional binarizing method sets a constant threshold level, for example the level indicated as 26, for detecting the brightness signal waveforms, but does not adopt the filter means demonstrated in the present invention. Consequently, the system has such a drawback that the binary pattern changes, being accompanied with the variation of concentration caused by the changes of lighting conditions as shown in Curve 20, 22 and 24. In the embodiment of the present invention, however, a certain and identical frequency component is extracted by two-dimensional BPF 12 and the image processing device defects the movement vector from the phase information of such identified frequency component. To put it concretely, in Curve 30, 32 and 34 which show BPF 12 output waveforms, the zero cross point (zero point of concentration) remains constant regardless the lighting conditions. In other words, even if the intensity of brightness changes, the zero cross point of a signal for identified frequency component does not move. Since the zero cross point moves correspondingly as the object moves, it is possible to detect the movement vector by checking the zero cross point. The zero cross point detection circuit 14 detects the zero cross point of output signal from two-dimensional BPF 12, then the zero level is identified as threshold level and the output of BPF 12 is binarized. To prove the findings shown above, the 10-cycle frequency components are extracted from an original image of two-dimensional BPF 12, the zero point is identified as threshold point and the BPF 12 output is binarized. In parallel, the brightness is reduced by 5% from the ordinary level and the results thereof are compared. As a result, two identical binary patterns are confirmed. Furthermore, taking account of the random noise (20-40 dB) which is contained in the image, an experiment was conducted by reducing the brightness about 10% and it was confirmed that the shape of image pattern showed no changes. It is possible to detect the movement vector precisely by comparing the phase information available from zero cross detection circuit 14 at a specified time lag (Δt) and calculating the phase difference therefrom. The phase difference comparison circuit 16 is available to calculate this phase difference. Fig. 5 is the timing chart for the comparison of phase difference, by phase difference circuit 16, which illustrates the phase difference, accompanied with the changes of image at the field cycle. Fig. 5(a) shows the case which an object moves right and Fig. 5(b) shows the case which an object moves left. Clock pulse C detects the phase difference by comparing the binary image pattern A of Field 1 with the corresponding binary image pattern B of Field 2 which is caught in a time lag (Δt). The detected phase differences send an order to form the gate signal H and I which correspond to such phase differences respectively. By so doing, the phase difference information t 1 , t 2 , t 3 and t 4 are obtained. This phase difference detection method is disclosed in U.S. patent S.N. 319658 filed on March 6, 1989 by the applicant of this patent application. This description shows that it is possible to detect precisely the movement vector, not affected with the conditions of lighting, by use of the binary image patterns which are obtained by BPF 12 and zero cross detection circuit 14 without any influence of the changes in lighting conditions. In accordance with Fig. 5 it is possible to detect the movement vector by the two-step procedures of a uni-dimensional movement toward X direction and then toward Y direction. In case it is necessary to apply two-dimensional processing, the matching method shall be adopted for binary half-tone processing. Fig. 6 is a block diagram for another circuit composition of two-dimensional BPF 12. Element 40 is two-dimensional Fourier transform circuit; Element 42 is a frequency band limit circuit which cuts a predetermined frequency (substituted zero for the identified frequency); and Element 44 is a two-dimensional Fourier transform circuit. The operations of circuit 40, 42 and 44 are materialized by micro-computer and digital signal processor for image processing. For better understanding, Fig. 6 shows the exemplified data obtained in each processing stage in parallel; Element 46 is an input original image; Element 48 is a two-dimensional spectrum which is obtained by two-dimensional Fourier transform circuit 40; Element 50 is a ring-form pass area for frequency band limit circuit 42; Element 52 is a two-dimensional spectrum whose frequency band is limited by frequency band limitation circuit 42; Element 54 is an output data of two-dimensional inverse Fourier transform circuit 44. The input image is processed into two-dimensional Fourier transform by two-dimensional Fourier transform circuit 40, and the data of real part and imaginary part available from two-dimensional Fourier transform circuit 40 are controlled to apply their band limitation by substituting zero for the data of block area indicated at Element 50. The two-dimensional inverse Fourier transform circuit 44 process the data of real part and imaginary part, whose frequency band is limited by frequency band limitation circuit 42, into two-dimensional inverse Fourier transform. The two-dimensional inverse Fourier transform circuit 44 provides the image pattern of multivalued density gradation. The output image is provided to the zero cross transform circuit 14, shown in Fig. 1 and the movement vector concerned is obtained in the same manner as described above. In general, the circuit arrangements of Fig. 6 have a defect to integrate rather time-consuming Fourier transform and inverse Fourier transform processes, but it is possible to speed up the operation by use of specified elements and complete it at the rate of several hundred meters per second. Consequently, the method concerned is good enough to apply to the real time processing for moving images. As easily understood, from the above-mentioned explanation, the present invention can detect movement vector precisely, even if the brightness of lighting changes and the image is composed of fine patterns. In addition, the present invention makes it possible to recognize the binary pattern and detect the movement vector from said pattern so that it can simplify the hardware components in comparison with multivalued density gradation method. Fig. 7 and Fig. 8 show some exemplified applications in which each movement vector detection circuit is used for correcting blur in a video camera (vibration preventing device). In Fig. 7, the optical axis of photo lens is schemed to be movable, and a variable apex angle prism is used for correcting blur optically. In the same figure, Element 101 is a variable apex angle prism in which the apex angle or optical axis of photo lens can be varied, which prism is composed of a liquid layer of silicon compounds sandwiched with two plate glasses placed in parallel; Element 102 is a photo lens; Element 103 is a photographing element such as CCD which transforms optically the image of an object, formed by the photo lens 102, and transmit it in the form of an image signal; Element 104 is a preamplifier; Element 105 is an image signal processing circuit which provides the image signal, transmitted by photographing elements, with various processing treatments such as blanking, addition of signals having same cycle, and gamma correction so that it produces an output of normalized image signal; Element 106 is a movement vector detection circuit which consists of two-dimensional BPF 12, zero cross detection circuit 14 and two-dimensional phase difference detection circuit 16 as illustrated in Fig. 1; Element 107 is a system control circuit which catches the movement vector data of an image provided by movement vector detection circuit 106 and calculates the data of driving direction force for the variable apex angle prism to offset the movement of image caused by camera vibration and such driving momentum required for correcting the camera vibration; Element 108 is a driving circuit which causes the variable apex angle prism 101 to drive in accordance with the data calculated by the system control circuit 107. Subsequently, the movement vector detection circuit 106, shown in the above-mentioned exemplified cases, detects the movement vector caused by image movement (camera vibration) and thereby the driving direction of variable apex angle prism and its driving momentum are calculated and thus the variable apex angle prism is driven to correct the camera vibration. The explanation upon the movement of movement vector detection circuit is omitted, since it was illustrated in the above-mentioned examples for applications. Fig. 8 shows the mechanism which enables the correction the movement of image, not by optical means for the vibration adjustment but by catching the images into a memory system and keeping the reading range from the memory to be movable. The elements in Fig. 8 are identical to those of Fig. 7 so that further explanation thereof is omitted. The image signal, transmitted from preamplifier 104, is transformed into digital signal by A/D transformer 109 and is transferred into the memory of digital signal processing circuit 110. Through this operational procedures, memory control circuit 113 controls the rate and timing of A/D transform, for sending images into the memory system as well as the timing and address for writing them on the memory media. The address and timing for reading out from the memory are also controlled by this memory control circuit 113. The digital image signal, read out from the memory system 110, is placed under various image signal processings by the image signal processing circuit 111, transformed into analog signal by D/A transform circuit 112 and is output in a form of analog image signal. It is also possible to output in the form of digital image signal. In the mechanism of movement vector detection circuit 115, the movement vector caused by camera vibration is detected in the manner illustrated in Fig. 1 and is transferred to the system control circuit 114 where the direction of image movement and such moving momentum are calculated on the basis of the moving vector detected by the movement vector detection circuit 115. Thus, the memory control circuit 113 is controlled and thereby the range for reading out the memories is further controlled. In other words, the image is caught and sent to the memory system in a larger image angle than that applied for output operation, and when the memory is read out, the reading range is adjusted to correct the movement of image. It is possible to correct the movement of image by shifting the reading range towards the direction of movement. For assembling the above-mentioned system, the image signal processing circuit can be placed after D/A transformer 112 so as to adopt analog signal processing, but it is recommendable to employ digital signal processing, because the operation itself is easier and provides a preferable noise condition. As illustrated above, the image movements caused by vibration of video camera can be corrected by the movement vector detection circuit which is developed by the present invention. This invention is applicable to the detection and correction of other movements such as camera panning.

Claims: An image processing device comprising: filter means (12) for extracting predetermined spatial frequency components from an input image signal; binarising means (14) for binarising the output of said filter means by using a predetermined threshold level to normalize the output of said filter means to the brightness of the image; and movement detection means (16) for detecting movement vectors on the basis of the output of said binarising means. A device according to claim 1, wherein the predetermined level is a zero level. A device according to claim 1 or claim 2, wherein said filter means comprises a two-dimensional digital band pass filter. A device according to claim 1 or claim 2, wherein said filter means extracts a single frequency component. A device according to claim 1, wherein said filter means includes a two-dimensional Fourier transform circuit, a frequency band limit circuit and a two-dimensional inverse Fourier transformed circuit, which circuits are constructed by micro computers, and a digital image signal processor. A device according to any preceding claim, wherein said movement detecting means detects a movement vector of the image from a phase shift in a predetermined period of time of the binarised image signal output by said binarising means. A device according to any preceding claim, wherein said input image signal is a brightness signal. A device according to any one of the preceding claims and including correction means (113,114) for correcting movement of an image in accordance with the output of said movement detection means. A device according to claim 8, wherein said correction means is an optical correction device which corrects the movement of the image by changing the angle of the optical axis of light incident upon said image pick-up means. A device according to claim 9, wherein said correction means is a variable apex angle prism. A device according to any one of claims 8 to 10 and including memory means (110) for storing the input image signal, and wherein the correction means act to offset movement of an image by controlling the readout of an image stored in said memory means on the basis of a movement vector detected by said movement detecting means. A device according to claim 11, wherein said correction means cancels the movement of the image by shifting a reading address of the memory means towards the direction of said movement vector. A device according to any one of the preceding claims and including an image pick-up device (103) for generating the input image signal. A video camera incorporating an image processing device as claimed in any one of claims 1 to 13. A motion correcting apparatus incorporating an image processing device as claimed in any one of claims 1 to 13.

Inventors: KONDO TOSHIAKI, SEKINE MASAYOSHI, KONDO, TOSHIAKI, SEKINE, MASAYOSHI, KONDO, TOSHIAKI, C/O CANON KABUSHIKI KAISHA, SEKINE, MASAYOSHI, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1991
Main classification: G06T7
IPC codes: G06T7, G06T1, H04N5, H04N11, G06T5