JP2005278025A - Luminance/color-difference signal generating device, image compressing device, and image processing system - Google Patents

Luminance/color-difference signal generating device, image compressing device, and image processing system Download PDF

Info

Publication number
JP2005278025A
JP2005278025A JP2004091389A JP2004091389A JP2005278025A JP 2005278025 A JP2005278025 A JP 2005278025A JP 2004091389 A JP2004091389 A JP 2004091389A JP 2004091389 A JP2004091389 A JP 2004091389A JP 2005278025 A JP2005278025 A JP 2005278025A
Authority
JP
Japan
Prior art keywords
color
signal
luminance
color difference
difference signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004091389A
Other languages
Japanese (ja)
Inventor
Makoto Miyanohara
真 宮之原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP2004091389A priority Critical patent/JP2005278025A/en
Priority to US11/083,925 priority patent/US20050212933A1/en
Publication of JP2005278025A publication Critical patent/JP2005278025A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N11/00Colour television systems
    • H04N11/04Colour television systems using pulse code modulation
    • H04N11/042Codec means
    • H04N11/044Codec means involving transform coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/84Camera processing pipelines; Components thereof for processing colour signals
    • H04N23/843Demosaicing, e.g. interpolating colour pixel values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/10Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
    • H04N25/11Arrangement of colour filter arrays [CFA]; Filter mosaics
    • H04N25/13Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements
    • H04N25/134Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements based on three different wavelength filter elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/10Circuitry of solid-state image sensors [SSIS]; Control thereof for transforming different wavelengths into image signals
    • H04N25/11Arrangement of colour filter arrays [CFA]; Filter mosaics
    • H04N25/13Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements
    • H04N25/135Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements based on four or more different wavelength filter elements
    • H04N25/136Arrangement of colour filter arrays [CFA]; Filter mosaics characterised by the spectral characteristics of the filter elements based on four or more different wavelength filter elements using complementary colours
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2209/00Details of colour television systems
    • H04N2209/04Picture signal generators
    • H04N2209/041Picture signal generators using solid-state devices
    • H04N2209/042Picture signal generators using solid-state devices having a single pick-up sensor
    • H04N2209/045Picture signal generators using solid-state devices having a single pick-up sensor using mosaic colour filter
    • H04N2209/046Colour interpolation to calculate the missing colour values

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Color Television Image Signal Generators (AREA)
  • Color Television Systems (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a luminance/color-difference signal generating device, etc., capable of attaining power-saving and miniaturization in a process for compressing a color signal obtained from a solid-state image sensor. <P>SOLUTION: This luminance/color-difference signal generating device, etc., can attain power-saving and miniaturization by a means for generating a color signal whose color attribute is different from the color attribute of a color filter relative to an optional pixel by an interpolation operation to the pixel from a color signal outputted from the solid-state image sensor to which a color filter having a prescribed color array is attached on a light receiving face composed of a plurality of pixels, a means for generating at least one signal between a luminance signal and one color-difference signal or more relative to the pixel from a plurality of the color signals related to the optional pixel, and a means for setting a pixel for generating a luminance signal and a color-difference signal as a pixel under consideration. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、色信号から輝度信号、色差信号を生成処理する輝度・色差信号生成装置、色信号から生成された輝度信号、色差信号を圧縮処理する画像圧縮装置、及び色信号から生成された輝度信号、色差信号の圧縮、伸長、及び再生処理を行う画像処理システムに関し、特に、カプセル内視鏡や携帯電話等の比較的画質よりも省電力や小型化が要求される製品に用いて好適な輝度・色差信号生成装置、画像圧縮装置、及び画像処理システムに関する。   The present invention relates to a luminance / color-difference signal generation device that generates and processes a luminance signal and a color-difference signal from a color signal, a luminance signal generated from the color signal, an image compression device that compresses the color-difference signal, and a luminance generated from the color signal The present invention relates to an image processing system that performs compression, expansion, and reproduction processing of signals and color difference signals, and is particularly suitable for use in products that require power saving and downsizing rather than image quality such as capsule endoscopes and mobile phones. The present invention relates to a luminance / color difference signal generation device, an image compression device, and an image processing system.

従来の一般的な画像処理システムは、図12に示すように、撮像装置101に、被写体からの光を受光し、受光量に応じた色信号を出力する固体撮像素子が備えられており、固体撮像素子からの色信号が画像データとして転送される。画像データの効率的な転送を図るために、画像データは、通常、画像データ圧縮装置102の処理を介して転送される。画像データ圧縮装置102は、入力された画像データに対してJPEG(Joint Photograhic ExpertGroup)や、MPEG(Moving Picture ExpertGroup)等の規格に基づいた圧縮処理を行い、その後、圧縮処理済みの画像データを転送する。   As shown in FIG. 12, a conventional general image processing system includes a solid-state imaging device that receives light from a subject and outputs a color signal corresponding to the amount of received light. Color signals from the image sensor are transferred as image data. In order to efficiently transfer image data, the image data is usually transferred through processing of the image data compression apparatus 102. The image data compression apparatus 102 performs compression processing on input image data based on standards such as JPEG (Joint Photograhic Expert Group) and MPEG (Moving Picture Expert Group), and then transfers the compressed image data. To do.

ところで、固体撮像素子を単板式であると仮定すると、従来の撮像装置101においては、画像データ圧縮装置102での圧縮処理による画像データの劣化を軽減するために、撮像によって得られた色信号を補間処理によって、色信号の総数に対して信号の総数が3倍になる色信号R(赤)、G(緑)、B(青)に変換し、その後、これらの色信号に対して色空間変換処理を施すことによって、画像データ圧縮装置102への入力信号である輝度信号Y、色差信号U、Vを生成していた。   By the way, assuming that the solid-state imaging device is a single plate type, in the conventional imaging apparatus 101, in order to reduce deterioration of image data due to compression processing in the image data compression apparatus 102, a color signal obtained by imaging is used. By interpolation processing, the color signals are converted into color signals R (red), G (green), and B (blue) that are three times as many as the total number of color signals. By performing the conversion process, the luminance signal Y and the color difference signals U and V, which are input signals to the image data compression apparatus 102, are generated.

そして、転送された圧縮処理済みの画像データを受け取った画像データ伸長装置103は、規格に基づいた伸長処理を行い、得られた輝度信号Y、色差信号U、Vに対して画像再生装置104は、色空間変換処理の逆演算によって、これらの信号を色信号R、G、Bに変換して画像として表示していた。   Then, the image data decompression device 103 that has received the transferred compressed image data performs decompression processing based on the standard, and the image reproduction device 104 applies the obtained luminance signal Y and color difference signals U and V to the image reproduction device 104. These signals are converted into color signals R, G, and B by an inverse operation of color space conversion processing and displayed as an image.

以下、このような撮像装置101と、撮像装置101から出力される画像データを圧縮処理する画像データ圧縮装置102と、画像データ圧縮装置102から出力される圧縮処理済みの画像データを伸長処理する画像データ伸長装置103と、画像再生装置104からなる画像処理システムについて、更に詳細に説明する。   Hereinafter, such an imaging device 101, an image data compression device 102 that compresses image data output from the imaging device 101, and an image that decompresses compressed image data output from the image data compression device 102 The image processing system including the data decompression device 103 and the image reproduction device 104 will be described in more detail.

撮像装置101の前段部201は、図13に示すように、色フィルタ2011と、固体撮像素子2012と、補間処理手段2013と、輝度・色差信号生成手段2014とを備えている。色フィルタ2011は、例えば図2(A)に示すように、R、G、Bの各色フィルタがベイヤ配列されており、被写体からの光が色フィルタ2011を介して固体撮像素子2012に入射するように固体撮像素子2012の前面に貼付されている。   As shown in FIG. 13, the pre-stage unit 201 of the imaging apparatus 101 includes a color filter 2011, a solid-state imaging element 2012, an interpolation processing unit 2013, and a luminance / color difference signal generation unit 2014. In the color filter 2011, for example, as shown in FIG. 2A, R, G, and B color filters are arranged in a Bayer array so that light from a subject enters the solid-state imaging device 2012 via the color filter 2011. Is attached to the front surface of the solid-state image sensor 2012.

固体撮像素子2012は、色フィルタ2011を介して被写体からの光を受光し、受光量に応じた色信号を出力するものであり、色フィルタ2011の各色フィルタに対応した複数の受光素子を備えている。固体撮像素子2012からの出力は色信号として補間処理手段2013に入力される。   The solid-state image sensor 2012 receives light from the subject via the color filter 2011 and outputs a color signal corresponding to the amount of received light. The solid-state image sensor 2012 includes a plurality of light receiving elements corresponding to each color filter of the color filter 2011. Yes. An output from the solid-state imaging device 2012 is input to the interpolation processing unit 2013 as a color signal.

補間処理手段2013は、固体撮像素子2012から出力された色信号に基づいて、各画素ごとに補間処理を行い、色信号R、G、Bを生成する回路であり、色信号R、G、Bは、輝度・色差信号生成手段2014に入力される。輝度・色差信号生成手段2014は、補間処理手段2013から出力された色信号R、G、Bに基づいて、輝度信号Y、色差信号U、Vを生成するものである。これら輝度信号Y、色差信号U、Vは画像データとして、画像圧縮部202に入力される。   The interpolation processing unit 2013 is a circuit that performs interpolation processing for each pixel based on the color signal output from the solid-state image sensor 2012, and generates the color signals R, G, B. The color signals R, G, B Is input to the luminance / color difference signal generation unit 2014. The luminance / color difference signal generation unit 2014 generates the luminance signal Y and the color difference signals U and V based on the color signals R, G, and B output from the interpolation processing unit 2013. The luminance signal Y and the color difference signals U and V are input to the image compression unit 202 as image data.

画像圧縮部202は、図13に示すように、周波数変換手段2021と、量子化手段2022と、符号化手段2023とを備えている。周波数変換手段2021は、所定のブロック内の輝度信号Y、色差信号U、Vに対して、空間周波数成分を算出するものである。例えば、JPEGの規格では、1ブロックは、輝度信号Y、色差信号U、Vのそれぞれにおいて水平8信号、垂直8信号、つまり、8×8信号を1ブロックとして構成され、8×8信号に対して、直交変換の一種であるDCT(離散コサイン変換)を施して、空間周波数成分に変換される。空間周波数成分は、量子化手段2022に入力される。   As shown in FIG. 13, the image compression unit 202 includes a frequency conversion unit 2021, a quantization unit 2022, and an encoding unit 2023. The frequency conversion unit 2021 calculates a spatial frequency component for the luminance signal Y and the color difference signals U and V in a predetermined block. For example, in the JPEG standard, one block is composed of 8 horizontal signals and 8 vertical signals, that is, 8 × 8 signals in each of the luminance signal Y and the color difference signals U and V. Then, DCT (Discrete Cosine Transform), which is a kind of orthogonal transform, is performed and converted into a spatial frequency component. The spatial frequency component is input to the quantization unit 2022.

量子化手段2022は、周波数変換手段2021から出力された空間周波数成分に対して、量子化を施すものであり、量子化手段2022から出力される量子化された空間周波数成分は、符号化手段2023へ入力される。符号化手段2023は、量子化手段2022から出力される量子化された空間周波数成分に対して、符号データを形成するものである。例えば、JPEGの規格では、量子化手段2022から出力される量子化された空間周波数成分に対して、ランレングス符号化、ハフマン符号化処理が施される。符号データは、画像伸長部203に入力される。   The quantization unit 2022 performs quantization on the spatial frequency component output from the frequency conversion unit 2021, and the quantized spatial frequency component output from the quantization unit 2022 is encoded by the encoding unit 2023. Is input. The encoding unit 2023 forms code data for the quantized spatial frequency component output from the quantizing unit 2022. For example, in the JPEG standard, run-length encoding and Huffman encoding processing are performed on the quantized spatial frequency component output from the quantizing unit 2022. The code data is input to the image expansion unit 203.

画像伸長部203は、図13に示すように、復号化手段2031と、逆量子化手段2032と、逆周波数変換手段2033とを備えている。画像伸長部203は、画像圧縮部202で施した圧縮処理に対応した伸長処理を施すもので、輝度信号Y、色差信号U、Vを出力する。例えば、JPEGの規格では、ハフマン復号化、ランレングス復号化、逆量子化、逆DCTが施される。画像伸長部203から出力される輝度信号Y、色差信号U、Vは、後段部204に入力される。   As shown in FIG. 13, the image decompression unit 203 includes a decoding unit 2031, an inverse quantization unit 2032, and an inverse frequency conversion unit 2033. The image decompression unit 203 performs decompression processing corresponding to the compression processing performed by the image compression unit 202, and outputs a luminance signal Y and color difference signals U and V. For example, in the JPEG standard, Huffman decoding, run length decoding, inverse quantization, and inverse DCT are performed. The luminance signal Y and the color difference signals U and V output from the image expansion unit 203 are input to the subsequent stage unit 204.

後段部204は、図13に示すように、色信号生成手段2041を備えている。色信号生成手段2041は、画像伸長部203から出力された輝度信号Y、色差信号U、Vに基づいて、色信号R、G、Bを生成するものである。   As shown in FIG. 13, the rear stage unit 204 includes color signal generation means 2041. The color signal generation unit 2041 generates color signals R, G, and B based on the luminance signal Y and the color difference signals U and V output from the image expansion unit 203.

このように、従来の画像処理システムでは、固体撮像素子から得られた色信号から、各画素ごとの補間処理によって色信号R、G、Bを生成し、色信号R、G、Bから、色空間変換処理によって、輝度信号Y、色差信号U、Vを生成しているため、処理データ量が多く、且つ多くの処理を必要としていた。したがって、固体撮像素子から得られた色信号を圧縮処理するまでの処理工程で、多くの電力を必要とした。また、色信号R、G、B、及び輝度信号Y、色差信号U、Vを保持する手段が必要であったため、小型化が困難であった。   As described above, in the conventional image processing system, the color signals R, G, and B are generated from the color signals obtained from the solid-state imaging device by the interpolation processing for each pixel, and the color signals R, G, and B are used to generate the color signals. Since the luminance signal Y and the color difference signals U and V are generated by the spatial conversion process, the processing data amount is large and a lot of processing is required. Therefore, a large amount of power is required in the processing steps until the color signal obtained from the solid-state imaging device is compressed. Further, since means for holding the color signals R, G, B, the luminance signal Y, and the color difference signals U, V is necessary, it is difficult to reduce the size.

このような撮像信号処理に関連して、単板式の撮像素子から出力されたベイヤ配列の色信号R、G、Bを、色信号ごとに分離し、分離された色信号R、G、Bを、圧縮手段による画質劣化が少なくなるように補間処理し、補間処理された色信号R、G、Bを圧縮する撮像信号処理手法について開示がなされている(例えば、特許文献1参照。)。
特開平4−284087号公報
In connection with such image signal processing, the Bayer array color signals R, G, and B output from the single-plate image sensor are separated for each color signal, and the separated color signals R, G, and B are separated. In addition, an imaging signal processing method is disclosed in which interpolation processing is performed so that image quality deterioration due to compression means is reduced, and the interpolated color signals R, G, and B are compressed (see, for example, Patent Document 1).
JP-A-4-284087

しかしながら、この撮像信号処理手法においても、補間処理を行ってから圧縮処理を行うため、圧縮処理する際には、やはり処理データ量が増加してしまうという問題は解消できていない。   However, even in this imaging signal processing method, since the compression processing is performed after the interpolation processing is performed, the problem that the amount of processing data increases when the compression processing is performed cannot be solved.

そこで、本発明は、上述の問題点に鑑みてなされたものであり、被写体の撮像から、撮像によって得られる画像データの圧縮処理までを、処理データを低減して省電力で行うことによって、固体撮像素子から得られた色信号を圧縮処理するまでの処理工程において、省電力化と小型化を図ることのできる輝度・色差信号生成装置、画像圧縮装置、及び画像処理システムを提供することを目的とするものである。   Therefore, the present invention has been made in view of the above-described problems, and by performing processing from image capturing of a subject to compression processing of image data obtained by imaging with reduced power and power saving, a solid state can be obtained. An object of the present invention is to provide a luminance / color difference signal generation device, an image compression device, and an image processing system capable of reducing power consumption and downsizing in a processing process until a color signal obtained from an image sensor is compressed. It is what.

本発明は、上述の課題を解決するために、以下の手段を提案している。
請求項1に係る発明は、複数の画素からなる受光面に、所定の色配列を有する色フィルタが貼付された固体撮像素子より出力される色信号から、任意の画素に対して、該画素に係る前記色フィルタの色属性とは異なる色属性の色信号を補間演算により生成する補間手段と、任意の画素に係る複数の前記色信号から、該画素に係る輝度信号或いは1つ以上の色差信号の内の少なくとも一方の信号を生成する輝度・色差信号生成手段と、該輝度信号及び色差信号を生成する画素を注目画素として設定する設定手段とを有することを特徴とする輝度・色差信号生成装置を提案している。
The present invention proposes the following means in order to solve the above-described problems.
According to the first aspect of the present invention, an arbitrary pixel is detected from a color signal output from a solid-state imaging device in which a color filter having a predetermined color arrangement is attached to a light receiving surface including a plurality of pixels. Interpolating means for generating a color signal having a color attribute different from the color attribute of the color filter by interpolation, and a luminance signal or one or more color difference signals related to the pixel from the plurality of color signals related to an arbitrary pixel A luminance / color difference signal generating means for generating at least one of the signals; and a setting means for setting a pixel for generating the luminance signal and the color difference signal as a target pixel. Has proposed.

この発明によれば、輝度信号及び色差信号を生成する画素を注目画素として、注目画素に係る複数の色信号から、輝度信号、色差信号の生成処理を行う。これにより、固体撮像素子から得られる色信号から輝度信号、色差信号を生成処理するときに扱う信号数を少なくすることができるため、省電力化、及び、小型化を図った輝度・色差信号生成装置を実現することができる。   According to the present invention, with the pixel that generates the luminance signal and the color difference signal as the target pixel, the generation process of the luminance signal and the color difference signal is performed from the plurality of color signals related to the target pixel. As a result, it is possible to reduce the number of signals handled when generating and processing luminance signals and color difference signals from color signals obtained from a solid-state image sensor, so that luminance and color difference signals are generated with reduced power consumption and size. An apparatus can be realized.

請求項2に係る発明は、請求項1に記載された輝度・色差信号生成装置において、前記設定手段は、前記注目画素を、前記色属性として緑に係る色信号を出力する画素に設定することを特徴とする輝度・色差信号生成装置を提案している。   According to a second aspect of the present invention, in the luminance / color difference signal generation device according to the first aspect, the setting unit sets the target pixel as a pixel that outputs a color signal related to green as the color attribute. A luminance / color difference signal generating device characterized by the above is proposed.

この発明によれば、固体撮像素子の前面に緑の色フィルタが貼付された座標位置から得られる信号と同座標位置に輝度信号、色差信号が生成されるように処理を行う。これにより、他色の色フィルタが貼付された座標位置から得られる信号と比べ、比較的輝度信号成分と相関性が強い緑の信号を、補間処理で生成された信号ではなく固体撮像素子から得られる信号をそのまま使用して生成することができるので、輝度信号の劣化を抑えることができる。   According to the present invention, processing is performed so that a luminance signal and a color difference signal are generated at the same coordinate position as the signal obtained from the coordinate position where the green color filter is attached to the front surface of the solid-state imaging device. As a result, a green signal having a relatively strong correlation with the luminance signal component compared to the signal obtained from the coordinate position to which the color filter of the other color is attached is obtained from the solid-state image sensor instead of the signal generated by the interpolation process. Therefore, it is possible to suppress the degradation of the luminance signal.

請求項3に係る発明は、請求項1または請求項2に記載された輝度・色差信号生成装置において、前記輝度・色差信号生成手段は、前記輝度信号と、1つの色差信号のみを生成することを特徴とする輝度・色差信号生成装置を提案している。   According to a third aspect of the present invention, in the luminance / chrominance signal generation device according to the first or second aspect, the luminance / chrominance signal generation unit generates only the luminance signal and one chrominance signal. A luminance / color difference signal generating device characterized by the above is proposed.

この発明によれば、一般的に、圧縮による画質の劣化が少ないといわれる輝度信号と第1の色差信号と前記第1の色差信号とは異なる第2の色差信号との割合が2:1:1で生成されるので、画質の劣化を抑えることができる。   According to the present invention, the ratio of the luminance signal, the first color difference signal, and the second color difference signal which is different from the first color difference signal is generally 2: 1: Therefore, it is possible to suppress degradation of image quality.

請求項4に係る発明は、請求項3に記載された輝度・色差信号生成装置において、前記色フィルタはベイヤ配列であり、前記輝度・色差信号生成手段は、前記注目画素が前記固体撮像素子上で奇数行に位置するときは、前記輝度信号と第1の色差信号を、偶数行に位置するときは、前記輝度信号と前記第1の色差信号とは異なる第2の色差信号を生成することを特徴とする輝度・色差信号生成装置を提案している。   According to a fourth aspect of the present invention, in the luminance / color difference signal generation device according to the third aspect, the color filter is a Bayer array, and the luminance / color difference signal generation unit is configured such that the target pixel is located on the solid-state imaging device. When the pixel is located in an odd row, the luminance signal and the first color difference signal are generated, and when the pixel is located in an even row, a second color difference signal different from the luminance signal and the first color difference signal is generated. A luminance / color difference signal generating device characterized by the above is proposed.

この発明によれば、ベイヤ配列の色フィルタが貼付された固体撮像素子の座標位置において、1行おきに輝度信号と第1の色差信号、及び、輝度信号と前記第1の色差信号とは異なる第2の色差信号の生成処理を行う。これにより、固体撮像素子の座標位置において、位置的に等間隔に輝度信号、色差信号が生成されるので、周辺信号との相関性を利用する非可逆圧縮方式による圧縮処理を行った場合に、画質の劣化を抑えることができる。   According to the present invention, the luminance signal and the first color difference signal, and the luminance signal and the first color difference signal are different every other row at the coordinate position of the solid-state imaging device to which the Bayer array color filter is attached. Generation processing of the second color difference signal is performed. As a result, luminance signals and chrominance signals are generated at regular intervals at the coordinate position of the solid-state imaging device, so when performing compression processing by the irreversible compression method using the correlation with the peripheral signals, Degradation of image quality can be suppressed.

請求項5に係る発明は、請求項1に記載された輝度・色差信号生成装置において、前記輝度・色差信号生成手段は、前記注目画素に係る前記色フィルタの色属性に応じて、生成する前記輝度信号及び前記色差信号が設定されていることを特徴とする輝度・色差信号生成装置を提案している。
この発明によれば、所定の色配列を有する色フィルタの色の種類ごとに生成される信号が決定するため、生成する輝度信号、色差信号の信号数を制御することができる。
According to a fifth aspect of the present invention, in the luminance / color difference signal generation device according to the first aspect, the luminance / color difference signal generation unit generates the luminance / color difference signal generation unit according to a color attribute of the color filter related to the target pixel. A luminance / color difference signal generating apparatus is proposed in which a luminance signal and the color difference signal are set.
According to the present invention, since the signal generated for each color type of the color filter having a predetermined color arrangement is determined, the number of luminance signals and color difference signals to be generated can be controlled.

請求項6に係る発明は、請求項5に記載された輝度・色差信号生成装置において、前記輝度・色差信号生成手段は、前記注目画素に係る前記色属性が緑のときは輝度信号を生成し、赤のときは第1の色差信号を生成し、青のときは前記第1の色差信号とは異なる第2の色差信号を生成することを特徴とする輝度・色差信号生成装置を提案している。   According to a sixth aspect of the present invention, in the luminance / color difference signal generation device according to the fifth aspect, the luminance / color difference signal generation unit generates a luminance signal when the color attribute related to the target pixel is green. Proposing a luminance / color difference signal generating device that generates a first color difference signal when red and a second color difference signal different from the first color difference signal when blue. Yes.

この発明によれば、固体撮像素子の前面に貼付された色フィルタが緑の場合は、その座標位置から得られる信号と、同座標位置に輝度信号が生成されるように処理を行い、固体撮像素子の前面に貼付された色フィルタが赤の場合は、他色信号と比べ、赤と比較的相関性の強い第1の色差信号の生成処理を行い、固体撮像素子の前面に貼付された色フィルタが青の場合は、他色信号と比べ、青と比較的相関性の強い前記第1の色差信号とは異なる第2の色差信号の生成処理を行う。これにより、生成される輝度信号、色差信号に対して、比較的相関性が強い信号を、補間処理で生成された信号ではなく、固体撮像素子から得られる信号をそのまま使用して輝度信号、色差信号を生成することができるため、輝度信号、色差信号の劣化を抑えることができる。   According to the present invention, when the color filter attached to the front surface of the solid-state image sensor is green, processing is performed so that a luminance signal is generated at the same coordinate position as the signal obtained from the coordinate position. When the color filter attached to the front of the element is red, the first color difference signal that is relatively correlated with red is generated compared to other color signals, and the color attached to the front of the solid-state image sensor When the filter is blue, the second color difference signal generation process different from the first color difference signal having a relatively strong correlation with blue is performed as compared with the other color signals. As a result, a signal having a relatively strong correlation with the generated luminance signal and color difference signal is used instead of the signal generated by the interpolation process, but the signal obtained from the solid-state image sensor is used as it is. Since the signal can be generated, deterioration of the luminance signal and the color difference signal can be suppressed.

請求項7に係る発明は、複数の画素からなる受光面に、所定の色配列を有する色フィルタが貼付された固体撮像素子より出力される色信号から、任意の画素に対して、その画素に係る前記色フィルタの色属性とは異なる色属性の色信号を補間演算により生成する補間手段と、任意の画素に係る複数の前記色信号から、該画素に係る輝度信号或いは1つ以上の色信号の内の少なくとも一方の信号を生成する輝度・色差信号生成手段と、前記固体撮像素子上の特定行、又は、特定列に属する画素を、前記輝度信号及び色差信号を生成する注目画素として設定する設定手段とを有することを特徴とする輝度・色差信号生成装置を提案している。   The invention according to claim 7 is directed to an arbitrary pixel from a color signal output from a solid-state imaging device in which a color filter having a predetermined color arrangement is attached to a light receiving surface including a plurality of pixels. Interpolation means for generating a color signal having a color attribute different from the color attribute of the color filter by interpolation, and a luminance signal or one or more color signals related to the pixel from the plurality of color signals related to an arbitrary pixel And a pixel belonging to a specific row or a specific column on the solid-state imaging device is set as a pixel of interest for generating the luminance signal and the color difference signal. And a luminance / color difference signal generating apparatus characterized by having a setting means.

この発明によれば、固体撮像素子上の座標位置における特定行または特定列から得られる信号を注目画素として、注目画素と、固体撮像素子上において同座標位置に輝度信号、色差信号が生成されるよう処理を行う。これにより、固体撮像素子から得られる色信号から輝度信号、色差信号を生成処理するときに扱う信号数を少なくすることができるので、省電力化、及び、小型化を図った輝度・色差信号生成装置を実現することができる。また、固体撮像素子上の座標位置に対して、縦・横に整列されて輝度信号、色差信号が生成されるので、周辺画素との相関性を利用する非可逆圧縮方式による圧縮処理を行った場合に、画質の劣化を抑えることができる。   According to the present invention, with a signal obtained from a specific row or a specific column at a coordinate position on a solid-state image sensor as a target pixel, a luminance signal and a color difference signal are generated at the same coordinate position on the target pixel and the solid-state image sensor. Do the process. As a result, the number of signals handled when generating and processing luminance signals and color difference signals from the color signals obtained from the solid-state image sensor can be reduced, so that generation of luminance and color difference signals with reduced power consumption and downsizing can be achieved. An apparatus can be realized. In addition, luminance and chrominance signals are generated vertically and horizontally with respect to the coordinate position on the solid-state image sensor, so compression processing using an irreversible compression method that uses correlation with surrounding pixels was performed. In this case, deterioration of image quality can be suppressed.

請求項8に係る発明は、請求項7に記載された輝度・色差信号生成装置において、前記設定手段は、前記特定行とする行または、特定列とする列を一定パターンに従って設定することを特徴とする輝度・色差信号生成装置を提案している。   According to an eighth aspect of the present invention, in the luminance / color difference signal generation device according to the seventh aspect, the setting means sets the row to be the specific row or the column to be the specific column according to a certain pattern. A luminance / color difference signal generating device is proposed.

この発明によれば、一定の規則に従って輝度信号、色差信号が生成されるので、扱う信号数を制御でき、また、周辺画素との相関性を利用する非可逆圧縮方式による圧縮処理を行った場合に、画質の劣化を抑えることができる。   According to the present invention, since the luminance signal and the color difference signal are generated according to a certain rule, the number of signals to be handled can be controlled, and the compression processing by the irreversible compression method using the correlation with the surrounding pixels is performed. In addition, deterioration of image quality can be suppressed.

請求項9に係る発明は、請求項7に記載された輝度・色差信号生成装置において、前記輝度・色差信号生成手段は、前記特定行、または、前記特定列ごとに、生成する前記輝度信号及び前記色差信号が設定されていることを特徴とする輝度・色差信号生成装置を提案している。
この発明によれば、固体撮像素子の座標位置において、特定行、または、特定列ごとに生成される信号が決定するので、生成する輝度信号、色差信号の信号数を制御することができる。
According to a ninth aspect of the present invention, in the luminance / color difference signal generation device according to the seventh aspect, the luminance / color difference signal generation means generates the luminance signal generated for each of the specific row or the specific column, and The present invention proposes a luminance / color difference signal generating apparatus in which the color difference signal is set.
According to the present invention, since the signal generated for each specific row or specific column is determined at the coordinate position of the solid-state imaging device, the number of luminance signals and color difference signals to be generated can be controlled.

請求項10に係る発明は、請求項7に記載された輝度・色差信号生成装置において、前記色フィルタはベイヤ配列であり、前記輝度・色差信号生成手段は、前記特定行が奇数行のときは前記輝度信号と第1の色差信号を、偶数行のときは前記輝度信号と前記第1の色差信号とは異なる第2の色差信号を夫々生成し、または、前記特定列が奇数列のときは前記輝度信号と第1の色差信号を、偶数列のときは前記輝度信号と前記第1の色差信号とは異なる第2の色差信号を夫々生成することを特徴とする輝度・色差信号生成装置を提案している。   According to a tenth aspect of the present invention, in the luminance / color-difference signal generation device according to the seventh aspect, the color filter is a Bayer array, and the luminance / color-difference signal generation unit is configured to display the luminance / color difference signal generation unit when the specific row is an odd-numbered row The luminance signal and the first chrominance signal are generated, and when the row is an even number, a second chrominance signal different from the luminance signal and the first chrominance signal is generated, respectively, or when the specific column is an odd column A luminance / color difference signal generating device, wherein the luminance signal and the first color difference signal are generated, and the second color difference signal different from the luminance signal and the first color difference signal is generated in the case of an even number column. is suggesting.

この発明によれば、ベイヤ配列の色フィルタが貼付された固体撮像素子の座標位置において、1行おきに、または、1列おきに、輝度信号と一方の色差信号、及び、輝度信号と他方の色差信号の生成処理を行う。これにより、固体撮像素子の座標位置において、位置的に等間隔に輝度信号、色差信号が生成されるので、周辺信号との相関性を利用する非可逆圧縮方式による圧縮処理を行った場合に、画質の劣化を抑えることができる。   According to the present invention, the luminance signal and one color difference signal, and the luminance signal and the other of the luminance signal and the other at every other row or every other column at the coordinate position of the solid-state imaging device to which the Bayer array color filter is attached. Performs color difference signal generation processing. As a result, luminance signals and chrominance signals are generated at regular intervals at the coordinate position of the solid-state imaging device, so when performing compression processing by the irreversible compression method using the correlation with the peripheral signals, Degradation of image quality can be suppressed.

請求項11に係る発明は、請求項1または請求項7に記載された輝度・色差信号生成装置において、処理対象の異なる複数の前記輝度・色差信号生成手段と、前記複数の輝度・色差信号生成手段から対応する輝度・色差信号生成手段を選択する選択手段とを更に有することを特徴とする輝度・色差信号生成装置を提案している。   The invention according to claim 11 is the luminance / color-difference signal generation apparatus according to claim 1 or 7, wherein the plurality of luminance / color-difference signal generation units having different processing targets and the plurality of luminance / color-difference signal generations A luminance / color difference signal generating apparatus is further proposed, which further comprises selection means for selecting a corresponding luminance / color difference signal generating means from the means.

この発明によれば、選択手段により、最適な輝度・色差信号生成手段を選択して、選択された輝度・色差信号生成手段により、輝度信号、色差信号を生成する。これにより、処理対象の異なる輝度・色差信号生成手段を、用途により、最適な輝度・色差信号生成手段を選択することができるので、画質の向上、高速処理、省電力化等を実現できる。   According to the present invention, the selection unit selects the optimum luminance / color difference signal generation unit, and the selected luminance / color difference signal generation unit generates the luminance signal and the color difference signal. As a result, it is possible to select the optimum luminance / color difference signal generation means for the luminance / color difference signal generation means having different processing targets depending on the application, so that improvement in image quality, high speed processing, power saving, and the like can be realized.

請求項12に係る発明は、請求項1または請求項7に記載された輝度・色差信号生成装置において、前記補間手段は、前記任意の画素の近傍に位置する画素の色信号から、その画素に係る前記色フィルタの色属性とは異なる色属性の色信号を演算することを特徴とする輝度・色差信号生成装置を提案している。
この発明によれば、補間演算する際に、注目画素の近傍信号しか使用しないため、必要とするメモリを少なくすることができる。
According to a twelfth aspect of the present invention, in the luminance / color-difference signal generation device according to the first or seventh aspect, the interpolation unit applies a color signal of a pixel located in the vicinity of the arbitrary pixel to the pixel. There has been proposed a luminance / color difference signal generation device characterized by calculating a color signal having a color attribute different from the color attribute of the color filter.
According to the present invention, since only the vicinity signal of the target pixel is used when performing the interpolation calculation, the required memory can be reduced.

請求項13に係る発明は、請求項1または請求項7に記載された輝度・色差信号生成装置と、
前記輝度・色差信号生成装置から出力される輝度信号及び色差信号に対して、各信号ごとにブロック単位で空間周波数成分を算出する周波数変換手段と、前記空間周波数成分を量子化する量子化手段と、量子化された前記空間周波数成分を符号化する符号化手段と、を備える画像圧縮部とを有することを特徴とする画像圧縮装置を提案している。
この発明によれば、輝度・色差信号生成装置で生成された輝度信号、色差信号を圧縮処理することができる。
The invention according to claim 13 is the luminance / color-difference signal generation device according to claim 1 or 7,
Frequency conversion means for calculating a spatial frequency component in units of blocks for each of the luminance signal and color difference signal output from the luminance / color difference signal generation device, and a quantization means for quantizing the spatial frequency component And an image compression unit comprising an encoding unit that encodes the quantized spatial frequency component.
According to the present invention, the luminance signal and the color difference signal generated by the luminance / color difference signal generation device can be compressed.

請求項14に係る発明は、請求項13に記載の画像圧縮装置と、前記画像圧縮装置からの出力から、前記量子化された空間周波数成分を復号化する復号化手段と、復号化された前記空間周波数成分を逆量子化する逆量子化手段と、逆量子化された前記空間周波数成分に基づいて、前記ブロック単位で輝度信号及び色差信号を算出する逆周波数変換手段と、を備える画像伸長部と、前記画像伸長部から出力される前記輝度信号、色差信号を外部機器が要求する出力フォーマットに変換するフォーマット変換手段とを有することを特徴とする画像処理システムを提案している。
この発明によれば、画像圧縮装置で圧縮処理された輝度信号、色差信号を伸長処理し、外部機器が要求する出力フォーマットに変換することができる。
The invention according to claim 14 is the image compression apparatus according to claim 13, the decoding means for decoding the quantized spatial frequency component from the output from the image compression apparatus, and the decoded An image expansion unit comprising: an inverse quantization unit that inversely quantizes a spatial frequency component; and an inverse frequency conversion unit that calculates a luminance signal and a color difference signal in units of blocks based on the inversely quantized spatial frequency component. And an image processing system comprising: a format conversion means for converting the luminance signal and the color difference signal output from the image decompression unit into an output format required by an external device.
According to the present invention, the luminance signal and the color difference signal compressed by the image compression apparatus can be decompressed and converted into an output format required by the external device.

請求項15に係る発明は、請求項14に記載された画像処理システムにおいて、前記フォーマット変換手段は、前記輝度信号及び色差信号を前記色信号に変換する画像信号生成手段と、前記画像信号生成手段からの前記色信号に対して、前記注目画素以外の画素に係る色信号を補間処理する色信号生成手段とを有することを特徴とする画像処理システムを提案している。   According to a fifteenth aspect of the present invention, in the image processing system according to the fourteenth aspect, the format conversion unit includes an image signal generation unit that converts the luminance signal and the color difference signal into the color signal, and the image signal generation unit. An image processing system is provided that includes color signal generation means for interpolating color signals related to pixels other than the target pixel with respect to the color signals from the above.

この発明によれば、固体撮像素子から得られる色信号から、色信号変換、補間処理と、この順の過程を経て、固体撮像素子の座標サイズと同サイズのカラー画像信号を、得ることができる。   According to the present invention, a color image signal having the same size as the coordinate size of the solid-state imaging device can be obtained from the color signal obtained from the solid-state imaging device through the process of color signal conversion and interpolation processing in this order. .

請求項16に係る発明は、請求項14に記載された画像処理システムにおいて、前記フォーマット変換手段は、前記輝度信号及び色差信号から、前記注目画素以外の画素に係る輝度信号及び色差信号を補間する輝度・色差信号補間手段と、前記輝度・色差信号補間手段からの前記輝度信号及び色差信号を前記色信号に変換する画像信号生成手段とを有することを特徴とする画像処理システムを提案している。   According to a sixteenth aspect of the present invention, in the image processing system according to the fourteenth aspect, the format conversion unit interpolates a luminance signal and a color difference signal related to a pixel other than the target pixel from the luminance signal and the color difference signal. Proposing an image processing system comprising: luminance / color difference signal interpolation means; and image signal generation means for converting the luminance signal and color difference signal from the luminance / color difference signal interpolation means into the color signal. .

この発明によれば、固体撮像素子から得られる色信号から、補間処理、色信号変換と、この順の過程を経て、固体撮像素子の座標サイズと同サイズのカラー画像信号を得ることができる。   According to the present invention, a color image signal having the same size as the coordinate size of the solid-state imaging device can be obtained from the color signal obtained from the solid-state imaging device through the process of interpolation processing, color signal conversion, and this order.

本発明によれば、被写体の撮像から、撮像によって得られる画像データの圧縮処理までを、処理データを低減して省電力で行うことによって、固体撮像素子から得られた色信号を圧縮処理するまでの処理工程において、省電力化と小型化を図ることのできる。   According to the present invention, from the imaging of a subject to the compression processing of image data obtained by imaging is performed by reducing the processing data and saving power, until the color signal obtained from the solid-state imaging device is compressed. In this processing step, power saving and size reduction can be achieved.

以下、本発明の実施例に係る画像処理システムについて図1から図12を参照して詳細に説明する。   Hereinafter, an image processing system according to an embodiment of the present invention will be described in detail with reference to FIGS.

本発明の第1の実施例に係る画像処理システムは、図1に示すように、色フィルタ11と、単板式の固体撮像素子12と、設定手段13と、補間手段14と、輝度・色差信号生成手段15とからなる前段部1と、周波数変換手段21と、量子化手段22と、符号化手段23とからなる画像圧縮部2と、復号化手段31と、逆量子化手段32と、逆周波数変換手段33とからなる画像伸長部3と、画像信号生成手段41と色信号生成手段42からなる後段部4とから構成されている。   As shown in FIG. 1, the image processing system according to the first embodiment of the present invention includes a color filter 11, a single-plate solid-state imaging device 12, a setting unit 13, an interpolation unit 14, and a luminance / color difference signal. The pre-stage unit 1 including the generation unit 15, the frequency conversion unit 21, the quantization unit 22, the image compression unit 2 including the encoding unit 23, the decoding unit 31, the inverse quantization unit 32, and the inverse unit The image expansion unit 3 includes a frequency conversion unit 33, and the subsequent unit 4 includes an image signal generation unit 41 and a color signal generation unit 42.

前段部1は、光を受光して、輝度信号Y、色差信号U、Vを生成するものであり、前述のように、色フィルタ11と、固体撮像素子12と、設定手段13と、補間手段14と、輝度・色差信号生成手段15とから構成されている。色フィルタ11としては、例えば、図2の(A)に示すように、R(レッド)、G(グリーン)、B(ブルー)の各色フィルタがベイヤ配列された原色フィルタが用いられており、被写体からの光が色フィルタを介して固体撮像素子12に入射するように、固体撮像素子12の前面に設置されている。   The pre-stage unit 1 receives light and generates a luminance signal Y and color difference signals U and V. As described above, the color filter 11, the solid-state imaging device 12, the setting unit 13, and the interpolation unit. 14 and luminance / color difference signal generation means 15. As the color filter 11, for example, as shown in FIG. 2A, a primary color filter in which R (red), G (green), and B (blue) color filters are arranged in a Bayer array is used. Is installed on the front surface of the solid-state image sensor 12 so that the light from the light enters the solid-state image sensor 12 through a color filter.

なお、前記色フィルタ11としては、図2の(B)に示すような補色フィルタであってもよい。固体撮像素子12は、色フィルタ11を介して被写体からの光を受光し、その受光量に応じた色信号を出力するものであり、色フィルタ11に対応した複数の受光素子を備えている。設定手段13は、輝度信号及び色差信号を生成する画素を設定する。なお、設定方法については後述する。   The color filter 11 may be a complementary color filter as shown in FIG. The solid-state imaging device 12 receives light from the subject via the color filter 11 and outputs a color signal corresponding to the amount of received light, and includes a plurality of light receiving elements corresponding to the color filter 11. The setting unit 13 sets a pixel that generates a luminance signal and a color difference signal. The setting method will be described later.

補間手段14は、設定手段13からの設定に基づいて、固体撮像素子12から出力される色信号と、固体撮像素子の同座標位置における色信号とは異なる色の信号とを、補間処理して生成する。なお、補間処理方法については後述する。輝度・色差信号生成手段15は、補間手段14から出力される信号から、輝度信号Y、色差信号U、Vを生成する。なお、輝度信号Y、色差信号U、Vの生成方法については後述する。以上のようにして生成された輝度信号Y、色差信号U、Vは、画像圧縮部2に入力される。   Based on the setting from the setting unit 13, the interpolation unit 14 interpolates the color signal output from the solid-state image sensor 12 and the color signal different from the color signal at the same coordinate position of the solid-state image sensor. Generate. The interpolation processing method will be described later. The luminance / color difference signal generation unit 15 generates a luminance signal Y and color difference signals U and V from the signal output from the interpolation unit 14. A method for generating the luminance signal Y and the color difference signals U and V will be described later. The luminance signal Y and the color difference signals U and V generated as described above are input to the image compression unit 2.

次に、画像圧縮部2、及び画像伸長部3の処理動作について説明する。
画像圧縮部2、及び画像伸長部3として画像処理CODECのJPEGを利用する場合について説明すると、輝度信号Y、色差信号V、Uは、図3の(A)、(B)、(C)に示すように、各々の信号ごとに水平8信号×垂直8信号を単位としてブロック化され、前記ブロックごとに画像圧縮部2による圧縮処理が行われる。
Next, processing operations of the image compression unit 2 and the image decompression unit 3 will be described.
The case where the image processing CODEC JPEG is used as the image compression unit 2 and the image decompression unit 3 will be described. The luminance signal Y and the color difference signals V and U are shown in (A), (B), and (C) of FIG. As shown, each signal is divided into blocks of horizontal 8 signals × vertical 8 signals as a unit, and compression processing by the image compression unit 2 is performed for each block.

画像圧縮部2は、前段部1で生成された輝度信号Y、色差信号U、Vに対して、符号データを生成するものであり、前述のように、周波数変換手段21と、量子化手段22と、符号化手段23とから構成されている。周波数変換手段21は、離散コサイン変換を行い、空間周波数成分に変換する。量子化手段22は、前記周波数変換手段21から出力された空間周波数成分に対して、量子化を行う。   The image compression unit 2 generates code data for the luminance signal Y and the color difference signals U and V generated by the preceding unit 1, and as described above, the frequency conversion unit 21 and the quantization unit 22 are used. And an encoding means 23. The frequency conversion means 21 performs discrete cosine conversion and converts it into a spatial frequency component. The quantizing unit 22 quantizes the spatial frequency component output from the frequency converting unit 21.

符号化手段23は、前記量子化手段22から出力された量子化された空間周波数成分に対して、ランレングス符号化、及びハフマン符号化を行い、符号データを生成する。以上のようにして画像圧縮部2で生成された符号データは、メモリ等に記録して保存され、あるいは受信側へ伝送される。そして、保存、又は伝送された符号データは、画像伸長部3に入力される。   The encoding unit 23 performs run-length encoding and Huffman encoding on the quantized spatial frequency component output from the quantization unit 22 to generate code data. The code data generated by the image compression unit 2 as described above is recorded and stored in a memory or the like, or transmitted to the receiving side. The stored or transmitted code data is input to the image decompression unit 3.

画像伸長部3は、画像圧縮部2で圧縮された符号データに対して、輝度信号Y、色差信号U、Vを生成するものであり、前述のように、復号化手段31と、逆量子化手段32と、逆周波数変換手段33とから構成されている。復号化手段31は、ハフマン復号化、及びランレングス復号化を行い、復号化処理をする。逆量子化手段32は、前記復号化手段31から出力された空間周波数成分に対して、逆量子化を行う。   The image decompression unit 3 generates a luminance signal Y and color difference signals U and V for the code data compressed by the image compression unit 2, and as described above, the decoding means 31 and the inverse quantization It comprises means 32 and inverse frequency conversion means 33. The decoding unit 31 performs Huffman decoding and run length decoding to perform decoding processing. The inverse quantization unit 32 performs inverse quantization on the spatial frequency component output from the decoding unit 31.

逆周波数変換手段33は、逆量子化手段32から出力された逆量子化された空間周波数成分に対して、逆離散コサイン変換を行い、輝度信号Y、色差信号U、Vを生成する。以上のようにして画像伸長部3で生成された輝度信号Y、色差信号U、Vは、後段部4に入力される。後段部4は、画像伸長部3で伸長された輝度信号Y、色差信号U、Vに対して、画像信号を生成するものであり、前述のように、画像信号生成手段41と色信号生成手段42とから構成されている。   The inverse frequency transform means 33 performs inverse discrete cosine transform on the inversely quantized spatial frequency component output from the inverse quantization means 32 to generate a luminance signal Y and color difference signals U and V. The luminance signal Y and the color difference signals U and V generated by the image expansion unit 3 as described above are input to the subsequent stage unit 4. The post-stage unit 4 generates an image signal for the luminance signal Y and the color difference signals U and V expanded by the image expansion unit 3, and as described above, the image signal generation unit 41 and the color signal generation unit. 42.

画像処理生成手段41は、画像伸長部3から出力された輝度信号Y、色差信号U、Vから、前段部1の設定手段13、補間手段14及び輝度・色差信号生成手段15における処理に対応させて、各信号ごとに補間処理を行って画像信号を生成する。色差信号生成手段42は、画像処理生成手段41から出力された画像信号に対して、色空間変換処理を行い、色信号R、G、Bの画像信号を生成する。以上のようにして後段部4で生成された画像信号は、画像再生装置等で画像として再生される。なお、この後段部4の信号処理については後述する。   The image processing generation unit 41 uses the luminance signal Y and the color difference signals U and V output from the image expansion unit 3 to correspond to the processing in the setting unit 13, the interpolation unit 14, and the luminance / color difference signal generation unit 15 in the preceding stage 1. Then, an interpolation process is performed for each signal to generate an image signal. The color difference signal generation unit 42 performs color space conversion processing on the image signal output from the image processing generation unit 41 to generate color signal R, G, and B image signals. The image signal generated by the rear stage unit 4 as described above is reproduced as an image by an image reproduction device or the like. The signal processing of the rear stage unit 4 will be described later.

次に、本実施例における設定手段13と、補間手段14と、輝度色差信号生成手段15の動作について、詳細に説明する。
一般に、色信号R、G、Bから輝度信号Y、色差信号U、Vを算出する式は、[数1]で表される。
Next, the operations of the setting unit 13, the interpolation unit 14, and the luminance / color difference signal generation unit 15 in this embodiment will be described in detail.
In general, an equation for calculating the luminance signal Y and the color difference signals U and V from the color signals R, G, and B is expressed by [Equation 1].

Figure 2005278025
Figure 2005278025

図4は、固体撮像素子12の受光面を模式的に示した図であり、同図中のR、G、Bは、それぞれベイヤ配列の原色フィルタからなる色フィルタ11を透過した光を受光する画素を示している。ここで、以降での説明の理解をしやすくするため、次のような定義付けを行う。すなわち、同図における左上隅の画素Gの座標を(1,1)としたとき、この画素Gから垂直方向にX、水平方向にYの位置にある画素Aの座標を(X,Y)とし、画素Aからの出力をAXYで、表すことにする。 FIG. 4 is a diagram schematically showing the light receiving surface of the solid-state imaging device 12, and R, G, and B in FIG. 4 each receive light that has passed through a color filter 11 that is a primary color filter in a Bayer array. A pixel is shown. Here, in order to facilitate understanding of the following explanation, the following definition is made. That is, when the coordinates of the pixel G at the upper left corner in the figure are (1, 1), the coordinates of the pixel A at the position X from the pixel G in the vertical direction and Y in the horizontal direction are set to (X, Y). , The output from the pixel A is represented by AXY .

本発明においては、上記構成の色フィルタ11を備えた固体撮像素子12から出力される色信号に対して、以下のような原理に基づいて輝度信号Y、色差信号U、Vを生成し、画像圧縮部2へ出力する。すなわち、設定手段13では、固体撮像素子12において、緑に係る色信号が得られる画素の輝度信号Y、及び、色差信号U、Vを生成するということを補間手段14に設定する。   In the present invention, a luminance signal Y and color difference signals U and V are generated based on the following principle for the color signal output from the solid-state image pickup device 12 including the color filter 11 having the above-described configuration, Output to the compression unit 2. That is, the setting unit 13 sets the interpolation unit 14 to generate the luminance signal Y and the color difference signals U and V of the pixel from which the green color signal is obtained in the solid-state imaging device 12.

補間手段14では、図4における座標(2,2)の画素G22を注目画素とし、その注目画素と同座標位置における画素R22を、同色で注目画素の周辺画素である座標(2,1)、(2,3)の画素R21、R23を用いて求め、画素B22を、同色で注目画素の周辺画素である座標(1,2)、(3,2)の画素B12、B32を用いて求める。 In the interpolation means 14, the pixel G 22 at the coordinate (2, 2) in FIG. 4 is set as the target pixel, and the pixel R 22 at the same coordinate position as the target pixel is the coordinate (2, 1) of the same color and the peripheral pixel of the target pixel. ), (2, 3) using the pixels R 21 and R 23 , and the pixel B 22 is a pixel B 12 of coordinates (1, 2), (3, 2) that is the peripheral pixel of the target pixel of the same color, Obtained using B32.

また、輝度色差信号生成手段15では、注目画素G22と、補間手段14で生成された画素R22と画素B22を用いて、輝度信号Y22、色差信号V22を生成する。補間手段14及び輝度色差信号生成手段15で行う輝度信号Y22、色差信号V22を生成する式は、図4における画素R21、R23、G22、B12、B32を用いて、[数2]で表される。 Further, the luminance / color difference signal generation unit 15 generates a luminance signal Y 22 and a color difference signal V 22 by using the target pixel G 22 and the pixel R 22 and the pixel B 22 generated by the interpolation unit 14. The equations for generating the luminance signal Y 22 and the color difference signal V 22 performed by the interpolation unit 14 and the luminance / color difference signal generation unit 15 use the pixels R 21 , R 23 , G 22 , B 12 , and B 32 in FIG. It is expressed by Equation 2].

Figure 2005278025
Figure 2005278025

[数2]式において、(R21+R23)/ 2、G22、(B12+B32)/ 2 が、それぞれ、画素R22、G22、B22の値に相当し、補間手段14からの出力になる。また、輝度信号Y22、色差信号V22が、輝度色差信号生成手段15からの出力となる。ここでは、便宜上のため、補間手段14の処理と、輝度色差信号生成手段15の処理を表す式を、[数2]のように、まとめて示した。補間手段14の出力を画素R22、G22、B22として一旦保持し、その保持した値を使用して、輝度信号Y、色差信号U、Vを求めても構わない。以下、補間手段14の処理と、輝度色差信号生成手段15の処理を表す式は、まとめて示す。 In the formula (2), (R 21 + R 23 ) / 2, G 22 , (B 12 + B 32 ) / 2 correspond to the values of the pixels R 22 , G 22 , and B 22 , respectively. Output. Further, the luminance signal Y 22 and the color difference signal V 22 are output from the luminance color difference signal generation means 15. Here, for the sake of convenience, equations representing the processing of the interpolation unit 14 and the processing of the luminance / color difference signal generation unit 15 are collectively shown as [Equation 2]. The output of the interpolation unit 14 may be temporarily held as pixels R 22 , G 22 , and B 22 , and the luminance signal Y and the color difference signals U and V may be obtained using the held values. Hereinafter, equations representing the processing of the interpolation unit 14 and the processing of the luminance / color difference signal generation unit 15 are collectively shown.

補間手段14は、座標(3,3)の画素G33を注目画素とし、同様にして、画素R33を、座標(2,3)、(4,3)の画素R23、R43を用いて求め、画素B33を、座標(3,2)、(3,4)の画素B32、B34を用いて求める。そして、輝度色差信号生成手段15は、注目画素G33と、求めた画素R33と画素B33を用いて、輝度信号Y33、色差信号U33を生成する。輝度信号Y33、色差信号U33を生成する式は、図4における画素R23、R43、G33、B32、B34を用いて、[数3]で表される。 Interpolation means 14, the pixel of interest pixel G 33 coordinates (3,3), in a similar manner, the pixel R 33, coordinates (2,3), using the pixel R 23, R 43 of (4,3) The pixel B 33 is obtained using the pixels B 32 and B 34 having coordinates (3, 2) and (3, 4). Then, the luminance / color difference signal generation unit 15 generates a luminance signal Y 33 and a color difference signal U 33 using the target pixel G 33 and the obtained pixel R 33 and pixel B 33 . Expressions for generating the luminance signal Y 33 and the color difference signal U 33 are expressed by [Equation 3] using the pixels R 23 , R 43 , G 33 , B 32 , and B 34 in FIG.

Figure 2005278025
Figure 2005278025

[数3]式において、(R23+R43)/ 2、G33、(B32+B34)/ 2 が、それぞれ、画素R33、G33、B33の値に相当する。このように、全てのGの画素を注目画素として、注目画素に対する輝度信号Yと色差信号U、またはVを生成することで、固体撮像素子12から出力される色信号に対して、輝度信号Y、色差信号U、Vを生成することができる。 In the equation (3), (R 23 + R 43 ) / 2, G 33 , (B 32 + B 34 ) / 2 correspond to the values of the pixels R 33 , G 33 , and B 33 , respectively. As described above, the luminance signal Y and the color difference signal U or V for the pixel of interest are generated using all the G pixels as the pixel of interest, so that the luminance signal Y for the color signal output from the solid-state imaging device 12 is generated. The color difference signals U and V can be generated.

上記手法によると、全てのGの画素と同座標位置に対して、画素Gが奇数行(Xが奇数)のときは輝度信号Yと色差信号Uが、画素Gが偶数行(Xが偶数)のときは輝度信号Yと色差信号Vが生成されるため、固体撮像素子12から出力される色信号と同数の出力データ数となり、かつ、JPEGで圧縮した場合に、一般的に、画質の劣化が少ないといわれる輝度信号Y、色差信号U、Vが2:1:1の割合で生成される。つまり、従来の色信号の各画素ごとに補間処理を行った後に、輝度信号Yと色差信号U、Vを生成する場合に比べ、1/3のデータ数となる。   According to the above method, when the pixel G is an odd row (X is an odd number) and the pixel G is an even row (X is an even number) when the pixel G is an odd row (X is an odd number). In this case, since the luminance signal Y and the color difference signal V are generated, the number of output data is the same as the number of color signals output from the solid-state image sensor 12, and the image quality generally deteriorates when compressed with JPEG. The luminance signal Y and the color difference signals U and V, which are said to be low, are generated at a ratio of 2: 1: 1. That is, the number of data is 1/3 compared to the case where the luminance signal Y and the color difference signals U and V are generated after performing the interpolation processing for each pixel of the conventional color signal.

上記のように、注目画素を画素Gとすることで、輝度情報を比較的多く含むGの画素を固体撮像素子12から出力される色信号としてそのまま使用することができる。一般的に、輝度信号のほうが、色差信号よりも画質劣化の要因に深く関わるため、補間して注目画素の画素値を求め、その値から輝度信号Yを生成するよりも、固体撮像素子12から出力される色信号を使用して輝度信号Yを生成した方が、生成される輝度信号Yの精度は高くなる。したがって、データ数削減による画質の劣化を抑えることができる。   As described above, by setting the target pixel as the pixel G, it is possible to use the G pixel that includes a relatively large amount of luminance information as a color signal output from the solid-state imaging device 12. In general, the luminance signal is more deeply related to the cause of image quality degradation than the color difference signal. Therefore, the pixel value of the pixel of interest is obtained by interpolation, and the luminance signal Y is generated from the value. The accuracy of the generated luminance signal Y is higher when the luminance signal Y is generated using the output color signal. Therefore, it is possible to suppress deterioration in image quality due to the reduction in the number of data.

また、ベイヤ配列の特性により、注目画素と同座標位置のRとBの画素を、比較的簡易な演算で求めることができ、図5に示すように、加算器5と1bitシフタ6のみの回路構成で実現することができる。例えば、画素R22の値を求めたいときには、INDATA1にR21、INDATA2にR23が、画素B22の値を求めたいときには、INDATA1にB12、INDATA2にB32が入力される。 In addition, due to the characteristics of the Bayer array, R and B pixels at the same coordinate position as the target pixel can be obtained by a relatively simple calculation. As shown in FIG. 5, a circuit including only the adder 5 and the 1-bit shifter 6 It can be realized with a configuration. For example, when calculating the value of the pixel R 22 , R 21 is input to INDATA 1, R 23 is input to INDATA 2, and when determining the value of the pixel B 22 , B 12 is input to INDATA 1 and B 32 is input to INDATA 2.

上記説明においては、注目画素Gと同座標位置のRとBの画素を、2つの同色最近傍画素を使用して生成させたが、2つの画素のみならず、周辺画素に位置情報による重み付けを行うことで生成させても構わない。また、上記説明においては、Gの画素を注目画素とし、[数2]、[数3]のように、輝度信号Y、色差信号U、Vを生成したが、データ数を制御するために、全ての注目画素Gに対して、輝度信号Y、色差信号U、Vを生成したり、輝度信号Yのみを生成したりと、任意に、生成する要素を決めても構わない。   In the above description, R and B pixels at the same coordinate position as the target pixel G are generated using two nearest-neighboring pixels of the same color. However, not only two pixels but also peripheral pixels are weighted by position information. You may make it generate by doing. In the above description, the G pixel is the pixel of interest, and the luminance signal Y and the color difference signals U and V are generated as in [Equation 2] and [Equation 3]. In order to control the number of data, The elements to be generated may be arbitrarily determined, such as generating the luminance signal Y and the color difference signals U and V for all the target pixels G, or generating only the luminance signal Y.

例えば、図4における座標(2,2)の画素G22を注目画素とし、その注目画素と同座標位置における輝度信号Y22、色差信号U22、V22を生成する式は、図4における画素R21、R23、G22、B12、B32を用いて、[数4]で表される。 For example, the pixel G 22 at the coordinate (2, 2) in FIG. 4 is the target pixel, and the formula for generating the luminance signal Y 22 and the color difference signals U 22 and V 22 at the same coordinate position as the target pixel is the pixel in FIG. Using R 21 , R 23 , G 22 , B 12 , B 32 , it is expressed by [Equation 4].

Figure 2005278025
Figure 2005278025

さらに、上記手法においては、固体撮像素子12から出力される色信号における全てのGの画素を注目画素として、注目画素と同座標位置における輝度信号Y、色差信号U、Vを生成するものを示した。これに対して、注目画素をRとBの画素、又はRの画素のみといったように、固体撮像素子12から出力される色信号に対して、どの色の要素を注目画素とするかを、任意に、設定しても構わない。   Further, in the above method, the one that generates the luminance signal Y and the color difference signals U and V at the same coordinate position as the target pixel by using all the G pixels in the color signal output from the solid-state imaging device 12 as the target pixel is shown. It was. On the other hand, the color of the color signal output from the solid-state image sensor 12 can be arbitrarily set as the pixel of interest with respect to the color signal output from the solid-state imaging device 12 such as the R and B pixels or only the R pixel. You may set it.

例えば、注目画素をRとBの画素とした場合、図4における座標(2,3)と(3,2)の座標位置における輝度信号Y、色差信号U、Vを生成する式は、[数5]、[数6]で表される。   For example, when the pixel of interest is an R and B pixel, the expression for generating the luminance signal Y and the color difference signals U and V at the coordinate positions (2, 3) and (3, 2) in FIG. 5] and [Expression 6].

Figure 2005278025
Figure 2005278025
Figure 2005278025
Figure 2005278025

[数5]において、R23、(G13+G22+G24+G33)/ 4、(B12+B14+B32+B34)/ 4 が、それぞれ、画素R23、G23、B23の値に相当し、[数6]において、(R21+R23+R41+R43)/ 4、(G22+G31+G33+G42)/ 4、B32が、それぞれ、画素R32、G32、B32の値に相当する。 In [Equation 5], R 23 , (G 13 + G 22 + G 24 + G 33 ) / 4, and (B 12 + B 14 + B 32 + B 34 ) / 4 are the values of the pixels R 23 , G 23 , and B 23 , respectively. Correspondingly, in [Equation 6], (R 21 + R 23 + R 41 + R 43 ) / 4, (G 22 + G 31 + G 33 + G 42 ) / 4, B 32 are pixels R 32 , G 32 , B 32 , respectively. Corresponds to the value of.

このように、全てのRとBの画素を注目画素として、注目画素に対する輝度信号Yと色差信号U、またはVを生成することで、固体撮像素子12から出力される色信号に対して、輝度信号Y、色差信号U、Vを生成することができる。   As described above, the luminance signal Y and the color difference signal U or V for the pixel of interest are generated by using all the R and B pixels as the pixel of interest, so that the luminance of the color signal output from the solid-state imaging device 12 is reduced. Signal Y and color difference signals U and V can be generated.

上記手法によると、注目画素がRの画素のときに、輝度信号Yと色差信号U、注目画素がBの画素のときに、輝度信号Yと色差信号Vを生成するため、注目画素をGの画素としたときと同様に、固体撮像素子12から出力される色信号と同数の出力データ数となり、かつ、Y、U、Vが2:1:1の割合で生成される。   According to the above method, when the target pixel is the R pixel, the luminance signal Y and the color difference signal U are generated. When the target pixel is the B pixel, the luminance signal Y and the color difference signal V are generated. As in the case of pixels, the number of output data is the same as the number of color signals output from the solid-state image sensor 12, and Y, U, and V are generated at a ratio of 2: 1: 1.

上記のように、注目画素を画素R、及びBとすることで、色差信号Uを生成するときに、比較的に相関の強いRの画素を、色差信号Vを生成するときに、比較的に相関の強いBの画素を用いて処理を行うため、固体撮像素子12から出力される色信号をそのまま使用することができる。したがって、注目画素を画素Gとするときと比べ、輝度情報に比べ比較的色情報が画質に影響するような画像に対しては、画質の劣化を抑えることができる。   As described above, when the pixel of interest is the pixels R and B, when the color difference signal U is generated, an R pixel having a relatively strong correlation is generated when the color difference signal V is generated. Since the processing is performed using the B pixel having a strong correlation, the color signal output from the solid-state imaging device 12 can be used as it is. Therefore, compared with the case where the pixel of interest is the pixel G, it is possible to suppress deterioration in image quality for an image in which color information relatively affects the image quality compared to luminance information.

なお、色フィルタとして、原色フィルタの代わりに補色フィルタを用いたときも、図6に示すように、原色フィルタと同様の定義付けを行って、輝度信号Y、色差信号U、Vを補色フィルタ上の画素Cy、Mg、Ye、Gを用いて生成することができる。   Even when a complementary color filter is used as a color filter instead of the primary color filter, the same definition as the primary color filter is performed, and the luminance signal Y and the color difference signals U and V are displayed on the complementary color filter as shown in FIG. The pixels Cy, Mg, Ye, and G can be used.

上記前段部の構成によれば、固体撮像素子12から出力される色信号に基づいて、輝度信号Y、色差信号U、Vが生成され、前記輝度信号Y、色差信号U、Vに対して、画像圧縮部2において圧縮処理が行われる。したがって、固体撮像素子から出力される色信号に基づいて、特定色の画素に対してのみ補間処理を行うため、従来のように、各画素ごとに補間処理をして画像信号を生成する補間処理手段を必要としない。したがって、前段部より出力されるデータ数が少ないため、圧縮処理に要する時間を削減できる。またこれにより、固体撮像素子から出力される色信号を圧縮処理するまでの工程において、省電力化を実現できる。   According to the configuration of the preceding stage, the luminance signal Y and the color difference signals U and V are generated based on the color signal output from the solid-state imaging device 12, and the luminance signal Y and the color difference signals U and V are The image compression unit 2 performs compression processing. Therefore, since interpolation processing is performed only for pixels of a specific color based on the color signal output from the solid-state imaging device, interpolation processing that generates an image signal by performing interpolation processing for each pixel as in the past. No means are needed. Accordingly, since the number of data output from the preceding stage is small, the time required for the compression process can be reduced. Thereby, power saving can be realized in the process until the color signal output from the solid-state image sensor is compressed.

次に、このような設定手段13、補間手段14及び輝度・色差信号生成手段15に対応した処理を行わせる後段部4の処理動作について、詳細に説明する。
後段部4は、画像伸長部3で伸長処理された輝度信号Y、色差信号U、Vに対して、画像信号を生成処理するものであり、先に述べたとおり、画像信号生成手段41と色信号生成手段42とから構成されている。
Next, the processing operation of the post-stage unit 4 that performs processing corresponding to the setting unit 13, the interpolation unit 14, and the luminance / color difference signal generation unit 15 will be described in detail.
The subsequent stage unit 4 generates an image signal for the luminance signal Y and the color difference signals U and V expanded by the image expansion unit 3, and as described above, the image signal generation unit 41 and the color signal are generated. It comprises signal generating means 42.

画像信号生成手段41は、画像伸長部3から出力された輝度信号Y、色差信号U、Vから、前段部1の設定手段13、補間手段14及び輝度・色差信号生成手段15の処理に対応させて、補間処理を行い、図7の(A)、(B)、(C)に示すような画像信号を生成する。ここで、以降での説明の理解をしやすくするため、図4に示した原色フィルタと同様の定義付けを、図7の(A)、(B)、(C)に対しても行う。   The image signal generation means 41 corresponds to the processing of the setting means 13, the interpolation means 14, and the luminance / color difference signal generation means 15 in the preceding stage 1 from the luminance signal Y and the color difference signals U and V output from the image expansion section 3. Then, an interpolation process is performed, and image signals as shown in FIGS. 7A, 7B, and 7C are generated. Here, in order to facilitate understanding of the following description, the same definition as that of the primary color filter shown in FIG. 4 is also applied to (A), (B), and (C) of FIG.

画像伸長部3から出力された輝度信号Y、色差信号U、Vは、このまま画像信号として、そのまま使用できる。しかし、画像伸長部3から出力される信号のデータ数は、図7の(A)、(B)、(C)に対して、輝度信号Yが1/2、色差信号U、Vが1/4になり、本来予期される固体撮像素子12から出力される色信号により、生成される画像信号の解像度より小さくなってしまう。   The luminance signal Y and the color difference signals U and V output from the image expansion unit 3 can be used as they are as image signals. However, the number of signal data output from the image decompression unit 3 is 1/2 for the luminance signal Y and 1/1 for the color difference signals U and V with respect to (A), (B), and (C) in FIG. 4, the color signal output from the originally expected solid-state imaging device 12 becomes smaller than the resolution of the generated image signal.

そこで、画像伸長部3から出力される輝度信号Y、色差信号U、Vから、図7の(A)、(B)、(C)の欠落データを補間する。例えば、図7の(A)、(B)、(C)における座標(2,2)、(2,3)、(3,2)、(3,3)の輝度信号Y22、Y23、Y32、Y33、色差信号U22、U23、U32、U33、及びV22、V23、V32、V33は、画像伸長部3から出力される[数2]、[数3]で生成される輝度信号Y22、Y33、色差信号U33、V22、及びその他画像伸長部3より出力される輝度信号Y、色差信号U、Vを用いて、[数7]で表される。 Therefore, the missing data of (A), (B), and (C) in FIG. 7 are interpolated from the luminance signal Y and the color difference signals U and V output from the image expansion unit 3. For example, the luminance signals Y 22 , Y 23 , and the coordinates (2, 2), (2, 3), (3, 2), (3, 3) in (A), (B), and (C) of FIG. Y 32 , Y 33 , color difference signals U 22 , U 23 , U 32 , U 33 , and V 22 , V 23 , V 32 , V 33 are output from the image expansion unit 3 [Equation 2], [Equation 3]. ] Using the luminance signals Y 22 and Y 33 , color difference signals U 33 and V 22 generated by the above, and other luminance signals Y and color difference signals U and V output from the image decompression unit 3. Is done.

Figure 2005278025
Figure 2005278025

このように、画像伸長部3から出力された輝度信号Y、色差信号U、Vから、欠落データを補間する処理を行うことで、図7の(A)、(B)、(C)に示すような画像信号の一形態であるYUV空間の画像信号を生成することができる。   As described above, by performing the process of interpolating the missing data from the luminance signal Y and the color difference signals U and V output from the image decompression unit 3, as shown in FIGS. 7A, 7B, and 7C. An image signal in YUV space, which is one form of such an image signal, can be generated.

色信号生成手段42は、画像信号生成手段41から出力された図7の(A)、(B)、(C)に示す画像信号に対して、色空間変換を行い、色信号R、G、Bを生成する。
輝度信号Y、色差信号U、Vから色信号R、G、Bを算出する式は、一般に、[数1]の逆演算になり、[数8]で表される。
The color signal generation unit 42 performs color space conversion on the image signals shown in FIGS. 7A, 7B, and 7C output from the image signal generation unit 41, so that the color signals R, G, B is generated.
The equation for calculating the color signals R, G, and B from the luminance signal Y and the color difference signals U and V is generally an inverse operation of [Equation 1] and is expressed by [Equation 8].

Figure 2005278025
Figure 2005278025

図7の(A)、(B)、(C)に示した画像信号生成手段41から出力された輝度信号Y、色差信号U、Vに対して、各画素ごとに[数8]を実行することで、画像信号の一形態であるRGB空間の画像信号を生成することができる。以上のようにして生成された画像信号は、画像再生装置等の外部機器で画像として再生される。   [Equation 8] is executed for each pixel with respect to the luminance signal Y and the color difference signals U and V output from the image signal generation means 41 shown in FIGS. 7A, 7B, and 7C. Thus, an RGB space image signal, which is a form of the image signal, can be generated. The image signal generated as described above is reproduced as an image by an external device such as an image reproducing device.

なお、図1に示した構成の後段部4では、図7の(A)、(B)、(C)に示したYUV空間の画像からRGB空間の画像信号に変換を行って、画像信号生成手段41から出力されるYUV空間の画像信号をそのまま画像信号として扱い、画像再生装置等で画像として再生しても構わない。すなわち、後段部は、出力画像信号を利用する外部機器が要求する出力フォーマットに対応させた画像信号を出力させればよいことになる。したがって、後段部は、フォーマット変換手段と称することもできる。   In the latter stage 4 of the configuration shown in FIG. 1, image signals are generated by converting the images in the YUV space shown in FIGS. 7A, 7B, and 7C to the image signals in the RGB space. The image signal in the YUV space output from the means 41 may be handled as an image signal as it is and reproduced as an image by an image reproducing apparatus or the like. In other words, the subsequent stage may output the image signal corresponding to the output format required by the external device using the output image signal. Therefore, the latter part can also be referred to as format conversion means.

上記後段部4の構成においては、画像信号生成手段41により、輝度信号Y、色差信号U、Vから画像信号の一形態であるYUV空間の画像信号を生成し、色信号生成手段42により、画像信号の一形態であるRGB空間の画像信号を生成していたが、図8に示すように、画像信号生成手段と色信号生成手段の配置を入れ替えて後段部を構成しても構わない。   In the configuration of the rear stage unit 4, an image signal generation unit 41 generates an image signal in the YUV space, which is one form of the image signal, from the luminance signal Y and the color difference signals U and V, and the color signal generation unit 42 generates an image. The RGB space image signal, which is one form of the signal, is generated. However, as shown in FIG. 8, the arrangement of the image signal generation unit and the color signal generation unit may be interchanged to configure the subsequent stage.

このように構成した後段部7においては、色信号生成手段71は、画像伸長部3から出力された輝度信号Y、色差信号U、Vに対して、図4に示すように、ベイヤ配列の色信号R、G、Bを生成する。次いで、画像信号生成手段72は、色信号生成手段71から出力されたベイヤ配列の色信号R、G、Bに対し、欠落データを補間する補間処理を行うことで、画像信号の一形態であるRGB空間の画像信号を生成する。以上のようにして生成された画像信号は、図1に示した後段部4からの画像信号と同様に、画像再生装置等で画像として再生される。   In the rear stage unit 7 configured as described above, the color signal generation unit 71 applies the color of the Bayer array to the luminance signal Y and the color difference signals U and V output from the image expansion unit 3 as shown in FIG. Signals R, G and B are generated. Next, the image signal generation unit 72 is an embodiment of the image signal by performing interpolation processing for interpolating missing data on the Bayer array color signals R, G, and B output from the color signal generation unit 71. An RGB space image signal is generated. The image signal generated as described above is reproduced as an image by an image reproduction device or the like, similarly to the image signal from the rear stage unit 4 shown in FIG.

次に、第2の実施例について説明する。
図9は、本発明の第2の実施例に係る画像処理システムの概略構成を示すブロック図である。第1の実施例と同一の機能を有する構成については、同一の符号を付して説明を省略し、異なる部分についてのみ説明する。本実施例は、設定手段111、補間手段112、及び輝度・色差信号生成手段113の処理に特徴がある。
Next, a second embodiment will be described.
FIG. 9 is a block diagram showing a schematic configuration of an image processing system according to the second embodiment of the present invention. About the structure which has the same function as a 1st Example, the same code | symbol is attached | subjected and description is abbreviate | omitted and only a different part is demonstrated. This embodiment is characterized by the processing of the setting unit 111, the interpolation unit 112, and the luminance / color difference signal generation unit 113.

本実施例における設定手段111は、固体撮像素子12において、赤、緑、青に係る色信号が得られる画素、すなわち全ての画素の輝度信号、または、色差信号の生成を補間手段14に設定する。   The setting unit 111 in this embodiment sets the interpolation unit 14 to generate a luminance signal or a color difference signal of pixels from which the color signals related to red, green, and blue are obtained in the solid-state imaging device 12, that is, all pixels. .

本実施例における補間手段112は、設定手段111の設定に基づいて、固体撮像素子12から出力される色信号から、補間処理を行い、図10(A)、(B)、(C)に示すような画像信号を生成する。ここで、以降での説明の理解をしやすくするため、図4に示した原色フィルタと同様の定義付けを、図10の(A)、(B)、(C)に対しても行う。例えば、図10の(A)、(B)、(C)における座標(2,2)、(2,3)、(3,2)、(3,3)の色信号R22、R23、R32、R33、G22、G23、G32、G33、及びB22、B23、B32、B33を算出する式は、図4における画素R、G、Bを用いて、[数9]で表される。 The interpolation unit 112 in this embodiment performs an interpolation process from the color signal output from the solid-state imaging device 12 based on the setting of the setting unit 111, and is shown in FIGS. 10 (A), (B), and (C). Such an image signal is generated. Here, in order to facilitate understanding of the following description, the same definition as that of the primary color filter shown in FIG. 4 is also applied to (A), (B), and (C) of FIG. For example, color signals R 22 , R 23 , coordinates (2, 2), (2, 3), (3, 2), (3, 3) in (A), (B), and (C) of FIG. The equations for calculating R 32 , R 33 , G 22 , G 23 , G 32 , G 33 , and B 22 , B 23 , B 32 , B 33 are given by using the pixels R, G, and B in FIG. [Expression 9]

Figure 2005278025
Figure 2005278025

このように、固体撮像素子12から出力される色信号から、各色ごとに欠落データを補間処理することにより、画像信号の一形態であるRGB空間の画像信号を生成することができる。   In this way, by interpolating the missing data for each color from the color signal output from the solid-state imaging device 12, it is possible to generate an RGB space image signal that is one form of the image signal.

本実施例における輝度・色差信号生成手段113は、補間手段112から出力された画像信号から、以下のような原理に基づいて輝度信号Y、色差信号U、Vを生成し、画像圧縮部2へ出力する。すなわち、図10(B)における画素G22と、図10(A)、(C)における画素G22と同じ座標である画素R22、B22を用いて、輝度信号Y22を求める。続いて、図10(A)における画素R23と、図10(B)、(C)における画素R23と同じ座標である画素G23、B23を用いて、色差信号U23を求める。さらに、図10(C)における画素B32と、図10(A)、(B)における画素B32と同じ座標である画素R32、G32を用いて、色差信号V32を求める。輝度信号Y22、色差信号U23、V32を生成する式は、図10(A)、(B)、(C)における色信号R、G、Bを用いて、[数10]で表される。 The luminance / color difference signal generation unit 113 in this embodiment generates a luminance signal Y and color difference signals U and V from the image signal output from the interpolation unit 112 based on the following principle, and supplies the image signal to the image compression unit 2. Output. That is, the luminance signal Y 22 is obtained using the pixel G 22 in FIG. 10B and the pixels R 22 and B 22 having the same coordinates as the pixel G 22 in FIGS. 10A and 10C. Subsequently, the color difference signal U 23 is obtained by using the pixel R 23 in FIG. 10A and the pixels G 23 and B 23 having the same coordinates as the pixel R 23 in FIGS. 10B and 10C. Further, the color difference signal V 32 is obtained using the pixel B 32 in FIG. 10C and the pixels R 32 and G 32 having the same coordinates as the pixel B 32 in FIGS. 10A and 10B. Expressions for generating the luminance signal Y 22 and the color difference signals U 23 and V 32 are expressed by [Equation 10] using the color signals R, G, and B in FIGS. 10 (A), (B), and (C). The

Figure 2005278025
Figure 2005278025

このように、補間手段112から出力された画像信号に対して、同座標上の色信号から、輝度信号Y、または色差信号U、またはVを生成することで、固体撮像素子12から出力される色信号に対して、輝度信号Y、色差信号U、Vを生成することができる。   As described above, the luminance signal Y or the color difference signal U or V is generated from the color signal on the same coordinate with respect to the image signal output from the interpolation unit 112, and is output from the solid-state imaging device 12. A luminance signal Y and color difference signals U and V can be generated for the color signal.

上記手法によると、生成する輝度信号、または色差信号の座標が、固体撮像素子12から出力される色信号に対してGの画素のときは輝度信号Yが、Rの画素のときは色差信号Uが、Bの画素のときは色差信号Vが生成されるため、実施例1同様、固体撮像素子12から出力される色信号と同数の出力データ数となり、かつ、JPEGで圧縮した場合に、一般的に、画質の劣化が少ないといわれるY、U、Vが2:1:1の割合で生成される。   According to the above method, the luminance signal Y or the color difference signal is generated when the coordinates of the generated luminance signal or color difference signal are G pixels with respect to the color signal output from the solid-state imaging device 12, and when the coordinates are R pixels, the color difference signal U. However, since the color difference signal V is generated for the B pixel, the number of output data is the same as that of the color signal output from the solid-state image pickup device 12 as in the first embodiment. In particular, Y, U, and V, which are said to have little deterioration in image quality, are generated at a ratio of 2: 1: 1.

上記のように、輝度信号Yを生成するときにはGの画素を、色差信号Uを生成するときはRの画素を、色差信号Vを生成するときにはBの画素を用いて処理を行うため、固体撮像素子12から出力される色信号をそのまま使用することができる。[数1]からもわかるように、輝度信号Yは色信号Gと、色差信号Uは色信号Rと、色差信号Vは色信号Bと、他色信号と比べて相関が強いため、その相関が強い画素を、固体撮像素子12から出力される周辺の同色色信号から補間して算出した値を使用するよりも、固体撮像素子12から出力される色信号を使用して、輝度信号Y、または色差信号U、またはVを生成した方が、生成される輝度信号Y、色差信号U、Vの精度は高くなる。したがって、データ数削減による画質の劣化を抑えることができる。   As described above, since processing is performed using the G pixel when generating the luminance signal Y, the R pixel when generating the color difference signal U, and the B pixel when generating the color difference signal V, solid-state imaging is performed. The color signal output from the element 12 can be used as it is. As can be seen from [Equation 1], the luminance signal Y is correlated with the color signal G, the color difference signal U is correlated with the color signal R, the color difference signal V is correlated with the color signal B, and other color signals. The luminance signal Y, using the color signal output from the solid-state image sensor 12 rather than using a value calculated by interpolating a pixel having a high intensity from the surrounding same color signal output from the solid-state image sensor 12 Alternatively, the accuracy of the generated luminance signal Y and color difference signals U and V is higher when the color difference signal U or V is generated. Therefore, it is possible to suppress deterioration in image quality due to the reduction in the number of data.

上記説明においては、生成する輝度信号、または色差信号の座標が、固体撮像素子12から出力される色信号に対してGの画素のときは輝度信号Yを、Rの画素のときは色差信号Uを、Bの画素のときは色差信号Vを生成していたが、画質劣化の低減のためや、演算を簡略化のために、これら固体撮像素子12から出力される色信号の色信号の種類と、生成される信号の種類の対応関係を変更しても構わない。   In the above description, the luminance signal Y or the color difference signal is generated when the coordinates of the generated luminance signal or color difference signal are G pixels with respect to the color signal output from the solid-state imaging device 12, and when the coordinates are R pixels, the color difference signal U. In the case of the B pixel, the color difference signal V is generated. However, in order to reduce image quality deterioration and simplify the calculation, the types of color signals of the color signals output from the solid-state image sensor 12 are as follows. The correspondence relationship between the types of generated signals may be changed.

また、上記説明においては、固体撮像素子12から出力される色信号の各色信号に対して、輝度信号Y、または色差信号U、またはVを生成するという1対1の関係が成り立っていたが、例えば、固体撮像素子12から出力される色信号に対してGの画素のときは輝度信号Yと色差信号Uを、といったように、固体撮像素子12から出力される色信号の各色信号ごとに生成する信号の要素を複数決めても構わない。   In the above description, the one-to-one relationship that the luminance signal Y or the color difference signal U or V is generated is established for each color signal of the color signal output from the solid-state imaging device 12. For example, the luminance signal Y and the color difference signal U are generated for each color signal of the color signal output from the solid-state image sensor 12 such as a luminance signal Y and a color difference signal U when the pixel is G with respect to the color signal output from the solid-state image sensor 12. A plurality of signal elements may be determined.

上記前段部の構成によれば、固体撮像素子12から出力される色信号に基づいて、輝度信号Y、色差信号U、Vが生成され、前記輝度信号Y、色差信号U、Vに対して、画像圧縮部2において圧縮処理が行われる。したがって、前段部より出力されるデータ数が少ないので、圧縮処理に要する時間を削減でき、固体撮像素子から出力される色信号を圧縮処理するまでの工程において、省電力化を実現できる。   According to the configuration of the preceding stage, the luminance signal Y and the color difference signals U and V are generated based on the color signal output from the solid-state imaging device 12, and the luminance signal Y and the color difference signals U and V are The image compression unit 2 performs compression processing. Therefore, since the number of data output from the preceding stage is small, the time required for the compression process can be reduced, and power saving can be realized in the process until the color signal output from the solid-state imaging device is compressed.

次に、第3の実施例について説明する。
図11は、本発明の第3の実施例に係る画像処理システムの概略構成を示すブロック図である。第1の実施例と同一の機能を有する構成については、同一の符号を付して説明を省略し、異なる部分についてのみ説明する。本実施例は、選択手段211、設定手段212、設定手段213、補間手段214、補間手段215、輝度・色差信号生成手段216、及び輝度・色差信号生成手段217の処理に特徴がある。
Next, a third embodiment will be described.
FIG. 11 is a block diagram showing a schematic configuration of an image processing system according to the third embodiment of the present invention. About the structure which has the same function as a 1st Example, the same code | symbol is attached | subjected and description is abbreviate | omitted and only a different part is demonstrated. The present embodiment is characterized by the processing of the selection unit 211, the setting unit 212, the setting unit 213, the interpolation unit 214, the interpolation unit 215, the luminance / color difference signal generation unit 216, and the luminance / color difference signal generation unit 217.

本実施例における選択手段211は、色フィルタ11を構成する各色フィルタの配置に基づいて、固体撮像素子12から出力される色信号を、高画質化や省電力化といったような用途によって、補間手段214あるいは、補間手段215のいずれに入力するのかを選択する。また、本実施例における設定手段212は、固体撮像素子12上において、偶数行の画素の輝度信号、及び、色差信号の生成を補間手段214に設定する。   The selection unit 211 according to the present exemplary embodiment is configured to interpolate the color signal output from the solid-state imaging device 12 based on the arrangement of the color filters constituting the color filter 11 depending on applications such as high image quality and power saving. 214 or the interpolation means 215 is selected. In addition, the setting unit 212 in this embodiment sets the generation of the luminance signal and the color difference signal of the pixels in the even-numbered rows on the solid-state imaging device 12 in the interpolation unit 214.

本実施例における補間手段214及び輝度・色差信号生成手段216は、選択手段211から出力される色信号から、設定手段212の設定に基づき、以下のような原理で、輝度信号Y、色差信号U、Vを生成し、画像圧縮部2へ出力する。   The interpolation unit 214 and the luminance / color difference signal generation unit 216 in the present embodiment use the luminance signal Y and the color difference signal U based on the setting of the setting unit 212 from the color signal output from the selection unit 211 according to the following principle. , V are generated and output to the image compression unit 2.

すなわち、補間手段214は、図4における偶数行(Xが偶数)に注目して、その座標位置における色信号R、G、Bの欠落データを補間処理により生成し、輝度・色差信号生成手段216は、補間手段214からの出力である同座標上の固体撮像素子12から出力される色信号、及び補間処理して生成した色信号R、G、Bを用いて、輝度信号Y、色差信号U、Vを生成する。   That is, the interpolation unit 214 pays attention to the even-numbered rows (X is an even number) in FIG. 4 and generates missing data of the color signals R, G, B at the coordinate position by interpolation processing, and the luminance / color-difference signal generation unit 216. Is a luminance signal Y, a color difference signal U, using the color signal output from the solid-state imaging device 12 on the same coordinates as the output from the interpolation means 214 and the color signals R, G, B generated by the interpolation processing. , V is generated.

例えば、図4における座標(2,2)、(2,3)の輝度信号Y22、Y23、色差信号U23、V22を生成する式は、図4における画素R21、R23、G13、G22、G24、G33、B12、B14、B32、B34を用いて、[数11]で表される。 For example, the equations for generating the luminance signals Y 22 and Y 23 and the color difference signals U 23 and V 22 at the coordinates (2, 2) and (2, 3) in FIG. 4 are the pixels R 21 , R 23 , and G in FIG. 13 , G 22 , G 24 , G 33 , B 12 , B 14 , B 32 , B 34 are used and expressed by [Equation 11].

Figure 2005278025
Figure 2005278025

[数11]において、(R21+R23)/ 2、G22、(B12+B32)/ 2、R23、(G13+G22+G24+G33)/ 4、(B12+B14+B32+B34)/ 4 が、それぞれ、画素R22、G22、B22、R23、G23、B23、の値に相当し、補間手段214からの出力となる。また、輝度信号Y22、Y23、色差信号U23、V22が、輝度・色差信号生成手段216からの出力となる。 In [Expression 11], (R 21 + R 23 ) / 2, G 22 , (B 12 + B 32 ) / 2, R 23 , (G 13 + G 22 + G 24 + G 33 ) / 4, (B 12 + B 14 + B 32 + B 34 ) / 4 correspond to the values of the pixels R 22 , G 22 , B 22 , R 23 , G 23 , B 23 , respectively, and are output from the interpolation unit 214. The luminance signals Y 22 and Y 23 and the color difference signals U 23 and V 22 are output from the luminance / color difference signal generation means 216.

このように、図4における偶数行においてのみ、各色信号ごとの欠落データを補間処理し、偶数行における各画素ごとに輝度信号Yと色差信号U、又はVを生成することで、固体撮像素子12から出力される色信号に対して、輝度信号Y、色差信号U、Vを生成することができる。   In this way, the missing data for each color signal is interpolated only in the even-numbered rows in FIG. 4, and the luminance signal Y and the color-difference signal U or V are generated for each pixel in the even-numbered rows. The luminance signal Y and the color difference signals U and V can be generated with respect to the color signal output from.

上記手法によると、図4における偶数行に対して、生成する輝度信号、または色差信号の座標が、固体撮像素子12から出力される色信号に対してGの画素のときは輝度信号Yと色差信号Vが、Rの画素のときは輝度信号Yと色差信号Uが生成されるため、実施例1と同様に、固体撮像素子12から出力される色信号と同数の出力データ数となり、かつ、JPEGで圧縮した場合に、一般的に、画質の劣化が少ないといわれるY、U、Vが2:1:1の割合で生成される。   According to the above method, for even rows in FIG. 4, when the luminance signal or color difference signal coordinates are G pixels with respect to the color signal output from the solid-state imaging device 12, the luminance signal Y and the color difference. Since the luminance signal Y and the color difference signal U are generated when the signal V is an R pixel, the number of output data is the same as the number of color signals output from the solid-state imaging device 12 as in the first embodiment, and When compressed with JPEG, Y, U, and V, which are generally said to have little deterioration in image quality, are generated at a ratio of 2: 1: 1.

上記のように、実施例1では、図4の座標に対して、輝度信号Y、色差信号U、Vは斜めに生成されていたが、本実施例では、図4の偶数行に対して、輝度信号Y、色差信号U、Vを生成させることにより、輝度信号Y、色差信号U、Vが直線上に並ぶように生成される。したがって、周辺画素との相関性を利用する非可逆圧縮方式による圧縮処理した場合に、画質の劣化を抑えることができる。   As described above, in the first embodiment, the luminance signal Y and the color difference signals U and V are generated obliquely with respect to the coordinates in FIG. 4, but in the present embodiment, the even lines in FIG. By generating the luminance signal Y and the color difference signals U and V, the luminance signal Y and the color difference signals U and V are generated so as to be arranged on a straight line. Therefore, it is possible to suppress deterioration in image quality when compression processing is performed using an irreversible compression method that uses correlation with surrounding pixels.

上記説明においては、図4における偶数行(Xが偶数)に注目して、輝度信号Y、色差信号U、Vを生成していたが、奇数行(Xが奇数)に注目して、輝度信号Y、色差信号U、Vを生成しても構わない。   In the above description, the luminance signal Y and the color difference signals U and V are generated by paying attention to even rows (X is an even number) in FIG. 4, but the luminance signals are focused on odd rows (X is an odd number). Y and color difference signals U and V may be generated.

本実施例における設定手段213は、固体撮像素子12上において、偶数列の画素の輝度信号、及び、色差信号の生成を補間手段215に設定する。本実施例における補間手段215及び輝度・色差信号生成手段217は、選択手段211から出力される色信号から、設定手段213の設定に基づき、以下のような原理で、輝度信号Y、色差信号U、Vを生成し、画像圧縮部2へ出力する。   The setting unit 213 in the present embodiment sets the generation of the luminance signal and the color difference signal of the pixels in the even columns on the solid-state imaging device 12 in the interpolation unit 215. The interpolation means 215 and the luminance / color difference signal generation means 217 in this embodiment are based on the setting of the setting means 213 based on the setting of the setting means 213 from the color signal output from the selection means 211 on the basis of the following principle. , V are generated and output to the image compression unit 2.

すなわち、補間手段215は、図4における偶数列(Yが偶数)に注目して、その座標位置における色信号R、G、Bの欠落データを補間処理して生成する。輝度・色差信号生成手段217は、補間手段215からの出力である同座標上の固体撮像素子12から出力される色信号、及び補間処理して生成した色信号R、G、Bを用いて、輝度信号Y、色差信号U、Vを生成する。   That is, the interpolation means 215 pays attention to the even-numbered columns (Y is an even number) in FIG. 4 and generates the missing data of the color signals R, G, B at the coordinate positions by interpolation processing. The luminance / color difference signal generation unit 217 uses the color signal output from the solid-state imaging device 12 on the same coordinates, which is the output from the interpolation unit 215, and the color signals R, G, and B generated by interpolation processing. A luminance signal Y and color difference signals U and V are generated.

例えば、図4における座標(2,2)、(3,2)の輝度信号Y22、Y32、色差信号U22、V32を生成する式は、図4における画素R21、R23、R41、R43、G22、G31、G33、G42、B12、B32を用いて、[数12]で表される。 For example, the equations for generating the luminance signals Y 22 and Y 32 and the color difference signals U 22 and V 32 at the coordinates (2, 2) and (3, 2) in FIG. 4 are the pixels R 21 , R 23 , R in FIG. 41 , R 43 , G 22 , G 31 , G 33 , G 42 , B 12 , B 32 are used and expressed by [Equation 12].

Figure 2005278025
Figure 2005278025

[数12]において、(R21+R23)/ 2、G22、(B12+B32)/ 2、(R21+R23+R41+R43)/ 4、(G13+G22+G24+G33)/ 4、B32 が、それぞれ、画素R22、G22、B22、R32、G32、B32、の値に相当し、補間手段215からの出力になる。また、輝度信号Y22、Y32、色差信号U22、V32が、輝度・色差信号生成手段217からの出力となる。 In [Expression 12], (R 21 + R 23) / 2, G 22, (B 12 + B 32) / 2, (R 21 + R 23 + R 41 + R 43) / 4, (G 13 + G 22 + G 24 + G 33) / 4 and B 32 correspond to the values of the pixels R 22 , G 22 , B 22 , R 32 , G 32 , B 32 , respectively, and are output from the interpolation means 215. The luminance signals Y 22 and Y 32 and the color difference signals U 22 and V 32 are output from the luminance / color difference signal generation means 217.

このように、図4における偶数列においてのみ、各色信号ごとの欠落データを補間処理し、偶数列における各画素ごとに輝度信号Yと色差信号U、またはVを生成することで、輝度・色差信号生成手段217と同様の輝度信号Y、色差信号U、Vを生成することができ、輝度・色差信号生成手段217と同様に、画質の劣化を抑えることができる。   As described above, the missing data for each color signal is interpolated only in the even-numbered columns in FIG. 4 to generate the luminance signal Y and the color-difference signal U or V for each pixel in the even-numbered columns. The luminance signal Y and the color difference signals U and V similar to those of the generation unit 217 can be generated, and the deterioration of the image quality can be suppressed similarly to the luminance / color difference signal generation unit 217.

上記前段部の構成によれば、固体撮像素子12から出力される色信号に基づいて、輝度信号Y、色差信号U、Vが生成され、前記輝度信号Y、色差信号U、Vに対して、画像圧縮部2において圧縮処理が行われる。したがって、実施例1で得られる効果と同様に、固体撮像素子から出力される色信号に基づいて、全画素に対して、各画素ごとに補間処理を行って、画像信号を生成する補間処理手段を必要としない。したがって、前段部より出力されるデータ数が少ないため、圧縮処理に要する時間を削減でき、固体撮像素子から出力される色信号を圧縮処理するまでの工程において、省電力化を実現できる。   According to the configuration of the preceding stage, the luminance signal Y and the color difference signals U and V are generated based on the color signal output from the solid-state imaging device 12, and the luminance signal Y and the color difference signals U and V are The image compression unit 2 performs compression processing. Therefore, similar to the effect obtained in the first embodiment, the interpolation processing means generates the image signal by performing the interpolation process for each pixel on all the pixels based on the color signal output from the solid-state imaging device. Do not need. Therefore, since the number of data output from the preceding stage is small, the time required for the compression process can be reduced, and power saving can be realized in the process until the color signal output from the solid-state imaging device is compressed.

また、上記前段部の構成によれば、選択手段211により、固体撮像素子12から出力される色信号を入力する補間手段を、任意に選択することができるので、例えば、入力画像に対して、比較的横成分が多いときには、補間手段214を選択し、縦成分が多いときには、補間手段215を選択するといったように、画像の特徴によって、選択する補間手段を決定することによって、画質の劣化を防ぐことができる。   In addition, according to the configuration of the preceding stage, the selection unit 211 can arbitrarily select an interpolation unit that inputs a color signal output from the solid-state imaging device 12, and for example, for an input image, When the interpolating unit 214 is selected when the horizontal component is relatively large and the interpolating unit 215 is selected when the vertical component is large, the interpolating unit to be selected is determined according to the feature of the image. Can be prevented.

以上、図面を参照して本発明の実施例について詳述してきたが、具体的な構成はこれらの実施例に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   As described above, the embodiments of the present invention have been described in detail with reference to the drawings. However, the specific configuration is not limited to these embodiments, and includes design changes and the like without departing from the gist of the present invention. .

第1の実施例に係る画像処理システムのブロック図である。1 is a block diagram of an image processing system according to a first embodiment. 原色フィルタ、補色フィルタを示す図である。It is a figure which shows a primary color filter and a complementary color filter. 画像圧縮の対象を例示した図である。It is the figure which illustrated the object of image compression. 固体撮像素子の受光面を模式的に示した図である。It is the figure which showed typically the light-receiving surface of a solid-state image sensor. 着目画素の値を算出する回路の構成を示す図である。It is a figure which shows the structure of the circuit which calculates the value of the focused pixel. 補色フィルタを用いた場合の概念図である。It is a conceptual diagram at the time of using a complementary color filter. 第1の実施例において、補間処理された画像信号を示す図である。It is a figure which shows the image signal by which the interpolation process was carried out in the 1st Example. 第1の実施例の変形例を示す図である。It is a figure which shows the modification of a 1st Example. 第2の実施例に係る画像処理システムのブロック図である。It is a block diagram of the image processing system which concerns on a 2nd Example. 第2の実施例において、補間処理された画像信号を示す図である。It is a figure which shows the image signal by which the interpolation process was carried out in the 2nd Example. 第3の実施例に係る画像処理システムのブロック図である。It is a block diagram of the image processing system which concerns on a 3rd Example. 従来の画像処理システムのブロック図である。It is a block diagram of the conventional image processing system. 従来の画像処理システムの構成図である。It is a block diagram of the conventional image processing system.

符号の説明Explanation of symbols

1、201・・・前段部、2、202・・・画像圧縮部、3、203・・・画像伸長部、4、7、204・・・後段部、5・・・加算器、6・・・1bitシフタ、11、2011・・・色フィルタ、12、2012・・・固体撮像素子、13、111、212、213・・・設定手段、14、112、214、215・・・補間手段、15、113、216、217、2014・・・輝度・色差信号生成手段、21、2021・・・周波数変換手段、22、2022・・・量子化手段、23、2023・・・符号化手段、31、2031・・・復号化手段、32、2032・・・逆量子化手段、33、2033・・・逆周波数変換手段、41、72・・・画像信号生成手段、42、71、2041・・・色信号生成手段、101・・・撮像装置、102・・・画像データ圧縮装置、103・・・画像データ伸長装置、104・・・画像再生装置、211・・・選択手段、2013・・・補間処理手段

1, 201 ... front stage part, 2, 202 ... image compression part, 3, 203 ... image decompression part, 4, 7, 204 ... rear stage part, 5 ... adder, ... 1-bit shifter, 11, 2011 ... color filter, 12, 2012 ... solid-state image sensor, 13, 111, 212, 213 ... setting means, 14, 112, 214, 215 ... interpolation means, 15 113, 216, 217, 2014 ... Luminance / color difference signal generation means, 21, 2021 ... Frequency conversion means, 22, 2022 ... Quantization means, 23, 2023 ... Encoding means, 31, 2031, Decoding means, 32, 2032 ... Inverse quantization means, 33, 2033 ... Inverse frequency conversion means, 41, 72 ... Image signal generation means, 42, 71, 2041 ... Color Signal generating means, 101... Imaging Location, 102 ... image data compression apparatus, 103 ... image data decompression apparatus, 104 ... image reproducing apparatus, 211 ... selection unit, 2013 ... interpolation means

Claims (16)

複数の画素からなる受光面に、所定の色配列を有する色フィルタが貼付された固体撮像素子より出力される色信号から、任意の画素に対して、該画素に係る前記色フィルタの色属性とは異なる色属性の色信号を補間演算により生成する補間手段と、
任意の画素に係る複数の前記色信号から、該画素に係る輝度信号或いは1つ以上の色差信号の内の少なくとも一方の信号を生成する輝度・色差信号生成手段と、
該輝度信号及び色差信号を生成する画素を注目画素として設定する設定手段と、
を有することを特徴とする輝度・色差信号生成装置。
From a color signal output from a solid-state imaging device in which a color filter having a predetermined color arrangement is attached to a light-receiving surface composed of a plurality of pixels, for any pixel, the color attribute of the color filter related to the pixel Interpolating means for generating color signals of different color attributes by interpolation calculation;
Luminance / color difference signal generating means for generating, from the plurality of color signals related to an arbitrary pixel, at least one of a luminance signal related to the pixel or one or more color difference signals;
Setting means for setting a pixel that generates the luminance signal and the color difference signal as a target pixel;
A luminance / color difference signal generating apparatus comprising:
前記設定手段は、前記注目画素を、前記色属性として緑に係る色信号を出力する画素に設定することを特徴とする請求項1に記載された輝度・色差信号生成装置。   2. The luminance / color difference signal generation apparatus according to claim 1, wherein the setting unit sets the pixel of interest to a pixel that outputs a color signal related to green as the color attribute. 前記輝度・色差信号生成手段は、前記輝度信号と、1つの色差信号のみを生成することを特徴とする請求項1または請求項2に記載された輝度・色差信号生成装置。   3. The luminance / color difference signal generation apparatus according to claim 1, wherein the luminance / color difference signal generation unit generates only the luminance signal and one color difference signal. 前記色フィルタはベイヤ配列であり、前記輝度・色差信号生成手段は、前記注目画素が前記固体撮像素子上で奇数行に位置するときは、前記輝度信号と第1の色差信号を、偶数行に位置するときは、前記輝度信号と前記第1の色差信号とは異なる第2の色差信号を生成することを特徴とする請求項3に記載された輝度・色差信号生成装置。   The color filter has a Bayer array, and the luminance / color difference signal generation means sets the luminance signal and the first color difference signal to an even row when the target pixel is located in an odd row on the solid-state imaging device. 4. The luminance / color difference signal generation apparatus according to claim 3, wherein, when positioned, a second color difference signal different from the luminance signal and the first color difference signal is generated. 5. 前記輝度・色差信号生成手段は、前記注目画素に係る前記色フィルタの色属性に応じて、生成する前記輝度信号及び前記色差信号が設定されていることを特徴とする請求項1に記載された輝度・色差信号生成装置。   The luminance / color difference signal generation unit is configured to set the luminance signal and the color difference signal to be generated according to a color attribute of the color filter relating to the target pixel. Luminance / color difference signal generator. 前記輝度・色差信号生成手段は、前記注目画素に係る前記色属性が緑のときは輝度信号を生成し、赤のときは第1の色差信号を生成し、青のときは前記第1の色差信号とは異なる第2の色差信号を生成することを特徴とする請求項5に記載された輝度・色差信号生成装置。   The luminance / color difference signal generating means generates a luminance signal when the color attribute relating to the target pixel is green, generates a first color difference signal when the color attribute is red, and generates the first color difference signal when the color attribute is blue. 6. The luminance / color difference signal generation apparatus according to claim 5, wherein a second color difference signal different from the signal is generated. 複数の画素からなる受光面に、所定の色配列を有する色フィルタが貼付された固体撮像素子より出力される色信号から、任意の画素に対して、その画素に係る前記色フィルタの色属性とは異なる色属性の色信号を補間演算により生成する補間手段と、
任意の画素に係る複数の前記色信号から、該画素に係る輝度信号或いは1つ以上の色信号の内の少なくとも一方の信号を生成する輝度・色差信号生成手段と、
前記固体撮像素子上の特定行、又は、特定列に属する画素を、前記輝度信号及び色差信号を生成する注目画素として設定する設定手段と、
を有することを特徴とする輝度・色差信号生成装置。
From a color signal output from a solid-state imaging device in which a color filter having a predetermined color arrangement is attached to a light receiving surface composed of a plurality of pixels, for any pixel, the color attribute of the color filter related to the pixel Interpolating means for generating color signals of different color attributes by interpolation calculation;
A luminance / color difference signal generating means for generating, from a plurality of the color signals related to an arbitrary pixel, at least one of a luminance signal related to the pixel or one or more color signals;
Setting means for setting a pixel belonging to a specific row or a specific column on the solid-state imaging device as a target pixel for generating the luminance signal and the color difference signal;
A luminance / color difference signal generating apparatus comprising:
前記設定手段は、前記特定行とする行または、特定列とする列を一定パターンに従って設定することを特徴とする請求項7に記載された輝度・色差信号生成装置。   8. The luminance / color difference signal generation apparatus according to claim 7, wherein the setting unit sets a row to be the specific row or a column to be the specific column according to a certain pattern. 前記輝度・色差信号生成手段は、前記特定行、または、前記特定列ごとに、生成する前記輝度信号及び前記色差信号が設定されていることを特徴とする請求項7に記載された輝度・色差信号生成装置。   8. The luminance / color difference signal generation unit according to claim 7, wherein the luminance signal and the color difference signal to be generated are set for each of the specific row or the specific column. Signal generator. 前記色フィルタはベイヤ配列であり、前記輝度・色差信号生成手段は、前記特定行が奇数行のときは前記輝度信号と第1の色差信号を、偶数行のときは前記輝度信号と前記第1の色差信号とは異なる第2の色差信号を夫々生成し、または、前記特定列が奇数列のときは前記輝度信号と第1の色差信号を、偶数列のときは前記輝度信号と前記第1の色差信号とは異なる第2の色差信号を夫々生成することを特徴とする請求項7に記載された輝度・色差信号生成装置。   The color filter has a Bayer arrangement, and the luminance / chrominance signal generation means outputs the luminance signal and the first color difference signal when the specific row is an odd row, and the luminance signal and the first when the specific row is an even row. A second color difference signal different from the color difference signal is generated, or when the specific column is an odd column, the luminance signal and the first color difference signal are generated, and when the specific column is an even column, the luminance signal and the first color signal are generated. The luminance / color difference signal generating apparatus according to claim 7, wherein a second color difference signal different from the color difference signal is generated. 処理対象の異なる複数の前記輝度・色差信号生成手段と、
前記複数の輝度・色差信号生成手段から対応する輝度・色差信号生成手段を選択する選択手段と、
を更に有することを特徴とする請求項1または請求項7に記載された輝度・色差信号生成装置。
A plurality of the luminance / color difference signal generating means having different processing targets;
Selecting means for selecting a corresponding brightness / color difference signal generating means from the plurality of brightness / color difference signal generating means;
The luminance / color difference signal generating apparatus according to claim 1 or 7, further comprising:
前記補間手段は、前記任意の画素の近傍に位置する画素の色信号から、その画素に係る前記色フィルタの色属性とは異なる色属性の色信号を演算することを特徴とする請求項1または請求項7に記載された輝度・色差信号生成装置。   The interpolation means calculates a color signal having a color attribute different from a color attribute of the color filter related to the pixel from a color signal of a pixel located in the vicinity of the arbitrary pixel. The luminance / color difference signal generating apparatus according to claim 7. 請求項1または請求項7に記載された輝度・色差信号生成装置と、
前記輝度・色差信号生成装置から出力される輝度信号及び色差信号に対して、各信号ごとにブロック単位で空間周波数成分を算出する周波数変換手段と、
前記空間周波数成分を量子化する量子化手段と、
量子化された前記空間周波数成分を符号化する符号化手段と、
を備える画像圧縮部と、
を有することを特徴とする画像圧縮装置。
The luminance / color difference signal generation device according to claim 1 or 7,
Frequency conversion means for calculating a spatial frequency component in units of blocks for each signal with respect to the luminance signal and color difference signal output from the luminance / color difference signal generation device;
Quantization means for quantizing the spatial frequency component;
Encoding means for encoding the quantized spatial frequency component;
An image compression unit comprising:
An image compression apparatus comprising:
請求項13に記載の画像圧縮装置と、
前記画像圧縮装置からの出力から、前記量子化された空間周波数成分を復号化する復号化手段と、
復号化された前記空間周波数成分を逆量子化する逆量子化手段と、
逆量子化された前記空間周波数成分に基づいて、前記ブロック単位で輝度信号及び色差信号を算出する逆周波数変換手段と、
を備える画像伸長部と、
前記画像伸長部から出力される前記輝度信号、色差信号を外部機器が要求する出力フォーマットに変換するフォーマット変換手段と、
を有することを特徴とする画像処理システム。
An image compression apparatus according to claim 13,
Decoding means for decoding the quantized spatial frequency component from the output from the image compression device;
Inverse quantization means for inversely quantizing the decoded spatial frequency component;
Inverse frequency conversion means for calculating a luminance signal and a color difference signal in units of blocks based on the inversely quantized spatial frequency components;
An image decompression unit comprising:
Format conversion means for converting the luminance signal and color difference signal output from the image decompression unit into an output format required by an external device;
An image processing system comprising:
前記フォーマット変換手段は、前記輝度信号及び色差信号を前記色信号に変換する画像信号生成手段と、
前記画像信号生成手段からの前記色信号に対して、前記注目画素以外の画素に係る色信号を補間処理する色信号生成手段と、
を有することを特徴とする請求項14に記載された画像処理システム。
The format conversion means includes an image signal generation means for converting the luminance signal and the color difference signal into the color signal;
Color signal generating means for interpolating color signals related to pixels other than the target pixel with respect to the color signal from the image signal generating means;
15. The image processing system according to claim 14, further comprising:
前記フォーマット変換手段は、前記輝度信号及び色差信号から、前記注目画素以外の画素に係る輝度信号及び色差信号を補間する輝度・色差信号補間手段と、
前記輝度・色差信号補間手段からの前記輝度信号及び色差信号を前記色信号に変換する画像信号生成手段と、
を有することを特徴とする請求項14に記載された画像処理システム。

The format conversion means includes luminance / color difference signal interpolation means for interpolating luminance signals and color difference signals related to pixels other than the target pixel from the luminance signal and color difference signals;
Image signal generating means for converting the luminance signal and color difference signal from the luminance / color difference signal interpolation means into the color signal;
15. The image processing system according to claim 14, further comprising:

JP2004091389A 2004-03-26 2004-03-26 Luminance/color-difference signal generating device, image compressing device, and image processing system Pending JP2005278025A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004091389A JP2005278025A (en) 2004-03-26 2004-03-26 Luminance/color-difference signal generating device, image compressing device, and image processing system
US11/083,925 US20050212933A1 (en) 2004-03-26 2005-03-21 Luminance and color difference signal generation apparatus, image data compression apparatus, and image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004091389A JP2005278025A (en) 2004-03-26 2004-03-26 Luminance/color-difference signal generating device, image compressing device, and image processing system

Publications (1)

Publication Number Publication Date
JP2005278025A true JP2005278025A (en) 2005-10-06

Family

ID=34989317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004091389A Pending JP2005278025A (en) 2004-03-26 2004-03-26 Luminance/color-difference signal generating device, image compressing device, and image processing system

Country Status (2)

Country Link
US (1) US20050212933A1 (en)
JP (1) JP2005278025A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011228906A (en) * 2010-04-19 2011-11-10 Nippon Hoso Kyokai <Nhk> Video format converter and video format inverter, and program for the same

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IL162740A (en) * 2003-06-26 2010-06-16 Given Imaging Ltd Device, method and system for reduced transmission imaging
JP5191090B2 (en) * 2005-07-15 2013-04-24 オリンパスメディカルシステムズ株式会社 Endoscope device
EP1796064A1 (en) * 2005-12-12 2007-06-13 Deutsche Thomson-Brandt Gmbh Apparatus for driving a plasma display panel with APL pre-measurement and corresponding method
JP4156631B2 (en) * 2006-04-26 2008-09-24 シャープ株式会社 Image processing method and image processing apparatus
KR100868339B1 (en) * 2007-11-15 2008-11-12 주식회사 인트로메딕 Method for displaying the medical image and system and method for providing captured image by the medical image
TWI390961B (en) * 2009-03-13 2013-03-21 Asustek Comp Inc Image processing device and image processing method
EP2528319A1 (en) * 2011-05-23 2012-11-28 Alcatel Lucent Image data compressing and decompressing methods and devices
TWI449027B (en) * 2011-08-30 2014-08-11 Novatek Microelectronics Corp Adaptive pixel compensation method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6427025B1 (en) * 1992-08-14 2002-07-30 Canon Kabushiki Kaisha Image processing with selection between reversible and irreversible compression
JP3381855B2 (en) * 1992-12-28 2003-03-04 ソニー株式会社 Image signal encoding method and image signal encoding device, image signal decoding method and image signal decoding device
JP3709092B2 (en) * 1999-03-09 2005-10-19 ペンタックス株式会社 Image compression apparatus and image expansion apparatus
WO2001084851A1 (en) * 2000-04-12 2001-11-08 Hitachi, Ltd. Image signal processing method, image signal processing device, and image signal processing system
US7046277B2 (en) * 2001-01-26 2006-05-16 Pentax Corporation Image interpolating device, including interpolation and modification processors
JP4270892B2 (en) * 2003-01-27 2009-06-03 Hoya株式会社 False color reduction device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011228906A (en) * 2010-04-19 2011-11-10 Nippon Hoso Kyokai <Nhk> Video format converter and video format inverter, and program for the same

Also Published As

Publication number Publication date
US20050212933A1 (en) 2005-09-29

Similar Documents

Publication Publication Date Title
JP5845464B2 (en) Image processing apparatus, image processing method, and digital camera
JP5280448B2 (en) Image processing apparatus, image processing method, image processing program, and semiconductor integrated circuit
US9386287B2 (en) Image processor which rearranges color information, image processing method, and digital camera
EP0651562A1 (en) An electronic camera utilizing image compression feedback for improved color processing
US20050212933A1 (en) Luminance and color difference signal generation apparatus, image data compression apparatus, and image processing system
US8823832B2 (en) Imaging apparatus
KR100366738B1 (en) Imager
KR100779767B1 (en) Image signal generation unit, digital camera, and image signal generation method
JP2009194760A (en) Image coding device, image decoding device, program for coding image, and program for decoding image
JP4257145B2 (en) Image compression apparatus and image processing system
JP6702792B2 (en) Image processing apparatus and control method thereof
US20040252894A1 (en) Image compression apparatus and image processing system
JP2011029809A (en) Image processing device, image processing method, and image capturing device
JP2008141326A (en) Imaging system and camera unit
JP4546141B2 (en) Mobile phone, image conversion apparatus, method, and program
JP4436733B2 (en) Imaging apparatus and reproducing apparatus
US8698907B2 (en) Image capture apparatus
WO2003107684A1 (en) Image processing device and method, image output device, digital camera device, and mobile information terminal using the same
JP4522640B2 (en) Data transfer system and data transfer method
JP2019054341A (en) Image processing device and method, and imaging apparatus
WO2016047250A1 (en) Signal processing apparatus, imaging apparatus and signal processing method
JP2002247376A (en) Image processor
JP2023008624A (en) Imaging apparatus and control method thereof and program
JP3652123B2 (en) Image sensor, image processing apparatus, image processing system, and storage medium
JP2004187323A (en) Digital camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070117

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090331

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090728