JP2011139546A - Pseudo-color image generating apparatus, and program - Google Patents

Pseudo-color image generating apparatus, and program Download PDF

Info

Publication number
JP2011139546A
JP2011139546A JP2011091255A JP2011091255A JP2011139546A JP 2011139546 A JP2011139546 A JP 2011139546A JP 2011091255 A JP2011091255 A JP 2011091255A JP 2011091255 A JP2011091255 A JP 2011091255A JP 2011139546 A JP2011139546 A JP 2011139546A
Authority
JP
Japan
Prior art keywords
color
image
luminance
pseudo
information
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
JP2011091255A
Other languages
Japanese (ja)
Inventor
Yoshikatsu Kimura
好克 木村
Yoshiki Ninomiya
芳樹 二宮
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.)
Toyota Central R&D Labs Inc
Original Assignee
Toyota Central R&D Labs Inc
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 Toyota Central R&D Labs Inc filed Critical Toyota Central R&D Labs Inc
Priority to JP2011091255A priority Critical patent/JP2011139546A/en
Publication of JP2011139546A publication Critical patent/JP2011139546A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Television Image Signal Generators (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a pseudo-color image generating apparatus and program for obtaining an image of higher visibility. <P>SOLUTION: Based upon light of a visible light zone, a color visible image is captured from a first imaging apparatus 12 for capturing a color visible image comprised of a plurality of pixels each containing color information and luminance information (100). For each of pixels which constitutes the color visible image and of which a color indicated by color information is at least one of blue, yellow, green, red and orange, a pseudo-color image is generated using luminance information obtained by imaging and color information obtained by imaging (170, 110, 112) so as to implement color display; and for each of pixels which constitutes the color visible image and of which a color indicated by color information is any color other than the at least one color, a pseudo-color image is generated using luminance information obtained by imaging (170, 108, 112) so as to implement gradation display. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、擬似カラー画像生成装置、及びプログラムに係り、特に、擬似カラー画像を生成する擬似カラー画像生成装置、及びプログラムに関する。   The present invention relates to a pseudo color image generation device and a program, and more particularly to a pseudo color image generation device and a program for generating a pseudo color image.

従来のカラー撮影装置として、昼間の色再現性と夜間の感度とを両立して昼夜連続で利用可能なカラー撮影装置が知られている(特許文献1)。このカラー撮影装置では、通常のベイヤー配列の1ユニットを構成するRGBG4画素のうち1つのGフィルタをIRフィルタに置き換えて、RGBフィルタを第1のモード用、IRフィルタを第2のモード用に振り分けている。また、RGBの3画素には赤外カットフィルタをかけている。   As a conventional color photographing apparatus, a color photographing apparatus that is compatible with daytime color reproducibility and nighttime sensitivity and can be used continuously day and night is known (Patent Document 1). In this color photographing apparatus, one G filter among the RGBG4 pixels constituting one unit of a normal Bayer array is replaced with an IR filter, and the RGB filter is assigned to the first mode and the IR filter is assigned to the second mode. ing. In addition, an infrared cut filter is applied to the three pixels of RGB.

また、従来のカラー画像生成装置として、色情報と輝度情報とが何れも最適なカラー画像を再生するカラー画像再生装置が知られている(特許文献2)。このカラー画像再生装置では、可視画像データから赤外成分を除去して色情報(色相、彩度)を抽出し、赤外の輝度情報、または可視の輝度情報と合成して擬似カラー画像を再生している。   As a conventional color image generation apparatus, a color image reproduction apparatus that reproduces a color image in which both color information and luminance information are optimal is known (Patent Document 2). This color image reproduction device extracts infrared information from visible image data, extracts color information (hue, saturation), and combines it with infrared luminance information or visible luminance information to reproduce a pseudo color image. is doing.

特開2005−6066号公報Japanese Patent Laid-Open No. 2005-6066 特開2007−184805号公報JP 2007-184805 A

しかしながら、上記特許文献1に記載の技術では、RGBフィルタとIRフィルタとをモードにより切り替えて使用するため、夜間など周囲が暗い場合には、IRフィルタのみを利用した、視認性が低いモノクロ画像しか提供できない、という問題がある。   However, in the technique described in Patent Document 1, since the RGB filter and the IR filter are switched and used depending on the mode, when the surroundings are dark such as at night, only the monochrome image using only the IR filter and having low visibility is used. There is a problem that it cannot be provided.

また、上記特許文献2に記載の技術では、予めユーザ等が指定したモードに従って可視画像及び赤外画像の一方だけが選択されて、選択された画像の輝度情報が抽出される。これにより、カラーカメラと赤外カメラとで撮影した場合、照明などの明るさがあると、赤外の光量が可視の光量に比べて少なくなる場合があるが、赤外の明るさが選択された場合には、可視光の明るさに比べて暗くなり視認性が悪くなってしまう、という問題がある。   In the technique described in Patent Document 2, only one of a visible image and an infrared image is selected according to a mode designated in advance by a user or the like, and luminance information of the selected image is extracted. As a result, when shooting with a color camera and an infrared camera, if there is brightness such as illumination, the amount of infrared light may be less than the amount of visible light, but infrared brightness is selected. In such a case, it becomes darker than the brightness of the visible light and the visibility is deteriorated.

本発明は、上記の問題点を解決するためになされたもので、より視認性のよい画像を得ることができる擬似カラー画像生成装置、及びプログラムを提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a pseudo color image generation apparatus and a program that can obtain an image with better visibility.

上記の目的を達成するために、第1の発明に係る擬似カラー画像生成装置によれば、生成手段によって、カラー可視画像を構成し、かつ色情報が示す色が赤の色の画素については、カラー表示されるように、撮影により得られた輝度情報及び撮影により得られた色情報を用いると共に、カラー可視画像を構成し、かつ色情報が示す色が赤の色以外の色の画素については、濃淡表示されるように、撮影により得られた輝度情報を用いて、擬似カラー画像を生成する。   In order to achieve the above object, according to the pseudo color image generation apparatus according to the first invention, the generation unit constitutes a color visible image and the color information indicated by the color information is red. In order to display in color, the luminance information obtained by photographing and the color information obtained by photographing are used, and a color visible image is formed and the color indicated by the color information is a pixel other than the red color. Then, a pseudo color image is generated using luminance information obtained by photographing so as to be displayed in grayscale.

このように、第1の発明に係る擬似カラー画像生成装置によれば、より視認性が良好となるように、色情報が示す色が、例えば車両のドライバが特に夜間などに注意すべき信号灯の色、標識の色、及び尾灯の色(これらの色は、例えば、赤などがある)であるカラー可視画像の画素(すなわち、色情報が示す色が赤の色の画素)については、カラー表示されるように、撮影により得られた輝度情報及び撮影により得られた色情報を用い、色情報が示す色が、例えば車両のドライバにとって赤の色と比較した場合には格段の注意が必要とされない色の画素(すなわち、色情報が示す色が赤以外の色の画素)については、濃淡表示されるように、撮影により得られた輝度情報を用いて、擬似カラー画像を生成する。   As described above, according to the pseudo color image generation device according to the first aspect of the invention, the color indicated by the color information is, for example, a signal light that a vehicle driver should pay attention to particularly at night so that the visibility is improved. Color display for color visible image pixels (that is, pixels whose color information is red), which is the color, the color of the sign, and the color of the taillight (these colors are, for example, red) As described above, when the luminance information obtained by photographing and the color information obtained by photographing are used and the color indicated by the color information is compared with a red color for a vehicle driver, for example, special attention is required. For a pixel of a color that is not set (that is, a pixel whose color information indicates a color other than red), a pseudo color image is generated using luminance information obtained by photographing so as to be displayed in shades.

従って、第1の発明に係る擬似カラー画像生成装置によれば、より視認性のよい画像を得ることができる。   Therefore, according to the pseudo color image generation device according to the first aspect of the invention, an image with better visibility can be obtained.

また、上記の目的を達成するために第2の発明に係る擬似カラー画像生成装置は、可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影する撮影手段から前記カラー可視画像を取得する取得手段と、前記カラー可視画像を構成し、かつ色情報が示す色が青、黄、緑、赤、及び橙の少なくとも1つの色の画素については、カラー表示されるように、撮影により得られた前記輝度情報及び撮影により得られた前記色情報を用いると共に、前記カラー可視画像を構成し、かつ色情報が示す色が前記少なくとも1つの色以外の色の画素については、濃淡表示されるように、撮影により得られた前記輝度情報を用いて、擬似カラー画像を生成する生成手段とを含んで構成されている。   In order to achieve the above object, a pseudo color image generation apparatus according to the second invention is based on light in the visible light range, and is a color visible image composed of a plurality of pixels each including color information and luminance information. An acquisition unit that acquires the color visible image from an imaging unit that captures the image, and a pixel that forms the color visible image and has at least one color of color indicated by color information of blue, yellow, green, red, and orange Uses the luminance information obtained by photographing and the color information obtained by photographing so that the color is displayed, and constitutes the color visible image, and the color indicated by the color information is the at least one color. The other color pixels are configured to include generation means for generating a pseudo color image using the luminance information obtained by photographing so as to be displayed in shades.

第2の発明に係る擬似カラー画像生成装置によれば、生成手段によって、カラー可視画像を構成し、かつ色情報が示す色が青、黄、緑、赤、及び橙の色の少なくとも1つの色の画素については、カラー表示されるように、撮影により得られた輝度情報及び撮影により得られた色情報を用いると共に、カラー可視画像を構成し、かつ色情報が示す色が上記少なくとも1つの色以外の色の画素については、濃淡表示されるように、撮影により得られた輝度情報を用いて、擬似カラー画像を生成する。   According to the pseudo color image generation device of the second invention, the generation means constitutes a color visible image, and the color indicated by the color information is at least one color of blue, yellow, green, red, and orange. As for the pixels of, the luminance information obtained by photographing and the color information obtained by photographing are used so as to be displayed in color, and a color visible image is formed and the color indicated by the color information is the at least one color. For the pixels of other colors, a pseudo color image is generated using luminance information obtained by photographing so as to be displayed in shades.

このように、第2の発明に係る擬似カラー画像生成装置によれば、より視認性が良好となるように、色情報が示す色が、例えば車両のドライバが特に夜間などに注意すべき信号灯の色、標識の色、尾灯の色、及び街路灯の色(これらの色は、例えば、青、黄、緑、赤、橙などがある)であるカラー可視画像の画素(すなわち、色情報が示す色が青、黄、緑、赤、及び橙の色の少なくとも1つの色の画素)については、カラー表示されるように、撮影により得られた輝度情報及び撮影により得られた色情報を用い、色情報が示す色が、例えば車両のドライバにとって格段の注意が必要とされない色の画素(すなわち、色情報が示す色が上記少なくとも1つの色以外の色の画素)については、濃淡表示されるように、撮影により得られた輝度情報を用いて、擬似カラー画像を生成する。   As described above, according to the pseudo color image generation device according to the second aspect of the present invention, the color indicated by the color information is, for example, a signal light that a vehicle driver should be particularly careful at night to improve visibility. Color visible image pixels (ie, color information indicates colors, signs, taillights, and streetlights (these colors include, for example, blue, yellow, green, red, orange, etc.) For the pixels of at least one color of blue, yellow, green, red, and orange), the luminance information obtained by photographing and the color information obtained by photographing are used so as to be displayed in color. For example, pixels whose color information does not require special attention for a driver of the vehicle (that is, pixels whose color information indicates a color other than the at least one color) are displayed in gray. And luminance information obtained by shooting Using, to generate a pseudo color image.

従って、第2の発明に係る擬似カラー画像生成装置によれば、より視認性のよい画像を得ることができる。   Therefore, according to the pseudo color image generation apparatus according to the second aspect of the invention, an image with better visibility can be obtained.

また、上記の目的を達成するために第3の発明に係る擬似カラー画像生成装置は、第1または第2の発明に係る擬似カラー画像生成装置において、前記撮影手段を、更に、近赤外域の光に基づいて、各々輝度情報を含む複数の画素から構成された赤外画像を撮影するようにし、前記取得手段を、更に、前記撮影手段から前記赤外画像を取得するようにし、前記生成手段によって生成された擬似カラー画像を構成する画素であって、前記赤外画像の対応する画素である対応画素の輝度より輝度が小さい画素の輝度を、前記対応画素の輝度で置換するか、または、前記擬似カラー画像を構成する画素の輝度と前記赤外画像の前記対応画素の輝度との加重平均の値で置換する置換手段を更に含み、前記生成手段を、前記置換手段で輝度が置換されている前記擬似カラー画像の画素については置換された輝度を表す輝度情報及び前記擬似カラー画像の対応する色情報を用い、前記置換手段で輝度が置換されていない前記擬似カラー画像の画素については撮影により得られた前記輝度情報及び前記擬似カラー画像の対応する色情報を用いて、擬似カラー画像を更に生成するようにしたものである。   In order to achieve the above object, a pseudo color image generation apparatus according to a third aspect of the present invention is the pseudo color image generation apparatus according to the first or second aspect of the invention, wherein the photographing means is further connected in the near infrared region. Based on the light, an infrared image composed of a plurality of pixels each including luminance information is captured, the acquisition unit is further configured to acquire the infrared image from the imaging unit, and the generation unit Replacing the luminance of the pixels that constitute the pseudo color image generated by the pixel, the luminance of which is lower than the luminance of the corresponding pixel that is the corresponding pixel of the infrared image, with the luminance of the corresponding pixel, or The image processing apparatus further includes a replacement unit that replaces the luminance of the pixels constituting the pseudo color image with the luminance of the corresponding pixel of the infrared image by using a weighted average value. For the pixels of the pseudo color image, the luminance information indicating the replaced luminance and the corresponding color information of the pseudo color image are used, and the pixels of the pseudo color image whose luminance is not replaced by the replacement unit are obtained by photographing. A pseudo color image is further generated using the obtained luminance information and corresponding color information of the pseudo color image.

第3の発明に係る擬似カラー画像生成装置によれば、置換手段によって、擬似カラー画像を構成する画素であって、赤外画像の対応する画素である対応画素の輝度より輝度が小さい画素の輝度が、対応画素の輝度、または、擬似カラー画像を構成する画素の輝度と赤外画像の対応画素の輝度との加重平均の値で置換される。そして、生成手段によって、置換手段で輝度が置換されている擬似カラー画像の画素については置換された輝度を表す輝度情報及び擬似カラー画像の対応する色情報が用いられ、置換手段で輝度が置換されていない擬似カラー画像の画素については撮影により得られた輝度情報及び擬似カラー画像の対応する色情報が用いられて、擬似カラー画像が更に生成される。   According to the pseudo color image generation device of the third invention, the luminance of the pixels that constitute the pseudo color image and whose luminance is lower than the luminance of the corresponding pixel that is the corresponding pixel of the infrared image by the replacement unit. Is replaced with the luminance of the corresponding pixel or the weighted average value of the luminance of the pixel constituting the pseudo color image and the luminance of the corresponding pixel of the infrared image. Then, for the pixels of the pseudo color image whose luminance has been replaced by the replacing unit, the luminance information indicating the replaced luminance and the corresponding color information of the pseudo color image are used, and the luminance is replaced by the replacing unit. For the pixels of the pseudo color image that have not been obtained, the luminance information obtained by photographing and the color information corresponding to the pseudo color image are used to further generate a pseudo color image.

このように、第3の発明に係る擬似カラー画像生成装置によれば、擬似カラー画像の各画素の輝度と、この各画素に対応する赤外画像の各対応画素の輝度との比較によって、擬似カラー画像を構成する画素であって、赤外画像の対応画素の輝度より輝度が小さい画素の輝度が、より視認性が良好となるような輝度に置換されて、擬似カラー画像が更に生成される。   Thus, according to the pseudo color image generation device according to the third aspect of the present invention, the pseudo color image generation apparatus compares the brightness of each pixel of the pseudo color image with the brightness of each corresponding pixel of the infrared image corresponding to each pixel. Pixels that constitute a color image and whose luminance is lower than the luminance of the corresponding pixel of the infrared image are replaced with luminance that provides better visibility, and a pseudo color image is further generated. .

また、第3の発明の置換手段において、擬似カラー画像を構成する画素の輝度と赤外画像の対応画素の輝度との加重平均の値で置換された場合には、輝度の飽和を抑制することができる。   Further, in the replacement means of the third invention, when the weighted average value of the luminance of the pixels constituting the pseudo color image and the luminance of the corresponding pixel of the infrared image is replaced, the saturation of the luminance is suppressed. Can do.

従って、第3の発明に係る擬似カラー画像生成装置によれば、より視認性のよい画像を得ることができる。   Therefore, according to the pseudo color image generation apparatus according to the third aspect of the invention, an image with better visibility can be obtained.

また、上記の目的を達成するために第4の発明に係るプログラムは、コンピュータを、可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影する撮影手段から前記カラー可視画像を取得する取得手段、及び前記カラー可視画像を構成し、かつ色情報が示す色が赤の色の画素については、カラー表示されるように、撮影により得られた前記輝度情報及び撮影により得られた前記色情報を用いると共に、前記カラー可視画像を構成し、かつ色情報が示す色が赤の色以外の色の画素については、濃淡表示されるように、撮影により得られた前記輝度情報を用いて、擬似カラー画像を生成する生成手段として機能させるためのプログラムである。   In order to achieve the above object, a program according to a fourth aspect of the present invention provides a computer that displays a color visible image composed of a plurality of pixels each including color information and luminance information based on light in the visible light range. The acquisition means for acquiring the color visible image from the imaging means for imaging, and the color visible image that constitutes the color visible image and the pixel whose color information is red is obtained by shooting so that it is displayed in color. In addition, the luminance information and the color information obtained by photographing are used, and the color visible image is formed, and the pixels indicated by the color information other than the red color are displayed in shades. It is a program for functioning as a generating means for generating a pseudo color image using the luminance information obtained by photographing.

第4の発明に係るプログラムによれば、第1の発明と同様の原理で、より視認性のよい画像を得ることができる。   According to the program of the fourth invention, an image with better visibility can be obtained on the same principle as that of the first invention.

また、上記の目的を達成するために第5の発明に係るプログラムは、コンピュータを、可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影する撮影手段から前記カラー可視画像を取得する取得手段、及び前記カラー可視画像を構成し、かつ色情報が示す色が青、黄、緑、赤、及び橙の少なくとも1つの色の画素については、カラー表示されるように、撮影により得られた前記輝度情報及び撮影により得られた前記色情報を用いると共に、前記カラー可視画像を構成し、かつ色情報が示す色が前記少なくとも1つの色以外の色の画素については、濃淡表示されるように、撮影により得られた前記輝度情報を用いて、擬似カラー画像を生成する生成手段として機能させるためのプログラムである。   In order to achieve the above object, a program according to a fifth aspect of the present invention provides a computer that generates a color visible image composed of a plurality of pixels each including color information and luminance information based on light in the visible light range. An acquisition unit that acquires the color visible image from an imaging unit that shoots, and a pixel that forms the color visible image and has at least one color of color indicated by color information of blue, yellow, green, red, and orange The color information obtained by photographing and the luminance information obtained by photographing are used so as to be displayed in color, and the color that constitutes the color visible image and indicated by the color information is other than the at least one color. The pixel of the color is a program for functioning as a generation means for generating a pseudo color image by using the luminance information obtained by photographing so as to be displayed with shading. That.

第5の発明に係るプログラムによれば、第2の発明と同様の原理で、より視認性のよい画像を得ることができる。   According to the program of the fifth invention, an image with better visibility can be obtained on the same principle as the second invention.

以上説明したように、本発明の擬似カラー画像生成装置及びプログラムによれば、より視認性のよい画像を得ることができる、という効果が得られる。   As described above, according to the pseudo color image generation apparatus and program of the present invention, an effect that an image with better visibility can be obtained is obtained.

本実施の形態に係る擬似カラー画像生成装置の構成を示す図である。It is a figure which shows the structure of the pseudo | simulation color image generation apparatus which concerns on this Embodiment. 本実施の形態に係る擬似カラー画像生成装置の機能ブロック図である。It is a functional block diagram of a pseudo color image generation device according to the present embodiment. 本実施の形態に係る擬似カラー画像生成装置が実行する擬似カラー画像生成処理を示すフローチャートである。It is a flowchart which shows the pseudo | simulation color image generation process which the pseudo | simulation color image generation apparatus which concerns on this Embodiment performs. 本実施の形態に係る擬似カラー画像生成装置によって表示される画面の一例である。It is an example of the screen displayed by the pseudo | simulation color image generation apparatus which concerns on this Embodiment.

以下、図面を参照して本発明の実施の形態を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

なお、本実施の形態では、車両に搭載され、かつ、撮影された前方画像から擬似カラー画像を生成して表示する撮影システムに本発明を適用した場合を例に説明する。なお、以下、この撮影システムを擬似カラー画像生成装置と称する。   In the present embodiment, a case where the present invention is applied to an imaging system that is mounted on a vehicle and generates and displays a pseudo color image from a captured front image will be described as an example. Hereinafter, this photographing system is referred to as a pseudo color image generation apparatus.

図1に示すように、本実施の形態に係る擬似カラー画像生成装置10は、第1撮影装置12、第2撮影装置14、赤外光源16、コンピュータ18、及び表示装置20を備えている。   As shown in FIG. 1, the pseudo color image generation apparatus 10 according to the present embodiment includes a first imaging device 12, a second imaging device 14, an infrared light source 16, a computer 18, and a display device 20.

第1撮影装置12は、自車両の前方を撮影してカラー可視画像(可視光画像)を出力するCCDカメラを備えており、自車両の前方を撮影可能なように取り付けられている。第1撮影装置12は2次元に配列された複数の画素の各々に入射された光に応じた信号を出力する複数の受光素子を備え、複数の受光素子から出力された信号をデジタル信号に変換して、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像の画像データを生成して出力する。すなわち、第1撮影装置12は、可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影して出力する。なお、本実施の形態では、色情報には、例えば、彩度及び色相が含まれる。また、本実施の形態では、輝度情報には輝度(輝度値)が含まれ、この輝度情報によって、輝度が示される。   The 1st imaging device 12 is provided with the CCD camera which image | photographs the front of the own vehicle and outputs a color visible image (visible light image), and is attached so that the front of the own vehicle can be image | photographed. The first imaging device 12 includes a plurality of light receiving elements that output signals corresponding to light incident on each of a plurality of pixels arranged two-dimensionally, and converts signals output from the plurality of light receiving elements into digital signals. Then, image data of a color visible image composed of a plurality of pixels each including color information and luminance information is generated and output. That is, the first imaging device 12 captures and outputs a color visible image composed of a plurality of pixels each including color information and luminance information based on light in the visible light range. In the present embodiment, the color information includes, for example, saturation and hue. In the present embodiment, the luminance information includes luminance (luminance value), and the luminance information indicates the luminance.

第2撮影装置14は、入射される光のうち近赤外光の波長帯の光を透過させるフィルタとCCDカメラとを備えており、自車両の前方を撮影可能なように取り付けられている。第2撮影装置14のレンズ面に対向するように、近赤外光の波長帯の光を透過させるフィルタ(図示省略)が設置されている。第2撮影装置14は、2次元に配列された複数の画素の各々に入射された光に応じた信号を出力する複数の受光素子を備え、複数の受光素子から出力された信号をデジタル信号に変換して、各々輝度情報(輝度、画素値)を含む複数の画素から構成された赤外画像の画像データを生成して出力する。すなわち、第2撮影装置14は、近赤外域の光に基づいて、各々輝度情報を含む複数の画素から構成された赤外画像を撮影して出力する。   The 2nd imaging device 14 is provided with the filter and CCD camera which permeate | transmit the light of the wavelength band of near-infrared light among the incident lights, and is attached so that the front of the own vehicle can be image | photographed. A filter (not shown) that transmits light in the near-infrared wavelength band is provided so as to face the lens surface of the second imaging device 14. The second imaging device 14 includes a plurality of light receiving elements that output signals corresponding to light incident on each of the plurality of pixels arranged in a two-dimensional array, and the signals output from the plurality of light receiving elements are converted into digital signals. Conversion is performed to generate and output image data of an infrared image composed of a plurality of pixels each including luminance information (luminance, pixel value). That is, the 2nd imaging device 14 image | photographs and outputs the infrared image comprised from the several pixel each containing luminance information based on the light of a near infrared region.

なお、第1撮影装置12及び第2撮影装置14は、本発明の撮影手段に対応する。   The first photographing device 12 and the second photographing device 14 correspond to photographing means of the present invention.

赤外光源16は、第2撮影装置14による撮影を行う際に、自車両の前方に近赤外域の光(近赤外光を含む光)を照射する。   The infrared light source 16 irradiates near-infrared light (light including near-infrared light) in front of the host vehicle when photographing with the second photographing device 14.

コンピュータ18は、第1撮影装置12によって撮影されたカラー可視画像及び第2撮影装置14によって撮影された赤外画像に対して画像処理を行って擬似カラー画像を生成して、擬似カラー画像を表示するように表示装置20を制御する。   The computer 18 performs image processing on the color visible image captured by the first image capturing device 12 and the infrared image captured by the second image capturing device 14 to generate a pseudo color image, and displays the pseudo color image. Thus, the display device 20 is controlled.

コンピュータ18は、擬似カラー画像生成装置10全体を制御するためのものである。コンピュータ18は、ROM(Read Only Memory)18a、RAM(Random Access Memory)18b、CPU(Central Processing Unit)18c、及びI/O(入出力)ポート18dを備えている。これらROM18a、CPU18b、RAM18c、及びI/Oポート18dは互いにバス18eを介して接続されている。   The computer 18 is for controlling the pseudo color image generation apparatus 10 as a whole. The computer 18 includes a ROM (Read Only Memory) 18a, a RAM (Random Access Memory) 18b, a CPU (Central Processing Unit) 18c, and an I / O (input / output) port 18d. The ROM 18a, CPU 18b, RAM 18c, and I / O port 18d are connected to each other via a bus 18e.

記憶媒体としてのROM18aには、OS等の基本プログラムが記憶されている。また、ROM18aには、詳細を以下で説明する擬似カラー画像生成処理の処理ルーチンを実行するためのプログラムが記憶されている。   A ROM 18a as a storage medium stores a basic program such as an OS. The ROM 18a stores a program for executing a processing routine of pseudo color image generation processing, the details of which will be described below.

CPU18cは、各プログラムをROM18aから読み出して処理を実行する。RAM18bには、各種データが一時的に記憶される。   The CPU 18c reads each program from the ROM 18a and executes processing. Various data are temporarily stored in the RAM 18b.

コンピュータ18を以下で詳細を説明する擬似カラー画像生成処理に従って機能ブロックで表すと、図2に示すように、取得手段18f、生成手段18g、及び置換手段18hで表すことができる。   When the computer 18 is represented by functional blocks according to a pseudo color image generation process described in detail below, it can be represented by an acquisition unit 18f, a generation unit 18g, and a replacement unit 18h, as shown in FIG.

取得手段18fは、第1撮影装置12及び第2撮影装置14の撮影手段からカラー可視画像及び赤外画像を取得する。   The acquisition unit 18 f acquires a color visible image and an infrared image from the imaging unit of the first imaging device 12 and the second imaging device 14.

生成手段18gは、カラー可視画像を構成し、かつ色情報が示す色が青、黄、緑、赤、及び橙の少なくとも1つの色の画素については、カラー表示されるように、撮影により得られた輝度情報及び撮影により得られた色情報を用いると共に、カラー可視画像を構成し、かつ色情報が示す色が当該少なくとも1つの色以外の色の画素については、濃淡表示されるように、撮影により得られた輝度情報を用いて、擬似カラー画像を生成する。また、生成手段18gは、置換手段18hで輝度が置換されている擬似カラー画像の画素については置換された輝度を表す輝度情報及び擬似カラー画像の対応する色情報を用い、置換手段18hで輝度が置換されていない擬似カラー画像の画素については撮影により得られた輝度情報及び擬似カラー画像の対応する色情報を用いて、擬似カラー画像を更に生成する。   The generation unit 18g is obtained by photographing so that a color visible image is formed and pixels of at least one of the colors indicated by the color information are blue, yellow, green, red, and orange are displayed in color. The luminance information and the color information obtained by photographing are used, and the color visible image is formed, and the color indicated by the color information is displayed in shades of pixels other than the at least one color. A pseudo color image is generated using the luminance information obtained by the above. Further, the generation unit 18g uses the luminance information indicating the replaced luminance and the corresponding color information of the pseudo color image for the pixel of the pseudo color image whose luminance is replaced by the replacement unit 18h, and the luminance is displayed by the replacement unit 18h. For the pixels of the pseudo color image that have not been replaced, a pseudo color image is further generated using the luminance information obtained by shooting and the corresponding color information of the pseudo color image.

置換手段18hは、生成手段18gによって生成された擬似カラー画像を構成する画素であって、赤外画像の対応する画素である対応画素の輝度より輝度が小さい画素の輝度を、対応画素の輝度で置換する。   The replacement unit 18h is a pixel that constitutes the pseudo color image generated by the generation unit 18g, and the luminance of the pixel that is lower than the luminance of the corresponding pixel that is the corresponding pixel of the infrared image is the luminance of the corresponding pixel. Replace.

表示装置20は、入力されたデータに基づいた画像を表示するLCD(Liquid Crystal Display)を含んで構成されており、表示装置20には、コンピュータ18の制御によって画像が表示される。   The display device 20 includes an LCD (Liquid Crystal Display) that displays an image based on input data, and the display device 20 displays an image under the control of the computer 18.

次に、コンピュータ18のCPU18cが実行する擬似カラー画像生成処理の処理ルーチンについて図3を用いて説明する。なお、本実施の形態では、赤外光源16によって近赤外域の光が前方に照射されると共に、第1撮影装置12及び第2撮影装置14の各々によって、自車両の前方が連続して撮影されているときに、CPU18cによって、図3に示す擬似カラー画像生成処理が実行される。   Next, a processing routine of pseudo color image generation processing executed by the CPU 18c of the computer 18 will be described with reference to FIG. In the present embodiment, near-infrared light is radiated forward by the infrared light source 16, and the front of the host vehicle is continuously photographed by each of the first photographing device 12 and the second photographing device 14. In this case, the CPU 18c executes a pseudo color image generation process shown in FIG.

まず、ステップ100では、第1撮影装置12より撮影されたカラー可視画像の画像データを取得すると共に、第2撮影装置14より撮影された赤外画像の画像データを取得する。これにより、第1撮影装置12及び第2撮影装置14の撮影手段からカラー可視画像及び赤外画像が取得される。また、ステップ100は、本発明の取得手段に対応する。   First, in step 100, image data of a color visible image photographed by the first photographing device 12 is acquired, and image data of an infrared image photographed by the second photographing device 14 is acquired. Thereby, a color visible image and an infrared image are acquired from the imaging means of the first imaging device 12 and the second imaging device 14. Step 100 corresponds to the acquisition means of the present invention.

次のステップ102では、上記ステップ100で取得したカラー可視画像に対して、詳細を以下で説明するステップ104以降の処理が行われていない画素を、注目画素として設定する。   In the next step 102, a pixel that has not been subjected to the processing in step 104 and later, which will be described in detail below, is set as a pixel of interest for the color visible image acquired in step 100.

次のステップ104では、今回上記ステップ102で注目画素として設定されたカラー可視画像の画素の画像データをRGB空間からHSV空間に変換することにより、上記ステップ102で注目画素として設定されたカラー可視画像の画素の色情報(彩度、色相)及び輝度情報(明度(輝度)を含む)を抽出する。   In the next step 104, the color visible image set as the target pixel in step 102 is converted by converting the image data of the pixel of the color visible image set as the target pixel in step 102 this time into the HSV space from the RGB space. The pixel color information (saturation, hue) and luminance information (including lightness (luminance)) are extracted.

次のステップ170では、上記ステップ104で抽出されたカラー可視画像における注目画素の色情報が示す色が、青、黄、緑、赤、及び橙の少なくとも1つの色(例えば、赤の色)であるか否かを判定する。ここで、青、黄、緑、赤、及び橙の色は、例えば車両のドライバが、特に夜間などに注意すべき信号灯の色、標識の色、尾灯の色、及び街路灯の色などである。また、これらの色のうち、赤の色が最も注意すべき色であると考えることができ、赤の色は、例えば、信号灯の色、標識の色、及び尾灯の色である。なお、ステップ170で判定に用いられる色は、「青、黄、緑、赤、及び橙の少なくとも1つの色」であればどのような色でもよく、例えば「赤の色」や、「赤の色、及び緑の色」、「緑の色、及び橙の色」など様々な組み合わせが考えられる。   In the next step 170, the color indicated by the color information of the pixel of interest in the color visible image extracted in step 104 is at least one color (for example, red color) of blue, yellow, green, red, and orange. It is determined whether or not there is. Here, the colors of blue, yellow, green, red, and orange are, for example, the color of the signal light, the color of the sign, the color of the taillight, and the color of the street light that the driver of the vehicle should pay attention to particularly at night. . Also, among these colors, the red color can be considered the most notable color, and the red color is, for example, the color of the signal light, the color of the sign, and the color of the tail light. The color used for the determination in step 170 may be any color as long as it is “at least one color of blue, yellow, green, red, and orange”. For example, “red color” or “red Various combinations such as “color and green color” and “green color and orange color” are conceivable.

ステップ170で、肯定判定された場合(上記ステップ104で抽出されたカラー可視画像における注目画素の色情報が示す色が、青、黄、緑、赤、及び橙の少なくとも1つの色であると判定された場合)には、次のステップ110へ進む。一方、ステップ170で、否定判定された場合(上記ステップ104で抽出されたカラー可視画像における注目画素の色情報が示す色が、当該少なくとも1つの色ではないと判定された場合)には、次のステップ108へ進む。ここで、「少なくとも1つの色ではないと判定された場合」とは、例えば、上記ステップ170での判定に用いられた色が「赤の色」である場合には、赤の色以外の色であると判定された場合を指す。   If the determination in step 170 is affirmative (determined that the color indicated by the color information of the pixel of interest in the color visible image extracted in step 104 is at least one of blue, yellow, green, red, and orange) If so, go to the next step 110. On the other hand, if a negative determination is made in step 170 (when it is determined that the color indicated by the color information of the pixel of interest in the color visible image extracted in step 104 is not the at least one color), Proceed to step 108. Here, “when it is determined that the color is not at least one color” means, for example, when the color used for the determination in step 170 is “red color”, a color other than the red color The case where it is determined that

ステップ108では、今回上記ステップ102で設定されたカラー可視画像における注目画素を、濃淡表示画素として決定する。なお、濃淡表示画素として決定されたカラー可視画像における注目画素は、詳細を以下で説明するステップ128で濃淡表示される。そして、次のステップ112へ進む。   In step 108, the target pixel in the color visible image set in step 102 is determined as a grayscale display pixel. Note that the pixel of interest in the color visible image determined as the light and dark display pixel is light and dark displayed in step 128 described in detail below. Then, the process proceeds to the next step 112.

ステップ110では、今回上記ステップ102で設定されたカラー可視画像における注目画素を、カラー表示画素として決定する。なお、カラー表示画素として決定されたカラー可視画像における注目画素は、詳細を以下で説明するステップ128でカラー表示される。そして、次のステップ112へ進む。   In step 110, the pixel of interest in the color visible image set in step 102 is determined as a color display pixel. Note that the pixel of interest in the color visible image determined as the color display pixel is displayed in color in step 128 described in detail below. Then, the process proceeds to the next step 112.

ステップ112では、今回上記ステップ102で注目画素として設定されたカラー可視画像の画素であって、上記ステップ110でカラー表示画素として決定された画素については、この画素の画像データをHSV空間からRGB空間に変換すると共に、今回上記ステップ102で注目画素として設定されたカラー可視画像の画素であって、上記ステップ108で濃淡表示画素として決定された画素については、この画素の明度をR、G、Bの各データとして設定することにより、この画素の画像データをHSV空間からRGB空間に変換する。これにより、今回上記ステップ102で注目画素として設定されたカラー可視画像の画素のRGBの画像データを得ることができる。なお、ステップ112では、今回上記ステップ102で注目画素として設定されたカラー可視画像の画素であって、上記ステップ108で濃淡表示画素として決定された画素については、この画素の彩度の値を0に変更し、色相の値を所定の色を示す値に変更して(明度は変更せず)から、この画素の画像データをHSV空間からRGB空間に変換するようにしてもよい。   In step 112, for the pixel of the color visible image set as the target pixel in step 102 at this time and determined as the color display pixel in step 110, the image data of this pixel is converted from the HSV space to the RGB space. For the pixel of the color visible image that has been set as the target pixel in step 102 and is determined as the grayscale display pixel in step 108, the brightness of this pixel is set to R, G, B. Thus, the pixel image data is converted from the HSV space to the RGB space. Thereby, RGB image data of the pixel of the color visible image set as the target pixel at the above step 102 can be obtained. Note that in step 112, the saturation value of this pixel is set to 0 for the pixel of the color visible image set as the target pixel in step 102 at this time and determined as the grayscale display pixel in step 108. The hue value is changed to a value indicating a predetermined color (the brightness is not changed), and the image data of this pixel may be converted from the HSV space to the RGB space.

次のステップ114では、全ての画素について上記の各ステップ(ステップ102、104、106、106で肯定判定された場合には108、106で否定判定された場合には110、及び112)の処理が終了したか否かを判定し、全ての画素について終了していない場合には、上記ステップ102へ戻り、まだ処理対象となっていない他の画素を注目画素として設定する。一方、ステップ114において、全ての画素について上記の各ステップの処理が終了したと判定された場合には、次のステップ116へ進む。   In the next step 114, the processing of each of the above steps (108 when affirmative determination is made at steps 102, 104, 106, 106, 110 and 112 when negative determination is performed at 106) is performed for all pixels. It is determined whether or not the process has been completed. If all the pixels have not been completed, the process returns to step 102, and other pixels not yet processed are set as the target pixel. On the other hand, if it is determined in step 114 that the processing in each of the above steps has been completed for all the pixels, the process proceeds to the next step 116.

以上、説明したように、上記ステップ102、104、106、170、110、112、114の処理では、カラー可視画像を構成し、かつ色情報が示す色が青、黄、緑、赤、及び橙の少なくとも1つの色の画素については、カラー表示されるように、撮影により得られた輝度情報(上記ステップ104で抽出された輝度情報)及び撮影により得られた色情報(上記ステップ104で抽出された色情報)を用いると共に、カラー可視画像を構成し、かつ色情報が示す色が当該少なくとも1つの色以外の色の画素については、濃淡表示されるように、撮影により得られた輝度情報を用いて、擬似カラー画像を生成する。なお、「擬似カラー画像を生成する」とは、「擬似カラー画像の画像データを生成すること」を意味する。   As described above, in the processing of steps 102, 104, 106, 170, 110, 112, and 114, the colors that constitute the color visible image and that the color information indicates are blue, yellow, green, red, and orange. As for at least one color pixel, the luminance information obtained by photographing (luminance information extracted in step 104 above) and the color information obtained by photographing (extracted in step 104 above) so as to be displayed in color. Luminance information obtained by photographing so that a color visible image is formed and pixels of the color other than the at least one color are displayed in shades of gray. To generate a pseudo color image. “Generating a pseudo color image” means “generating image data of a pseudo color image”.

ステップ116では、生成された擬似カラー画像及び上記ステップ100で取得した赤外画像の各々に対して、同じ位置の画素を注目画素として設定する。なお、ステップ116で注目画素として設定される画素は、詳細を以下で説明するステップ118以降の処理が行われていない画素とする。また、擬似カラー画像における注目画素に対応する赤外画像における注目画素を、対応画素と称する。   In step 116, a pixel at the same position is set as a target pixel for each of the generated pseudo color image and the infrared image acquired in step 100. Note that the pixel set as the pixel of interest in step 116 is a pixel that has not been subjected to the processing from step 118 on which details will be described below. In addition, a target pixel in the infrared image corresponding to the target pixel in the pseudo color image is referred to as a corresponding pixel.

ステップ118では、今回上記ステップ116で注目画素として設定された擬似カラー画像の画素の画像データをRGB空間からHSV空間に変換することにより、上記ステップ116で注目画素として設定された擬似カラー画像の画素の色情報(彩度、色相)及び輝度情報(明度、輝度を含む)を抽出する。   In step 118, the pixel data of the pseudo color image set as the target pixel in step 116 is converted from the RGB space to the HSV space, thereby the pixel of the pseudo color image set as the target pixel in step 116. Color information (saturation, hue) and luminance information (including brightness and luminance) are extracted.

次のステップ120では、今回上記ステップ116で設定された擬似カラー画像における注目画素の輝度Icと、今回上記ステップ116で設定された赤外画像における注目画素の輝度Irとを比較して、輝度Icが輝度Irより小さいか否かを判定する。   In the next step 120, the luminance Ic of the pixel of interest in the pseudo color image set in step 116 is compared with the luminance Ir of the pixel of interest in the infrared image set in step 116 this time. Is less than the luminance Ir.

ステップ120で輝度Icが輝度Irより小さいと判定された場合には、次のステップ122へ進む。一方、ステップ120で輝度Icが輝度Ir以上であると判定された場合には、次のステップ124へ進む。   If it is determined in step 120 that the luminance Ic is smaller than the luminance Ir, the process proceeds to the next step 122. On the other hand, if it is determined in step 120 that the luminance Ic is greater than or equal to the luminance Ir, the process proceeds to the next step 124.

ステップ122では、擬似カラー画像における注目画素の輝度Icを、赤外画像の輝度Irとすることにより、輝度Icを輝度Irで置換する。そして、次のステップ124へ進む。   In step 122, the luminance Ic of the pixel of interest in the pseudo color image is set to the luminance Ir of the infrared image, thereby replacing the luminance Ic with the luminance Ir. Then, the process proceeds to the next step 124.

ステップ124では、全ての画素について上記各ステップ(ステップ116、118、120、120で肯定判定された場合には122)の処理が終了したか否かを判定し、全ての画素について終了していない場合には、上記ステップ116へ戻り、まだ処理対象となっていない他の画素を注目画素として設定する。一方、ステップ124において、全ての画素について上記各ステップの処理が終了したと判定された場合には、次のステップ126へ進む。   In step 124, it is determined whether or not the processing in each of the above steps (122 in the case where affirmative determination is made in steps 116, 118, 120, and 120) has been completed for all pixels, and has not been completed for all pixels. In this case, the process returns to step 116, and other pixels not yet processed are set as the target pixel. On the other hand, if it is determined in step 124 that the processing in each step has been completed for all the pixels, the process proceeds to the next step 126.

以上、説明したように、上記ステップ116、118、120、122、124の処理では、擬似カラー画像を構成する画素であって、赤外画像の対応する画素である対応画素の輝度Irより輝度が小さい画素の輝度Icを、対応画素の輝度Irで置換する。   As described above, in the processing of steps 116, 118, 120, 122, and 124 described above, the luminance is higher than the luminance Ir of the corresponding pixel that is a pixel constituting the pseudo color image and corresponding to the infrared image. The luminance Ic of the small pixel is replaced with the luminance Ir of the corresponding pixel.

ステップ126では、上記ステップ122で輝度が置換されている擬似カラー画像の画素については、上記ステップ122で置換された輝度を表す輝度情報及び上記ステップ118で抽出された色情報(擬似カラー画像の対応する色情報)を用い、上記ステップ122で輝度が置換されていない擬似カラー画像の画素については上記ステップ118で抽出された輝度情報及び上記ステップ118で抽出された色情報を用いて、擬似カラー画像の各画素の画像データをHSV空間からRGB空間に変換する。これにより、擬似カラー画像のRGBの画像データを再び得ることができ、擬似カラー画像のRGBの画像データを再び得ることにより、擬似カラー画像が更に生成される。   In step 126, for the pixels of the pseudo color image whose luminance is replaced in step 122, the luminance information indicating the luminance replaced in step 122 and the color information extracted in step 118 (correspondence of the pseudo color image). For the pixels of the pseudo color image whose luminance is not replaced in step 122, the pseudo color image is obtained using the luminance information extracted in step 118 and the color information extracted in step 118. Are converted from the HSV space to the RGB space. Thereby, the RGB image data of the pseudo color image can be obtained again, and the pseudo color image is further generated by obtaining the RGB image data of the pseudo color image again.

ステップ128では、上記ステップ126で得られたRGBの画像データを用いて生成された擬似カラー画像を表示するように表示装置20の表示を制御する。そして、上記ステップ100へ戻る。   In step 128, the display of the display device 20 is controlled so as to display the pseudo color image generated using the RGB image data obtained in step 126. Then, the process returns to step 100 above.

以上、説明したように、上記ステップ126、128の処理では、上記ステップ122で輝度が置換されている擬似カラー画像の画素については置換された輝度を表す輝度情報及び擬似カラー画像の対応する色情報を用い、上記ステップ122で輝度が置換されていない擬似カラー画像の画素については撮影により得られた輝度情報及び擬似カラー画像の対応する色情報を用いて、擬似カラー画像を更に生成する。   As described above, in the processing of steps 126 and 128 described above, with respect to the pixels of the pseudo color image whose luminance is replaced in step 122, the luminance information indicating the replaced luminance and the corresponding color information of the pseudo color image. For the pixels of the pseudo color image whose luminance is not replaced in step 122, a pseudo color image is further generated using the luminance information obtained by photographing and the corresponding color information of the pseudo color image.

以上、本実施の形態の擬似カラー画像生成処理について説明した。なお、ステップ100は取得手段18fによって実行され、ステップ102、104、170、108、110、112、114、126、128は生成手段18gによって実行され、ステップ116、118、120、122、124は置換手段18hによって実行される。   The pseudo color image generation process according to the present embodiment has been described above. Step 100 is executed by the acquisition means 18f, steps 102, 104, 170, 108, 110, 112, 114, 126, and 128 are executed by the generation means 18g, and steps 116, 118, 120, 122, and 124 are replaced. Performed by means 18h.

以上説明したように、本実施の形態に係る擬似カラー画像生成装置10によれば、より視認性が良好となるように、色情報が示す色が、例えば車両のドライバが特に夜間などに注意すべき信号灯の色、標識の色、尾灯の色、及び街路灯の色(これらの色は、例えば、青、黄、緑、赤、橙などがある)であるカラー可視画像の画素(すなわち、色情報が示す色が青、黄、緑、赤、及び橙の色の少なくとも1つの色の画素)については、カラー表示されるように、撮影により得られた輝度情報及び撮影により得られた色情報を用い、色情報が示す色が、例えば車両のドライバにとって格段の注意が必要とされない色の画素(すなわち、色情報が示す色が上記少なくとも1つの色以外の色の画素)については、濃淡表示されるように、撮影により得られた輝度情報を用いて、擬似カラー画像を生成する。   As described above, according to the pseudo color image generation device 10 according to the present embodiment, the color indicated by the color information, for example, the driver of the vehicle is particularly careful at night to improve the visibility. Color visible image pixels that are the color of the signal light, the color of the sign, the color of the tail light, and the color of the street light (these colors are, for example, blue, yellow, green, red, orange, etc.) Luminance information obtained by photographing and color information obtained by photographing such that the color indicated by the information is a pixel of at least one of blue, yellow, green, red, and orange) The color indicated by the color information is, for example, a pixel having a color that does not require special attention for the driver of the vehicle (that is, the pixel indicated by the color information is a color other than the at least one color). As obtained by shooting Using the luminance information to generate a pseudo-color image.

例えば、本実施の形態に係る擬似カラー画像生成装置10によれば、図4(A)に示すような赤外画像と、図4(B)に示すようなカラー可視画像とがステップ100で取得された場合には、ステップ102、104、170、108、110、112、114の処理によって、図4(C)に示すような一部モノクロ(濃淡)画像の擬似カラー画像が生成される。従って、本実施の形態に係る擬似カラー画像生成装置10によれば、より視認性のよい画像を得ることができる。   For example, according to the pseudo color image generation apparatus 10 according to the present embodiment, an infrared image as shown in FIG. 4A and a color visible image as shown in FIG. In such a case, a pseudo color image of a partial monochrome (light / dark) image as shown in FIG. 4C is generated by the processing of steps 102, 104, 170, 108, 110, 112, 114. Therefore, according to the pseudo color image generation apparatus 10 according to the present embodiment, an image with better visibility can be obtained.

また、ステップ126、128の処理によって、擬似カラー画像の各画素の輝度Icと、この各画素に対応する赤外画像の各対応画素の輝度Irとの比較によって、擬似カラー画像を構成する画素であって、赤外画像の対応画素の輝度Irより輝度が小さい画素の輝度Icが、より視認性が良好となるような輝度に置換されて、擬似カラー画像が更に生成される。例えば、図4(D)に示すような、更に、より視認性のよい擬似カラー画像が生成されて表示装置20に表示される。   Further, by the processing of steps 126 and 128, the pixels constituting the pseudo color image are compared by comparing the luminance Ic of each pixel of the pseudo color image with the luminance Ir of each corresponding pixel of the infrared image corresponding to each pixel. Thus, the luminance Ic of the pixel whose luminance is smaller than the luminance Ir of the corresponding pixel of the infrared image is replaced with luminance that makes the visibility better, and a pseudo color image is further generated. For example, a pseudo color image with better visibility as shown in FIG. 4D is generated and displayed on the display device 20.

なお、本実施の形態では、ステップ102、104、170、108、110、112、114の処理によって生成された擬似カラー画像に対して、ステップ116、118、120、122、124の処理を施して、ステップ126、128で更に擬似カラー画像を生成して表示する例について説明したが、本発明はこれに限られない。例えば、ステップ102、170、106、108、110、112、114の処理によって生成された擬似カラー画像を表示装置20に表示するように制御してもよい。   In this embodiment, the pseudo color images generated by the processes of steps 102, 104, 170, 108, 110, 112, and 114 are subjected to the processes of steps 116, 118, 120, 122, and 124. The example in which the pseudo color image is further generated and displayed in steps 126 and 128 has been described, but the present invention is not limited to this. For example, the pseudo color image generated by the processing of steps 102, 170, 106, 108, 110, 112, and 114 may be controlled to be displayed on the display device 20.

また、本実施の形態では、上記ステップ116、118、120、122、124の処理で、擬似カラー画像を構成する画素であって、赤外画像の対応する画素である対応画素の輝度Irより輝度が小さい画素の輝度Icを、対応画素の輝度Irで置換する例について説明した。しかしながら、本発明はこれに限られない。例えば、擬似カラー画像を構成する画素であって、赤外画像の対応する画素である対応画素の輝度Irより輝度が小さい画素の輝度Icを、擬似カラー画像を構成する画素の輝度Icと赤外画像の対応画素の輝度Irとの加重平均の値で置換するようにしてもよい。なお、この場合には、双方の画素に対して所定の重み付けがされていることとする。これにより、輝度Irが飽和している場合には、その輝度の飽和を抑制することができる。   Further, in the present embodiment, in the processing of steps 116, 118, 120, 122, and 124 described above, the luminance is higher than the luminance Ir of the corresponding pixel that is a pixel constituting the pseudo color image and corresponding to the infrared image. An example has been described in which the luminance Ic of a pixel with a small pixel is replaced with the luminance Ir of the corresponding pixel. However, the present invention is not limited to this. For example, the luminance Ic of a pixel that constitutes a pseudo color image and has a luminance smaller than the luminance Ir of the corresponding pixel that is a corresponding pixel of the infrared image, and the luminance Ic of the pixel that constitutes the pseudo color image and the infrared You may make it replace with the value of the weighted average with the brightness | luminance Ir of the corresponding pixel of an image. In this case, it is assumed that a predetermined weight is given to both pixels. Thereby, when the brightness | luminance Ir is saturated, the saturation of the brightness | luminance can be suppressed.

なお、上記の実施の形態では、色情報が示す色が特定の色か否かを判定する判定単位となるブロックを、画素単位とした場合を例に説明したが、これに限定されるものではなく、複数の画素からなる領域を、ブロックとしてもよい。この場合には、例えば、各ブロックの色情報を平均して判定に用いればよい。   In the above embodiment, the case where the block that is the determination unit for determining whether the color indicated by the color information is a specific color is the pixel unit has been described as an example. However, the present invention is not limited to this. Instead, an area composed of a plurality of pixels may be a block. In this case, for example, the color information of each block may be averaged and used for determination.

また、カラー可視画像と赤外画像とを用いて、擬似カラー画像を表示する場合を例に説明したが、これに限定されるものではなく、カラー可視画像と遠赤外画像とを用いて、擬似カラー画像を表示してもよい。この場合には、遠赤外カメラを用いて遠赤外画像を生成するか、又は、遠赤外光の波長帯を透過する遠赤外フィルタを用いて、自車両の前方を撮影するようにすればよい。また、赤外光源を用いずに、自車両の前方を撮影すればよい。   Moreover, although the case where a pseudo color image is displayed using a color visible image and an infrared image has been described as an example, the present invention is not limited to this, and using a color visible image and a far infrared image, A pseudo color image may be displayed. In this case, a far-infrared image is generated using a far-infrared camera, or the front of the host vehicle is photographed using a far-infrared filter that transmits the wavelength band of far-infrared light. do it. Moreover, what is necessary is just to image | photograph the front of the own vehicle, without using an infrared light source.

また、取得手段、生成手段、色情報演算手段、及び置換手段をコンピュータで実現した場合を例に説明したが、これに限定されるものではなく、取得手段、生成手段、色情報演算手段、及び置換手段を、各手段の機能を実現する複数のコンピュータ、もしくは1つまたは複数の電子回路で構成するようにしてもよい。   Further, the case where the acquisition unit, the generation unit, the color information calculation unit, and the replacement unit are realized by a computer has been described as an example, but the present invention is not limited thereto, and the acquisition unit, the generation unit, the color information calculation unit, and The replacement means may be constituted by a plurality of computers that realize the function of each means, or one or a plurality of electronic circuits.

また、本発明のプログラムを、記憶媒体に格納して提供することも可能である。   It is also possible to provide the program of the present invention by storing it in a storage medium.

10 擬似カラー画像生成装置
12 第1撮影装置
14 第2撮影装置
16 赤外光源
18 コンピュータ
18a ROM
18c CPU
18f 取得手段
18g 生成手段
18h 置換手段
20 表示装置
DESCRIPTION OF SYMBOLS 10 Pseudo color image production | generation apparatus 12 1st imaging device 14 2nd imaging device 16 Infrared light source 18 Computer 18a ROM
18c CPU
18f acquisition means 18g generation means 18h replacement means 20 display device

Claims (6)

可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影する撮影手段から前記カラー可視画像を取得する取得手段と、
前記カラー可視画像を構成し、かつ色情報が示す色が赤の色の画素については、カラー表示されるように、撮影により得られた前記輝度情報及び撮影により得られた前記色情報を用いると共に、前記カラー可視画像を構成し、かつ色情報が示す色が赤の色以外の色の画素については、濃淡表示されるように、撮影により得られた前記輝度情報を用いて、擬似カラー画像を生成する生成手段と、
を含む擬似カラー画像生成装置。
An acquisition means for acquiring the color visible image from an imaging means for capturing a color visible image composed of a plurality of pixels each including color information and luminance information based on light in the visible light range;
For pixels that constitute the color visible image and whose color information indicates a red color, the luminance information obtained by photographing and the color information obtained by photographing are used so as to be displayed in color. The pseudo-color image is formed using the luminance information obtained by photographing so that the color visible image and the color information indicated by the color information other than the red color are displayed in grayscale. Generating means for generating;
A pseudo color image generating apparatus including:
可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影する撮影手段から前記カラー可視画像を取得する取得手段と、
前記カラー可視画像を構成し、かつ色情報が示す色が青、黄、緑、赤、及び橙の少なくとも1つの色の画素については、カラー表示されるように、撮影により得られた前記輝度情報及び撮影により得られた前記色情報を用いると共に、前記カラー可視画像を構成し、かつ色情報が示す色が前記少なくとも1つの色以外の色の画素については、濃淡表示されるように、撮影により得られた前記輝度情報を用いて、擬似カラー画像を生成する生成手段と、
を含む擬似カラー画像生成装置。
An acquisition means for acquiring the color visible image from an imaging means for capturing a color visible image composed of a plurality of pixels each including color information and luminance information based on light in the visible light range;
The luminance information obtained by photographing so that at least one pixel of the color visible image that constitutes the color visible image and whose color information indicates blue, yellow, green, red, and orange is displayed in color. In addition, the color information obtained by photographing is used, and the color visible image is formed and the color indicated by the color information is displayed in shades so that pixels of colors other than the at least one color are displayed in grayscale. Generating means for generating a pseudo color image using the obtained luminance information;
A pseudo color image generating apparatus including:
前記撮影手段は、更に、近赤外域の光に基づいて、各々輝度情報を含む複数の画素から構成された赤外画像を撮影し、
前記取得手段は、更に、前記撮影手段から前記赤外画像を取得し、
前記生成手段によって生成された擬似カラー画像を構成する画素であって、前記赤外画像の対応する画素である対応画素の輝度より輝度が小さい画素の輝度を、前記対応画素の輝度で置換するか、または、前記擬似カラー画像を構成する画素の輝度と前記赤外画像の前記対応画素の輝度との加重平均の値で置換する置換手段を更に含み、
前記生成手段は、前記置換手段で輝度が置換されている前記擬似カラー画像の画素については置換された輝度を表す輝度情報及び前記擬似カラー画像の対応する色情報を用い、前記置換手段で輝度が置換されていない前記擬似カラー画像の画素については撮影により得られた前記輝度情報及び前記擬似カラー画像の対応する色情報を用いて、擬似カラー画像を更に生成する請求項1または請求項2記載の擬似カラー画像生成装置。
The imaging means further captures an infrared image composed of a plurality of pixels each including luminance information, based on near-infrared light,
The acquisition unit further acquires the infrared image from the imaging unit,
Whether the luminance of a pixel constituting the pseudo color image generated by the generating unit and having a luminance lower than that of the corresponding pixel corresponding to the infrared image is replaced with the luminance of the corresponding pixel Or replacement means for replacing with a weighted average value of the luminance of the pixels constituting the pseudo color image and the luminance of the corresponding pixels of the infrared image,
The generation unit uses luminance information indicating the replaced luminance and corresponding color information of the pseudo color image for the pixel of the pseudo color image whose luminance is replaced by the replacement unit, and the luminance is displayed by the replacement unit. The pseudo color image is further generated by using the luminance information obtained by photographing and the corresponding color information of the pseudo color image for the pixels of the pseudo color image that are not replaced. Pseudo color image generation device.
コンピュータを、
可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影する撮影手段から前記カラー可視画像を取得する取得手段、及び
前記カラー可視画像を構成し、かつ色情報が示す色が赤の色の画素については、カラー表示されるように、撮影により得られた前記輝度情報及び撮影により得られた前記色情報を用いると共に、前記カラー可視画像を構成し、かつ色情報が示す色が赤の色以外の色の画素については、濃淡表示されるように、撮影により得られた前記輝度情報を用いて、擬似カラー画像を生成する生成手段
として機能させるためのプログラム。
Computer
An acquisition unit that acquires the color visible image from an imaging unit that captures a color visible image composed of a plurality of pixels each including color information and luminance information based on light in the visible light range, and the color visible image In addition, for the pixel whose color information is red, the luminance information obtained by photographing and the color information obtained by photographing are used so that the color visible image is displayed. Constructing and functioning as a generating means for generating a pseudo color image by using the luminance information obtained by photographing so that a pixel of a color other than the red color is displayed in shades of colors Program to let you.
コンピュータを、
可視光域の光に基づいて、各々色情報及び輝度情報を含む複数の画素から構成されたカラー可視画像を撮影する撮影手段から前記カラー可視画像を取得する取得手段、及び
前記カラー可視画像を構成し、かつ色情報が示す色が青、黄、緑、赤、及び橙の少なくとも1つの色の画素については、カラー表示されるように、撮影により得られた前記輝度情報及び撮影により得られた前記色情報を用いると共に、前記カラー可視画像を構成し、かつ色情報が示す色が前記少なくとも1つの色以外の色の画素については、濃淡表示されるように、撮影により得られた前記輝度情報を用いて、擬似カラー画像を生成する生成手段
として機能させるためのプログラム。
Computer
An acquisition unit that acquires the color visible image from an imaging unit that captures a color visible image composed of a plurality of pixels each including color information and luminance information based on light in the visible light range, and the color visible image In addition, the luminance information obtained by photographing so that the color information indicates at least one pixel of blue, yellow, green, red, and orange is displayed in color and obtained by photographing. The luminance information obtained by photographing so that the color information is used and the color visible image and the color indicated by the color information are displayed in shades of pixels other than the at least one color. A program for functioning as a generating means for generating a pseudo color image using
コンピュータを、請求項3記載の擬似カラー画像生成装置を構成する各手段として機能させるためのプログラム。   The program for functioning a computer as each means which comprises the pseudo | simulation color image generation apparatus of Claim 3.
JP2011091255A 2011-04-15 2011-04-15 Pseudo-color image generating apparatus, and program Pending JP2011139546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011091255A JP2011139546A (en) 2011-04-15 2011-04-15 Pseudo-color image generating apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011091255A JP2011139546A (en) 2011-04-15 2011-04-15 Pseudo-color image generating apparatus, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2009033674A Division JP4941482B2 (en) 2009-02-17 2009-02-17 Pseudo color image generation apparatus and program

Publications (1)

Publication Number Publication Date
JP2011139546A true JP2011139546A (en) 2011-07-14

Family

ID=44350404

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011091255A Pending JP2011139546A (en) 2011-04-15 2011-04-15 Pseudo-color image generating apparatus, and program

Country Status (1)

Country Link
JP (1) JP2011139546A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114004893A (en) * 2021-12-31 2022-02-01 视丰达科技(深圳)有限公司 Detection method and device of infrared thermal image fish finder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04181889A (en) * 1990-11-16 1992-06-29 Sony Corp View finder
JP2006115376A (en) * 2004-10-18 2006-04-27 Matsushita Electric Ind Co Ltd Vehicle mounted display device
JP2008092510A (en) * 2006-10-05 2008-04-17 Matsushita Electric Ind Co Ltd Imaging apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04181889A (en) * 1990-11-16 1992-06-29 Sony Corp View finder
JP2006115376A (en) * 2004-10-18 2006-04-27 Matsushita Electric Ind Co Ltd Vehicle mounted display device
JP2008092510A (en) * 2006-10-05 2008-04-17 Matsushita Electric Ind Co Ltd Imaging apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114004893A (en) * 2021-12-31 2022-02-01 视丰达科技(深圳)有限公司 Detection method and device of infrared thermal image fish finder
CN114004893B (en) * 2021-12-31 2022-05-20 视丰达科技(深圳)有限公司 Detection method and device of infrared thermal image fish finder

Similar Documents

Publication Publication Date Title
KR102480600B1 (en) Method for low-light image quality enhancement of image processing devices and method of operating an image processing system for performing the method
JP7077395B2 (en) Multiplexed high dynamic range image
US20070183657A1 (en) Color-image reproduction apparatus
US8988591B2 (en) Solid-state imaging device, camera module, and focus adjustment method of camera module
WO2012067028A1 (en) Image input device and image processing device
JP2010093472A (en) Imaging apparatus, and signal processing circuit for the same
JP4941482B2 (en) Pseudo color image generation apparatus and program
US20190253681A1 (en) Image processing apparatus
US9751465B2 (en) Vehicle vision system with reduced image color data processing by use of dithering
CN108712608A (en) Terminal device image pickup method and device
CN107113408A (en) Image processing apparatus, image processing method, program and system
JP5804857B2 (en) Image processing apparatus, image processing method, and program
JP4985660B2 (en) Pseudo gray image generating apparatus and program
CN112654924B (en) Taking pictures with a stereo camera using a dark flash lamp
JP2005051791A (en) Sensor array with a number of types of optical sensors
JP4386959B1 (en) Image processing device
CN111970432A (en) Image processing method and image processing device
JP4678172B2 (en) Imaging device
CN105578081A (en) Imaging method, image sensor, imaging device and electronic device
JP2010021791A (en) Image capturing apparatus, and image processing method therefor, and program
JP5218634B2 (en) Pseudo gray image generating apparatus and program
JP6478138B2 (en) Image processing apparatus, imaging apparatus, image processing program, and image processing method
JP2011139546A (en) Pseudo-color image generating apparatus, and program
JP2015133628A (en) Imaging apparatus, imaging method, image processing system and imaging program
JP2011193487A (en) Device for generation of pseudo-color image, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111228

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130108

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130507