JP2007214933A - Color image pickup device and its control method - Google Patents

Color image pickup device and its control method Download PDF

Info

Publication number
JP2007214933A
JP2007214933A JP2006033230A JP2006033230A JP2007214933A JP 2007214933 A JP2007214933 A JP 2007214933A JP 2006033230 A JP2006033230 A JP 2006033230A JP 2006033230 A JP2006033230 A JP 2006033230A JP 2007214933 A JP2007214933 A JP 2007214933A
Authority
JP
Japan
Prior art keywords
color
image
subject
subject image
cut filter
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
JP2006033230A
Other languages
Japanese (ja)
Inventor
Naoto Akutsu
直人 阿久津
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2006033230A priority Critical patent/JP2007214933A/en
Publication of JP2007214933A publication Critical patent/JP2007214933A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To allow a leaf image part to be bright by using one image pickup element. <P>SOLUTION: When a natural photographing mode is selected (YES in S21) in a control method of color imaging device, a subject image is photographed in a state where an infrared light cut filter is inserted to the front part of a CCD (S24, S28) and the subject image is photographed in a state where the infrared light cut filter is evacuated (S25, S30). The leaf image part in the subject is detected, based on the subject image with the infrared light cut therefrom, which is obtained in inserting the infrared light cut filter, and the subject image including the infrared light, which is obtained in evacuating the infrared light cut filter. Correction is performed to allow the detected leaf image part to be bright (S27). <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は,カラー撮像装置およびその制御方法に関する。   The present invention relates to a color imaging device and a control method thereof.

風景などを撮像した場合には,植物の葉などが含まれることがある。撮像により得られた画像のうち,葉が鮮やかとなるような補正をするには葉の画像部分を検出する必要がある。たとえば,入射光を分光ミラーによって可視光と赤外光とに分光し,可視光用の撮像素子と赤外光用の撮像素子を用いて受光し,得られた可視光像と赤外光像とを比較することにより葉などの部分を検出するものがある(特許文献1)。
特開2002−5842号公報
When a landscape or the like is imaged, plant leaves may be included. In the image obtained by imaging, it is necessary to detect the image portion of the leaf in order to make correction so that the leaf is bright. For example, incident light is split into visible light and infrared light using a spectroscopic mirror, and is received using a visible light image sensor and an infrared light image sensor. The resulting visible light image and infrared light image are obtained. There is one that detects a part such as a leaf by comparing with (Patent Document 1).
Japanese Patent Laid-Open No. 2002-5842

しかしながら,可視光像用と赤外光像用の二つの撮像素子が必要となる。   However, two image sensors for a visible light image and an infrared light image are required.

この発明は,一つの撮像素子を用いて葉の画像部分を認識することを目的とする。   An object of this invention is to recognize the image part of a leaf using one image sensor.

この発明によるカラー撮像装置は,被写体を撮像し,カラー被写体像を表すカラー画像データを出力する固体電子撮像装置,上記固体電子撮像装置の受光面前方に挿入および退避自在に支持された赤外線カット・フィルタ,上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方に挿入して被写体を撮像し,第1のカラー被写体像を表す第1のカラー画像データを出力し,かつ上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方から退避して被写体を撮像し,第2のカラー被写体像を表す第2のカラー画像データを出力するように上記固体電子撮像装置および上記赤外線カット・フィルタを制御する撮像制御手段,ならびに上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士の色空間上の差分にもとづいて,上記第1のカラー被写体像または上記第2のカラー被写体像に含まれる葉の画像部分を検出する検出手段を備えていることを特徴とする。   A color image pickup device according to the present invention is a solid-state electronic image pickup device that picks up a subject and outputs color image data representing a color subject image, and an infrared ray cut A filter, and the infrared cut filter is inserted in front of the light receiving surface of the solid-state electronic imaging device to image a subject, and outputs first color image data representing a first color subject image, and the infrared cut filter Are retracted from the front of the light receiving surface of the solid-state electronic image pickup device to image a subject, and the solid-state electronic image pickup device and the infrared cut filter are arranged to output second color image data representing a second color subject image. Imaging control means for controlling, and a color sky between corresponding pixels in the first color subject image and the second color subject image Based on the difference between the upper, characterized in that it comprises a detection means for detecting an image portion of the leaf is included in the first color object image or the second color object image.

この発明は,上記カラー撮像装置に適した制御方法も提供している。すなわち,この方法は,固体電子撮像装置を用いて,被写体を撮像し,カラー被写体像を表すカラー画像データを得,上記固体電子撮像装置の受光面前方に挿入および退避自在に赤外線カット・フィルタを支持しておき,上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方に挿入して被写体を撮像し,第1のカラー被写体像を表す第1のカラー画像データを出力し,かつ上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方から退避して被写体を撮像し,第2のカラー被写体像を表す第2のカラー画像データを出力するように上記固体電子撮像装置および上記赤外線カット・フィルタを制御し,上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士の色空間上の差分にもとづいて,上記第1のカラー被写体像または上記第2のカラー被写体像に含まれる葉の画像部分を検出するものである。   The present invention also provides a control method suitable for the color imaging apparatus. That is, this method uses a solid-state electronic image pickup device to pick up an image of a subject, obtains color image data representing a color object image, and inserts and retracts an infrared cut filter in front of the light receiving surface of the solid-state electronic image pickup device. The infrared cut filter is inserted in front of the light receiving surface of the solid-state electronic image pickup device to pick up an image of the subject, output first color image data representing a first color subject image, and the infrared ray The solid-state electronic image pickup device and the infrared ray cut-out are arranged so that the cut filter is retracted from the front of the light receiving surface of the solid-state electronic image pickup device to pick up an image of a subject and output second color image data representing a second color subject image. Controlling a filter and based on a difference in color space between corresponding pixels in the first color subject image and the second color subject image; And detects an image portion of the leaf is included in the serial first color object image or the second color object image.

この発明によると,固体電子撮像装置の受光面前方に挿入および退避自在な赤外線カット・フィルタが支持されている。上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方に挿入して被写体を撮像し,第1のカラー被写体像を表す第1のカラー画像データが得られ,かつ上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方から退避して被写体を撮像し,第2のカラー被写体像を表す第2のカラー画像データが得られる。上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士の色空間上の差分にもとづいて,上記第1のカラー被写体像または上記第2のカラー被写体像に含まれる葉の画像部分が検出される。葉の画像部分は,上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士の色空間上の差分が大きい。このために,この差分にもとづいて葉の画像部分を検出することができる。また,一つの固体電子撮像装置を用いて葉の画像部分を検出することができる。   According to the present invention, the infrared cut filter that can be inserted and retracted is supported in front of the light receiving surface of the solid-state electronic imaging device. The infrared cut filter is inserted in front of the light receiving surface of the solid-state electronic image pickup device to image a subject to obtain first color image data representing a first color subject image, and the infrared cut filter is connected to the infrared cut filter. The subject is retreated from the front side of the light receiving surface of the solid-state electronic imaging device to image the subject, and second color image data representing a second color subject image is obtained. A leaf included in the first color subject image or the second color subject image based on a difference in color space between corresponding pixels in the first color subject image and the second color subject image. Are detected. In the image portion of the leaf, the difference in color space between corresponding pixels in the first color subject image and the second color subject image is large. For this reason, the image portion of the leaf can be detected based on this difference. Moreover, the image part of a leaf can be detected using one solid-state electronic imaging device.

上記検出手段によって検出された葉の画像部分が鮮やかとなるように上記第1のカラー被写体像データまたは上記第2のカラー被写体像データを補正する補正手段をさらに備えることが好ましい。   It is preferable to further include correction means for correcting the first color subject image data or the second color subject image data so that the leaf image portion detected by the detection means becomes clear.

上記固体電子撮像装置は,たとえば,RGBカラー画像データを出力するものである。この場合,上記撮像制御手段による制御のもとに得られた上記第1のカラー画像データおよび上記第2のカラー画像データをLab色空間の画像データに変換する色空間変換手段をさらに備える。そして,この場合,上記検出手段は,上記色空間変換手段によってLab色空間変換された上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士のLab色空間上の差分にもとづいて,上記第1のカラー被写体像または上記第2のカラー被写体像に含まれる葉の画像部分を検出するものとなろう。   The solid-state electronic imaging device outputs RGB color image data, for example. In this case, color space conversion means for converting the first color image data and the second color image data obtained under the control of the imaging control means into image data in the Lab color space is further provided. In this case, the detection means includes a difference in the Lab color space between corresponding pixels in the first color subject image and the second color subject image that have been subjected to Lab color space conversion by the color space conversion means. Based on this, the image portion of the leaf included in the first color subject image or the second color subject image will be detected.

図1は,この発明の実施例を示すもので,ディジタル・スチル・カメラの電気的構成の一部を示すブロック図である。   FIG. 1 shows an embodiment of the present invention and is a block diagram showing a part of the electrical configuration of a digital still camera.

ディジタル・スチル・カメラの全体の動作は,CPU8によって統括される。   The entire operation of the digital still camera is controlled by the CPU 8.

この実施例によるディジタル・スチル・カメラは,被写体像の中に葉の画像が含まれている場合に,その葉の画像を検出し,葉の画像に適した補正をすることができる。このように,葉の画像に適した補正を行う撮影モードが自然撮影モードであり,モード選択ダイアル9によって選択される。モード選択ダイアル9によって選択された自然撮影モード,通常撮影モードその他のモードを示す信号は,CPU8に入力する。   The digital still camera according to this embodiment can detect an image of a leaf when the subject image includes a leaf image, and can perform correction suitable for the image of the leaf. Thus, the shooting mode for performing correction suitable for the leaf image is the natural shooting mode, and is selected by the mode selection dial 9. Signals indicating the natural shooting mode, the normal shooting mode, and other modes selected by the mode selection dial 9 are input to the CPU 8.

撮像素子としてのCCD3の前方には撮像レンズ1およびIR(赤外線)カット・フィルタ2が設けられている。IRカット・フィルタ2は,モータ5によって,CCD3の受光面前方に挿入および退避自在に支持されている。モータ5の動作は,CPU8によって制御されるIRカット・フィルタ動作制御回路6によって制御される。詳しくは,後述するように,自然撮影モードが設定されると,CCD3の受光面前方にIRカット・フィルタ2が挿入された状態での被写体の撮影と,CCD3の受光面前方からIRカット・フィルタ2が退避された状態での被写体の撮影とが行われる。これらの撮影によって得られた二駒の被写体像を用いて被写体像の葉の画像部分が検出され,検出された葉の画像部分について補正が行われる。   An imaging lens 1 and an IR (infrared) cut filter 2 are provided in front of the CCD 3 as an imaging device. The IR cut filter 2 is supported by a motor 5 so as to be inserted and retracted in front of the light receiving surface of the CCD 3. The operation of the motor 5 is controlled by an IR cut / filter operation control circuit 6 controlled by the CPU 8. Specifically, as will be described later, when the natural shooting mode is set, shooting of a subject with the IR cut filter 2 inserted in front of the light receiving surface of the CCD 3 and IR cut filter from the front of the light receiving surface of the CCD 3 are performed. The subject is photographed in the state in which 2 is retracted. The image part of the leaf of the subject image is detected using the two frames of the subject image obtained by these photographing, and the detected image part of the leaf is corrected.

撮影制御回路7によってCCD3が制御され,CCD3によって被写体が撮影される。CCD3のフォトダイオード上には赤色の光成分を透過するフィルタと,緑色の光成分を透過するフィルタと,青色の光成分を透過するフィルタとが交互に設けられている。被写体が撮像されることにより,被写体像を表すRGBのカラー映像信号がCCD3から出力され,アナログ/ディジタル変換回路4においてRGBのディジタル・カラー画像データに変換される。変換されたディジタル・カラー画像データが表示装置(図示略)に与えられることにより,撮影によって得られた被写体像が表示される。   The CCD 3 is controlled by the shooting control circuit 7 and the subject is shot by the CCD 3. On the photodiode of the CCD 3, a filter that transmits a red light component, a filter that transmits a green light component, and a filter that transmits a blue light component are alternately provided. When the subject is imaged, an RGB color video signal representing the subject image is output from the CCD 3 and converted into RGB digital color image data by the analog / digital conversion circuit 4. The converted digital color image data is given to a display device (not shown), so that a subject image obtained by photographing is displayed.

通常撮影モードが設定されている場合において,シャッタ・レリーズ・ボタンが押されると,上述のようにアナログ/ディジタル変換回路4において変換されたRGBカラー画像データは,所定の信号処理が行われて,メモリ・カード(図示略)に記録される。自然撮影モードが設定されている場合において,シャッタ・レリーズ・ボタンが押されると,上述のように,CCD3の前方にIRカット・フィルタが挿入された状態で被写体が撮像された被写体像を表す画像データと,CCD3の前方からIRカット・フィルタが退避された状態で被写体が撮像された被写体像を表すカラー画像データとが得られる。得られた二駒の被写体像を表すカラー画像データは,メモリ10に与えられ,一時的に記憶される。メモリ10から二駒の被写体像を表す画像データが読み取られて画像認識/処理回路11に入力する。画像認識/処理回路11において,上述のように葉の画像部分が検出され,検出された葉の画像部分が補正される。葉の画像部分が補正されたカラー画像データ(CCD3の前方にIRカット・フィルタ2が挿入されたときに得られたカラー画像データが補正されることとなろうが,IRカット・フィルタ2がCCD3から退避したときに得られたカラー画像データが補正されてもよい)が画像認識/処理回路11から出力される。出力された補正カラー画像データは,メモリ10を介して出力され,所定の信号処理を介してメモリ・カードに与えられ,記録される。   When the shutter release button is pressed when the normal shooting mode is set, the RGB color image data converted in the analog / digital conversion circuit 4 as described above is subjected to predetermined signal processing. It is recorded on a memory card (not shown). When the natural shooting mode is set, when the shutter release button is pressed, as described above, an image representing the subject image in which the subject is imaged with the IR cut filter inserted in front of the CCD 3 Data and color image data representing a subject image in which the subject is imaged with the IR cut filter retracted from the front of the CCD 3 are obtained. The obtained color image data representing the two subject images is given to the memory 10 and temporarily stored. Image data representing two frames of the subject image is read from the memory 10 and input to the image recognition / processing circuit 11. In the image recognition / processing circuit 11, the leaf image portion is detected as described above, and the detected leaf image portion is corrected. Color image data in which the leaf image portion is corrected (color image data obtained when the IR cut filter 2 is inserted in front of the CCD 3 will be corrected. The image recognition / processing circuit 11 outputs the color image data obtained when the image data is saved from the image processing unit 11 may be corrected). The outputted corrected color image data is outputted through the memory 10, and is given to the memory card through predetermined signal processing and recorded.

図2は,ディジタル・スチル・カメラの撮影処理手順を示すフローチャートである。   FIG. 2 is a flowchart showing a photographing processing procedure of the digital still camera.

モード選択ダイアル9によって自然撮影モードが設定されているかどうかが確認される(ステップ21)。   It is confirmed by the mode selection dial 9 whether or not the natural shooting mode is set (step 21).

自然撮影モードが設定されていると(ステップ21でYES),IRカット・フィルタ2がCCD3の受光面前方に挿入されているかどうかが確認される(ステップ22)。   If the natural shooting mode is set (YES in step 21), it is confirmed whether the IR cut filter 2 is inserted in front of the light receiving surface of the CCD 3 (step 22).

IRカット・フィルタ2がCCD3の受光面前方に挿入されていれば(ステップ22でYES),挿入されている状態で被写体が撮影され(ステップ28),被写体像を表すカラー画像データがメモリ10に記憶される。つづいて,IRカット・フィルタ2がCCD3の受光面前方から退避させられて(ステップ29),再び被写体が撮影される(ステップ30)。撮影によって得られたカラー画像データがメモリ10に記憶される。   If the IR cut filter 2 is inserted in front of the light receiving surface of the CCD 3 (YES in step 22), the subject is photographed in the inserted state (step 28), and color image data representing the subject image is stored in the memory 10. Remembered. Subsequently, the IR cut filter 2 is retracted from the front of the light receiving surface of the CCD 3 (step 29), and the subject is photographed again (step 30). Color image data obtained by photographing is stored in the memory 10.

IRカット・フィルタ2がCCD3の受光面前方に挿入されていなければ(ステップ22でNO),CCD3の受光面前方に挿入させられて(ステップ23),被写体が撮影される(ステップ24)。撮影によって得られたカラー画像データは,メモリ10に記憶される。つづいて,IRカット・フィルタ2がCCD3の受光面前方から退避させられて(ステップ25),再び被写体が撮影される。撮影によって得られたカラー画像データは,メモリ10に記憶される。   If the IR cut filter 2 is not inserted in front of the light receiving surface of the CCD 3 (NO in step 22), it is inserted in front of the light receiving surface of the CCD 3 (step 23) and the subject is photographed (step 24). Color image data obtained by photographing is stored in the memory 10. Subsequently, the IR cut filter 2 is retracted from the front of the light receiving surface of the CCD 3 (step 25), and the subject is photographed again. Color image data obtained by photographing is stored in the memory 10.

このようにして,自然撮影モードが設定されている場合には,CCD3の受光面前方にIRカット・フィルタ3が挿入されている状態で被写体が撮影されて得られる画像データとIRカット・フィルタ3が退避されている状態で被写体が撮影されて得られる画像データとの二駒の画像データが得られる。得られた二駒の画像データを用いて葉の画像部分について色補正処理が行われる(ステップ27)。   In this way, when the natural shooting mode is set, image data obtained by shooting the subject with the IR cut filter 3 inserted in front of the light receiving surface of the CCD 3 and the IR cut filter 3 Two frames of image data are obtained, together with image data obtained by photographing the subject in a state where the image is retracted. Color correction processing is performed on the image portion of the leaf using the obtained two-frame image data (step 27).

自然撮影モードが設定されていなければ(ステップ21でNO),CCD3の受光面前方にIRカット・フィルタ2が挿入されているかどうかが確認される(ステップ31)。挿入されていなければ(ステップ31でNO),IRカット・フィルタ2がCCD3の受光面前方に挿入される(ステップ32)。IRカット・フィルタ3がCCD3の受光面前方に挿入されている状態で(ステップ31でYES,32),被写体が撮影される(ステップ33)。   If the natural shooting mode is not set (NO in step 21), it is confirmed whether the IR cut filter 2 is inserted in front of the light receiving surface of the CCD 3 (step 31). If not inserted (NO in step 31), the IR cut filter 2 is inserted in front of the light receiving surface of the CCD 3 (step 32). With the IR cut filter 3 inserted in front of the light receiving surface of the CCD 3 (YES at step 31, 32), the subject is photographed (step 33).

図3は,CCD3の受光面前方にIRカット・フィルタ3を挿入した状態で被写体を撮影することにより得られた被写体像の一例である。   FIG. 3 is an example of a subject image obtained by photographing a subject with the IR cut filter 3 inserted in front of the light receiving surface of the CCD 3.

図3においては,IRカット・フィルタ3がCCD3の受光面前方に挿入した状態で被写体が撮影されて得られ,赤外線成分がカットされた被写体像I1であることを示すために,被写体像I1全体に渡ってハッチングが示されている。この被写体像I1には,葉の画像部分41が含まれている。   In FIG. 3, in order to show that the subject image I1 is obtained by photographing the subject with the IR cut filter 3 inserted in front of the light receiving surface of the CCD 3, and the infrared component is cut off, the entire subject image I1 is shown. The hatching is shown across. The subject image I1 includes a leaf image portion 41.

図4は,CCD3の受光面前方からIRカット・フィルタ3を退避した状態で被写体を撮影することにより得られた被写体像の一例である。   FIG. 4 is an example of a subject image obtained by photographing a subject with the IR cut filter 3 retracted from the front side of the light receiving surface of the CCD 3.

図4においては,図3と異なり,IRカット・フィルタ3がCCD3の受光面前方から退避した状態で被写体が撮影されて得られ,赤外線成分が含まれている被写体像I2であることを示すために,被写体像I2にハッチングは示されていない。この被写体像I2は,被写体像I1と同じであるために,葉の画像部分42が含まれている。   4 is different from FIG. 3 in order to show that the subject image I2 is obtained by photographing the subject with the IR cut filter 3 retracted from the front of the light receiving surface of the CCD 3 and includes an infrared component. Further, hatching is not shown in the subject image I2. Since the subject image I2 is the same as the subject image I1, a leaf image portion 42 is included.

図5は,色補正処理の処理手順を示すフローチャートである。   FIG. 5 is a flowchart showing a processing procedure of color correction processing.

上述のようにして得られた赤外線成分がカットされた第1の被写体像I1を構成するすべての画素を表すデータについて式1から式3にしたがってLab変換が行われる(ステップ51)。ただし,式1において,R,G,Bは,RGBカラー画像データのデータ・レベルであり,Nは,画像のビット精度であり,たとえば,8ビットである。   Lab conversion is performed on the data representing all the pixels constituting the first subject image I1 obtained by cutting the infrared component obtained as described above according to the equations 1 to 3 (step 51). In Equation 1, R, G, and B are data levels of RGB color image data, and N is the bit precision of the image, for example, 8 bits.

L(R)=R/N
L(G)=G/N ・・・式1
L(B)=B/N
L (R) = R / N
L (G) = G / N Formula 1
L (B) = B / N

Figure 2007214933
Figure 2007214933
Figure 2007214933
Figure 2007214933

Lab変換された第1の被写体像I1についてのLab色空間におけるab平面上の評価値がメモリ10に記録される(ステップ52)。評価値は,Lab変換された第1の被写体像I1のうちの特定の画素がLab色空間のab平面上の座標位置であり,式3から得られる。   The evaluation value on the ab plane in the Lab color space for the first subject image I1 subjected to Lab conversion is recorded in the memory 10 (step 52). The evaluation value is a coordinate position on the ab plane in the Lab color space where a specific pixel in the first subject image I1 subjected to the Lab conversion is obtained from Expression 3.

図6は,Lab色空間におけるab平面を示している。   FIG. 6 shows the ab plane in the Lab color space.

第1の被写体像I1の特定の画素c1がab平面において(a1,b1)において示されるとする。すると,その特定の画素c1の評価値は,(a1,b1)によって表される。   It is assumed that a specific pixel c1 of the first subject image I1 is indicated at (a1, b1) on the ab plane. Then, the evaluation value of the specific pixel c1 is represented by (a1, b1).

図5に戻って,つづいて,赤外線成分が含まれた第2の被写体像I2を構成するすべての画素を表すデータについてLab変換が行われる(ステップ53)。Lab変換された第2の被写体像I2についてのLab色空間におけるab平面上の評価値がメモリ10に記録される(ステップ54)。   Returning to FIG. 5, the Lab conversion is performed on the data representing all the pixels constituting the second subject image I2 including the infrared component (step 53). An evaluation value on the ab plane in the Lab color space for the second subject image I2 subjected to Lab conversion is recorded in the memory 10 (step 54).

図6を再び参照して,第1の被写体像I1の特定の画素c1に対応するような第2の被写体像I2の特定の画素c2は,ab平面において(a2,b2)によって表される。被写体の同じ部分を表す画素であっても赤外線がカットされた被写体像I1における画素c1と赤外線が含まれている被写体像I2における画素c2とでは,ab平面上において距離(差分)Δcだけ異なる。被写体の葉の部分については,この差分Δcが大きくなるから,この差分Δcにもとづいて被写体像I1またはI2のうちの葉の画像部分が検出される。   Referring again to FIG. 6, the specific pixel c2 of the second subject image I2 corresponding to the specific pixel c1 of the first subject image I1 is represented by (a2, b2) in the ab plane. Even if the pixel represents the same part of the subject, the pixel c1 in the subject image I1 from which infrared rays are cut and the pixel c2 in the subject image I2 that contains infrared rays differ from each other by a distance (difference) Δc on the ab plane. Since the difference Δc is large for the leaf portion of the subject, the leaf image portion of the subject image I1 or I2 is detected based on the difference Δc.

再び,図5を参照して,式4にもとづいて,差分Δcが算出される(ステップ55)。

Figure 2007214933
Referring again to FIG. 5, the difference Δc is calculated based on Equation 4 (step 55).
Figure 2007214933

算出された差分Δcが閾値以上であれば(ステップ56でYES),その画素は葉を表していると考えられる。このためにその画素の部分が葉として認識され,記憶される(ステップ57)。算出された差分Δcが閾値未満であれば(ステップ56でNO),ステップ57の処理はスキップされる。被写体像I1およびI2のすべての領域について,ステップ55から57までの評価値の比較(差分Δcが閾値以上かどうかの判定)が行われる(ステップ58)。すべての領域について評価値の比較が終了すると(ステップ58でYES),葉であると判定された画像部分が鮮やかな色となるように色補正(彩度補正)が行われる(ステップ59)。この色補正は,上述したように,通常は赤外線がカットされた被写体像I1について行われるが,赤外線が含まれている被写体像I2について行ってもよい。   If the calculated difference Δc is greater than or equal to the threshold (YES in step 56), the pixel is considered to represent a leaf. For this purpose, the pixel portion is recognized as a leaf and stored (step 57). If the calculated difference Δc is less than the threshold (NO in step 56), the process in step 57 is skipped. For all the regions of the subject images I1 and I2, comparison of the evaluation values from Steps 55 to 57 (determination as to whether or not the difference Δc is equal to or greater than a threshold value) is performed (Step 58). When the comparison of the evaluation values is completed for all regions (YES in step 58), color correction (saturation correction) is performed so that the image portion determined to be a leaf has a vivid color (step 59). As described above, this color correction is normally performed on the subject image I1 from which infrared rays are cut, but may be performed on the subject image I2 including infrared rays.

上述した実施例においては,RGBカラー画像データをLab色空間に変換した上で差分が検出されているが,Lab色空間に変換せずにRGB色空間上で差分を検出することもできる。   In the embodiment described above, the difference is detected after converting the RGB color image data to the Lab color space. However, the difference can also be detected on the RGB color space without converting to the Lab color space.

図7は,RGB色空間上で差分を検出して色補正を行う場合の処理手順を示すフローチャートである。この図において図6に示す処理と同じ処理については同じ符号を付して説明を省略する。   FIG. 7 is a flowchart showing a processing procedure when color correction is performed by detecting a difference in the RGB color space. In this figure, the same processes as those shown in FIG.

第1の被写体像I1のすべての画素について,RGB色空間上における評価値がメモリ14に記憶される(ステップ61)。この評価値は,第1の被写体像I1を構成する画素のRGB色空間における座標値R1,G1,B1である。つづいて,第2の被写体像I2のすべての画素について,RGB色空間上における評価値がメモリ14に記憶される(ステップ62)。   Evaluation values in the RGB color space are stored in the memory 14 for all the pixels of the first subject image I1 (step 61). The evaluation values are coordinate values R1, G1, and B1 in the RGB color space of the pixels constituting the first subject image I1. Subsequently, the evaluation values in the RGB color space are stored in the memory 14 for all the pixels of the second subject image I2 (step 62).

第1の被写体像I1の特定の画素の評価値と,その画素に対応する第2の被写体像I2の特定の画素の評価値との差分Δcが式5にしたがって算出される(ステップ63)。算出されたΔcが閾値以上であれは,その画素の部分が葉と認識される(ステップ57)。

Figure 2007214933
A difference Δc between the evaluation value of the specific pixel of the first subject image I1 and the evaluation value of the specific pixel of the second subject image I2 corresponding to the pixel is calculated according to Equation 5 (step 63). If the calculated Δc is greater than or equal to the threshold, the pixel portion is recognized as a leaf (step 57).
Figure 2007214933

このようにして,Lab変換することなく,RGB色空間の状態で葉の画像部分を検出することもできる。   In this manner, the leaf image portion can be detected in the RGB color space state without performing the Lab conversion.

ディジタル・スチル・カメラの電気的構成の一部を示すブロック図である。It is a block diagram which shows a part of electrical structure of a digital still camera. ディジタル・スチル・カメラの処理手順を示すフローチャートである。It is a flowchart which shows the process sequence of a digital still camera. CCDの受光面前方にIRカット・フィルタを挿入して得られた被写体像の一例である。It is an example of a subject image obtained by inserting an IR cut filter in front of the light receiving surface of a CCD. CCDの受光面前方からIRカット・フィルタを退避して得られた被写体像の一例である。It is an example of the subject image obtained by retracting the IR cut filter from the front side of the light receiving surface of the CCD. 色補正処理手順を示すフローチャートである。It is a flowchart which shows a color correction process procedure. Lab色空間におけるab平面を示している。The ab plane in the Lab color space is shown. 色補正処理手順を示すフローチャートである。It is a flowchart which shows a color correction process procedure.

符号の説明Explanation of symbols

2 赤外線カット・フィルタ
3 CCD
7 撮影制御回路
8 CPU
11 画像認識/処理回路

2 Infrared cut filter 3 CCD
7 Shooting control circuit 8 CPU
11 Image recognition / processing circuit

Claims (4)

被写体を撮像し,カラー被写体像を表すカラー画像データを出力する固体電子撮像装置,
上記固体電子撮像装置の受光面前方に挿入および退避自在に支持された赤外線カット・フィルタ,
上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方に挿入して被写体を撮像し,第1のカラー被写体像を表す第1のカラー画像データを出力し,かつ上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方から退避して被写体を撮像し,第2のカラー被写体像を表す第2のカラー画像データを出力するように上記固体電子撮像装置および上記赤外線カット・フィルタを制御する撮像制御手段,ならびに
上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士の色空間上の差分にもとづいて,上記第1のカラー被写体像または上記第2のカラー被写体像に含まれる葉の画像部分を検出する検出手段,
を備えたカラー撮像装置。
A solid-state electronic imaging device that images a subject and outputs color image data representing a color subject image;
An infrared cut filter supported so as to be inserted and retracted in front of the light receiving surface of the solid-state electronic imaging device;
The infrared cut filter is inserted in front of the light receiving surface of the solid-state electronic imaging device to image a subject, and outputs first color image data representing a first color subject image, and the infrared cut filter is The solid-state electronic image pickup device and the infrared cut filter are controlled so as to retreat from the front of the light receiving surface of the solid-state electronic image pickup device to pick up an image of the subject and output second color image data representing a second color subject image. Based on a difference in color space between corresponding pixels in the first color subject image and the second color subject image, and the imaging control means, the first color subject image or the second color subject Detecting means for detecting an image portion of a leaf included in the image;
A color imaging apparatus comprising:
上記検出手段によって検出された葉の画像部分が鮮やかとなるように上記第1のカラー被写体像データまたは上記第2のカラー被写体像データを補正する補正手段をさらに備えた請求項1に記載のカラー撮像装置。   2. The color according to claim 1, further comprising correction means for correcting the first color subject image data or the second color subject image data so that a leaf image portion detected by the detection means becomes clear. Imaging device. 上記固体電子撮像装置は,RGBカラー画像データを出力するものであり,
上記撮像制御手段による制御のもとに得られた上記第1のカラー画像データおよび上記第2のカラー画像データをLab色空間の画像データに変換する色空間変換手段をさらに備え,
上記検出手段は,上記色空間変換手段によってLab色空間変換された上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士のLab色空間上の差分にもとづいて,上記第1のカラー被写体像または上記第2のカラー被写体像に含まれる葉の画像部分を検出するものである,
請求項1に記載のカラー撮像装置。
The solid-state electronic imaging device outputs RGB color image data,
Color space conversion means for converting the first color image data and the second color image data obtained under the control of the imaging control means into image data in the Lab color space;
The detection means is based on a difference in the Lab color space between corresponding pixels in the first color subject image and the second color subject image that have been subjected to Lab color space conversion by the color space conversion means. Detecting an image portion of a leaf included in the first color subject image or the second color subject image;
The color imaging device according to claim 1.
固体電子撮像装置を用いて,被写体を撮像し,カラー被写体像を表すカラー画像データを得,
上記固体電子撮像装置の受光面前方に挿入および退避自在に赤外線カット・フィルタを支持しておき,
上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方に挿入して被写体を撮像し,第1のカラー被写体像を表す第1のカラー画像データを出力し,かつ上記赤外線カット・フィルタを上記固体電子撮像装置の受光面前方から退避して被写体を撮像し,第2のカラー被写体像を表す第2のカラー画像データを出力するように上記固体電子撮像装置および上記赤外線カット・フィルタを制御し,
上記第1のカラー被写体像と上記第2のカラー被写体像とにおいて対応する画素同士の色空間上の差分にもとづいて,上記第1のカラー被写体像または上記第2のカラー被写体像に含まれる葉の画像部分を検出する,
カラー撮像装置の制御方法。

Using a solid-state electronic imaging device, image the subject to obtain color image data representing the color subject image,
An infrared cut filter is supported in front of the light receiving surface of the solid-state electronic image pickup device so that it can be inserted and retracted.
The infrared cut filter is inserted in front of the light receiving surface of the solid-state electronic imaging device to image a subject, and outputs first color image data representing a first color subject image, and the infrared cut filter is The solid-state electronic image pickup device and the infrared cut filter are controlled so as to retreat from the front of the light receiving surface of the solid-state electronic image pickup device to pick up a subject and output second color image data representing a second color subject image. ,
A leaf included in the first color subject image or the second color subject image based on a difference in color space between corresponding pixels in the first color subject image and the second color subject image. Detect the image part of
A method for controlling a color imaging apparatus.

JP2006033230A 2006-02-10 2006-02-10 Color image pickup device and its control method Pending JP2007214933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006033230A JP2007214933A (en) 2006-02-10 2006-02-10 Color image pickup device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006033230A JP2007214933A (en) 2006-02-10 2006-02-10 Color image pickup device and its control method

Publications (1)

Publication Number Publication Date
JP2007214933A true JP2007214933A (en) 2007-08-23

Family

ID=38492969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006033230A Pending JP2007214933A (en) 2006-02-10 2006-02-10 Color image pickup device and its control method

Country Status (1)

Country Link
JP (1) JP2007214933A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008062637A1 (en) * 2006-11-20 2008-05-29 Olympus Corporation Imaging device
JP2014200045A (en) * 2013-03-29 2014-10-23 富士通株式会社 Correction data generation device, correction data generation program, and color correction device
JP2016213596A (en) * 2015-05-01 2016-12-15 富士通株式会社 Color correction device, color correction method and color correction program
JP2017017564A (en) * 2015-07-01 2017-01-19 富士通株式会社 Color correction program, color correction method, and color correction apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11327004A (en) * 1998-05-19 1999-11-26 Taito Corp Camera picture background mask system
JP2000155379A (en) * 1998-11-19 2000-06-06 Konica Corp Image processing method, printing method, image processor, printing device, image processing system, printing system, photographic film and camera
JP2002005842A (en) * 2000-06-21 2002-01-09 Techno Ishii:Kk Non-contact detector
JP2006013582A (en) * 2004-06-22 2006-01-12 Mitsubishi Electric Corp Imaging apparatus and signal processing method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11327004A (en) * 1998-05-19 1999-11-26 Taito Corp Camera picture background mask system
JP2000155379A (en) * 1998-11-19 2000-06-06 Konica Corp Image processing method, printing method, image processor, printing device, image processing system, printing system, photographic film and camera
JP2002005842A (en) * 2000-06-21 2002-01-09 Techno Ishii:Kk Non-contact detector
JP2006013582A (en) * 2004-06-22 2006-01-12 Mitsubishi Electric Corp Imaging apparatus and signal processing method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008062637A1 (en) * 2006-11-20 2008-05-29 Olympus Corporation Imaging device
JP2014200045A (en) * 2013-03-29 2014-10-23 富士通株式会社 Correction data generation device, correction data generation program, and color correction device
JP2016213596A (en) * 2015-05-01 2016-12-15 富士通株式会社 Color correction device, color correction method and color correction program
JP2017017564A (en) * 2015-07-01 2017-01-19 富士通株式会社 Color correction program, color correction method, and color correction apparatus

Similar Documents

Publication Publication Date Title
US8395694B2 (en) Apparatus and method for blurring image background in digital image processing device
EP2401860B1 (en) Imaging apparatus, image display apparatus, imaging method, method of displaying image and method of correcting position of focusing-area frame
US8462234B2 (en) Image pickup apparatus and dark current correction method therefor
JP2008109369A (en) Imaging apparatus and image processing method
JP2009094997A (en) Imaging apparatus, imaging method
CN107255900B (en) Control method of photographing apparatus
US7800686B2 (en) Electronic camera having a light reduction device
KR100819811B1 (en) Photographing apparatus, and photographing method
JP2009284136A (en) Electronic camera
JP2007214933A (en) Color image pickup device and its control method
US8098288B2 (en) Imaging apparatus and method of controlling imaging
US20070269133A1 (en) Image-data noise reduction apparatus and method of controlling same
JP2010114577A (en) Imaging apparatus, image processor, control method and image processing method of imaging apparatus
US10771673B2 (en) Focusing position detecting device and focusing position detecting method
JP4977541B2 (en) Digital camera and operation control method thereof
JP5223950B2 (en) Imaging apparatus, display control program, and display control method
JP5277752B2 (en) Imaging device
JP2009055415A (en) Camera
JP2002271825A (en) Color matching method, color matching system, and television camera used for them
JP4612848B2 (en) Imaging apparatus and control method thereof
JP6149615B2 (en) Imaging device
JP2009044236A (en) White balance adjustment device and white balance adjustment method
JP4964830B2 (en) Omnidirectional imaging apparatus and omnidirectional image imaging control method
JP5799550B2 (en) Imaging apparatus, imaging method, and imaging program
JP4498253B2 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080715

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100810

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101207