Electronic still camera

Abstract: An electronic still camera including: a plurality of image pickup elements (4) having color filters (3) of a plurality of colors; a color separation unit (10) for separating outputs from the image pickup elements into each color signal; an interpolation unit (11) for receiving an output from the color separation unit and interpolating missing part of each color image data; an orthogonal transformation unit (12) for dividing respective color image data interpolated by the interpolation unit into a plurality of blocks and performing orthogonal transformation, a coding unit (13) for coding an output from the orthogonal transformation unit; and a storage unit (16) for storing an output from the coding unit.

Description: BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to an electronic still camera having image pickup elements with a plurality of color filters, and more particularly, to orthogonal transformation and coding used for image processing. Related Background Art An electronic still camera (also called a still video camera) stores image signals taken by solid state image pickup elements such as CCDs, in a storage unit such as a memory card. It is necessary to compress the image signal data to a suitable capacity, in view of a relative small capacity of the storage unit and a large amount of information of images. As a method of data compressing, an orthogonal transformation and coding method is known. With this method, image data is divided into a plurality of blocks, and each pixel in a divided block is subject to orthogonal transformation and coding. The characteristic feature of this method is as follows. Namely, while considering the visual characteristic of human eyes, a larger number of bits are assigned to low frequency components of an image signal to finely quantize it, and a smaller number of bits are assigned to high frequency components of the image signal to coarsely quantize it. In this manner, redundant information within a block is suppressed to reduce the data amount of an image signal, without deteriorating the quality of an image. As a method of improving compression coding factor in accordance with the layout of color filters mounted on an image pickup device, Japanese Patent Laid-open Publication No. JP-A-1-154696 discloses that color image data from color filters is subject to orthogonal transformation for each color. The conventional method disclosed in the above-cited publication has the following disadvantages. In the case of the layout of color filters such as shown in Fig. 1, the phases (spatial positions) of pixels of R (red), G (green), and B (blue) are the same in the vertical and horizontal directions as shown in Fig. 2A to 2C, so that compression factor can be improved without deteriorating the image quality. However, in the case of the layout of color filters such as shown in Fig. 3, called a Bayer matrix, the phases of respective colors R, G, and B become as shown in Figs. 4A to 4C. For orthogonal transformation for each color, particularly for G color, pixels with a shifted phase in each line as shown in Fig. 4A are subject to orthogonal transformation, resulting in less correlation between lines and hence deterioration of image quality and lowering of compression factor. The present invention has been made in consideration of the above circumstances. It is a concern of the present invention to provide an electronic still camera without deterioration of image quality and lowering of compression factor which might be caused otherwise by the above-described reasons. WO-A-01613 discloses a compression method and apparatus for single sensor colour imaging systems in which the image signal is compressed prior to colour interpolation and separation of the signal into three colour planes. United States Patent No. US-A-4758883 discloses an electronic colour camera having colour filters and in which the output image signals from the colour filters are converted into digital form so that the digitised image signals can be applied to coding compression circuits. WO-A-8601965 discloses apparatus for sampling at higher or lower levels a colour signal and processing the results of this sampling. Interpolation is provided for those colour components sampled at lower levels. None of these prior publications deals with the problem that compression efficiency is reduced when colour filtering has been applied to colour image signals. In accordance with the present invention there is provided an image pickup device as set out in claim 1. In order that the present invention may be more readily understood an embodiment thereof will now be described by way of example and with reference to the accompanying drawings, in which: Fig. 1 shows an example of a layout of color filters; Figs. 2A to 2C illustrate the phases of color filters shown in Fig. 1; Fig. 3 shows an example of a layout of color filters; Figs. 4A to 4C show image data for each color filters shown in Fig. 3; Fig. 5 is a block diagram showing an embodiment of an electronic still camera according to the present invention; and Figs. 6A to 6C illustrate interpolation operations of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT The present invention will be described in detail in connection with a preferred embodiment. Fig. 5 is a block diagram showing an embodiment of an electronic still camera according to the present invention. In Fig. 5, reference numeral 1 represents a lens unit which has a function to adjust a focal point and an aperture in response to a control signal S33 from a controller 6. Reference numeral 2 represents a shutter which operates in response to a control signal S35 from the controller 6. Reference numeral 3 represents color filters disposed as shown in Fig. 3. Reference numeral 4 represents a CCD. An image signal obtained by the CCD 4 is sent via signal lines S1 and S2 of two-line read system to an automatic white balance circuit 7, under control of a control signal S32 from a driver circuit 5. White balance adjustment is performed in accordance with a control signal S30 from the controller 6. Outputs from the automatic white balance circuit 7 are sent via signal lines S3 and S4 to an A/D (analog/digital) converter 8, and converted into digital signals under control of a control signal S29 from the controller 6. The digital signals are temporarily stored via signal lines S5 and S6 into a buffer 9 under control of a control signal S28 from the controller 6. The capacity of the buffer 9 allows to store one screen or several lines thereof. Image data stored in the buffer 9 is sent via signal lines S7 and S8 to a color separation circuit 10 which separates color signals from the color filters 3 into respective color components shown in Figs. 4A to 4C. Separated R color signal components are sent via a signal line S9 to an interpolation circuit 11R, separated G color signal components are sent via a signal line S10 to an interpolation circuit 11G, and separated B color signal components are sent via a signal line S11 to an interpolation circuit 11B. For missing part of image data in the vertical and horizontal directions caused by the layout of color filters 3, interpolation processes are carried out in response to a control signal S22 from a control device 14, in the manner shown in Figs. 2A to 2C. In the case of the layout of color filters 3 shown in Fig. 3, the phases are shifted only for the G components between lines as shown in Fig. 4A, so that the interpolation process only for G is carried out. Pixels with a symbol (') in Fig. 6A are formed by the interpolation process. As an interpolation process, for example an average value of adjacent four pixels for G components is used. Specifically, in Fig. 4A, G 12 ' can be obtained by: G 12 ' = (G 02 + G 11 + G 22 + G 13 )/4. A case occurs wherein each component for R and B is not contained within one line in the horizontal direction. If the component is contained in one line, an average interpolation in the horizontal direction for example may be carried out. If the component is not contained in one line, a pre-interpolation in the vertical direction may be carried out. Outputs from the interpolation circuits 11R, 11G, and 11B are supplied via signal lines S12, S13, and S14 to orthogonal transformation circuits 12R, 12G, and 12B, in unit of blocks. The outputs are then subject to orthogonal transformation in response to a control signal S23 from the control device 14. Known as orthogonal transformation processes are Hadamard's transformation, discrete cosine transformation, discrete Fourier Transformation, and the like. Values after transformation indicate the distribution of frequency components within each block. Data after orthogonal transformation is sent via signal lines S15, S16, and S17 to coding circuits 13R, 13G, and 13B, and coded while considering the visual characteristics of human eyes and weighting differently between low and high frequency components within each block. In general coding, pixels within each block are scanned and read in a zig-zag fashion, and redundancy is removed using Huffman coding or the like. A series of coding is carried out in response to a control signal S24 from the control device 14. Coded outputs from the coding circuits 13R, 13G, and 13B are inputted to a selector 15 via signal lines S18, S19, and S20. The selector 15 selects one of the inputs on the signal lines S18, S19, and S20, and outputs it onto a signal line S21, in response to a control signal S25 from the control device 14. This signal is stored in a memory device such as a memory card at a memory unit 16. Generally, outputs from the coding circuits 13R, 13G, and 13B are switched in response to a control signal S25 from the control device 14, and they are stored in the order of R, G, and B for each block. The controller 6 is controlled by a control signal S27 from the control device 14 which controls the whole system of the electronic still camera of this embodiment. The controller 6 controls mainly the components at front circuit stages of the camera. As described above, this embodiment carries out dividing into blocks, orthogonal transformation, and coding, after performing interpolation processes of missing part of image data. Therefore, high correlation between adjacent image data is possible, improving compression factor of image data without deteriorating image quality. In the above embodiment, interpolation has been definitely determined for each of the interpolation circuits 11R, 11G, and 11B. Other interpolation processes may be performed. For example, as shown by one-dot-chain lines in Fig. 5, a detection circuit 20 and interpolation switching circuit 21 may be provided. The detection circuit 20 detects the nature of a subject in accordance with output signals from the buffer 9, i.e., detects whether graphics images are present in the horizontal or vertical direction, or whether graphics images are not present in both the directions. In accordance with the detection result, the interpolation switching circuit 21 changes the interpolation method to be used by the interpolation circuits. Specifically, the interpolation switching circuit 21 causes the interpolation circuits to perform an average interpolation in the horizontal direction as G components interpolation in the case of graphics images of a subject present in the horizontal direction, an average interpolation in the vertical direction in the case of graphics images of a subject present in the vertical direction, an average interpolation of adjacent four pixels in the case of no distinct graphics images present both in the horizontal and vertical directions. Alternatively, weighting of adjacent four pixel data may be set in accordance with such a nature of a subject. As can be seen, the illustrated embodiment provides a device having interpolating circuits 11R, 11G, 11B for each colour. All of the interpolating circuits may be used, to provide interpolation as shown in Figures 6A, 6B and 6C. Alternatively interpolation may be carried out only for one or only for some of the colours, e.g. by appropriate control by control device 14. Where not all of the colour signals are interpolated, it is preferred that at least any colour signals having a phase offset such as the green signal in Figure 4A is interpolated sufficiently to remove the phase offset.

Claims: An image pickup apparatus comprising: a plurality of image pickup elements (4); a plurality of colour filters (3) of a plurality of colours associated with said image pickup elements (4), wherein each of said image pickup elements (4) receives light passed through an associated colour filter (3), and at least filters of a first colour are disposed in a pattern in which the spatial positions of said first colour are horizontally phase shifted between adjacent horizontal lines; colour separation means (10) for separating the outputs from said image pickup elements (4) into a plurality of colour image signals comprising first colour image signals; orthogonal transformation means (12) for dividing said colour image signals separated by said colour separation means (10) into a plurality of blocks and performing orthogonal transformation on said divided colour image signals; characterised in that: said image pickup apparatus further comprises: interpolation means (11) disposed between said colour separation means (10) and said orthogonal transformation means (12) for receiving an output from said colour separation means (10) and interpolating missing parts of said first colour image signal from adjacent parts of said first colour image signal so as to make the phases of said first colour image signal the same in the vertical and horizontal directions so that the compression efficiency of said orthogonal transformation means is improved. An image pickup apparatus according to claim 1 wherein said colour filters (3) are disposed in a Bayer matrix. An image pickup apparatus according to claim 1 or claim 2, wherein said orthogonal transformation means (11) includes discrete cosine transformation. An image pickup apparatus according to any of the preceeding claims, wherein said interpolation means (11) interpolates the missing part of said image data for a plurality of colours. An image pickup apparatus according to any of the preceeding claims, further comprising interpolation switching means (21) for switching the interpolation method used by said interpolation means (11). An image pickup apparatus according to any of the preceeding claims, further comprising storage means (16) for storing the coded output of said orthogonal transformation means (12). An image pickup apparatus according to claim 5 wherein said storage means (21) includes a memory card as a storage medium. An image pickup apparatus in accordance to any of the preceeding claims, wherein said image pickup apparatus comprises an electronic still camera.

Inventors: IKEDA KEIICHI, IKEDA, KEIICHI, IKEDA, KEIICHI, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1992
Main classification: H04N1
IPC codes: G06T3, H04N9, H04N5, H04N1, H04N7