JP6225137B2 - In-vehicle camera image processing device - Google Patents

In-vehicle camera image processing device Download PDF

Info

Publication number
JP6225137B2
JP6225137B2 JP2015067276A JP2015067276A JP6225137B2 JP 6225137 B2 JP6225137 B2 JP 6225137B2 JP 2015067276 A JP2015067276 A JP 2015067276A JP 2015067276 A JP2015067276 A JP 2015067276A JP 6225137 B2 JP6225137 B2 JP 6225137B2
Authority
JP
Japan
Prior art keywords
correction table
correction
unit
camera unit
shading correction
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.)
Active
Application number
JP2015067276A
Other languages
Japanese (ja)
Other versions
JP2016187149A (en
Inventor
敦 市毛
敦 市毛
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems Ltd
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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2015067276A priority Critical patent/JP6225137B2/en
Publication of JP2016187149A publication Critical patent/JP2016187149A/en
Application granted granted Critical
Publication of JP6225137B2 publication Critical patent/JP6225137B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Measurement Of Optical Distance (AREA)
  • Image Input (AREA)
  • Closed-Circuit Television Systems (AREA)
  • Studio Devices (AREA)

Description

本発明は、複数の撮像部により撮像された画像を処理する車載カメラ画像処理装置に関する。   The present invention relates to an in-vehicle camera image processing apparatus that processes images captured by a plurality of imaging units.

本技術分野の背景技術として、特許文献1には、ステレオ視により広角撮影した撮像画像を画像処理する際に、各カメラから入力された画像を、前記各カメラの配置された前記直線と平行な軸線を持つ円筒面上に射影する画像射影手段と、前記円筒面上に射影された画像において、前記対象物に対応する画素位置を検出する画素位置検出手段とを備えることで、メモリ使用量および処理時間を低減する技術が示されている。   As a background art of this technical field, Patent Document 1 discloses that when image processing is performed on a wide-angle captured image by stereo viewing, an image input from each camera is parallel to the straight line on which each camera is arranged. An image projecting unit that projects onto a cylindrical surface having an axis, and a pixel position detecting unit that detects a pixel position corresponding to the object in the image projected onto the cylindrical surface; Techniques for reducing processing time are shown.

また、特許文献2には、ステレオ撮像ユニット内の第1の不揮発性メモリに、一対のカメラの互いの特性のバラツキを補正するためのカメラ特性データを予め記憶しておくとともに、画像処理ユニット内の第2の不揮発性メモリに、一対のカメラから出力される2系統の画像信号を処理する回路の特性のバラツキを補正するための回路特性データを予め記憶しておく技術が示されている。   In Patent Document 2, camera characteristic data for correcting variations in characteristics of a pair of cameras is stored in advance in the first nonvolatile memory in the stereo imaging unit, and the image processing unit has an internal memory. In this second non-volatile memory, there is shown a technique in which circuit characteristic data for correcting variations in characteristics of circuits that process two systems of image signals output from a pair of cameras is stored in advance.

特開2009−139246号公報JP 2009-139246 A 特開平11−211469号公報Japanese Patent Laid-Open No. 11-211469

しかしながら、特許文献1に示される技術のように、中心射影を円筒射影に変更するだけでは、撮像画像が同じサイズである場合に効果があるだけで、たとえば歪補正などキャリブレーションデータが増えていくとメモリ使用量は増え、それに合わせて、キャリブレーションデータにアクセスする時間が増えていくことになり、コストは高くなり、本来の画像処理にかかる時間が短くなり、画像処理性能を上げることには効果が期待できない。   However, just changing the central projection to the cylindrical projection as in the technique disclosed in Patent Document 1 is effective only when the captured images have the same size, and calibration data such as distortion correction increases. As the memory usage increases, the time to access the calibration data will increase accordingly, the cost will increase, the time required for the original image processing will decrease, and the image processing performance will increase. The effect cannot be expected.

また、特許文献2に示される技術のように、補正データを格納する不揮発性メモリを分けるだけでは、たとえばシェーディング補正などキャリブレーションデータを格納するメモリ使用量は増え、それに合わせて、キャリブレーションデータにアクセスする時間が増えていくことになり、コストは高くなり、本来の画像処理にかかる時間が短くなり、画像処理性能を上げることには効果が期待できない。   Further, as in the technique disclosed in Patent Document 2, if only a nonvolatile memory for storing correction data is separated, the amount of memory used for storing calibration data such as shading correction increases, and accordingly, the calibration data is included in the calibration data. The access time will increase, the cost will increase, the time required for the original image processing will decrease, and no effect can be expected to improve the image processing performance.

今後、車載カメラの機能・性能を向上するためには、撮像素子の高画素化および補正データ量が増加していくことになり、このような手段では、補正データを記憶するメモリにおいて、その補正データが占める割合が増え、本来の画像処理に必要な画像データアクセスが制限されてしまう。解決の手段として、大容量・高速なメモリを採用すると、コスト・消費電力の観点から不利になる。   In the future, in order to improve the functions and performance of the in-vehicle camera, the number of pixels of the image sensor and the amount of correction data will increase. With such means, the correction is performed in the memory storing the correction data. The proportion of data increases, and image data access necessary for original image processing is restricted. Adopting a large-capacity and high-speed memory as a solution means is disadvantageous from the viewpoint of cost and power consumption.

本発明は、上記の点に鑑みてなされたものであり、その目的とするところは、メモリ部に記憶される補正データのデータ量をなるべく少なくすることができる車載カメラ画像処理装置を提供することである。   The present invention has been made in view of the above points, and an object thereof is to provide an in-vehicle camera image processing apparatus capable of reducing the data amount of correction data stored in a memory unit as much as possible. It is.

上記課題を解決するために、本発明は、例えば特許請求の範囲に記載の構成を採用する。
本発明は、上記課題を解決する手段を複数含んでいるが、その一例を挙げるならば、2つのカメラ部で撮像された画像データをそれぞれシェーディング補正するシェーディング補正部と、一方のカメラ部の補正テーブルと他方のカメラ部の補正テーブルとの差分値または平均値を有する補正テーブルを記憶するメモリ部と、前記差分値または平均値を有する補正テーブルから前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルの少なくとも一方を生成する補正テーブル生成部とを有し、前記シェーディング補正部は、前記補正テーブル生成部により生成した補正テーブルを用いて前記画像データをシェーディング補正することを特徴とする。
In order to solve the above problems, the present invention employs, for example, the configurations described in the claims.
The present invention includes a plurality of means for solving the above-mentioned problems. To give an example, a shading correction unit that corrects shading of image data captured by two camera units, and correction of one camera unit, respectively. A memory unit for storing a correction table having a difference value or an average value between the table and the correction table of the other camera unit, and a correction table of the one camera unit and the other of the correction table having the difference value or the average value A correction table generation unit that generates at least one of the correction tables of the camera unit, wherein the shading correction unit performs shading correction on the image data using the correction table generated by the correction table generation unit. To do.

本発明によれば、メモリ部に記憶される補正データのデータ量をなるべく少なくすることができ、画像処理の効率を向上させることができる。なお、上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。   According to the present invention, the amount of correction data stored in the memory unit can be reduced as much as possible, and the efficiency of image processing can be improved. Problems, configurations, and effects other than those described above will be clarified by the following description of the embodiments.

実施例1における車載カメラ画像処理装置の構成図。1 is a configuration diagram of an in-vehicle camera image processing apparatus in Embodiment 1. FIG. シェーディング補正テーブルを用いて撮像画像をシェーディング補正する方法を説明する図。The figure explaining the method of carrying out the shading correction | amendment of the captured image using a shading correction table. 実施例1におけるシェーディング補正テーブルの構成例を説明する図。FIG. 6 is a diagram illustrating a configuration example of a shading correction table according to the first embodiment. 実施例2におけるシェーディング補正テーブルの構成例を説明する図。FIG. 10 is a diagram illustrating a configuration example of a shading correction table in Embodiment 2. 実施例3におけるシェーディング補正テーブルの構成例を説明する図。FIG. 10 is a diagram illustrating a configuration example of a shading correction table in Embodiment 3. 実施例4におけるシェーディング補正テーブルの構成例を説明する図。FIG. 10 is a diagram illustrating a configuration example of a shading correction table in Embodiment 4. 実施例5におけるシェーディング補正テーブルの構成例を説明する図。FIG. 10 is a diagram illustrating a configuration example of a shading correction table according to a fifth embodiment. 実施例6におけるシェーディング補正テーブルの構成例を説明する図。FIG. 10 is a diagram illustrating a configuration example of a shading correction table according to a sixth embodiment. 実施例7におけるシェーディング補正テーブルの構成例を説明する図。FIG. 10 is a diagram illustrating a configuration example of a shading correction table according to a seventh embodiment.

以下、本発明の実施例について図面を用いて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

[実施例1]
図1は、実施例1における車載カメラ画像処理装置の構成図である。
本実施例では、車載カメラ画像装置の例として、2つのカメラ部を持つステレオカメラの場合について説明する。車載カメラ画像処理装置100は、左右一対となるカメラ部(左)101及びカメラ部(右)102と、カメラ部(左)101とカメラ部(右)102で撮像した画像データ121、122をそれぞれシェーディング補正するシェーディング補正部103、104と、シェーディング補正後の画像データ123、124を記憶するメモリ部106の画像データ部111、112と、メモリ部106の画像データ部111、112から画像データ125を取り込んで画像処理を行う画像処理マイコン107を有している。
[Example 1]
FIG. 1 is a configuration diagram of an in-vehicle camera image processing apparatus according to the first embodiment.
In the present embodiment, a case of a stereo camera having two camera units will be described as an example of the in-vehicle camera image device. The in-vehicle camera image processing apparatus 100 includes a pair of left and right camera sections (left) 101 and camera section (right) 102, and image data 121 and 122 captured by the camera section (left) 101 and camera section (right) 102, respectively. The shading correction units 103 and 104 that perform shading correction, the image data units 111 and 112 of the memory unit 106 that store the image data 123 and 124 after shading correction, and the image data 125 from the image data units 111 and 112 of the memory unit 106. An image processing microcomputer 107 that takes in and performs image processing is included.

一方のカメラ部(左)101と他方のカメラ部(右)102は、CCDイメージセンサやCMOSイメージセンサなどの撮像素子であり、複数の画素がマトリックス状に配置された構成を有している。カメラ部(左)101とカメラ部(右)102では、一般的には光学レンズを経由して対象物が撮像され、撮像素子などによって画像データ121、122の電気信号となる。また、レンズの特性上、原則的には画面の端は暗く写る。いわゆる周辺光量が落ちるためである。ステレオカメラのように、カメラ部(左)101とカメラ部(右)102で取得した左右の画像データ121、122に対して、マッチング処理を行うような場合、面内の輝度が一定であることが理想的であるから、上記、画像データ121、122に対して、面内の輝度が一定になるような補正が必要である。これをシェーディング補正と呼ぶことにする。   One camera unit (left) 101 and the other camera unit (right) 102 are imaging elements such as a CCD image sensor and a CMOS image sensor, and have a configuration in which a plurality of pixels are arranged in a matrix. In the camera unit (left) 101 and the camera unit (right) 102, generally, an object is imaged via an optical lens, and becomes an electrical signal of the image data 121 and 122 by an image sensor or the like. In principle, the edge of the screen appears dark due to the characteristics of the lens. This is because the so-called peripheral light amount falls. When matching processing is performed on the left and right image data 121 and 122 acquired by the camera unit (left) 101 and the camera unit (right) 102 as in a stereo camera, the in-plane brightness is constant. Is ideal, the image data 121 and 122 need to be corrected so that the in-plane luminance is constant. This is called shading correction.

シェーディング補正に用いられる補正データは、たとえば、不揮発性メモリであるフラッシュメモリ部108に記憶されていて、車載カメラ画像処理装置100が起動したときに、画像処理マイコン107によって読み出されて、メモリ部106のシェーディング補正テーブル部113、114に記憶される。そして、カメラ部(左)101とカメラ部(右)102から撮像した画像データを取得するたびに、たとえばフレーム毎にシェーディング補正テーブル部113、114から読み出されて、シェーディング補正部103、104で補正計算に用いられる。   The correction data used for the shading correction is stored in, for example, the flash memory unit 108 which is a non-volatile memory, and is read out by the image processing microcomputer 107 when the in-vehicle camera image processing apparatus 100 is activated. 106 stored in the shading correction table sections 113 and 114. Each time image data captured from the camera unit (left) 101 and the camera unit (right) 102 is acquired, the image data is read from the shading correction table units 113 and 114 for each frame, for example, and is read by the shading correction units 103 and 104. Used for correction calculation.

図2は、シェーディング補正テーブルを用いて撮像画像をシェーディング補正する方法を説明する図である。
シェーディング補正テーブル302は、撮像画像(シェーディング補正前の画像データ)301の各画素i(m,n)に対して、1画素毎に一対一となる補正データを持つ。シェーディング補正テーブル302の各補正データをj(m,n)と表すと、画素位置座標(m,n)の画素データiのシェーディング補正データjが補正計算に適用される。
FIG. 2 is a diagram for explaining a method for shading correction of a captured image using a shading correction table.
The shading correction table 302 has correction data that becomes one-to-one for each pixel for each pixel i (m, n) of the captured image (image data before shading correction) 301. When each correction data in the shading correction table 302 is expressed as j (m, n), the shading correction data j of the pixel data i at the pixel position coordinate (m, n) is applied to the correction calculation.

シェーディング補正として、撮像画像301に対して、シェーディング補正テーブルを掛け算するときは、シェーディング補正後の画像303は、
k(m,n)=i(m,n)×j(m,n)
m=1〜M(Mは画像の横サイズ)、n=1〜N(Nは画像の縦サイズ)
であらわされる。
As a shading correction, when the captured image 301 is multiplied by the shading correction table, the image 303 after the shading correction is
k (m, n) = i (m, n) × j (m, n)
m = 1 to M (M is the horizontal size of the image), n = 1 to N (N is the vertical size of the image)
It is expressed.

同様に、オフセットするときは、シェーディング補正後の画像303は、
k(m,n)=i(m,n)+j(m,n)
m=1〜M(Mは画像の横サイズ)、n=1〜N(Nは画像の縦サイズ)
であらわされる。これは一例であり、減算でも除算でも考え方は同じである。
Similarly, when offsetting, the image 303 after shading correction is
k (m, n) = i (m, n) + j (m, n)
m = 1 to M (M is the horizontal size of the image), n = 1 to N (N is the vertical size of the image)
It is expressed. This is an example, and the concept is the same for subtraction and division.

このようにして、画像データ121、122は、上記シェーディング補正を行うシェーディング補正部103、104を経由して、シェーディング補正後の画像データ123、124となり、たとえば、一旦、メモリ部106内部の画像データ部111、112に記憶される。その後、任意のタイミングで画像処理マイコン107が、画像データ125として読み出し、所望の画像処理を行う。   In this way, the image data 121 and 122 become the image data 123 and 124 after the shading correction via the shading correction units 103 and 104 that perform the shading correction. For example, the image data in the memory unit 106 is temporarily stored. Stored in the sections 111 and 112. Thereafter, the image processing microcomputer 107 reads out the image data 125 at an arbitrary timing and performs desired image processing.

本実施例において特徴的なことは、フラッシュメモリ部108に、左カメラ部101のシェーディング補正テーブル(左)と、左カメラ部101のシェーディング補正テーブル(左)と右カメラ部102のシェーディング補正テーブル(右)との差分値を有するシェーディング補正テーブル(左右差分)が記憶されており、補正データデコード部105で、左カメラ部101のシェーディング補正テーブル(左)と、左カメラ部101のシェーディング補正テーブル(左)と右カメラ部102のシェーディング補正テーブル(右)との差分値を有するシェーディング補正テーブル(左右差分)とを用いて右カメラ部102のシェーディング補正テーブル(右)を生成することである。   What is characteristic in the present embodiment is that the flash memory unit 108 includes a shading correction table (left) of the left camera unit 101, a shading correction table (left) of the left camera unit 101, and a shading correction table of the right camera unit 102 (left). The left and right shading correction tables (left and right differences) are stored, and the correction data decoding unit 105 stores the shading correction table (left) of the left camera unit 101 and the shading correction table of the left camera unit 101 ( A shading correction table (right) of the right camera unit 102 is generated using a shading correction table (left / right difference) having a difference value between the left) and the shading correction table (right) of the right camera unit 102.

図3は、実施例1におけるシェーディング補正テーブルの構成例を説明する図である。
シェーディング補正部103、104では、一方のカメラ部(左)101と他方のカメラ部(右)102が持つそれぞれの撮像素子、および、レンズを代表とする光学特性に合わせたシェーディング補正テーブル(左)Aと、シェーディング補正テーブル(右)Bを用いて、画像データ121、122をシェーディング補正し、シェーディング補正後の画像データ123、124をメモリ部106に提供する。
FIG. 3 is a diagram illustrating a configuration example of the shading correction table in the first embodiment.
In the shading correction units 103 and 104, a shading correction table (left) in accordance with optical characteristics represented by the respective imaging elements and lenses of one camera unit (left) 101 and the other camera unit (right) 102. Using A and the shading correction table (right) B, the image data 121 and 122 are subjected to shading correction, and the image data 123 and 124 after the shading correction are provided to the memory unit 106.

このとき、補正データをたとえば、符号なし12bit/pixelとして、また画像サイズがSXGA(1280画素×1024画素)とすると、シェーディング補正テーブルA、Bは、それぞれ、
A=1280×1024×12bit=1.875MB
B=1280×1024×12bit=1.875MB
となる。
At this time, if the correction data is, for example, unsigned 12 bits / pixel and the image size is SXGA (1280 pixels × 1024 pixels), the shading correction tables A and B are respectively
A = 1280 × 1024 × 12bit = 1.875MB
B = 1280 × 1024 × 12bit = 1.875MB
It becomes.

これに対して、シェーディング補正テーブル(左)Aとシェーディング補正テーブル(右)Bの差分を用いて、新たなシェーディング補正テーブル(左右差分)Cを計算する。ステレオカメラのように、左右のカメラ部101、102が持つそれぞれの撮像素子、および、レンズを代表とする光学特性がほぼ等しいときには、左右のシェーディング補正テーブルは近い値になる特徴があるから、たとえば、上記差分は、もともとのデータbit数である、符号なし12bit/pixelよりも十分小さいbit数で表現できる。たとえば、ここでは、符号付き6bitで表現できたとする。   On the other hand, a new shading correction table (left-right difference) C is calculated using the difference between the shading correction table (left) A and the shading correction table (right) B. Like the stereo camera, when the optical characteristics represented by the left and right camera units 101 and 102 and the lenses are substantially equal, the left and right shading correction tables are characterized by close values. The above difference can be expressed by the number of bits sufficiently smaller than the unsigned 12 bits / pixel which is the original number of data bits. For example, here, it is assumed that it can be expressed by signed 6 bits.

このときのシェーディング補正テーブルCのデータ量は、
C=A−B=1280×1024×6bit=0.9375MB
となる。
The data amount of the shading correction table C at this time is
C = A−B = 1280 × 1024 × 6 bits = 0.9375 MB
It becomes.

そこで、本実施例では、フラッシュメモリ部108に、シェーディング補正テーブル(左)Aと、シェーディング補正テーブル(左右差分)Cを記憶させておく。シェーディング補正テーブル(左)Aとシェーディング補正テーブル(左右差分)Cがあれば、メモリ部106から読み出して、メモリ部106のシェーディング補正テーブル部113、114に記憶させた後、補正データデコード部105において、
A−C=A−(A−B)=B
とすることで、シェーディング補正テーブル(右)Bを生成できる。これにより、補正データを元に戻して、シェーディング補正部103、104で左右の画像データをそれぞれシェーディング補正することができる。
Therefore, in this embodiment, the flash memory unit 108 stores a shading correction table (left) A and a shading correction table (left-right difference) C. If there is a shading correction table (left) A and a shading correction table (left-right difference) C, they are read from the memory unit 106 and stored in the shading correction table units 113 and 114 of the memory unit 106, and then the correction data decoding unit 105 ,
A−C = A− (A−B) = B
By doing so, the shading correction table (right) B can be generated. Thus, the correction data can be restored to the original, and the left and right image data can be subjected to shading correction by the shading correction units 103 and 104, respectively.

効果として、フラッシュメモリ部108の容量、および、メモリ部106でシェーディング補正テーブルが占める容量は、下式により25%削減できる。
(A+C)/(A+B)=2.8125MB/3.75MB=75%(25%削減)
As an effect, the capacity of the flash memory unit 108 and the capacity occupied by the shading correction table in the memory unit 106 can be reduced by 25% by the following equation.
(A + C) / (A + B) = 2.8125 MB / 3.75 MB = 75% (25% reduction)

上述のように、本実施例では、フラッシュメモリ部108に、カメラ部(左)101のシェーディング補正テーブル(左)Aと差分値を有するシェーディング補正テーブル(左右差分)Cが記憶されており、画像処理マイコン107により読み出された後に、メモリ部106のシェーディング補正テーブル部113、114に記憶される。   As described above, in this embodiment, the flash memory unit 108 stores the shading correction table (left) A of the camera unit (left) 101 and the shading correction table (left-right difference) C having difference values, and stores the image. After being read by the processing microcomputer 107, it is stored in the shading correction table units 113 and 114 of the memory unit 106.

シェーディング補正テーブル(左)Aは、カメラ部(左)101が有する複数の画素に対して1画素毎に設定された補正データを有し、シェーディング補正テーブル(左右差分)Cは、カメラ部(左)101が有する複数の画素に対して1画素毎に設定された補正データと、カメラ部(右)102が有する複数の画素に対して1画素毎に設定された補正データとの差分値を補正データとして有している。   The shading correction table (left) A has correction data set for each pixel for a plurality of pixels of the camera unit (left) 101, and the shading correction table (left-right difference) C is stored in the camera unit (left). ) Corrects a difference value between correction data set for each pixel with respect to a plurality of pixels included in 101 and correction data set for each pixel with respect to a plurality of pixels included in the camera unit (right) 102. It has as data.

そして、補正データデコード部105は、シェーディング補正テーブル(左右差分)Cと、シェーディング補正テーブル(左)Aとを減算することにより、カメラ部(右)102のシェーディング補正テーブル(右)Bを生成する(補正テーブル生成部)。そして、シェーディング補正テーブル(左)Aをシェーディング補正部103に供給し、シェーディング補正テーブル(右)Bをシェーディング補正部104に供給する。   Then, the correction data decoding unit 105 generates a shading correction table (right) B of the camera unit (right) 102 by subtracting the shading correction table (left-right difference) C and the shading correction table (left) A. (Correction table generation unit). Then, the shading correction table (left) A is supplied to the shading correction unit 103, and the shading correction table (right) B is supplied to the shading correction unit 104.

シェーディング補正部103は、補正データデコード部105から供給されたシェーディング補正テーブル(左)Aを用いてカメラ部(左)101の画像データ121をシェーディング補正し、シェーディング補正部104は、補正データデコード部105で生成されたシェーディング補正テーブル(右)Bを用いてカメラ部(右)102の画像データ122をシェーディング補正する。   The shading correction unit 103 performs shading correction on the image data 121 of the camera unit (left) 101 using the shading correction table (left) A supplied from the correction data decoding unit 105, and the shading correction unit 104 includes a correction data decoding unit. The image data 122 of the camera unit (right) 102 is subjected to shading correction using the shading correction table (right) B generated in 105.

フラッシュメモリ部108には、シェーディング補正テーブル(右)Bの代わりに、シェーディング補正テーブル(右)Bよりもデータ量の少ないシェーディング補正テーブル(左右差分)Cが記憶されているので、フラッシュメモリ部108の容量、および、メモリ部106でシェーディング補正テーブルが占める容量を削減することができる。また、フラッシュメモリ部108から読み出すデータ量が削減され、かつ、シェーディング補正テーブル部113、114に記憶させるデータ量が削減されるため、車載カメラ画像処理装置100の起動時間が短くなる。   Instead of the shading correction table (right) B, the flash memory unit 108 stores a shading correction table (left-right difference) C having a smaller data amount than the shading correction table (right) B. And the capacity occupied by the shading correction table in the memory unit 106 can be reduced. In addition, since the amount of data read from the flash memory unit 108 is reduced and the amount of data stored in the shading correction table units 113 and 114 is reduced, the startup time of the in-vehicle camera image processing apparatus 100 is shortened.

さらに、上述した簡単な構成を有する補正データデコード部105を追加するだけで、メモリ部106からシェーディング補正テーブルを読み出すデータ量を削減することができるため、消費電力の低減化が図れ、さらには、メモリ部106へのアクセス量のうち、本来の画像処理性能のための画像処理マイコン107からの読み出し量を増やすことができて、性能向上につなげることができる。   Furthermore, since the amount of data for reading the shading correction table from the memory unit 106 can be reduced simply by adding the correction data decoding unit 105 having the simple configuration described above, power consumption can be reduced, Of the access amount to the memory unit 106, the read amount from the image processing microcomputer 107 for the original image processing performance can be increased, which can lead to performance improvement.

今後、車載カメラの機能・性能を向上するためには、撮像素子の高画素化および補正データ量が増加していくことになり、補正データを記憶するメモリにおいて、その補正データが占める割合が増え、本来の画像処理に必要な画像データアクセスが制限されてしまうことが課題となるが、本発明によれば、メモリに記憶される補正データのデータ量をなるべく少なくすることができ、大容量・高速なメモリの採用をすることなく、課題を解決することができる。   In the future, in order to improve the functions and performance of in-vehicle cameras, the number of pixels in the image sensor and the amount of correction data will increase, and the proportion of correction data will increase in the memory that stores correction data. However, there is a problem that the image data access necessary for the original image processing is limited. However, according to the present invention, the amount of correction data stored in the memory can be reduced as much as possible. The problem can be solved without adopting a high-speed memory.

なお、本実施例では、左カメラ部101のシェーディング補正テーブル(左)と、左カメラ部101のシェーディング補正テーブル(左)と右カメラ部102のシェーディング補正テーブル(右)との差分値を有するシェーディング補正テーブル(左右差分)を用いて右カメラ部102のシェーディング補正テーブルを生成しているが、代わりに、右カメラ部102のシェーディング補正テーブル(右)と、左カメラ部101のシェーディング補正テーブル(左)と右カメラ部102のシェーディング補正テーブル(右)との差分値を有するシェーディング補正テーブル(左右差分)とを用いて左カメラ部101のシェーディング補正テーブル(左)を生成してもよい。   In the present embodiment, the shading correction table (left) of the left camera unit 101, the shading having a difference value between the shading correction table (left) of the left camera unit 101 and the shading correction table (right) of the right camera unit 102. The shading correction table of the right camera unit 102 is generated using the correction table (left and right difference). Instead, the shading correction table (right) of the right camera unit 102 and the shading correction table (left) of the left camera unit 101 are generated. ) And the shading correction table (left difference) between the right camera unit 102 and the shading correction table (right) of the right camera unit 102 may be used to generate the shading correction table (left) of the left camera unit 101.

また、本実施例では、フラッシュメモリ部108とメモリ部106とが分かれた構成の場合を例に説明しているが、フラッシュメモリ部108を省略して、メモリ部106のみにシェーディング補正テーブルを記憶させた構成としてもよい。   In this embodiment, the case where the flash memory unit 108 and the memory unit 106 are separated has been described as an example. However, the flash memory unit 108 is omitted, and the shading correction table is stored only in the memory unit 106. It is good also as the structure made to do.

以降の実施例は、上述したシェーディング補正テーブルのデータ量削減のさせ方のいくつかの方法について記述する。なお、以降の実施例に書かれていない手法であっても、2つのシェーディング補正テーブルの差分のデータを生成することそのものが本発明である。   The following embodiments describe several methods for reducing the data amount of the shading correction table described above. Note that the present invention itself is to generate difference data between two shading correction tables even if the method is not described in the following embodiments.

[実施例2]
図4は、実施例2におけるシェーディング補正テーブルの構成例を説明する図である。
本実施例では、実施例1で説明したシェーディング補正テーブル(左)Aと、シェーディング補正テーブル(左右差分)Cを圧縮した圧縮シェーディング補正テーブルA’、C’をフラッシュメモリ部108に記憶させておくことを特徴とする。
[Example 2]
FIG. 4 is a diagram illustrating a configuration example of a shading correction table in the second embodiment.
In the present embodiment, the shading correction table (left) A described in the first embodiment and the compressed shading correction tables A ′ and C ′ obtained by compressing the shading correction table (left-right difference) C are stored in the flash memory unit 108. It is characterized by that.

圧縮には、それぞれ一般的な手法のデータ圧縮技術を適用する。圧縮方法は、補正データデコード部105によって生成されるシェーディング補正テーブル(左)Aと(右)Bとが同じような補正データとなるものを採用することが望ましく、可逆圧縮でもよく、また、非可逆圧縮でもよい。可逆圧縮の方法としては、例えばランレングス圧縮、ハフマン符号を用いる圧縮、LZSS圧縮等の方法を用いることができる。非可逆圧縮の方法としては、例えばJPEG圧縮方法を用いることができる。   A data compression technique of a general method is applied to each compression. As a compression method, it is desirable to employ a method in which the shading correction tables (left) A and (right) B generated by the correction data decoding unit 105 are similar correction data, and may be lossless compression. Lossless compression may be used. As a lossless compression method, for example, a method such as run length compression, compression using a Huffman code, or LZSS compression can be used. As a lossy compression method, for example, a JPEG compression method can be used.

データ圧縮によって補正データをたとえば70%に圧縮できたとすると、シェーディング補正テーブルA’、C’は、それぞれ、
A’=1.875MB×0.7≒1.31MB
C’=0.9375MB×0.7≒0.66MB
となる。
If the correction data can be compressed to 70% by data compression, for example, the shading correction tables A ′ and C ′ are respectively
A ′ = 1.875 MB × 0.7≈1.31 MB
C ′ = 0.9375 MB × 0.7≈0.66 MB
It becomes.

上記、圧縮シェーディング補正テーブル(左)A’と、圧縮シェーディング補正テーブル(左右差分)C’をフラッシュメモリ部108に記憶させ、メモリ部106で読み出してメモリ部106のシェーディング補正テーブル部113、114に記憶させる。これらがあれば、補正データデコード部105において、逆圧縮(伸長)処理を行い、
A’ ×逆圧縮=A、C’ ×逆圧縮=C、
A−C=A−(A−B)=B
とすることで、シェーディング補正テーブル(左)Aと(右)Bを生成できる。これにより、補正データを元に戻して、左右それぞれのシェーディング補正を行うことができる。
The compression shading correction table (left) A ′ and the compression shading correction table (left / right difference) C ′ are stored in the flash memory unit 108, read by the memory unit 106, and stored in the shading correction table units 113 and 114 of the memory unit 106. Remember me. If these are present, the correction data decoding unit 105 performs a reverse compression (decompression) process,
A ′ × reverse compression = A, C ′ × reverse compression = C,
A−C = A− (A−B) = B
By doing so, the shading correction tables (left) A and (right) B can be generated. Thereby, the correction data can be returned to the original, and the left and right shading correction can be performed.

シェーディング補正テーブルを記憶しておくフラッシュメモリ部108の容量、および、メモリ部106に占めるシェーディング補正テーブルが占める容量は、下式により47%削減できる。
(A’+C’)/(A+B)≒1.97MB/3.75MB≒53%(47%削減)
The capacity of the flash memory unit 108 storing the shading correction table and the capacity occupied by the shading correction table in the memory unit 106 can be reduced by 47% according to the following equation.
(A ′ + C ′) / (A + B) ≈1.97 MB / 3.75 MB≈53% (47% reduction)

これにより、実施例1(25%減)よりも、さらに容量を削減することができる。
例えば、図4に示すシェーディング補正テーブル(左)Aは、図2に示したように、レンズ周辺の光量が落ちている画素に対して、画像全体が均一になるようなデータとしており、画像中心を含む殆どのエリアは同じ、あるいは似たようなデータが多いことを特徴としている。
Thereby, the capacity can be further reduced as compared with the first embodiment (25% reduction).
For example, as shown in FIG. 2, the shading correction table (left) A shown in FIG. 4 is data that makes the entire image uniform with respect to the pixels where the amount of light around the lens is reduced. Most of the areas including are characterized by a lot of the same or similar data.

したがって、シェーディング補正テーブル(左)Aの圧縮方法には、データ全体に占めるデータ毎の出現回数に差がある場合に圧縮効率が高くなるハフマン符号を用いた場合に、より高い効果が得られる。   Therefore, in the compression method of the shading correction table (left) A, a higher effect is obtained when a Huffman code is used, which increases the compression efficiency when there is a difference in the number of appearances of each data in the entire data.

そして、図4に示すシェーディング補正テーブル(左右差分)Cは、補正データがばらばらになるケースが想定されるため、データ列を、前のデータ列と一致があったか否か、一致があった場合に一致位置と一致長を用いて表す方法であるLZSS圧縮法を用いた場合に、より高い効果が得られる。   The shading correction table (left-right difference) C shown in FIG. 4 is assumed to be a case where the correction data varies, and therefore, whether the data string matches the previous data string or not. When the LZSS compression method, which is a method of expressing using the coincidence position and the coincidence length, is used, a higher effect can be obtained.

また、シェーディング補正テーブルを画像として考えると、図2に示すように、画像データの中心が暗く、周辺が明るい画像になるので、例えば非可逆圧縮であるJPEG圧縮方法を用いることも可能である。ただし、JPEG圧縮方法は、画像を8×8ピクセルの正方形ブロックに分割して、その単位で画像の変化の情報を抽出するので、情報の一部を捨てることになる。   Considering the shading correction table as an image, as shown in FIG. 2, since the center of the image data is dark and the periphery is bright, it is possible to use, for example, a JPEG compression method that is irreversible compression. However, in the JPEG compression method, an image is divided into 8 × 8 pixel square blocks, and information on the change of the image is extracted in that unit, so a part of the information is discarded.

圧縮方法として、可逆と非可逆のどちらを選択するかは、撮像素子やレンズ等を含めた光学系の素性、及び、画像処理認識アプリケーションなどの機能やシステムからの要求を検討した上で決定される。   Whether to select reversible or irreversible compression method is decided after considering the features of the optical system including the image sensor and lens, and the functions and system requirements of the image processing recognition application. The

[実施例3]
図5は、実施例3におけるシェーディング補正テーブルの構成例を説明する図である。
本実施例では、2つのシェーディング補正テーブル(左)Aとシェーディング補正テーブル(右)Bの差を用いて、新たなシェーディング補正テーブルDとEを計算する。シェーディング補正テーブルDは、シェーディング補正テーブル(左)Aと、シェーディング補正テーブル(右)Bの和を2で除算したテーブルとする。シェーディング補正テーブルEは、シェーディング補正テーブル(左)Aと、シェーディング補正テーブル(右)Bの差を2で除算したテーブルとする。
[Example 3]
FIG. 5 is a diagram illustrating a configuration example of a shading correction table in the third embodiment.
In this embodiment, new shading correction tables D and E are calculated using the difference between the two shading correction tables (left) A and the shading correction table (right) B. The shading correction table D is a table obtained by dividing the sum of the shading correction table (left) A and the shading correction table (right) B by 2. The shading correction table E is a table obtained by dividing the difference between the shading correction table (left) A and the shading correction table (right) B by 2.

実施例1同様、ステレオカメラのように、左右のカメラ部が持つそれぞれの撮像素子、および、レンズを代表とする光学特性がほぼ等しいときには、左右のシェーディング補正テーブルは近い値になる特徴があるから、たとえば、2つの補正テーブルの差をとるシェーディング補正データEは、もともとのデータbit数である、符号なし12bit/pixelよりも十分小さいbit数で表現できる。   Similar to the first embodiment, when the optical characteristics represented by the left and right camera units and the lenses are substantially equal, like the stereo camera, the left and right shading correction tables have characteristics that are close to each other. For example, the shading correction data E that takes the difference between the two correction tables can be expressed by a sufficiently smaller number of bits than the original number of data bits of 12 bits / pixel.

たとえば、実施例1では、符号付き6bitで表現できたとしたが、ここでは2で除算しているのでさらに1bit少なくてすむ。シェーディング補正テーブルDは、符号なし12bit/pixelの足し算なので1bit増えるが2で除算するので、結果は符号なし12bit/pixelとなりデータ量は増えない。   For example, in the first embodiment, it can be expressed by 6 bits with a sign, but here, since it is divided by 2, it can be further reduced by 1 bit. Since the shading correction table D is an addition of unsigned 12 bits / pixel, it increases by 1 bit, but is divided by 2, so the result is unsigned 12 bits / pixel and the data amount does not increase.

このときのシェーディング補正テーブルDとシェーディング補正テーブルEのデータ量は、
D=1280×1024×12bit=1.875MB
E=1280×1024×5bit≒0.78MB
となる。
The data amount of the shading correction table D and the shading correction table E at this time is
D = 1280 × 1024 × 12bit = 1.875MB
E = 1280 x 1024 x 5 bits ≒ 0.78MB
It becomes.

上記、シェーディング補正テーブルDと、シェーディング補正テーブルEをフラッシュメモリ部108に記憶させ、メモリ部106で読み出してメモリ部106のシェーディング補正テーブル部113、114に記憶させる。これらがあれば、メモリ部106から読み出した後に、補正データデコード部105において、
D+E=(A+B)/2+(A−B)/2=A
D−E=(A+B)/2−(A−B)/2=B
とすることで、シェーディング補正テーブル(左)Aとシェーディング補正テーブル(右)Bを生成できる。これにより、補正データを元に戻して、シェーディング補正部103、104で左右それぞれのシェーディング補正を行うことができる。
The shading correction table D and the shading correction table E are stored in the flash memory unit 108, read by the memory unit 106, and stored in the shading correction table units 113 and 114 of the memory unit 106. If these are present, after reading from the memory unit 106, the correction data decoding unit 105
D + E = (A + B) / 2 + (A−B) / 2 = A
D−E = (A + B) / 2− (A−B) / 2 = B
By doing so, the shading correction table (left) A and the shading correction table (right) B can be generated. Thereby, the correction data can be restored to the original, and the shading correction units 103 and 104 can perform the left and right shading corrections.

シェーディング補正テーブルを記憶しておくフラッシュメモリ部108の容量、および、メモリ部106に占めるシェーディング補正テーブルが占める容量は、下式により29%削減できる。
(D+E)/(A+B)≒2.66MB/3.75MB≒71%(29%削減)
したがって、実施例1(25%削減)よりもデータ容量を削減することができる。
The capacity of the flash memory unit 108 storing the shading correction table and the capacity occupied by the shading correction table in the memory unit 106 can be reduced by 29% according to the following equation.
(D + E) / (A + B) ≈2.66MB / 3.75MB≈71% (29% reduction)
Therefore, the data capacity can be reduced as compared with the first embodiment (25% reduction).

本実施例では、フラッシュメモリ部108に、カメラ部(左)101のシェーディング補正テーブル(左)Aとカメラ部(右)102のシェーディング補正テーブル(右)Bとの和の平均値を有するシェーディング補正テーブルDと、カメラ部(左)101のシェーディング補正テーブル(左)Aとカメラ部(右)102のシェーディング補正テーブル(右)Bとの差の平均値を有するシェーディング補正テーブルEが記憶されており、所定のタイミングで画像処理マイコン107によって読み出されて、メモリ部106のシェーディング補正テーブル部113、114に記憶される。   In this embodiment, the flash memory unit 108 has a shading correction having an average value of the sum of the shading correction table (left) A of the camera unit (left) 101 and the shading correction table (right) B of the camera unit (right) 102. A shading correction table E having an average value of differences between the table D and the shading correction table (left) A of the camera unit (left) 101 and the shading correction table (right) B of the camera unit (right) 102 is stored. The data is read out by the image processing microcomputer 107 at a predetermined timing and stored in the shading correction table units 113 and 114 of the memory unit 106.

カメラ部(左)101のシェーディング補正テーブル(左)Aは、カメラ部(左)101が有する複数の画素に対して1画素毎に設定された補正データを有し、カメラ部(右)102のシェーディング補正テーブル(右)Bは、カメラ部(右)102が有する複数の画素に対して1画素毎に設定された補正データを有している。   The shading correction table (left) A of the camera unit (left) 101 has correction data set for each of the plurality of pixels of the camera unit (left) 101, and The shading correction table (right) B has correction data set for each pixel with respect to a plurality of pixels of the camera unit (right) 102.

和の平均値を有するシェーディング補正テーブルDは、カメラ部(左)101が有する複数の画素に対して1画素毎に設定された補正データと、カメラ部(右)102が有する複数の画素に対して1画素毎に設定された補正データとの和を2で除算した値を補正データとして有する。そして、差の平均値を有するシェーディング補正テーブルEは、カメラ部(左)101が有する複数の画素に対して1画素毎に設定された補正データと、カメラ部(右)102が有する複数の画素に対して1画素毎に設定された補正データとの差を2で除算した値を補正データとして有する。   The shading correction table D having the average value of the sum is obtained by correcting correction data set for each of a plurality of pixels included in the camera unit (left) 101 and a plurality of pixels included in the camera unit (right) 102. Thus, the correction data is a value obtained by dividing the sum of the correction data set for each pixel by two. The shading correction table E having an average difference value includes correction data set for each pixel of the plurality of pixels included in the camera unit (left) 101 and a plurality of pixels included in the camera unit (right) 102. In contrast, a value obtained by dividing the difference from the correction data set for each pixel by 2 is included as correction data.

そして、補正データデコード部105は、和の平均値を有するシェーディング補正テーブルDと、差の平均値を有するシェーディング補正テーブルEとを加算することにより、カメラ部(左)101のシェーディング補正テーブル(左)Aを生成し、和の平均値を有するシェーディング補正テーブルDから、差の平均値を有するシェーディング補正テーブルEを減算することにより、カメラ部(右)102のシェーディング補正テーブル(右)Bを生成する。   Then, the correction data decoding unit 105 adds the shading correction table D having the average value of the sum and the shading correction table E having the average value of the difference to thereby add the shading correction table (left) of the camera unit (left) 101. ) A is generated, and a shading correction table (right) B of the camera unit (right) 102 is generated by subtracting the shading correction table E having the average difference value from the shading correction table D having the average value of the sum. To do.

シェーディング補正部103は、補正データデコード部105から供給されたシェーディング補正テーブル(左)Aを用いてカメラ部(左)101の画像データ121をシェーディング補正し、シェーディング補正部104は、補正データデコード部105で生成されたシェーディング補正テーブル(右)Bを用いてカメラ部(右)102の画像データ122をシェーディング補正する。   The shading correction unit 103 performs shading correction on the image data 121 of the camera unit (left) 101 using the shading correction table (left) A supplied from the correction data decoding unit 105, and the shading correction unit 104 includes a correction data decoding unit. The image data 122 of the camera unit (right) 102 is subjected to shading correction using the shading correction table (right) B generated in 105.

フラッシュメモリ部108には、シェーディング補正テーブル(左)Aとシェーディング補正テーブル(右)Bの代わりに、シェーディング補正テーブル(左)Aと同一のデータ量を有するシェーディング補正テーブルDと、シェーディング補正テーブル(右)Bよりもデータ量の少ないシェーディング補正テーブルEが記憶されているので、シェーディング補正テーブルを記憶しておくフラッシュメモリ部108の容量、および、メモリ部106でシェーディング補正テーブルが占める容量を削減することができる。したがって、実施例1と同様の効果を得ることができる。   In the flash memory unit 108, instead of the shading correction table (left) A and the shading correction table (right) B, a shading correction table D having the same data amount as the shading correction table (left) A and a shading correction table ( Right) Since the shading correction table E having a smaller data amount than B is stored, the capacity of the flash memory unit 108 storing the shading correction table and the capacity occupied by the shading correction table in the memory unit 106 are reduced. be able to. Therefore, the same effect as in the first embodiment can be obtained.

[実施例4]
図6は、実施例4におけるシェーディング補正テーブルの構成例を説明する図である。
本実施例では、実施例3で説明したシェーディング補正テーブルDと、シェーディング補正テーブルEを圧縮した圧縮シェーディング補正テーブルD’、E’をフラッシュメモリ部108に記憶させておくことを特徴とする。
[Example 4]
FIG. 6 is a diagram illustrating a configuration example of the shading correction table in the fourth embodiment.
The present embodiment is characterized in that the shading correction table D described in the third embodiment and the compressed shading correction tables D ′ and E ′ obtained by compressing the shading correction table E are stored in the flash memory unit 108.

圧縮には、それぞれ一般的な手法のデータ圧縮技術を適用する。圧縮方法は可逆圧縮でもよく、また、非可逆圧縮でもよい。可逆圧縮の方法としては、例えばランレングス圧縮、ハフマン符号を用いる圧縮、LZSS圧縮等の方法を用いることができる。非可逆圧縮の方法としては、例えばJPEG圧縮方法を用いることができる。   A data compression technique of a general method is applied to each compression. The compression method may be lossless compression or lossy compression. As a lossless compression method, for example, a method such as run length compression, compression using a Huffman code, or LZSS compression can be used. As a lossy compression method, for example, a JPEG compression method can be used.

データ圧縮によって補正データをたとえば70%に圧縮できたとすると、シェーディング補正テーブルD’、E’は、それぞれ、
D’=1.875MB×0.7≒1.31MB
E’=0.78MB×0.7≒0.55MB
となる。
If the correction data can be compressed to 70% by data compression, for example, the shading correction tables D ′ and E ′ are respectively
D ′ = 1.875 MB × 0.7≈1.31 MB
E ′ = 0.78 MB × 0.7≈0.55 MB
It becomes.

上記、圧縮シェーディング補正テーブルD’と、圧縮シェーディング補正テーブルE’をシェーディング補正テーブルに持たせる。これらがあれば、メモリ部106から読み出した後に、補正データデコード部105において、逆圧縮(伸長)処理を行い、
D’×逆圧縮=D、E’×逆圧縮=E、
D+E=(A+B)/2+(A−B)/2=A
D−E=(A+B)/2−(A−B)/2=B
とすることで、シェーディング補正テーブル(左)Aと(右)Bを生成できる。これにより、補正データを元に戻して、左右それぞれのシェーディング補正を行うことができる。
The shading correction table has the compression shading correction table D ′ and the compression shading correction table E ′. If there are these, after reading from the memory unit 106, the correction data decoding unit 105 performs a reverse compression (decompression) process,
D ′ × reverse compression = D, E ′ × reverse compression = E,
D + E = (A + B) / 2 + (A−B) / 2 = A
D−E = (A + B) / 2− (A−B) / 2 = B
By doing so, the shading correction tables (left) A and (right) B can be generated. Thereby, the correction data can be returned to the original, and the left and right shading correction can be performed.

シェーディング補正テーブルを記憶しておくフラッシュメモリ部108の容量、および、メモリ部106においてシェーディング補正テーブルが占める容量は、下式により50%削減できる。
(D’+E’)/(A+B)≒1.86MB/3.75MB≒50%(50%削減)
The capacity of the flash memory unit 108 for storing the shading correction table and the capacity occupied by the shading correction table in the memory unit 106 can be reduced by 50% using the following equation.
(D ′ + E ′) / (A + B) ≈1.86 MB / 3.75 MB≈50% (50% reduction)

これにより、実施例1(25%減)よりも、さらに容量を削減することができる。
圧縮方法として、可逆と非可逆のどちらを選択するかは、撮像素子やレンズ等を含めた光学系の素性、及び、画像処理認識アプリケーションなどの機能やシステムからの要求を検討した上で決定される。
Thereby, the capacity can be further reduced as compared with the first embodiment (25% reduction).
Whether to select reversible or irreversible compression method is decided after considering the features of the optical system including the image sensor and lens, and the functions and system requirements of the image processing recognition application. The

[実施例5]
図7は、実施例5におけるシェーディング補正テーブルの構成例を説明する図である。
本実施例では、2つのシェーディング補正テーブルの差分を算出する前に、シェーディング補正テーブル(左)Aとシェーディング補正テーブル(右)Bに対して、それぞれ、一般的な手法のデータ圧縮技術を適用する。そして、データ圧縮によって生成された圧縮シェーディング補正テーブル(左)A’と圧縮シェーディング補正テーブル(右)B’に対して、新たな圧縮シェーディング補正テーブル(左右差分)Fを計算する。
[Example 5]
FIG. 7 is a diagram illustrating a configuration example of a shading correction table in the fifth embodiment.
In this embodiment, before calculating a difference between two shading correction tables, a data compression technique of a general method is applied to the shading correction table (left) A and the shading correction table (right) B, respectively. . Then, a new compression shading correction table (left-right difference) F is calculated with respect to the compression shading correction table (left) A ′ and the compression shading correction table (right) B ′ generated by data compression.

たとえば、ここでは、圧縮シェーディング補正テーブル(左)A’および、圧縮シェーディング補正テーブル(右)B’が圧縮前のものと比較してそれぞれ70%に圧縮できたとして、また、圧縮シェーディング補正テーブル(左右差分)Fのデータ量が、圧縮シェーディング補正テーブル(左)A’の半分になったとすると、このときの圧縮シェーディング補正テーブル(左右差分)Fのデータ量は、
F=A’ ×50%=A×70%×50%≒1.31MB×50%≒0.66MB
となる。
For example, here, it is assumed that the compression shading correction table (left) A ′ and the compression shading correction table (right) B ′ can be compressed to 70% compared to the one before compression, and the compression shading correction table ( If the data amount of the left / right difference) F is half of the compression shading correction table (left) A ′, the data amount of the compression shading correction table (left / right difference) F at this time is
F = A ′ × 50% = A × 70% × 50% ≈1.31 MB × 50% ≈0.66 MB
It becomes.

上記、圧縮シェーディング補正テーブル(左)A’と、圧縮シェーディング補正テーブル(左右差分)Fをフラッシュメモリ部108に記憶させておき、画像処理マイコン107により読み出してメモリ部106のシェーディング補正テーブル部113に記憶させる。したがって、メモリ部106から読み出した後に、補正データデコード部105において、
A’−F=A’ −(A’−B’)=B’
A’ ×逆圧縮=A、B’ ×逆圧縮=B、
とすることで、シェーディング補正テーブル(左)Aと(右)Bを生成できる。これにより、補正データを元に戻して、左右それぞれのシェーディング補正を行うことができる。
The compression shading correction table (left) A ′ and the compression shading correction table (left-right difference) F are stored in the flash memory unit 108, read by the image processing microcomputer 107, and stored in the shading correction table unit 113 of the memory unit 106. Remember me. Therefore, after reading from the memory unit 106, in the correction data decoding unit 105,
A′−F = A ′ − (A′−B ′) = B ′
A ′ × reverse compression = A, B ′ × reverse compression = B,
By doing so, the shading correction tables (left) A and (right) B can be generated. Thereby, the correction data can be returned to the original, and the left and right shading correction can be performed.

シェーディング補正テーブルを記憶しておくフラッシュメモリ部108の容量、および、メモリ部106においてシェーディング補正テーブルが占める容量は、下式により47%削減できる。
(A’+F)/(A+B)≒1.97MB/3.75MB≒53%(47%削減)
これにより、実施例1(25%減)よりも、さらに容量を削減することができる。
The capacity of the flash memory unit 108 for storing the shading correction table and the capacity occupied by the shading correction table in the memory unit 106 can be reduced by 47% using the following equation.
(A ′ + F) / (A + B) ≈1.97 MB / 3.75 MB≈53% (47% reduction)
Thereby, the capacity can be further reduced as compared with the first embodiment (25% reduction).

圧縮方法は可逆圧縮でも非可逆圧縮でも問わない。圧縮方法として、可逆と非可逆のどちらを選択するかは、撮像素子やレンズ等を含めた光学系の素性、及び、画像処理認識アプリケーションなどの機能やシステムからの要求を検討した上で決定される。   The compression method may be either lossless compression or lossy compression. Whether to select reversible or irreversible compression method is decided after considering the features of the optical system including the image sensor and lens, and the functions and system requirements of the image processing recognition application. The

本実施例は、シェーディング補正テーブル(左)Aと(右)Bを圧縮してからその差分である圧縮シェーディング補正テーブル(左右差分)Fを算出してフラッシュメモリ部108に記憶しているのに対して、実施例2では、シェーディング補正テーブル(左)Aと(右)Bとの差分であるシェーディング補正テーブル(左右差分)Cを算出してから圧縮し、その圧縮シェーディング補正テーブル(左右差分)C’をフラッシュメモリ部108に記憶している。このように、圧縮を先に行うか後で行うかは、光学系の素性によって選択することができる。   In this embodiment, after the shading correction tables (left) A and (right) B are compressed, a compression shading correction table (left / right difference) F, which is the difference between them, is calculated and stored in the flash memory unit 108. In contrast, in the second embodiment, a shading correction table (left / right difference) C, which is the difference between the shading correction table (left) A and (right) B, is calculated and then compressed, and the compressed shading correction table (left / right difference) is calculated. C ′ is stored in the flash memory unit 108. In this way, whether the compression is performed first or later can be selected depending on the characteristics of the optical system.

例えば、カメラ部(左)101とカメラ部(右)102の公差が少ない等の光学系の素性が良い場合には、左右で似たようなデータになるので、実施例2のように先に差分を算出して後で圧縮する方がデータ量を削減することができる。一方、カメラ部(左)101とカメラ部(右)102の公差が多い等の光学系の素性が悪い場合には、本実施例のように先に圧縮してから後で差分を算出する。   For example, when the features of the optical system are good, such as when the tolerance between the camera unit (left) 101 and the camera unit (right) 102 is small, similar data is obtained on the left and right. The amount of data can be reduced by calculating the difference and compressing it later. On the other hand, if the features of the optical system are poor, such as a large tolerance between the camera unit (left) 101 and the camera unit (right) 102, the difference is calculated after compression first as in this embodiment.

[実施例6]
図8は、実施例6におけるシェーディング補正テーブルの構成例を説明する図である。
本実施例において特徴的なことは、シェーディング補正テーブル(左右差分)Cを、複数のエリアに分割して、エリア別に補正データのデータ量を設定したことである。
[Example 6]
FIG. 8 is a diagram illustrating a configuration example of a shading correction table in the sixth embodiment.
What is characteristic in this embodiment is that the shading correction table (left-right difference) C is divided into a plurality of areas, and the amount of correction data is set for each area.

上記の実施例1では、シェーディング補正テーブル(左右差分)Cの全面に亘って補正データのデータ量を一定にしていた。そして、ステレオカメラのように左右のカメラ部が持つそれぞれの撮像素子、および、レンズを代表とする光学特性がほぼ等しいときには、左右のシェーディング補正テーブルは近い値になる特徴があるから、シェーディング補正テーブル(左)Aとシェーディング補正テーブル(右)Bとの差分値であるシェーディング補正テーブル(左右差分)Cは、もともとのデータbit数である、符号なし12bit/pixelよりも十分小さいbit数で表現できるとして、たとえば、符号付き6bitで表現できると説明した。   In the first embodiment, the amount of correction data is made constant over the entire surface of the shading correction table (left-right difference) C. When the optical characteristics represented by the left and right camera units, such as a stereo camera, and the lenses are substantially equal, the left and right shading correction tables have characteristics that are close to each other. (Left) A shading correction table (left / right difference) C, which is a difference value between A and the shading correction table (right) B, can be expressed by a sufficiently smaller number of bits than the original unsigned 12-bit / pixel. As described above, for example, it can be expressed by signed 6 bits.

このときのシェーディング補正テーブル(左右差分)Cのデータ量は、
C=A−B=1280×1024×6bit=0.9375MB
となった。
The data amount of the shading correction table (left-right difference) C at this time is
C = A−B = 1280 × 1024 × 6 bits = 0.9375 MB
It became.

本実施例では、シェーディング補正テーブル(左右差分)Cを複数のエリアに分割して、エリア別にbit数を持たせて補正データのデータ量を設定することにより、差分値を有するシェーディング補正テーブル(左右差分)C全体のデータ量を小さくし、フラッシュメモリ部108の容量、および、メモリ部106でシェーディング補正テーブルが占める容量を削減している。例えば、レンズを代表とする光学性能の特徴などから、エリアによっては差分データに対する必要なbit数を可変させることで、差分値を有するシェーディング補正テーブルのトータルのデータ量を、実施例1の0.9375MBよりも削減することができる。   In the present embodiment, the shading correction table (left / right difference) C is divided into a plurality of areas, and the amount of correction data is set by giving the number of bits for each area. Difference) The data amount of C as a whole is reduced, and the capacity of the flash memory unit 108 and the capacity occupied by the shading correction table in the memory unit 106 are reduced. For example, the total data amount of the shading correction table having the difference value can be set to 0. 0 of the first embodiment by changing the number of bits necessary for the difference data depending on the area from the characteristics of the optical performance represented by the lens. It can be reduced from 9375 MB.

本実施例では、シェーディング補正テーブル(左右差分)Cを、画像データの中央に配置される中央エリアC−4と、中央エリアC−4の左右に配置される左右エリアC−2と、中央エリアC−4の上下に配置される上下エリアC−3と、中央エリアC−4に対して左右両側でかつ斜め上方と斜め下方に配置される左右上下斜めエリアC−1に分割する。そして、中央エリアC−4、上下エリアC−3、左右エリアC−2、左右上下斜めエリアC−1の順番でデータbit数を増大させて、補正データのデータ量が大きくなるように設定する。   In the present embodiment, the shading correction table (left / right difference) C is divided into a central area C-4 arranged at the center of the image data, a left / right area C-2 arranged at the left and right of the central area C-4, and a central area. The area is divided into an upper and lower area C-3 disposed above and below C-4, and a left and right upper and lower oblique area C-1 disposed on both the left and right sides and obliquely above and below the central area C-4. Then, the number of data bits is increased in the order of the central area C-4, the upper and lower areas C-3, the left and right areas C-2, and the left and right upper and lower diagonal areas C-1, so that the amount of correction data is increased. .

画像データの中央は明るいので、カメラ部(左)101とカメラ部(右)102との間の差分は小さく、画像データの周辺は暗いのでノイズの影響を受けやすく、カメラ部(左)101とカメラ部(右)102との間の差分は大きい。したがって、シェーディング補正テーブル(左右差分)Cの中央のbit数を周辺のbit数よりも小さくすることができる。   Since the center of the image data is bright, the difference between the camera unit (left) 101 and the camera unit (right) 102 is small, and the periphery of the image data is dark and easily affected by noise. The difference from the camera unit (right) 102 is large. Therefore, the number of bits at the center of the shading correction table (left-right difference) C can be made smaller than the number of bits around.

また、撮像画像が横長の場合、縦方向よりも横方向の方が長いので差分が出やすい。したがって、シェーディング補正テーブル(左右差分)Cの縦方向周辺のbit数を横方向周辺のbit数よりも小さくすることができる。   Further, when the captured image is horizontally long, the difference is easily generated because the horizontal direction is longer than the vertical direction. Therefore, the number of bits around the vertical direction of the shading correction table (left-right difference) C can be made smaller than the number of bits around the horizontal direction.

これにより、例えばシェーディング補正テーブル(左右差分)Cを上述のように複数のエリアC−4〜C−1に分割して、エリアC−4〜C−1の順番で補正データのデータ量が大きくなるように設定することによって、シェーディング補正テーブルを記憶しておくフラッシュメモリ部108の容量、および、メモリ部106でシェーディング補正テーブルが占める容量を適切に削減することができる。   Thereby, for example, the shading correction table (left-right difference) C is divided into a plurality of areas C-4 to C-1 as described above, and the amount of correction data increases in the order of areas C-4 to C-1. By setting so as to be, the capacity of the flash memory unit 108 storing the shading correction table and the capacity occupied by the shading correction table in the memory unit 106 can be appropriately reduced.

なお、本実施例では、シェーディング補正テーブル(左右差分)Cを複数のエリアに分割する場合について説明したが、実施例3や実施例4における和の平均値を有するシェーディング補正テーブルDと差の平均値を有するシェーディング補正テーブルEにも適用することもできる。   In this embodiment, the case where the shading correction table (left-right difference) C is divided into a plurality of areas has been described. However, the shading correction table D having the average value of the sums in the third and fourth embodiments and the average difference. It can also be applied to a shading correction table E having a value.

[実施例7]
図9は、実施例7におけるシェーディング補正テーブルの構成例を説明する図である。
本実施例において特徴的なことは、シェーディング補正テーブル(左右差分)Cにおいて所定の画素サイズ毎に補正データの代表値が設定されていることである。
[Example 7]
FIG. 9 is a diagram illustrating a configuration example of a shading correction table in the seventh embodiment.
What is characteristic in this embodiment is that a representative value of correction data is set for each predetermined pixel size in the shading correction table (left-right difference) C.

上記の実施例1では、シェーディング補正テーブル(左右差分)Cは、撮像した画像データの各画素に対して、1画素毎に一対一となる補正データが設定されていた。そして、ステレオカメラのように、左右のカメラ部が持つそれぞれの撮像素子、および、レンズを代表とする光学特性がほぼ等しいときには、左右のシェーディング補正テーブルは近い値になる特徴があるから、シェーディング補正テーブル(左)Aとシェーディング補正テーブル(右)Bとの差分値であるシェーディング補正テーブル(左右差分C)は、もともとのデータbit数である、符号なし12bit/pixelよりも十分小さいbit数で表現できるとして、たとえば、符号付き6bitで表現できると説明した。   In the first embodiment, in the shading correction table (left-right difference) C, correction data that is set to be one-to-one for each pixel is set for each pixel of the captured image data. And, like a stereo camera, when the optical characteristics represented by the left and right camera units and the lenses are almost equal, the left and right shading correction tables are characterized by close values. A shading correction table (left-right difference C), which is a difference value between the table (left) A and the shading correction table (right) B, is expressed by a sufficiently smaller number of bits than the original unsigned 12-bit / pixel. For example, it has been described that it can be expressed in signed 6 bits.

このときのシェーディング補正テーブルCのデータ量は、
C=A−B=1280×1024×6bit=0.9375MB
となった。
The data amount of the shading correction table C at this time is
C = A−B = 1280 × 1024 × 6 bits = 0.9375 MB
It became.

本実施例では、画面の中で任意の画素サイズに着目し、隣り合う画素座標での補正データはほぼ同じような数値になる場合には、所定の画素サイズに代表値を設定することで、シェーディング補正テーブル(左右差分/代表値)Gのトータルのデータ量を0.9375MBよりも削減することができる。   In this embodiment, paying attention to an arbitrary pixel size in the screen, when correction data at adjacent pixel coordinates are substantially the same numerical value, by setting a representative value to a predetermined pixel size, The total data amount of the shading correction table (left-right difference / representative value) G can be reduced from 0.9375 MB.

たとえば、補正データを2×2画素につき1つの代表値とすると、データ量はさらに1/4になるので、
G=0.9375MB×(1/4)=0.23MB
となる。
For example, if the correction data is one representative value for 2 × 2 pixels, the data amount is further reduced to ¼.
G = 0.9375MB × (1/4) = 0.23MB
It becomes.

したがって、シェーディング補正テーブルを記憶しておくフラッシュメモリ部108の容量、および、メモリ部106でシェーディング補正テーブルが占める容量は、下式により44%削減できる。
(A+G)/(A+B)≒2.11MB/3.75MB≒56%(44%削減)
これにより、実施例1(25%減)よりも、さらに容量を削減することができる。
Therefore, the capacity of the flash memory unit 108 for storing the shading correction table and the capacity occupied by the shading correction table in the memory unit 106 can be reduced by 44% according to the following equation.
(A + G) / (A + B) ≈2.11 MB / 3.75 MB≈56% (44% reduction)
Thereby, the capacity can be further reduced as compared with the first embodiment (25% reduction).

なお、本実施例では、差分値を有するシェーディング補正テーブルを複数のエリアに分割する場合について説明したが、実施例3や実施例4における和の平均値を有するシェーディング補正テーブルと差の平均値を有するシェーディング補正テーブルにも適用することもできる。   In the present embodiment, the case where the shading correction table having the difference value is divided into a plurality of areas has been described, but the shading correction table having the average value of the sum in the third and fourth embodiments and the average value of the difference are used. The present invention can also be applied to a shading correction table having the same.

また、本実施例では、シェーディング補正テーブル(左右差分)Cの全面に亘って一律に補正データを2×2画素につき1つの代表値とする場合について説明したが、その位置に応じて画素の数を変更してもよい。例えば、シェーディング補正テーブル(左右差分)Cの中央は、ほぼ似たような補正データが多く集まっているので、3×3画素につき一つの代表値とし、周辺は2×2画素につき一つの代表値としてもよい。   Further, in the present embodiment, a case has been described in which correction data is uniformly set to one representative value per 2 × 2 pixels over the entire surface of the shading correction table (left / right difference) C, but the number of pixels depends on the position. May be changed. For example, in the center of the shading correction table (left-right difference) C, a lot of similar correction data is gathered, so one representative value for 3 × 3 pixels and one representative value for 2 × 2 pixels in the periphery. It is good.

以上、本発明の実施形態について詳述したが、本発明は、前記の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の精神を逸脱しない範囲で、種々の設計変更を行うことができるものである。例えば、前記した実施の形態は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施形態の構成の一部を他の実施形態の構成に置き換えることが可能であり、また、ある実施形態の構成に他の実施形態の構成を加えることも可能である。さらに、各実施形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   Although the embodiments of the present invention have been described in detail above, the present invention is not limited to the above-described embodiments, and various designs can be made without departing from the spirit of the present invention described in the claims. It can be changed. For example, the above-described embodiment has been described in detail for easy understanding of the present invention, and is not necessarily limited to one having all the configurations described. Further, a part of the configuration of an embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of an embodiment. Furthermore, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

101 カメラ部(左)
102 カメラ部(右)
103 シェーディング補正部
104 シェーディング補正部
105 補正データデコード部(補正テーブル生成部)
106 メモリ部
107 画像処理マイコン
108 フラッシュメモリ部
111、112 画像データ部
113、114 シェーディング補正テーブル部
121、122 画像データ
123、124 シェーディング補正後の画像データ
125 取り込み画像データ
131、132 シェーディング補正テーブル
133、134 圧縮シェーディング補正データ
235 シェーディングテーブルデータ
236 シェーディングテーブルデータ
301 撮像画像(シェーディング補正前の画像データ)
302 シェーディング補正テーブル
303 シェーディング補正後の画像データ
101 Camera section (left)
102 Camera (right)
103 Shading correction unit 104 Shading correction unit 105 Correction data decoding unit (correction table generation unit)
106 Memory unit 107 Image processing microcomputer 108 Flash memory unit 111, 112 Image data unit 113, 114 Shading correction table unit 121, 122 Image data 123, 124 Image data after shading correction 125 Captured image data 131, 132 Shading correction table 133, 134 Compression shading correction data 235 Shading table data 236 Shading table data 301 Captured image (image data before shading correction)
302 Shading correction table 303 Image data after shading correction

Claims (8)

2つのカメラ部で撮像された画像データをそれぞれシェーディング補正するシェーディング補正部と、
一方のカメラ部の補正テーブルと他方のカメラ部の補正テーブルとの差分値または平均値を有する補正テーブルを記憶するメモリ部と、
前記差分値または平均値を有する補正テーブルから前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルの少なくとも一方を生成する補正テーブル生成部と、を有し、
前記シェーディング補正部は、前記補正テーブル生成部により生成した補正テーブルを用いて前記画像データをシェーディング補正し、
前記差分値または平均値を有する補正テーブルは、一方のカメラ部の補正テーブルおよび他方のカメラ部の補正テーブルよりも小さいデータbit数で前記差分値または平均値を表現する
ことを特徴とする車載カメラ画像処理装置。
A shading correction unit for correcting shading of image data captured by two camera units,
A memory unit for storing a correction table having a difference value or an average value between the correction table of one camera unit and the correction table of the other camera unit;
A correction table generating unit that generates at least one of the correction table of the one camera unit and the correction table of the other camera unit from the correction table having the difference value or the average value;
The shading correction unit performs shading correction on the image data using the correction table generated by the correction table generation unit ,
The in-vehicle camera characterized in that the correction table having the difference value or the average value represents the difference value or the average value with a smaller number of data bits than the correction table of one camera unit and the correction table of the other camera unit. Image processing device.
前記メモリ部は、前記差分値を有する補正テーブルと、前記一方のカメラ部の補正テーブルと、を記憶し、
前記補正テーブル生成部は、前記差分値を有する補正テーブルと前記一方のカメラ部の補正テーブルを用いて前記他方のカメラ部の補正テーブルを生成し、
前記シェーディング補正部は、前記補正テーブル生成部により生成した前記他方のカメラ部の補正テーブルを用いて前記他方のカメラ部の画像データをシェーディング補正し、前記メモリ部に記憶されている前記一方のカメラ部の補正テーブルを用いて前記一方のカメラ部の画像データをシェーディング補正することを特徴とする請求項1に記載の車載カメラ画像処理装置。
The memory unit stores a correction table having the difference value and a correction table of the one camera unit,
The correction table generation unit generates the correction table of the other camera unit using the correction table having the difference value and the correction table of the one camera unit,
The shading correction unit performs shading correction on image data of the other camera unit using the correction table of the other camera unit generated by the correction table generation unit, and stores the one camera stored in the memory unit The in-vehicle camera image processing apparatus according to claim 1, wherein the image data of the one camera unit is subjected to shading correction using a correction table of the unit.
前記一方のカメラ部の補正テーブルは、前記一方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データを有し、
前記差分値を有する補正テーブルは、前記一方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データと、前記他方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データとの差分を補正データとして有し、
前記補正テーブル生成部は、前記差分値を有する補正テーブルの補正データと、前記一方のカメラ部の補正テーブルの補正データとを減算することにより、前記他方のカメラ部の補正テーブルを生成することを特徴とする請求項2に記載の車載カメラ画像処理装置。
The correction table of the one camera unit has correction data set for each pixel with respect to a plurality of pixels of the one camera unit,
The correction table having the difference value includes correction data set for each pixel of a plurality of pixels included in the one camera unit, and pixel-by-pixel correction for a plurality of pixels included in the other camera unit. Has the difference from the set correction data as correction data,
The correction table generation unit generates the correction table of the other camera unit by subtracting the correction data of the correction table having the difference value from the correction data of the correction table of the one camera unit. The in-vehicle camera image processing device according to claim 2, wherein
前記メモリ部は、前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルとの和の平均値を有する補正テーブルと、前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルとの差の平均値を有する補正テーブルを記憶し、
前記補正テーブル生成部は、前記和の平均値を有する補正テーブルと前記差の平均値を有する補正テーブルを用いて前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルを生成し、
前記シェーディング補正部は、前記補正テーブル生成部により生成した前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルを用いて前記画像データをシェーディング補正することを特徴とする請求項1に記載の車載カメラ画像処理装置。
The memory unit includes a correction table having an average value of a sum of the correction table of the one camera unit and the correction table of the other camera unit, and the correction table of the one camera unit and the correction of the other camera unit. Storing a correction table having an average value of differences from the table;
The correction table generation unit generates a correction table of the one camera unit and a correction table of the other camera unit using a correction table having the average value of the sum and a correction table having the average value of the difference,
2. The shading correction unit according to claim 1, wherein the image data is subjected to shading correction using the correction table of the one camera unit and the correction table of the other camera unit generated by the correction table generation unit. The on-vehicle camera image processing apparatus described.
前記一方のカメラ部の補正テーブルは、前記一方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データを有し、
前記他方のカメラ部の補正テーブルは、前記他方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データを有し、
前記和の平均値を有する補正テーブルは、前記一方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データと、前記他方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データとの和を2で除算した値を補正データとして有し、
前記差の平均値を有する補正テーブルは、前記一方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データと、前記他方のカメラ部が有する複数の画素に対して1画素毎に設定された補正データとの差を2で除算した値を補正データとして有し、
前記補正テーブル生成部は、前記和の平均値を有する補正テーブルの補正データと、前記差の平均値を有する補正テーブルの補正データとを加算することにより、前記一方のカメラ部の補正テーブルを生成し、前記和の平均値を有する補正テーブルの補正データから前記差の平均値を有する補正テーブルの補正データを減算することにより、前記他方のカメラ部の補正テーブルを生成することを特徴とする請求項4に記載の車載カメラ画像処理装置。
The correction table of the one camera unit has correction data set for each pixel with respect to a plurality of pixels of the one camera unit,
The correction table of the other camera unit has correction data set for each pixel with respect to a plurality of pixels of the other camera unit,
The correction table having the average value of the sum includes correction data set for each of the plurality of pixels of the one camera unit and one pixel for the plurality of pixels of the other camera unit. The correction data is a value obtained by dividing the sum of the correction data set for each time by 2 and
The correction table having the average value of the differences includes correction data set for each of the plurality of pixels of the one camera unit and one pixel for the plurality of pixels of the other camera unit. A value obtained by dividing the difference from the correction data set every time by 2 is provided as correction data.
The correction table generation unit generates the correction table of the one camera unit by adding the correction data of the correction table having the average value of the sum and the correction data of the correction table having the average value of the difference The correction table of the other camera unit is generated by subtracting the correction data of the correction table having the average value of the difference from the correction data of the correction table having the average value of the sum. Item 5. The on-vehicle camera image processing device according to Item 4.
2つのカメラ部で撮像された画像データをそれぞれシェーディング補正するシェーディング補正部と、
一方のカメラ部の補正テーブルと他方のカメラ部の補正テーブルとの差分値または平均値を有する補正テーブルを記憶するメモリ部と、
前記差分値または平均値を有する補正テーブルから前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルの少なくとも一方を生成する補正テーブル生成部と、を有し、
前記シェーディング補正部は、前記補正テーブル生成部により生成した補正テーブルを用いて前記画像データをシェーディング補正し、
前記差分値または平均値を有する補正テーブルは、前記画像データを複数のエリアに分割したエリア別に、補正データのデータ量が設定されていることを特徴とする載カメラ画像処理装置。
A shading correction unit for correcting shading of image data captured by two camera units,
A memory unit for storing a correction table having a difference value or an average value between the correction table of one camera unit and the correction table of the other camera unit;
A correction table generating unit that generates at least one of the correction table of the one camera unit and the correction table of the other camera unit from the correction table having the difference value or the average value;
The shading correction unit performs shading correction on the image data using the correction table generated by the correction table generation unit,
Correction table having the difference value or the average value, the image data for each divided area into a plurality of areas, car mounting a camera image processing apparatus, characterized in that the data amount is set in the correction data.
前記差分値または平均値を有する補正テーブルは、前記画像データの中央に配置される中央エリアと、該中央エリアの左右に配置される左右エリアと、前記中央エリアの上下に配置される上下エリアと、前記中央エリアに対して左右両側でかつ斜め上方と斜め下方に配置される左右上下斜めエリアに分割されており、前記中央エリア、前記上下エリア、前記左右エリア、左右上下斜めエリアの順番で前記補正データのデータ量が大きくなるように設定されていることを特徴とする請求項6に記載の車載カメラ画像処理装置。   The correction table having the difference value or the average value includes a central area arranged at the center of the image data, left and right areas arranged at the left and right of the central area, and upper and lower areas arranged above and below the central area. , Is divided into left and right upper and lower diagonal areas arranged on both left and right sides and diagonally above and below the central area, and in the order of the central area, the upper and lower areas, the left and right areas, and the left and right upper and lower diagonal areas. The in-vehicle camera image processing apparatus according to claim 6, wherein the correction data is set to have a large data amount. 2つのカメラ部で撮像された画像データをそれぞれシェーディング補正するシェーディング補正部と、
一方のカメラ部の補正テーブルと他方のカメラ部の補正テーブルとの差分値または平均値を有する補正テーブルを記憶するメモリ部と、
前記差分値または平均値を有する補正テーブルから前記一方のカメラ部の補正テーブルと前記他方のカメラ部の補正テーブルの少なくとも一方を生成する補正テーブル生成部と、を有し、
前記シェーディング補正部は、前記補正テーブル生成部により生成した補正テーブルを用いて前記画像データをシェーディング補正し、
前記差分値または平均値を有する補正テーブルは、所定の画素サイズ毎に補正データの代表値が設定されていることを特徴とする載カメラ画像処理装置。
A shading correction unit for correcting shading of image data captured by two camera units,
A memory unit for storing a correction table having a difference value or an average value between the correction table of one camera unit and the correction table of the other camera unit;
A correction table generating unit that generates at least one of the correction table of the one camera unit and the correction table of the other camera unit from the correction table having the difference value or the average value;
The shading correction unit performs shading correction on the image data using the correction table generated by the correction table generation unit,
Correction table having the difference value or the average value, the car mounting a camera image processing apparatus, characterized in that the representative value of the correction data for each predetermined pixel size is set.
JP2015067276A 2015-03-27 2015-03-27 In-vehicle camera image processing device Active JP6225137B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015067276A JP6225137B2 (en) 2015-03-27 2015-03-27 In-vehicle camera image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015067276A JP6225137B2 (en) 2015-03-27 2015-03-27 In-vehicle camera image processing device

Publications (2)

Publication Number Publication Date
JP2016187149A JP2016187149A (en) 2016-10-27
JP6225137B2 true JP6225137B2 (en) 2017-11-01

Family

ID=57202687

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015067276A Active JP6225137B2 (en) 2015-03-27 2015-03-27 In-vehicle camera image processing device

Country Status (1)

Country Link
JP (1) JP6225137B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7411499B2 (en) 2020-05-08 2024-01-11 株式会社Subaru Image processing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3407368B2 (en) * 1993-12-01 2003-05-19 松下電器産業株式会社 Image data detection screen division method and imaging apparatus
JP3571828B2 (en) * 1995-10-27 2004-09-29 本田技研工業株式会社 Environment recognition device for vehicles
JP4021026B2 (en) * 1998-01-29 2007-12-12 富士重工業株式会社 Stereo image processing system

Also Published As

Publication number Publication date
JP2016187149A (en) 2016-10-27

Similar Documents

Publication Publication Date Title
US20160286075A1 (en) Imaging systems with embedded data transmission capabilities
US10051276B2 (en) Image encoding apparatus, method and imaging apparatus
US11669942B2 (en) Image de-warping system
US10621706B2 (en) Device for recording information about defective pixels, and defective pixel value correction device and method
JP5615155B2 (en) Image processing apparatus and method
US9900533B2 (en) Image processing apparatus and method, and image capturing apparatus
US8787689B2 (en) Apparatus and method for correction of distortion in digital image data
US20110187903A1 (en) Digital photographing apparatus for correcting image distortion and image distortion correcting method thereof
JP6225137B2 (en) In-vehicle camera image processing device
JP2014123846A (en) Imaging apparatus and imaging method
US20180270431A1 (en) Imaging apparatus, correction method for defective pixel, and computer readable storage medium
US10748305B2 (en) Image capturing apparatus that can reduce amount of data that is to be recorded, method for controlling the image capturing apparatus, and storage medium
US8824818B2 (en) Imaging apparatus and image processing method
CN105100587A (en) Image capturing apparatus and control method thereof
JP2012015982A (en) Method for deciding shift amount between videos
JP2013126101A (en) Imaging device and imaging method
US11823417B2 (en) Camera module, image processing system and image compression method
US20220020180A1 (en) Image compression method using saturated pixel, encoder, and electronic device
JP6123691B2 (en) Image processing apparatus, image processing method, and imaging apparatus
US10382771B2 (en) Image processing apparatus
KR102370881B1 (en) An electronic device and a method capable of compressing an image based on a property of an image data
KR102471978B1 (en) Apparatus for supporting image data compression by correcting error data and method thereof
JP2010147709A (en) Image processing apparatus
KR101923971B1 (en) Imaging device and image processing method
CN115552457A (en) Method and apparatus for noise reduction, and computer usable medium storing software for implementing the method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161118

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170706

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170711

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170908

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170926

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171006

R150 Certificate of patent or registration of utility model

Ref document number: 6225137

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350