Image interpolation apparatus
Granted 7 Oct 2003 · 5 office actions
Assignee: Canon Inc.
Law firm: Law firm · Log in to unlock
Attorney: Attorney · Log in to unlock
Inventors: Ken Terasawa, Teruo Hieda · Examiner: Bhavesh M. Mehta · AU 2625 · TC 2600
Life of the application
19 dated eventsAbstract
For enabling image enlargement or reduction of high image quality with improved definition, there is disclosed an image interpolating device comprising a memory for storing digital image signal, memory readout means for reading pixel data in succession from the memory, first, second and third consecutive delay means for respectively delaying the image signal Sn, read by the memory readout means, to respectively from pixel signals Sn1, Sn2, Sn3, first, second, third and fourth coefficient generation circuits for generating interpolation coefficients respectively corresponding to the pixel signals Sn, Sn1, Sn2, Sn3 and determined by N-th order functions from the position of the interpolated pixel S positioned between the pixel signals Sn1 and Sn2, and a signal synthesis circuit for calculating the sum of respective product of pixel signal Sn and interpolation coefficient kn.
Description
11 parts›BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to an image interpolating apparatus adapted for use in a digital camera or the like.
2. Related Background Art
Recent progress in the digital signal processing technology has greatly contributed to the expansion of the imaging. The emergence of digital recording media such as digital video camera and digital still camera has realized an environment where the recording, editing and working of image data can be easily achieved with high image quality by the personal computer or the like.
In such environment, the technology of image reduction and enlargement on real time basis within the image pickup apparatus itself is anticipated to become more and more important in the future.
The conventional digital video cameras are usually provided with a function of so-called electronic zooming, for enlarging the picked-up image by interpolation, in order to obtain an image enlarged beyond the optical zooming. There can also be achieved other processes such as electronic zoom-out for obtaining a reduced image.
In case of linearly interpolating continuous image data, obtained by sampling with a certain sampling frequency, with a sampling pitch of another sampling frequency, there is required a relative positional data k indicating the relative relationship in time between the original pixel data adjacent to an interpolated pixel and such interpolated pixel.
For obtaining such data in continuous manner, there is known a method of employing memory readout means utilizing an accumulator as disclosed in the U.S. Pat. No. 4,774,581.
FIG. 1 is a schematic view showing a part of the image of a field, stored in a field memory, wherein S n and S n−1 indicate stored pixel data and S′ indicates data of the interpolated pixel.
In the illustrated situation, the relationship of S n , S n−1 and S′ is represented by:
S′=S n ·k+S n−1 ·(1− k ).
In order to achieve this calculation with a digital circuit, with a reduced number of multipliers, this equation is modified as:
S′= ( S n −S n−1 )· k+S n−1 .
FIG. 2 shows an example of the electronic zoom in the horizontal direction in the conventional linear interpolation as disclosed in the Japanese Patent Application Laid-Open No. 5-83612, wherein a field memory 1 receives, through an input terminal, the image signal outputted with a sampling frequency determined by the image pickup element and stores the image data of a field.
Memory readout means 2 receives a zoom ratio set value “zoom” from a microcomputer 3 , correspondingly determines the position of the interpolated pixel in continuous manner and sends a readout control signal Cr to the field memory 1 in such a manner that, the pixel data S n immediately after the position of the interpolated pixel, among the original image data stored in the field memory, is output at the determined position of the interpolated pixel.
Based on the readout control signal Cr from the memory readout means 2 and the zoom ratio setting value “zoom” from the microcomputer 3 , a coefficient generation circuit 4 supplies a linear interpolation circuit 6 with a relative positional data k indicating the relationship in time between the interpolated pixel S′ and the original sampling pixel data S n positioned immediately behind the interpolated pixel S′.
The field memory 1 outputs the pixel data S n instructed by the signal Cr while delay means 5 outputs a pixel data S n−1 delayed by a clock of the original sampling frequency, and both data are simultaneously entered at a time to the linear interpolation circuit 6 .
The linear interpolation circuit 6 executes the calculation:
S′= ( S n −S n−1 )· k+S n−1
according to the foregoing linearly interpolating equation, utilizing a subtractor 61 , a multiplier 62 and an adder 63 , to output an interpolated pixel data S′.
The conventional linear interpolation utilizing the two adjacent pixels as explained in the foregoing simplifies the circuit configuration but the image is reduced or enlarged without improvement in definition, since the frequency characteristics are monotonously sloped as shown in FIG. 6 .
›SUMMARY OF THE INVENTION · 1 of 2
The object of the present invention is to provide an image enlargement/reduction circuit capable of attaining high image quality with improvement in image definition, with a simple circuit configuration, and an image pickup apparatus utilizing such circuit.
The above-mentioned object can be attained, according to a first aspect of the present invention, by an image interpolation apparatus comprising a memory for storing digital image signal; memory readout means for reading pixel data in succession from the memory; consecutive first, second and third delay means for respectively delaying the image signal S n , read by the memory readout means, to form pixel signals S n−1 , S n−2 , S n−3 ; first, second, third and fourth coefficient generation circuits for generating interpolation coefficients k 1 , k 2 respectively corresponding to the pixel signals S n , S n−1 , S n−2 , S n−3 and determined by N-th order functions from the position of the interpolated pixel S′ positioned between the pixel signals S n−1 and S n-2 ; and a signal synthesis circuit for calculating the sum of respective product of pixel signal S n and interpolation coefficient k n .
According to a second aspect of the present invention there is provided an image interpolation apparatus comprising a memory for storing digital image signal; memory readout means for reading pixel data in succession from the memory; first, second and third consecutive delay means for respectively delaying the image signal, read by the memory readout means, to respectively form pixel signals S n−1 , S n−2 , S n−3 ; first and second coefficient generation circuits for generating interpolation coefficients k 1 , k 2 determined by N-th order functions from the position of the interpolated pixel S′ positioned between the pixel signals S n−1 and S n−2 ; first and second interpolation circuits for executing a calculation P=k 1 ·S x +(1−k 1 )·S y on two arbitrary pixel signals S x , S y ; and a signal synthesis circuit; wherein the pixel signals S n , S n−3 are entered into the first interpolation circuit while the pixel signals S n−1 , S n−2 are entered into the second interpolation circuit and the first and second interpolation circuits execute interpolation with the interpolation coefficient k 1 , while the outputs P n , P n−1 of the first and second interpolation circuits are entered into the signal synthesis circuit, which outputs the interpolated pixel signal S′ based on an equation k 2 ·(P n−1 −P n )+P n−1 utilizing the interpolation coefficient k 2 .
According to a third aspect of the present invention there is provided an image interpolation apparatus comprising a memory for storing digital image signal; memory readout means for reading pixels in succession in the horizontal direction from the memory; consecutive first, second and third delay means for respectively delaying the image signal read by the memory readout means; a coefficient generation circuit for determining, by an accumulator, an interpolation coefficient k indicating the position of the interpolated pixel S′ positioned between the pixel signals S n−1 and S n−2 based on the current pixel signal S n read by the memory readout means, the pixel signal S n−1 from the first delay means, the pixel signal S n−2 from the second delay means and the pixel signal S n−3 from the third delay means; first and second interpolation circuits for executing a calculation P=k 1 ·S x +(1−k)·S y on two arbitrary pixel signals S x , S y , and a signal synthesis circuit, wherein the pixel signals S n , S n−3 are entered into the first interpolation circuit while the pixel signals S n−1 , S n−2 are entered into the second interpolation circuit and the first and second interpolation circuits execute interpolation with the interpolation coefficient k, while the outputs P n , P n−1 of the first and second interpolation circuits are entered into the signal synthesis circuit, which outputs the interpolated pixel signal S′ based on an equation M·(P n−1 −P n )+P n−1 in which M is a coefficient derived from the interpolation coefficient k by M=k·(1−k).
According to the first and second aspects of the present invention, in image enlargement/reduction in the vertical/horizontal directions on real-time basis in a real-time process such as the electronic zooming or zoom-out process, an enlarged or reduced image of desired frequency characteristics with improved definition can be obtained by an interpolation circuit of simple circuit configuration.
Also according to a third aspect of the present invention, in image enlargement/reduction in the vertical/horizontal directions on real-time basis in a real-time process such as the electronic zooming or zoom-out process, the image definition can be significantly improved by an interpolation circuit of a simple circuit configuration.
The image memory may be composed of a field memory, or a frame memory for further improving the resolution in the vertical direction, in case the image data are obtained for example with a progressive scan CCD.
According to a fourth aspect of the present invention, there is provided an image pickup apparatus comprising an image pickup element and an image processing unit capable of enlarging or reducing the image, outputted from the image pickup element, in at least one of the horizontal and vertical directions, wherein the enlargement or reduction executed in the image processing unit is, based on the image data of four pixels adjacent in the horizontal or vertical direction, to obtain interpolated image data of a position between these pixels.
According to the fourth aspect, in enlarging or reducing the image, outputted from the image pickup element, in at least one of the horizontal and vertical directions, the image data of four pixels are used to obtain interpolated image data of a position between such four pixels, thereby providing an enlarged or reduced image with excellent frequency characteristics and with very little deterioration in image quality.
›SUMMARY OF THE INVENTION · 2 of 2
Furthermore, in generating interpolated data based on the image data of four points, taking data D 0 , D 1 , D 2 and D 3 of four adjacent pixels, wherein the position to be interpolated is located between D 1 and D 2 and a coefficient K is defined by the distance from such position to D 1 divided by the distance between D 1 and D 2 , there are at first calculated two average values weighted with K and (1−K) respectively for the former and latter data in each of two combinations of D 0 , D 3 and D 1 , D 2 and these two average values are used for determining the image data at the above-mentioned interpolated position. This method significantly facilitates the realization in hardware, as the image data can be obtained solely by integral calculation.
Other objects of the present invention, and the features thereof, will become fully apparent from the following description which is to be taken in conjunction with the attached drawings.
›BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic view showing the concept of linear interpolation;
FIG. 2 is a block diagram showing a conventional configuration;
FIG. 3 is a block diagram showing a first invention;
FIG. 4 is a block diagram showing a second invention;
FIG. 5A is a schematic view showing the concept of horizontal interpolation according to the present invention;
FIG. 5B is a schematic view showing the concept of vertical interpolation according to the present invention;
FIG. 6 is a chart showing the frequency characteristics of linear interpolation;
FIG. 7 is a chart showing the comparison in frequency characteristics between linear interpolation and a third invention;
FIG. 8 is a block diagram showing a first embodiment of the third invention;
FIG. 9 is a block diagram showing a second embodiment of the third invention;
FIG. 10 is a circuit diagram showing an example of the coefficient generator of the third invention;
FIG. 11 is a circuit diagram showing an example of the coefficient generator of the first and second inventions;
FIG. 12 which is composed of FIGS. 12A and 12B are block diagrams showing a fifth embodiment of the present invention;
FIG. 13 is a circuit diagram showing an example of the vertical interpolation circuit;
FIG. 14 is a circuit diagram showing an example of the horizontal coefficient generator;
FIG. 15 is a circuit diagram showing a detailed example of the horizontal interpolation circuit;
FIG. 16 which is composed of FIGS. 16A and 16B are block diagrams showing a sixth embodiment of the present invention;
FIG. 17 which is composed of FIGS. 17A and 17B are block diagrams showing a seventh embodiment of the present invention; and
FIG. 18 which is composed of FIGS. 18A and 18B are block diagrams showing a fourth embodiment of the present invention.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 1 of 7
In the following there will be explained a first embodiment of the present invention. FIG. 3 shows an example of high image quality interpolation utilizing four close points in the horizonal direction.
FIG. 5A is a view schematically showing a part of the image of a field stored in a field memory, which receives the image signal, outputted with a sampling frequency determined by the image pickup element from an input terminal and stores the image data of one field.
The zoom ratio setting value “zoom” defines the zoom ratio R by
R= 256/(256+zoom)
in case the zooming has a resolving power of 8 bits. The image is reduced or enlarged respectively when zoom assumes a positive integral value or a negative integral value.
Memory readout means 2 receives the zoom ratio setting value “zoom” from a zoom setting input terminal 3 , accordingly determines the position of the interpolated pixel in a continuous manner, and supplies a field memory 1 with a readout control signal Cr in such a manner that image data S n immediately after the position of the interpolated pixel is outputted among the original image data stored in the field memory.
Also based on the zoom ratio setting value “zoom”, coefficient generation circuits 40 , 41 , 42 , 43 constructed as shown in FIG. 11 respectively generate interpolation coefficients k 0 , k 1 , k 2 , k 3 respectively corresponding to the original sampling pixel data S n , S n−1 , S n−2 , S n−3 .
In FIG. 11, there are provided an ABS (absolute value) circuit 100 , an adder 101 , a clock delay circuit 102 and a third-order function generation means 103 to be explained later.
These interpolation coefficients are obtained by processing the time characteristics, obtained by Fourier transform of an interpolation filter of desired frequency characteristics, for example with the following third-order function:
k=aX
3
+bX
2
+cX+d
wherein X is the distance between the position of the original sampling pixel data and the position of the interpolated pixel data.
Each of the coefficient generation circuits updates the interpolation coefficient k 0 , k 1 , k 2 or k 3 based on the distance between the position of the next original sampling pixel data and that of the interpolated pixel data, only at the upshift of a renewal control signal inc for the original sampling pixels for generating the interpolated pixel.
The interpolation coefficients k 0 , k 1 , k 2 , k 3 obtained in this manner are matched in time by delay means 500 - 505 , then respectively multiplied with the corresponding original sampling pixel data S n , S n−1 , S n−2 , S n−3 by multipliers 60 , 61 , 62 , 63 and are summed by adders 70 , 71 , 72 to obtain the interpolated pixel data S′.
Thus obtained vertical interpolation pixel data S′ maintaining the desired frequency characteristics, can provide an enlarged or reduced image with improved definition. Also the delay means 500 - 505 may be suitably simplified.
In the following there will be explained a second embodiment of the present invention, of which configuration is shown in FIG. 4 showing an example of high image quality interpolation utilizing four close points in the horizontal direction.
FIG. 5A is a view schematically showing a part of the image of a field stored in a field memory, which receives the image signal, outputted with a sampling frequency determined by the image pickup element from an input terminal and stores the image data of one field.
The zoom ratio setting value “zoom” defines the zoom ratio R by
R= 256/(256+zoom)
in case the zooming has a resolving power of 8 bits. The image is reduced or enlarged respectively when “zoom” assumes a positive integral value or a negative integral value.
Memory readout means 2 receives the zoom ratio setting value “zoom” from a zoom setting input terminal 3 , accordingly determines the position of the interpolated pixel in continuous manner, and supplies a field memory 1 with a readout control signal Cr in such a manner that image data S n immediately after the position of the interpolated pixel, among the original image data stored in the field memory, is outputted.
Also based on the zoom ratio setting value “zoom”, coefficient generation circuits 40 , 41 constructed as shown in FIG. 11 respectively generate interpolation coefficients k 0 , k 1 respectively corresponding to interpolation circuits 6 , 7 and a signal synthesis circuit 9 .
These interpolation coefficients k 0 , k 1 are obtained by processing the time characteristics, obtained by Fourier transform of an interpolation filter of desired frequency characteristics, for example with the following third-order function:
k=aX
3
+bX
2
+cX+d
and collecting the terms suitable for hardware formation, wherein X is the distance between the position of the original sampling pixel data and the position of the interpolated pixel data.
Each of the coefficient generation circuits updates the interpolation coefficient k 0 or k 1 based on the distance between the position of the next original sampling pixel data and that of the interpolated pixel data, only at the upshift of a renewal control signal inc for the original sampling pixels for generating the interpolated pixel.
The interpolation coefficients k 0 , k 1 , obtained from the coefficient generation circuits 40 , 41 are delayed by delay means 500 , 501 by a clock period of the original sampling frequency so as to correspond to the original sampling pixel data S n .
The field memory 1 outputs the pixel data S n designated by Cr, while the serial delay means 51 , 52 , 53 outputs pixel data S n−1 , S n−2 , S n−3 obtained by delaying the pixel data S n in succession by a clock internal of the original sampling frequency, and the data S n , S n−3 are simultaneously supplied at a certain timing to the first interpolation circuit 6 , while the data S n−1 , S n−2 are simultaneously supplied to the second interpolation circuit 7 . The interpolation coefficient k 0 , delayed by a clock interval of the original sampling frequency, is also entered at the same time.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 2 of 7
The interpolation circuit 6 executes a calculation:
P n =( S n−3 −S n )· k 0 +S n−3
by a subtractor 61 , a multiplier 62 and an adder 63 to output P n , while the interpolation circuit 7 executes a calculation:
P n−1 =( S n−1 −S n−2 )· k 0 +S n−2
by a subtractor 71 , a multiplier 72 and an adder 73 to output P n−1 .
P n and P n−1 are simultaneously entered into a signal synthesis circuit 9 at a certain timing. At the same time, the interpolation coefficient k 1 , delayed by a clock interval of the original sampling frequency, is entered into the signal synthesis circuit 9 .
The signal synthesis circuit 9 executes a calculation:
S′= ( P n−1 −P n )· k 1 +P n−1
by a subtractor 91 , a multiplier 92 and an adder 93 to output an interpolated pixel data S′.
Thus obtained vertical interpolation pixel data S′, maintaining the desired frequency characteristics, can provide an enlarged or reduced image with improved definition. Also the delay means 500 , 501 may be suitably simplified.
In the following there will be explained a third embodiment of the present invention, of which configuration is shown in FIG. 8 showing an example of high image quality interpolation utilizing four close points in the horizontal direction.
FIG. 5A is a view schematically showing a part of the image of a field stored in a field memory, which receives the image signal, outputted with a sampling frequency determined by the image pickup element, from an input terminal and stores the image data of one field.
The zoom ratio setting value “zoom” defines the zoom ratio R by
R= 256/(256+zoom)
in case the zooming has a resolving power of 8 bits. The image is reduced or enlarged respectively when “zoom” assumes a positive integral value or a negative integral value.
Memory readout means 2 receives the zoom ratio setting value “zoom” from a zoom setting input terminal 3 , accordingly determines the position of the interpolated pixel in continuous manner, and supplies a field memory 1 with a readout control signal Cr in such a manner that image data S n immediately after the position of the interpolated pixel is outputted among the original image data stored in the field memory.
Also utilizing the zoom ratio setting value “zoom”, a coefficient generation circuit 4 generates an interpolation coefficient k based on the relative position in time of the interpolated pixel S′ and the original sampling pixel data S n positioned immediately behind the interpolated pixel S′. The coefficient k is accumulated in succession, without carry over, as indicated by:
k=k+| zoom|
by an accumulator as shown in FIG. 10, only at the upshift of the inc signal. In this state, the number of bits of the adder coincides with the resolution of zooming.
The interpolation coefficient k outputted from the coefficient generation circuit 4 is delayed, by delay means 50 , by a clock internal of the original sampling frequency so as to correspond to the original sampling pixel data S n .
The field memory 1 outputs the pixel data S n designated by Cr, while the serial delay means 51 , 52 , 53 outputs pixel data S n−1 , S n−2 , S n−3 obtained by delaying the pixel data S n in succession by a clock internal of the original sampling frequency, and the data S n , S n−3 are simultaneously supplied at a certain timing to the first interpolation circuit 6 , while the data S n−1 , S n−2 are simultaneously supplied to the second interpolation circuit 7 . The interpolation coefficient k, delayed by a clock interval of the original sampling frequency, is also entered at the same time.
The interpolation circuit 6 executes a calculation:
P n =( S n−3 −S n )· k+S n−3
by a subtractor 61 , a multiplier 62 and an adder 63 to output P n , while the interpolation circuit 7 executes a calculation:
P n−1 =( S n−1 −S n−2 )· k+S n−2
by a subtractor 71 , a multiplier 72 and an adder 73 to output P n−1 .
P n and P n−1 are simultaneously entered into a signal synthesis circuit 9 at a certain timing. At the same time, the interpolation coefficient k, delayed by a clock interval of the original sampling frequency, is converted into k·(1−k) by a coefficient converter 8 and entered into the signal synthesis circuit 9 simultaneous with P n , P n−1 .
The signal synthesis circuit 9 executes a calculation:
S′= ( P n−1 −P n )· k· (1− k )+ P n−1
by a subtractor 91 , a multiplier 92 and an adder 93 to output an interpolated pixel data S′. The delay means 50 may be suitably dispensed with.
Thus obtained horizontal interpolation pixel data S′, showing significantly improved frequency response as shown in FIG. 7 in comparison with the conventional linear interpolation shown in FIG. 6, can provide an enlarged or reduced image with improved definition. Also the interpolation circuits 6 , 7 and the signal synthesis circuit 9 , being same in configuration as those in the linear interpolation circuit, can be easily realized as a hardware.
In the following there will be explained a fourth embodiment of the present invention, of which configuration is shown in FIG. 9 showing an example of high image quality interpolation utilizing four close points in the vertical direction.
FIG. 5B is a view schematically showing a part of the image of one field stored in a field memory, which receives the image signal, outputted with a sampling frequency determined by the image pickup element from an input terminal and stores the image data of one field.
The zoom ratio setting value “zoom” defines the zoom ratio R by
R= 256/(256+zoom)
in case the zooming has a resolving power of 8 bits. The image is reduced or enlarged respectively when “zoom” assumes a positive integral value or a negative integral value.
Memory readout means 2 receives the zoom ratio setting value “zoom” from a zoom setting input terminal 3 , accordingly determines the position of the interpolated pixel in continuous manner, and supplies a field memory 1 with a readout control signal Cr in such a manner that image data S n immediately after the position of the interpolated pixel is outputted among the original image data stored in the field memory.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 3 of 7
Also utilizing the zoom ratio setting value “zoom”, a coefficient generation circuits 4 generates an interpolation coefficient k based on the relative position in time of the interpolated pixel S′ and the original sampling pixel data S n positioned immediately behind the interpolated pixel S′. The coefficient k is accumulated in succession, without carry over, as indicated by:
k=k+| zoom|
by an accumulator as shown in FIG. 10, only at the upshift of the inc signal. In this state, the number of bits of the adder coincides with the resolution of zooming.
The field memory 1 outputs the pixel data S n designated by Cr, while the serial delay means 51 , 52 , 53 consisting of line memories outputs pixel data S n−1 , S n−2 , S n−3 obtained by delaying the pixel data S n in succession by a scan line period of the original sampling frequency, and the data S n , S n−3 are simultaneously supplied at a certain timing to the first interpolation circuit 6 , while the data S n−1 , S n−2 are simultaneously supplied to the second interpolation circuit 7 . The interpolation coefficient k is also entered at the same time.
The interpolation circuit 6 executes a calculation:
P n =( S n−3 −S n )· k+S n−3
by a subtractor 61 , a multiplier 62 and an adder 63 to output P n , while the interpolation circuit 7 executes a calculation:
P n−1 =( S n−1 −S n−2 )· k+S n−2
by a subtractor 71 , a multiplier 72 and an adder 73 to output P n−1 .
P n and P n−1 are simultaneously entered into a signal synthesis circuit 9 at a certain timing. At the same time, the interpolation coefficient k is converted into k·(1−k) by a coefficient converter 8 and entered into the signal synthesis circuit 9 simultaneous with P n , P n−1 .
The signal synthesis circuit 9 executes a calculation:
S′= ( P n−1 −P n )· k· (1− k )+ P n−1
by a subtractor 91 , a multiplier 92 and an adder 93 to output an interpolated pixel data S′.
Thus obtained vertical interpolation pixel data S′, showing significantly improved frequency response as shown in FIG. 7 in comparison with the conventional linear interpolation as shown in FIG. 6, can provide an enlarged or reduced image with improved definition. Also the interpolation circuits 6 , 7 and the signal synthesis circuit 9 , being the same in configuration as those in the linear interpolation circuit, can be easily realized as a hardware.
FIGS. 12A and 12B show an image pickup apparatus utilizing the image interpolation circuit and constituting a fifth embodiment of the present invention.
There are shown a CCD 201 constituting a color image pickup element; a timing pulse generation circuit 202 for generating driving timing pulses for the CCD 201 according to a vertical transfer control signal STV; a sample and hold circuit 203 for sampling and holding the output signal of the CCD 201 for obtaining a continuous signal; an AD converter 204 for converting the input analog signal into a digital signal; 1 H delay circuits 205 , 206 for delaying the input signal by a horizontal scanning period or retaining the current data according to a given write-in control signal WC; a color separation circuit 207 for separating the input signal into color signals R, G, B; a low-pass filter 208 ; a color signal process circuit 209 for effecting processes of clamping, white balancing, gamma correction, white/dark clipping and color difference matrix process on the input RGB signals to obtain a color signal C; a luminance signal process circuit 210 for effecting processes of clamping, gamma correction, white/dark clipping and edge enhancement to obtain a luminance signal Y; 1 H delay circuits 211 , 212 for outputting a signal, obtained by delaying the input signal by a horizontal scan period, or terminating the signal readout according to a given readout control signal RC; horizontal interpolation circuits 213 , 214 for effecting horizontal 4-point interpolation on the input signal according to a given interpolation coefficient SCH; 3 H delay circuits 215 , 216 for obtaining output signals delayed respectively by 1, 2 and 3 horizontal scan periods from the input signal; vertical interpolation circuits 217 , 218 for effecting vertical interpolation on the input signal according to a given interpolation coefficient SCV; an output 219 of the color signal C; an output 220 of the luminance signal Y; an input terminal 221 for the zoom ratio “zoom”; a vertical coefficient generator 222 for generating the vertical transfer control signal STV, the write-in control signal WC for the 1 H delay circuits 205 , 206 and the interpolation coefficient SCV for the vertical interpolation circuits 217 , 218 according to the entered zoom ratio “zoom”; and a horizontal coefficient generator 223 for generating the readout control signal RC for the 1 H delay circuits 211 , 212 , and the interpolation coefficient SCH for the horizontal interpolation circuits 213 , 214 according to the entered zoom ratio “zoom”.
The image of an unrepresented object is focused by an unrepresented image taking optical system on the image receiving face of the CCD 201 and is photoelectrically converted. The charges obtained by the photoelectric conversion are transferred in the vertical and horizontal directions according to the drive timing pulses generated by the timing pulse generator 202 . In these operations, when the vertical transfer control pulses STV is generated, the timing pulse generator 202 does not output the pulses for vertical transfer in the CCD 201 , so that the vertical charge transfer therein is not conducted. As an example, in case of image enlargement with a magnification of 2, after the readout of the photoelectrically converted charges for a horizontal scan period, the vertical transfer is not executed in the next horizontal scan period, so that the charges are not read out. These cycles are repeated in succession. The charges transferred in the above-explained manner are converted into a voltage in the output unit of the CCD 201 , whereby an image pickup signal is outputted.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 4 of 7
This image signal is made continuous by the sample and hold circuit 203 , then converted into a digital signal by the AD converter 204 and supplied to the 1 H delay circuit 205 .
The output signal, delayed by a horizontal scan period in the 1 H delay circuit 205 , is supplied to the color separation circuit 207 and the low-pass filter 208 , and also supplied to the 1 H delay circuit 206 for a further delay by a horizontal scan period.
When the vertical transfer in the CCD 201 is suspended as explained in the foregoing, the vertical coefficient generator 222 generates the write-in control signal WC whereby the write-in operation is not conducted in the 1 H delay circuits 205 , 206 but the same signal is read out also in the next horizontal scan period.
The color separation circuit 207 receives the output signal of the 1 H delay circuits 205 , 206 . The configuration of the color separation circuit 207 varies according to the configuration of the color mosaic filters on the image pickup face of the CCD 201 , but, in case of the commonly employed configuration composed of repetition of yellow, cyan, green and magenta filters with interlaced signal readout, the R, G and B signals can be obtained by processing the signals of two horizontal scan periods. Such RGB signals are subjected to the aforementioned process in the color signal process circuit 209 to obtain a color signal C, which is outputted in a format suitable for the subsequent digital processing, such as time-shared multiplex signals Cr, Cb.
The low-pass filter 208 is so selected as to extract the luminance signal by eliminating the color carriers generated by the mosaic color filters of the CCD 201 . The output of the low-pass filter is subjected to the aforementioned process in the luminance signal process circuit 210 to obtain the luminance signal Y.
The signal C, Y thus obtained are at first supplied to the 1 H delay circuits 211 , 212 in which the input signal written thereinto is delayed by a horizontal scan period and is read according to the readout control signal RC generated by the horizontal coefficient generator 223 . The outputs of the 1 H delay circuits 211 , 212 are respectively supplied to the horizontal interpolation circuits 213 , 214 , which execute the 4-point interpolation in the horizontal direction according to the interpolation coefficient SCH generated by the horizontal coefficient generator 223 .
The outputs of the horizontal interpolation circuits 213 , 214 are respectively supplied to the 3 H delay circuits 215 , 216 , which respectively generate outputs formed by delaying the input signal by 1 H, 2 H and 3 H, and such outputs are supplied, together with the undelayed signal, to the vertical interpolation circuits 217 , 218 .
The vertical interpolation circuits 217 , 218 execute the 4-point interpolation based on the entered four signals and according to the interpolation coefficient SCV generated by the vertical coefficient generator 222 , to output the interpolated signals through the color signal output terminal 219 and the luminance signal output terminal 220 to an external equipment such as an unrepresented video cassette recorder or a television monitor.
The zoom ratio “zoom”, set by setting means such as a zooming variable resistor or a zooming switch, is entered from the input terminal 21 and is supplied to the vertical coefficient generator 222 and the horizontal coefficient generator 223 . According to the entered “zoom” signal, the vertical coefficient generator 222 generates the vertical transfer control signal STV for the timing pulse generator 202 , the write-in control signal WC for the 1 H delay circuits 205 , 206 and the interpolation coefficient SCV for the vertical interpolation circuits 217 , 218 thereby forming an image signal enlarged or reduced with a predetermined magnification in the vertical direction.
Also according to the entered “zoom” signal, the horizontal coefficient generator 223 generates the readout control signal for the 1 H delay circuits 211 , 212 , and the interpolation coefficient SCH for the horizontal interpolation circuits 213 , 214 , thereby forming an image signal enlarged or reduced with a predetermined magnification in the horizontal direction.
FIG. 13 is a circuit diagram showing a detailed example of the vertical interpolation circuit 218 in the present embodiment, wherein shown are input terminals 301 , 302 , 303 , 304 , 305 ; subtractors 306 , 309 , 312 , 315 ; multipliers 307 , 310 , 313 , 316 ; adders 308 , 311 , 314 ; and an output terminal 317 . The input terminal 301 receives the output signal S n of the horizontal interpolation circuit 214 shown in FIG. 12 B. The input terminal 302 receives the 1 H delayed signal S n−1 among the outputs of the 3 H delay circuit 216 , while the input terminal 303 receives the 2 H delayed signal S n−2 among the above-mentioned outputs, and the input terminal 304 receives the 3 H delayed signal S n−3 among the above-mentioned outputs. The input terminal 305 receives the interpolation coefficient SCV among the outputs of the vertical coefficient generator 222 .
The signals S n and S n−3 are subjected to subtraction by the subtractor 306 , and the obtained result is multiplied by the SCV in the multiplier 307 , of which output is added with S n−3 in the adder 308 to obtain the signal P n .
Taking the value of SCV as K, the signal P n is a weighted average of S n and S n−3 respectively weighted by K and (1−K).
The signals S n−1 and S n−2 are subjected to subtraction by the subtractor 309 , and the obtained result is multiplied by the SCV in the multiplier 310 , of which output is added with S n−2 in the adder 311 to obtain the signal P n−1 .
The signal P n−1 is a weighted average of S n−1 and S n−2 respectively weighted by K and (1−K). The signals P n and P n−1 are subjected to subtraction by the subtractor 312 , and the obtained result is multiplied by the SCV 2 to be explained later in the multiplier 313 , of which output is added with P n−1 in the adder 314 to output the vertically interpolated luminance signal S v from the luminance signal output terminal 317 .
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 5 of 7
The entered SCV is multiplied in the multiplier 316 with the SCV itself, and SCV itself is subtracted from the obtained result to provide SCV 2 , which is supplied to the multiplier 313 as explained above.
The vertical interpolation circuit 217 can have the same configuration as that shown in FIG. 13 .
FIG. 14 is a detailed circuit diagram showing an example of the horizontal coefficient generator 223 in the present embodiment.
There are provided an input terminal 321 for receiving the zoom coefficient entered from the zoom coefficient input terminal 221 ; an adder 322 ; a register 323 ; an output terminal 324 for the readout control signal RC; and an output terminal 325 for the interpolation coefficient SCH.
The zoom coefficient entered from the input terminal 321 is added, in the adder 322 , with a signal obtained by excluding the most significant bit from the output of the register 323 , and the obtained output is retained in the register 323 . The data in the register 323 is renewed at each clock signal. The register 323 supplies the adder 322 with the out signal excluding the most significant bit as explained in the foregoing, and also outputs the most significant bit as the readout control signal RC from the output terminal 324 and outputs the value excluding the most significant bit as the interpolation coefficient SCH from the output terminal 325 . For example in case SCH is composed of 8 bits and RC is composed of 1 bit, the register 323 has a capacity of 9 bits. The zoom coefficient is of 9 bits, and is assumed to have a value 256 in case of a zoom magnification of 1. In this state, because of addition of 256 in the adder 322 , the lower 8 bits are always 0 while the most significant bit always becomes 1. The register 323 retains these values, whereby RC always becomes 1 and SCH always becomes 0, so that the data are always read from the 1 H delay circuits while the horizontal interpolation circuits do not execute the interpolating operation. Consequently the image data are not enlarged in the horizontal direction and the magnification becomes unity.
Also in case of a zoom ratio of about 2, the “zoom” signal assumes a value 128, whereby the content of the register 323 varies in the order of 0, 128, 256, 128 and 256. The value of the uppermost value varies in the order of 0, 0, 1, 0 and 1, so that a pixel is read in a period of every two pixels, and the coefficient varies in the order of 0, 0.5, 0, 0.5 and 0.
The vertical coefficient generator 222 can also be realized with an equivalent configuration, in consideration of a fact that a pixel is displaced by a horizontal scan period in the vertical direction.
FIG. 15 is a detailed circuit diagram showing an example of the horizontal interpolation circuit 214 in the present embodiment, wherein provided are input terminals 1201 , 1202 ; 1-clock delay circuits 1203 , 1204 , 1205 for a pixel delay; subtractors 1206 , 1209 , 1212 , 1215 ; multipliers 1207 , 1210 , 1213 , 1216 ; adders 1208 , 1211 , 1215 ; and an output terminal 1201 .
The input terminal 1201 receives the output signal S n of the 1 H delay circuit 212 shown in FIG. 12 B. The input terminal 1202 receives the interpolation coefficient S ch from the horizontal coefficient generator 223 . The entered S n is delayed respectively by a pixel in the 1-clock delay circuits 1203 , 1204 , 1205 to provide respective outputs S n−1 , S n−2 , S n−3 .
The signals S n and S n−3 are subjected to subtraction by the subtractor 1206 , and the obtained result is multiplied by the S ch in the multiplier 1207 , of which output is added with S n−3 in the adder 1208 to obtain the signal P n .
Also the signals S n−1 and S n−2 are subjected to subtraction by the subtractor 1209 , and the obtained result is multiplied by the SCV in the multiplier 1210 , of which output is added with S n−2 in the adder 1211 to obtain the signal P n−1 .
The signals P n and P n−1 are subjected to subtraction by the subtractor 1212 , and the obtained result is multiplied by the S ch2 to be explained later in the multiplier 1213 , of which output is added with P n−1 in the adder 1214 to output the horizontally interpolated luminance signal S h from the luminance signal output terminal 1207 .
The entered S ch is multiplied in the multiplier 1216 with the S ch itself, and S ch itself is subtracted from the obtained result to provide S ch2 , which is supplied to the multiplier 1213 as explained above.
The configuration of the horizontal interpolation circuit 1213 can be substantially similar to that shown in FIG. 15, except that the 1-clock delay circuits are replaced by 2-clock delay circuits since the color signal consists of point-sequential Cr, Cb signals and that the coefficient is halved because the distance of the pixel is doubled.
FIGS. 16A and 16B show a sixth embodiment of the present invention, herein components same as or equivalent to those in the foregoing drawings are represented by same numbers.
There are provided field memories 1301 , 1302 ; and a readout address generator 1303 .
The signals C and Y are entered into the field memories 1301 , 1302 , in which the written input signals are delayed by a field period and are read according to readout addresses RAC, RAY generated by the readout address generating circuit 1303 . The readout addresses RAC, RAY are respectively controlled by a vertical readout control signal RCV generated by the vertical coefficient generator 222 and a horizontal readout control signal RCH generated by the horizontal coefficient generator, thus generating a readout address according to the value entered from the zoom coefficient input terminal 221 . As an example, if the zoom coefficient represents an enlargement of 2 times, the readout is so controlled that one pixel is read in a period of every two pixels in each of the horizontal and vertical directions.
The outputs of the field memories 1301 , 1302 are respectively supplied to the horizontal interpolation circuits 213 , 214 , which execute the 4-point interpolation in the horizontal direction according to the interpolation coefficient SCH generated by the horizontal coefficient generator 223 .
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 6 of 7
As explained in the foregoing, according to the entered “zoom” signal, the vertical coefficient generator 222 generates the vertical readout control signal RCV for controlling the readout address generator 1303 and the 3 H delay circuit 215 , and the interpolation coefficient SCV for the vertical interpolation circuits 217 , 218 , thereby forming an image signal enlarged or reduced with a predetermined magnification in the vertical direction.
Also, according to the entered “zoom” signal, the horizontal coefficient generator 223 generates the horizontal readout control signal RCH for the readout address generator 1303 , and the interpolation coefficient SCH for the horizontal interpolation circuits 213 , 214 , thereby forming an image signal enlarged or reduced with a predetermined magnification in the horizontal direction.
FIGS. 17A and 17B show a sixth embodiment of the present invention.
There are provided a clock generator 1310 for generating clock signals of a frequency different from that of the timing pulses; and 1 H memories 1311 , 1312 having a capacity of a horizontal scan period, of so-called dual port type in which the input signals are written continuously in synchronization with write-in clock signals while the output signals are read according to read-out clock signals and according to readout addresses.
The signal flow from the CCD 201 to the end of the color signal process circuit 209 and of the luminance signal process circuit 210 is the same as that in the foregoing embodiments.
The output C of the color signal process circuit 209 and the output Y of the luminance signal process circuit 210 are entered into the 1 H memories 1311 , 1312 .
In the 1 H memories 1311 , 1312 , the signal writing is executed in continuous manner in synchronization with a clock signal CK 1 , which is synchronized with the horizontal transfer clock signal of the CCD 201 , generated by the timing pulse generator 203 .
The signal readout is executed according to the readout addresses RAC, RAY generated in the readout address generator according to a clock signal CK 2 generated by the clock generator 1310 with a frequency different from that of the clock signal CK 1 and also to the horizontal readout control signal RCH generated by the horizontal coefficient generator 223 .
These operations are conducted in the following manner. For the purpose of simplicity, the following explanation will be given solely on the luminance signal.
Taking the ratio of the frequency FCK 2 of the clock signal CK 2 to that FCK 1 of the clock signal CK 1 as K (=FCK 2 /FCK 1 ), the readout address RAY is generated in such a manner that the 1 H memory 1312 has a readout clock frequency of FCK 2 and a readout data rate equal to FCK 1 . The horizontal interpolation circuit 214 receives the signal read from the 1 H memory 1312 , synchronized with CK 2 and having a data rate of FCK 1 as explained above, effects horizontal interpolation by K times and outputs thus interpolated signal. Therefore, the luminance signal outputted from the output terminal 220 has a data rate FCK 2 .
As an example, in case K is 5/4, the output from the 1 H memory 1312 is synchronized with the frequency FCK 2 and contains 4 data in every 5 clocks. Stated differently, a same data is released twice in every 5 clock signals. Based on such output data, the horizontal interpolation circuit 1214 executes the 4-point interpolation, thereby generating 5 interpolated data. Consequently the output of the horizontal interpolation circuit 1214 has a clock frequency and a data rate both equal to FCK 2 .
FIGS. 18A and 18B show a seventh embodiment of the present invention.
There are provided field memories 1320 , 1321 of a type effecting the signal write-in according to write-in addresses and the signal read-out in the sequential scanning method; and a write-in address generator 1322 for generating the write-in address for the field memories.
The signal flow from the CCD 201 to the end of the color signal process circuit 209 and of the luminance signal process circuit 210 is the same as that in the foregoing embodiments.
The output C of the color signal process circuit 209 and the output Y of the luminance signal process circuit 210 are entered into the 3 H delay circuits 215 , 216 .
The 3 H delay circuits 215 , 216 respectively output signals delayed by 1, 2 and 3 horizontal scan periods, which are respectively entered, together with the input signal, into the vertical interpolation circuits 217 , 218 .
The vertical interpolation circuits 217 , 218 effect pixel interpolation in the vertical direction by the aforementioned 4-point interpolating method, according to the interpolation coefficient SCV generated by the vertical coefficient generator 222 , and send outputs to the horizontal interpolation circuits 213 , 214 , which effect pixel interpolation in the horizontal direction by the aforementioned 4-point interpolating method, according to the interpolation coefficient SCH generated by the horizontal coefficient generator 223 and send outputs to the field memories 1320 , 1321 .
In the field memory 1321 , the input signal is written according to a write-in address WAY effect pixel interpolation in the vertical direction by the aforementioned 4-point interpolating method, according to the interpolation coefficient SCV generated by the horizontal coefficient generator WAY generated by the write-in address generator 1322 . The address WAY is so generated that a reduced image is written into the field memory according to the zoom ratio entered through the zoom ratio input terminal 221 .
As an example, in case the zoom ratio is an image reduction of ½, an address is generated for every two pixels in the horizontal direction while a same address is generated for two line periods in the vertical direction, whereby the image is reduced to ½ on the field memory.
In case the zoom ratio is between 1 and ½, after the interpolation in the vertical and horizontal directions by the vertical interpolation circuit 218 and the horizontal interpolation circuit 214 , the signal writing is executed under the control of increase of address according to the zoom ratio, whereby the image in the field memory is reduced according to the zoom ratio.
›DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS · 7 of 7
Also the field memory 1320 functions substantially similarly as explained in the foregoing, but, in the color signal, the data of two pixels are processed as a group since the color signal is multiplexed in time.
From the field memories 1320 , 1321 , the color signal and the luminance signal of the reduced image are obtained by successively reading the image written by the aforementioned operation, and are respectively outputted from the output terminals 219 , 220 .
Many widely different embodiments of the present invention may be constructed without departing from the spirit and scope of the present invention. It should be understood that the present invention is not limited to the specific embodiments described in the specification, except as defined in the appended claims.
Claims as granted
20 claimsLog in to read the claims of this application.
Log in to unlockClassifications
7 codes- G06T3/40
- H04N5/262
- H04N5/14
Claim changes
SoonSee which claims were amended, added or cancelled during examination, with every added and removed word marked.
The published claims of this application are not paired with the granted ones in what we hold.
File wrapper
See the full prosecution history — every USPTO and applicant action on this file, in order.
Log in to unlockDocuments
Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.
Log in to unlockChain of title
See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.
Log in to unlock