JP2002094977A - Image processing unit - Google Patents
Image processing unitInfo
- Publication number
- JP2002094977A JP2002094977A JP2000279852A JP2000279852A JP2002094977A JP 2002094977 A JP2002094977 A JP 2002094977A JP 2000279852 A JP2000279852 A JP 2000279852A JP 2000279852 A JP2000279852 A JP 2000279852A JP 2002094977 A JP2002094977 A JP 2002094977A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- image pickup
- image
- imaging
- image processing
- 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
Links
- 238000012545 processing Methods 0.000 title claims abstract description 45
- 230000003287 optical effect Effects 0.000 claims abstract description 33
- 230000004044 response Effects 0.000 claims abstract description 4
- 238000003384 imaging method Methods 0.000 claims description 40
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 12
- 238000005259 measurement Methods 0.000 description 7
- 238000012937 correction Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
- Image Analysis (AREA)
- Image Input (AREA)
- Image Processing (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は画像処理装置、特に
車両に搭載され車両の周辺の道路状況等をビデオカメラ
にて監視するのに適した画像処理装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus which is mounted on a vehicle and which is suitable for monitoring road conditions around the vehicle with a video camera.
【0002】[0002]
【従来の技術】上記のような画像処理装置は、前方を走
行する車両との間の車間距離が十分でなくなったことを
検知して運転者にアラーム音を発したり、あるいはレー
ンマークから外れて車両が走行し始めたときに同様に運
転者にアラーム音を発したりするために用いることがで
きる。2. Description of the Related Art An image processing apparatus as described above detects that the inter-vehicle distance to a vehicle traveling in front is not sufficient and issues an alarm sound to a driver, or the driver loses a lane mark. It can also be used to emit an alarm sound to the driver when the vehicle starts running.
【0003】また車両が前進する場合のみならず、後退
する場合において後方確認のためにその画像処理装置を
利用することもできる。画像処理装置は上述のように車
両の周辺の他の車両、レーンマーク等の道路状況を画像
として捉え、さらにその道路状況を認識する機能を果
す。すなわち画像認識である。[0003] The image processing apparatus can be used not only when the vehicle is moving forward but also when the vehicle is moving backward to confirm the rearward direction. As described above, the image processing device has a function of capturing road conditions such as other vehicles around the vehicle and lane marks as images and further recognizing the road conditions. That is, image recognition.
【0004】この画像認識のために、ビデオカメラと、
このビデオカメラからの撮像信号を一旦格納するメモリ
と、このメモリからその撮像信号を読み出して所定の処
理を行うCPUとが必須の構成要素となる。For this image recognition, a video camera and
An essential component is a memory for temporarily storing an image signal from the video camera, and a CPU for reading the image signal from the memory and performing predetermined processing.
【0005】[0005]
【発明が解決しようとする課題】画像処理装置における
上記の構成要素のうち特にメモリに着目すると、該装置
全体の所要コストのうち該メモリに必要なコストは安価
ではない。この場合、そのメモリに要するコストは一般
にそのメモリ容量に比例する。ところが上記ビデオカメ
ラの撮像信号をA/D変換して得たデータ量はかなり大
きいために上記のメモリ容量も大となり、したがってメ
モリに要するコストを低く抑えることが難しい、という
第1の問題がある。When attention is paid to the memory among the above components in the image processing apparatus, the cost required for the memory is not inexpensive among the costs required for the entire apparatus. In this case, the cost required for the memory is generally proportional to the memory capacity. However, there is a first problem that the amount of data obtained by A / D conversion of the image pickup signal of the video camera is considerably large, so that the memory capacity becomes large, and it is difficult to reduce the cost required for the memory. .
【0006】一方次のような問題もある。上記画像装置
における上記の構成要素のうち特にビデオカメラに着目
すると、このビデオカメラを構成するステレオカメラの
光軸にズレが生じるのが普通である。この光軸のズレを
補正するために、工場出荷時にテストパターンを用いて
光軸ズレ量を測定しマニュアルで補正するということを
行っていた。しかし多大な時間と人手を要するので実用
にはならない。そこでその光軸ズレ量を上記のCPUに
入力し、例えば前方を走行する車両の画像面上での位置
データに対してその光軸ズレ量を加算/減算するという
演算を行っている。しかしそうするとCPUにかかる負
荷は大となり、画像処理速度が遅くなる、という第2の
問題が生じる。On the other hand, there is the following problem. When attention is paid particularly to a video camera among the above components of the image apparatus, it is common that a deviation occurs in the optical axis of a stereo camera constituting the video camera. In order to correct the deviation of the optical axis, the amount of deviation of the optical axis is measured by using a test pattern at the time of shipment from a factory, and is manually corrected. However, it is not practical because it requires a lot of time and labor. Therefore, the optical axis shift amount is input to the CPU, and an operation of adding / subtracting the optical axis shift amount to, for example, position data on an image plane of a vehicle traveling ahead is performed. However, this causes a second problem that the load on the CPU increases and the image processing speed decreases.
【0007】したがって本発明の目的は上記問題点に鑑
み、メモリが有すべきメモリ容量を少なくし、また、画
像処理速度を低下させずに光軸ズレの補正が行える画像
処理装置を提供することを目的とするものである。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an image processing apparatus capable of reducing the memory capacity of a memory and correcting an optical axis shift without lowering the image processing speed. It is intended for.
【0008】[0008]
【課題を解決するための手段】図1は本発明の基本構成
を示すブロック図である。本図において、本発明の前提
となる画像処理装置は、撮像対象OBを撮影するビデオ
カメラ11と、ビデオカメラ11からの撮像信号Sを格
納するメモリ13と、メモリ13から読み出した撮像信
号Sに対して所定の処理を行うCPU14とを備える画
像処理装置である。なお、参照番号20は、メモリ13
やCPU14等の他に付帯回路部分(図2参照)を含む
演算処理部である。FIG. 1 is a block diagram showing the basic configuration of the present invention. In the figure, an image processing apparatus as a premise of the present invention includes a video camera 11 for capturing an image of an object OB, a memory 13 for storing an image signal S from the video camera 11, and an image signal S read from the memory 13. The image processing apparatus includes a CPU 14 that performs predetermined processing on the image processing apparatus. Note that the reference number 20 corresponds to the memory 13.
It is an arithmetic processing unit that includes an auxiliary circuit part (see FIG. 2) in addition to the CPU 14 and the like.
【0009】ここに注目すべき本発明の特徴は、ビデオ
カメラ11とメモリ13との間に挿入される選択書込み
手段12にある。この選択書込み手段13は、CPU1
3からの選択指令Cに応じて、ビデオカメラ11からの
撮像信号Sのうち所定の部分のみを選択し、その選択撮
像信号S′のみをメモリ13に書き込む、という選択書
込み動作を行うものである。A feature of the present invention to be noted here lies in the selective writing means 12 inserted between the video camera 11 and the memory 13. This selective writing means 13 is
In response to a selection command C from the camera 3, only a predetermined portion of the imaging signal S from the video camera 11 is selected, and only the selected imaging signal S ′ is written in the memory 13. .
【0010】従来はこのような選択書込み手段12はな
く、ビデオカメラ11からの撮像信号Sは全て、A/D
変換後、撮像データとしてメモリ13に直接格納されて
いた。このため、既述の第1の問題を生じさせていた。
また、従来はビデオカメラ11内に生ずる既述の光軸ズ
レを、例えばROM15に予め格納し、上記の画像デー
タに対してその光軸ズレ量をCPU14にて画素毎に加
算/減算することにより、光軸ズレ補正を実行してい
た。このため既述の第2の問題を生じさせていた。Conventionally, there is no such selective writing means 12, and all the imaging signals S from the video camera 11 are A / D
After the conversion, the image data was directly stored in the memory 13. For this reason, the above-described first problem has occurred.
Conventionally, the above-described optical axis shift occurring in the video camera 11 is stored in advance in, for example, the ROM 15 and the optical axis shift amount is added / subtracted for each pixel by the CPU 14 with respect to the image data. , The optical axis deviation correction was executed. For this reason, the above-described second problem has been caused.
【0011】しかし本発明によれば、選択指令CをCP
U14から選択書込み手段12に与えるだけで、所定の
処理に最低限必要な選択撮像信号S′のみをメモリ13
に格納するので、そのメモリ容量は少なくて済む(第1
の問題の解消)。また、ROM15のデータ(光軸ズレ
量)に基づく選択指令CをCPU14から選択書込み手
段12に与えるだけで、光軸ズレを補正したのと等価な
撮像エリアからの選択撮像信号S′をメモリ13に格納
することができる(第2の問題の解消)。However, according to the present invention, the selection command C
Only the selected image pickup signal S ′ necessary for a predetermined process is stored in the memory
, The memory capacity is small (first
Problem). Further, only by giving the selection command C based on the data (optical axis shift amount) of the ROM 15 from the CPU 14 to the selective writing means 12, the selected image pickup signal S ′ from the image pickup area equivalent to the correction of the optical axis shift is stored in the memory 13. (Solution of the second problem).
【0012】具体的な選択指令Cの態様については後述
する。A specific mode of the selection command C will be described later.
【0013】[0013]
【発明の実施の形態】図2は図1に示す基本構成の一具
体例を示す図である。本図において、画像処理装置10
は、図1のとおり、ビデオカメラ11と演算処理部20
とからなる。ビデオカメラ11はレンズ21や撮像素子
22等を含む。このビデオカメラ11は例えば、車両内
のルームミラーのところに取り付けられ、および/また
は、車両のリアウィンドウ中央付近に取り付けられる。FIG. 2 is a diagram showing a specific example of the basic configuration shown in FIG. In the figure, the image processing apparatus 10
Is a video camera 11 and an arithmetic processing unit 20 as shown in FIG.
Consists of The video camera 11 includes a lens 21, an image sensor 22, and the like. The video camera 11 is mounted, for example, at a rearview mirror in the vehicle and / or near the center of the rear window of the vehicle.
【0014】このビデオカメラ11からのアナログの撮
像信号Sは、演算処理部20に入力され、まず、アンプ
23にてこれを増幅し、さらに、ADC(Analog
/Digital Converter)24にてディ
ジタルの撮像信号Sd に変換する。ここで本発明を特徴
づける図1の選択書込み手段12は、一具体例として、
メモリI/F制御回路25として示されている。メモリ
I/F制御回路25は、CPU14による選択指令Cの
もとで、メモリ13へのデータ(撮像信号Sd )の書込
みを制御する。またCPU25への読出しを制御する。
なお該回路25はさらに他の制御も行う。The analog image pickup signal S from the video camera 11 is input to an arithmetic processing unit 20, where the signal is first amplified by an amplifier 23, and then the signal is further converted to an ADC (Analog).
/ Digital Converter) for converting at 24 into a digital image signal S d. Here, the selective writing means 12 of FIG.
This is shown as a memory I / F control circuit 25. The memory I / F control circuit 25 controls the writing of data (imaging signal S d ) to the memory 13 under the selection command C from the CPU 14. It also controls reading to the CPU 25.
The circuit 25 also performs other controls.
【0015】図3は選択書込み手段12の動作の概略を
図解的に示す図である。本図に示すように、選択書込み
手段12は、CPU14からの選択指令Cに応じて、撮
像信号Sd により規定される撮像面26内のエリアであ
って所定の処理に必要なエリアaに相当する部分の撮像
信号を選択し、これを選択撮像信号S′とするものであ
る。FIG. 3 is a diagram schematically showing an outline of the operation of the selective writing means 12. As shown in the figure, selective writing means 12, in response to the selection command C from the CPU 14, corresponding to area a necessary a area in the imaging plane 26 defined by the imaging signal S d predetermined processing The selected imaging signal is selected as a selected imaging signal S '.
【0016】図4はステレオカメラの光軸のズレについ
て説明するための斜視図である。本図は既述した第2の
問題に特に関係する。本図において、前述のビデオカメ
ラ11はステレオカメラ31からなり、左カメラと右カ
メラとで構成される。左カメラ(右カメラも同じ)は、
カメラ基板32L(32R)上に形成されたセンサチッ
プよりなる撮像素子22L(22R)と、これに前方の
車両Vの像を結像するレンズ21L(21R)とからな
る。FIG. 4 is a perspective view for explaining the deviation of the optical axis of the stereo camera. This figure relates particularly to the second problem already described. In the figure, the above-mentioned video camera 11 comprises a stereo camera 31 and is composed of a left camera and a right camera. The left camera (same for the right camera)
An image sensor 22L (22R) composed of a sensor chip formed on a camera substrate 32L (32R), and a lens 21L (21R) that forms an image of the vehicle V ahead on the image sensor 22L (22R).
【0017】ステレオカメラ31は機械的機構部分も含
んでおり、このために例えば図中の上下左右方向の矢印
で示す少なくとも一つの方向に、光軸33にズレを生ず
る。図5は光軸ズレによる測距誤差を分かり易く示すグ
ラフである。本グラフの縦軸は光軸ズレに伴う画素ズレ
量を示し、横軸はその画素ズレに伴う測距誤差(m)を
示す。The stereo camera 31 also includes a mechanical mechanism, so that the optical axis 33 is shifted, for example, in at least one direction indicated by arrows in the vertical and horizontal directions in the figure. FIG. 5 is a graph showing the distance measurement error due to the optical axis shift in an easily understandable manner. The vertical axis of this graph indicates the pixel shift amount due to the optical axis shift, and the horizontal axis indicates the distance measurement error (m) due to the pixel shift.
【0018】このグラフに示すところによれば、わずか
1画素分のずれが11.0m〜13.0mというきわめ
て大きな誤差を生じさせることが分かる。この光軸ズレ
を補正すべく、従来は工場出荷時にその光軸ズレ量(画
素ズレ量)をROM15に記録しておいて、CPU14
が加算/減算演算により測距データに対して補正を加え
るということが行われていた。しかしこれはCPU14
の負荷を著しく増大させ、処理時間が増大してしまうと
いう問題があった(前述)。According to this graph, it can be understood that a shift of only one pixel causes an extremely large error of 11.0 to 13.0 m. Conventionally, in order to correct this optical axis shift, the optical axis shift amount (pixel shift amount) is recorded in the ROM 15 at the time of shipment from the factory, and the CPU 14
Have added correction to the distance measurement data by addition / subtraction operations. But this is CPU14
However, there has been a problem that the load on the device significantly increases and the processing time increases (as described above).
【0019】そこで本発明は発想を転換し、図3を参照
すると、撮像面26に対してエリアaの位置を全体に光
軸ズレ量分だけずらすことにし、ずらしたエリアから読
み出した画像データ(Sd )を、メモリ13へ選択撮像
信号S′として格納しておけば、CPU14は光軸ズレ
量を全く気にすることなく、正しい測距データを出力す
ることができる。Therefore, the present invention changes the idea. Referring to FIG. 3, the position of the area "a" is entirely shifted by the amount of the optical axis shift with respect to the imaging surface 26, and the image data ( If S d ) is stored as the selected image pickup signal S ′ in the memory 13, the CPU 14 can output correct distance measurement data without worrying about the optical axis shift amount.
【0020】図6は光軸ズレをエリアaの位置をずらす
ことにより補正する様子を示す図である。参照番号34
はディスプレイであり、例えばナビゲーション装置のデ
ィスプレイを流用している。このディスプレイ34内
に、図3に示した前述の撮像面26が現れ、その内部に
本発明に基づくエリアaが設定される。FIG. 6 is a diagram showing how the optical axis shift is corrected by shifting the position of the area a. Reference number 34
Denotes a display, for example, a display of a navigation device is used. In the display 34, the above-described imaging surface 26 shown in FIG. 3 appears, and an area a according to the present invention is set therein.
【0021】本発明によれば、図4に示した、光軸ズレ
を表す上下左右の両矢印に相当するズレを補償するよう
に、図6に示す各矢印の少なくとも一つの方向にシフト
してエリアaを定義し、このエリアaに対応する選択撮
像信号S′をメモリ13に格納する。CPU14はその
メモリ13からシフト後のエリアaに対応する選択撮像
信号S′を読み出し、所定の処理すなわち測距演算を行
う。これは周知の三角測量の原理に従って行われる。According to the present invention, a shift is made in at least one direction of each arrow shown in FIG. 6 so as to compensate for the shift corresponding to the up, down, left and right arrows indicating the optical axis shift shown in FIG. An area a is defined, and a selected imaging signal S ′ corresponding to the area a is stored in the memory 13. The CPU 14 reads the selected image pickup signal S 'corresponding to the shifted area a from the memory 13 and performs a predetermined process, that is, a distance measurement operation. This is done according to the well-known principle of triangulation.
【0022】以上を要約すると、本発明に係る選択書込
み手段12は、ビデオカメラ11を構成するステレオカ
メラ31の光軸33のズレを予め測定して得た光軸ズレ
量を例えばROM15内に保持し、この光軸ズレ量に応
じて測距等の所定の処理に必要なエリアaを撮像面26
内でシフトさせることを特徴とするものである。選択指
令Cは、上述した光軸ズレ補正のための指令(第1の選
択指令)のみならず、種々の目的に応じたそれぞれの指
令として、CPU14が発行する。後者の例をいくつか
説明する。In summary, the selective writing means 12 according to the present invention stores the optical axis shift amount obtained by measuring the shift of the optical axis 33 of the stereo camera 31 constituting the video camera 11 in advance in, for example, the ROM 15. Then, an area a necessary for a predetermined process such as a distance measurement is set to the imaging surface 26 according to the optical axis shift amount.
It is characterized in that it is shifted within. The selection command C is issued by the CPU 14 as not only the above-described command for the optical axis deviation correction (first selection command) but also each command corresponding to various purposes. Some examples of the latter will be described.
【0023】図7は第2の選択指令の機能を図解的に示
す図である。選択書込み手段12は、第2の選択指令C
に基づき、撮像面26のうち、その下半分のエリアaに
相当する部分の撮像信号Sd を選択し、これを選択撮像
信号S′とする。すなわち、640×480画素のう
ち、ビデオカメラ11が撮影している下半分の640×
240画素のみをメモリ13に格納する。FIG. 7 is a diagram schematically showing the function of the second selection command. The selection writing means 12 outputs the second selection command C
Based on, in the imaging surface 26, selects the imaging signal S d of the portion corresponding to the area a of the lower half, and selects the imaging signal S 'it. That is, of the 640 × 480 pixels, the lower half of 640 × 480 pixels shot by the video camera 11
Only 240 pixels are stored in the memory 13.
【0024】車両Vを認識するためには、その部分だけ
の情報で十分だからである。図8は第3の選択指令の機
能を図解的に示す図である。選択書込み手段12は、第
3の選択指令Cに基づき、撮像面26を構成する複数の
画素のうち、この撮像面26の横軸方向の画素を間引い
て得た撮像信号をもって選択撮像信号S′とする。This is because the information of only that part is sufficient for recognizing the vehicle V. FIG. 8 is a diagram schematically showing the function of the third selection command. Based on the third selection command C, the selection writing unit 12 selects the imaging signal S ′ based on an imaging signal obtained by thinning out pixels in the horizontal axis direction of the imaging surface 26 among a plurality of pixels constituting the imaging surface 26. And
【0025】すなわち、640×480画素のうち、横
軸の画素を−間引きし、320×480画素のみをメモ
リ13に格納する。車両の画像処理装置においては、画
像認識に際して、車両Vの置かれた周囲の状況、特に夜
/昼の状況を考慮することは大事なことであり、夜/昼
に応じたフィルタ処理が行われる。That is, of the 640 × 480 pixels, the pixels on the horizontal axis are thinned out, and only 320 × 480 pixels are stored in the memory 13. In the image processing device of the vehicle, it is important to consider the surrounding situation where the vehicle V is placed, particularly the situation of night / day, when performing image recognition, and filter processing according to night / day is performed. .
【0026】この夜/昼の判定には撮像信号Sd のうち
「空」(sky)の情報が特に大事である。このため縦
軸方向の画素は「空」を十分カバーできる480画素と
する一方、「空」の横軸方向(640画素)の情報は冗
長度が高いので、これを半分に間引くものである。図9
は第4の選択指令の機能を図解的に示す図である。[0026] The information in this out of the imaging signal S d in the night / day of judgment "empty" (sky) is particularly important. For this reason, the pixels in the vertical axis direction are 480 pixels that can sufficiently cover “sky”, whereas the information in the horizontal axis direction (640 pixels) of “sky” has a high degree of redundancy. FIG.
FIG. 9 is a diagram schematically showing a function of a fourth selection command.
【0027】選択書込み手段12は、第4の選択指令C
に基づき、撮像面26を構成する複数の画素のうち、こ
の撮像面26の縦軸方向の画素を間引いて得た撮像信号
をもって選択撮像信号S′とする。すなわち、640×
480画素のうち、縦軸の画素を−間引きし、640×
240画素のみをメモリ13に格納する。The selection writing means 12 outputs a fourth selection command C
, The image pickup signal obtained by thinning out the pixels in the vertical axis direction of the image pickup surface 26 among the plurality of pixels constituting the image pickup surface 26 is set as a selected image pickup signal S ′. That is, 640 ×
Of the 480 pixels, the pixels on the vertical axis are decimated to −640 ×
Only 240 pixels are stored in the memory 13.
【0028】この第4の選択指令も第3の選択指令と同
様に、「空」の縦軸方向の冗長性を排除することができ
る。図10は第5の選択指令の機能を図解的に示す図で
ある。選択書込み手段12は、第5の選択指令Cに基づ
き、撮像面26を中央エリアa0とその左右に位置する
左エリアa1および右エリアa2に区分したとき、左お
よび右エリアa1,a2に相当する部分の撮像信号をそ
れぞれ選択し、これらを選択撮像信号S′とする。This fourth selection command can also eliminate the redundancy in the vertical direction of “empty” as in the third selection command. FIG. 10 is a diagram schematically showing the function of the fifth selection command. Based on the fifth selection command C, the selective writing unit 12 corresponds to the left and right areas a1 and a2 when the imaging surface 26 is divided into the central area a0 and the left and right areas a1 and a2 located on the left and right sides thereof. The image pickup signals of the portions are respectively selected, and these are set as a selected image pickup signal S '.
【0029】すなわち、640×480画素のうち、横
軸のレーンマークの存在するエリアa1およびa2のみ
(160×2×480画素)をメモリ13に格納する。
車両Vが道路のレーンマーク(白線)35から外れて走
行し始めたとき、当該運転者にCPU14よりアラーム
(OUT)を発出するような場合、レーンマーク35の
部分のみの情報があれば十分である。That is, of the 640 × 480 pixels, only the areas a1 and a2 (160 × 2 × 480 pixels) where the lane marks on the horizontal axis are present are stored in the memory 13.
When the vehicle V starts running off the lane mark (white line) 35 of the road and issues an alarm (OUT) from the CPU 14 to the driver, it is sufficient to have information on only the lane mark 35. is there.
【0030】図11は第6の選択指令の機能を図解的に
示す図である。選択書込み手段12は、第6の選択指令
Cに基づき、撮像面26のうち、その上半分内の所定の
エリアa3に相当する部分の上側撮像信号とその下半分
内の所定のエリアa4に相当する部分の下側撮像信号と
をそれぞれ選択し、これらを選択撮像信号S′とする。FIG. 11 is a diagram schematically showing the function of the sixth selection command. Based on the sixth selection command C, the selective writing means 12 corresponds to an upper image signal of a portion corresponding to a predetermined area a3 in the upper half of the imaging surface 26 and a predetermined area a4 in the lower half thereof. And the lower image pickup signal to be selected, and these are used as a selected image pickup signal S '.
【0031】すなわち、640×480画素のうち、
「空」の部分の20画素分を利用して明るさ判断を行
い、実際の車両Vの認識は100画素とし、トータル:
512×120画素のみをメモリ13に格納する。
「空」の部分から、前述した夜/昼の判断をするには、
「空」の20画素程度でも良く、また、車両Vの存在の
認識なら100画素分程度でも良い、という実験的事実
に基づくものである。That is, out of 640 × 480 pixels,
The brightness is determined using the 20 pixels of the "sky" portion, and the actual recognition of the vehicle V is set to 100 pixels.
Only 512 × 120 pixels are stored in the memory 13.
To determine the night / day mentioned above from the "sky" part,
It is based on the experimental fact that about 20 pixels in the "sky" may be used, and about 100 pixels may be used to recognize the presence of the vehicle V.
【0032】ここで、前述した第3および第5の選択指
令C(図8、図10)について補足する。ビデオカメラ
11は通常インタレース方式を採用しており、撮像面2
6の縦軸方向の画素を間引くことは比較的容易である。
例えば奇数行のみの信号Sdまたは偶数行のみの信号S
d を選択すればよい。ところが第3および第5の選択指
令Cのように横軸方向の画素を間引くためには何らかの
手段をさらに必要とする。例えばカウンタである。さら
に詳述すると次のとおりである。Here, the third and fifth selection commands C (FIGS. 8 and 10) will be supplemented. The video camera 11 usually employs an interlaced system, and the imaging surface 2
It is relatively easy to thin out the pixels in the vertical axis direction of No. 6.
For example, the signal of only the signal S d or even rows of the odd rows only S
Just select d . However, some means is further required to thin out the pixels in the horizontal axis direction as in the third and fifth selection commands C. For example, a counter. The details are as follows.
【0033】演算処理部20(図2)内にカウンタ機能
(図示せず)を持たせ、撮像素子22からの行単位(縦
軸方向)の撮像信号Sのうち所定のカウント値に達する
毎に選択された撮像信号を、列単位(横軸方向)の撮像
信号S′として、メモリ13から読み出すようにする。
このような読出し操作を行うのは、例えば図2のメモリ
I/F(interface)制御回路25である。例
えば図8の場合についてみると、上記の所定のカウント
値は、“2→4→6→…→640”(偶数)である。
尚、間引く間隔を広くするには、所定のカウント値の間
隔を大きく、例えば3毎や4毎にすればよい。A counter function (not shown) is provided in the arithmetic processing unit 20 (FIG. 2), and every time when a predetermined count value is reached among the imaging signals S from the imaging device 22 in a row unit (vertical direction). The selected imaging signal is read out from the memory 13 as an imaging signal S ′ in column units (horizontal axis direction).
The read operation is performed by, for example, the memory I / F (interface) control circuit 25 in FIG. For example, in the case of FIG. 8, the predetermined count value is “2 → 4 → 6 →... → 640” (even number).
In order to widen the thinning interval, the interval of the predetermined count value may be increased, for example, every three or four.
【0034】[0034]
【発明の効果】ビデオカメラにより前方および後方など
の道路状況を撮像し、それを画像処理することで、前方
車両との車間距離等を測定する画像処理装置において、
本装置は、ビデオカメラによる入力信号を基に演算を行
うが、この場合、ビデオカメラ信号を一旦メモリへ格納
する必要がある。その場合、例えば、データ数として6
40×480(画素)×8(ビット)の全エリアを格納
するには、2Mビット強の容量の大きいメモリが必要で
ある。According to an image processing apparatus for capturing a road condition such as a front and a back by a video camera and processing the image, the distance between the vehicle and a preceding vehicle is measured.
The present apparatus performs an operation based on an input signal from a video camera. In this case, the video camera signal needs to be temporarily stored in a memory. In this case, for example, the number of data is 6
In order to store the entire area of 40 × 480 (pixels) × 8 (bits), a large-capacity memory of a little over 2M bits is required.
【0035】しかし低コストハードでは、比較的容量の
少ないメモリしか搭載できないため、ビデオカメラ信号
のうち最低限必要なエリアを抜き取ることとする。この
ように、画像処理に必要なエリアのみをメモリに格納す
ることにより、ハードのコストは低く抑えつつ、性能は
十分満足させることができる。一応用例として、ステレ
オカメラの光軸ズレ補正に用いることにより、さらに、
CPUの処理速度の増大という特別な効果も得られる。However, with low-cost hardware, only a memory having a relatively small capacity can be mounted, so that a minimum necessary area is extracted from the video camera signal. Thus, by storing only the area necessary for image processing in the memory, the performance can be sufficiently satisfied while the hardware cost is kept low. As one application example, by using for correcting the optical axis deviation of a stereo camera,
A special effect of increasing the processing speed of the CPU can also be obtained.
【図1】本発明の基本構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of the present invention.
【図2】図1に示す基本構成の一具体例を示す図であ
る。FIG. 2 is a diagram showing a specific example of the basic configuration shown in FIG.
【図3】選択書込み手段12の動作の概略を図解的に示
す図である。FIG. 3 is a diagram schematically showing an outline of an operation of a selective writing means 12.
【図4】ステレオカメラの光軸のズレについて説明する
ための斜視図である。FIG. 4 is a perspective view for explaining a deviation of an optical axis of the stereo camera.
【図5】光軸ズレによる測距誤差を分かり易く示すグラ
フである。FIG. 5 is a graph showing a distance measurement error due to an optical axis shift in an easily understandable manner.
【図6】光軸ズレをエリアaの位置をずらすことにより
補正する様子を示す図である。FIG. 6 is a diagram showing a state where an optical axis shift is corrected by shifting a position of an area a.
【図7】第2の選択指令の機能を図解的に示す図であ
る。FIG. 7 is a diagram schematically showing a function of a second selection command.
【図8】第3の選択指令の機能を図解的に示す図であ
る。FIG. 8 is a diagram schematically showing a function of a third selection command.
【図9】第4の選択指令の機能を図解的に示す図であ
る。FIG. 9 is a diagram schematically showing a function of a fourth selection command.
【図10】第5の選択指令の機能を図解的に示す図であ
る。FIG. 10 is a diagram schematically showing a function of a fifth selection command.
【図11】第6の選択指令の機能を図解的に示す図であ
る。FIG. 11 is a diagram schematically showing a function of a sixth selection command.
10…画像処理装置 11…ビデオカメラ 12…選択書込み手段 13…メモリ 14…CPU 15…ROM 20…演算処理部 21…レンズ 25…メモリI/F制御回路 26…撮像面 31…ステレオカメラ 33…光軸 S…撮像信号 S′…選択撮像信号 C…選択指令 DESCRIPTION OF SYMBOLS 10 ... Image processing apparatus 11 ... Video camera 12 ... Selective writing means 13 ... Memory 14 ... CPU 15 ... ROM 20 ... Arithmetic processing part 21 ... Lens 25 ... Memory I / F control circuit 26 ... Imaging surface 31 ... Stereo camera 33 ... Light Axis S: Image signal S ': Selected image signal C: Selection command
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) // H04N 13/02 H04N 13/02 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) // H04N 13/02 H04N 13/02
Claims (8)
ビデオカメラからの撮像信号を格納するメモリと、該メ
モリから読み出した前記撮像信号に対して所定の処理を
行うCPUとを備える画像処理装置において、 前記CPUからの選択指令に応じて、前記ビデオカメラ
からの前記撮像信号のうち所定の部分のみを選択し、そ
の選択撮像信号のみを前記メモリに書き込む選択書込み
手段をさらに設けることを特徴とする画像処理装置。1. An image processing apparatus comprising: a video camera that captures an image of an imaging target; a memory that stores an imaging signal from the video camera; and a CPU that performs predetermined processing on the imaging signal read from the memory. In the above, further comprising a selection writing means for selecting only a predetermined portion of the imaging signal from the video camera in response to a selection command from the CPU, and writing only the selected imaging signal to the memory. Image processing device.
より規定される撮像面内のエリアであって前記所定の処
理に必要なエリアに相当する部分の撮像信号を選択し、
これを前記選択撮像信号とすることを特徴とする請求項
1に記載の画像処理装置。2. In accordance with the selection command, an image signal of a portion corresponding to an area in an image plane defined by the image signal and required for the predetermined processing is selected.
2. The image processing apparatus according to claim 1, wherein the selected signal is used as the selected image pickup signal.
メラの光軸のズレを予め測定して得た光軸ズレ量を保持
し、該光軸ズレ量に応じて前記所定の処理に必要なエリ
アを前記撮像面内でシフトさせることを特徴とする請求
項2に記載の画像処理装置。3. An optical axis shift amount obtained by measuring a shift of an optical axis of a stereo camera constituting the video camera in advance, and an area necessary for the predetermined processing is determined according to the optical axis shift amount. The image processing apparatus according to claim 2, wherein the shift is performed within the imaging plane.
に相当する部分の撮像信号を選択し、これを前記選択撮
像信号とすることを特徴とする請求項2に記載の画像処
理装置。4. The image processing apparatus according to claim 2, wherein an image pickup signal of a portion corresponding to a lower half area of the image pickup surface is selected, and the selected image pickup signal is used as the selected image pickup signal.
ち、該撮像面の横軸方向の画素を間引いて得た前記撮像
信号をもって前記選択撮像信号とすることを特徴とする
請求項2に記載の画像処理装置。5. The selected image pickup signal according to claim 2, wherein an image pickup signal obtained by thinning out pixels in a horizontal axis direction of the image pickup plane among a plurality of pixels constituting the image pickup plane is used as the selected image pickup signal. The image processing apparatus according to any one of the preceding claims.
ち、該撮像面の縦軸方向の画素を間引いて得た前記撮像
信号をもって前記選択撮像信号とすることを特徴とする
請求項2に記載の画像処理装置。6. The selected image pickup signal according to claim 2, wherein, among the plurality of pixels constituting the image pickup plane, the image pickup signal obtained by thinning out pixels in the vertical direction of the image pickup plane is used as the selected image pickup signal. The image processing apparatus according to any one of the preceding claims.
置する左エリアおよび右エリアに区分したとき、該左お
よび右エリアに相当する部分の撮像信号をそれぞれ選択
し、これらを前記選択撮像信号とすることを特徴とする
請求項2に記載の画像処理装置。7. When the imaging surface is divided into a central area and a left area and a right area located on the left and right sides thereof, an imaging signal of a portion corresponding to the left and right areas is selected, and these are selected by the selected imaging signal. The image processing apparatus according to claim 2, wherein
のエリアに相当する部分の上側撮像信号とその下半分内
の所定のエリアに相当する部分の下側撮像信号とをそれ
ぞれ選択し、これらを前記選択撮像信号とすることを特
徴とする請求項2に記載の画像処理装置。8. An upper imaging signal of a portion corresponding to a predetermined area in an upper half of the imaging surface and a lower imaging signal of a portion corresponding to a predetermined area in a lower half thereof are respectively selected. The image processing apparatus according to claim 2, wherein these are used as the selected image pickup signal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000279852A JP2002094977A (en) | 2000-09-14 | 2000-09-14 | Image processing unit |
US09/951,605 US7365779B2 (en) | 2000-09-14 | 2001-09-13 | Image processing apparatus for selectively storing specific regions of an image |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000279852A JP2002094977A (en) | 2000-09-14 | 2000-09-14 | Image processing unit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002094977A true JP2002094977A (en) | 2002-03-29 |
JP2002094977A5 JP2002094977A5 (en) | 2007-10-18 |
Family
ID=18764795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000279852A Pending JP2002094977A (en) | 2000-09-14 | 2000-09-14 | Image processing unit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2002094977A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007102727A (en) * | 2005-10-07 | 2007-04-19 | Sony Corp | Image input/output device, mask controller and mask control method |
JP2008040115A (en) * | 2006-08-04 | 2008-02-21 | Fuji Heavy Ind Ltd | Stereo camera |
WO2012132290A1 (en) * | 2011-03-31 | 2012-10-04 | Sony Corporation | Image processing device, image processing method and image processing computer program product |
JP2012527803A (en) * | 2009-05-19 | 2012-11-08 | オートリブ ディベロップメント エービー | Vision systems and vision methods for automobiles |
CN110044416A (en) * | 2019-04-22 | 2019-07-23 | 西安图玛智能科技有限公司 | Switch cabinet chassis handcart motion state monitoring method, system and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06273172A (en) * | 1993-03-19 | 1994-09-30 | Mitsubishi Electric Corp | Image processing device using stereo camera |
JPH08172620A (en) * | 1994-12-16 | 1996-07-02 | Nissan Motor Co Ltd | Image input means for vehicle |
JPH09133525A (en) * | 1995-11-10 | 1997-05-20 | Nippon Soken Inc | Distance measuring device |
JP2001116515A (en) * | 1999-10-21 | 2001-04-27 | Matsushita Electric Ind Co Ltd | Calibration method |
JP2002074339A (en) * | 2000-08-31 | 2002-03-15 | Hitachi Ltd | In-vehicle imaging device |
-
2000
- 2000-09-14 JP JP2000279852A patent/JP2002094977A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06273172A (en) * | 1993-03-19 | 1994-09-30 | Mitsubishi Electric Corp | Image processing device using stereo camera |
JPH08172620A (en) * | 1994-12-16 | 1996-07-02 | Nissan Motor Co Ltd | Image input means for vehicle |
JPH09133525A (en) * | 1995-11-10 | 1997-05-20 | Nippon Soken Inc | Distance measuring device |
JP2001116515A (en) * | 1999-10-21 | 2001-04-27 | Matsushita Electric Ind Co Ltd | Calibration method |
JP2002074339A (en) * | 2000-08-31 | 2002-03-15 | Hitachi Ltd | In-vehicle imaging device |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007102727A (en) * | 2005-10-07 | 2007-04-19 | Sony Corp | Image input/output device, mask controller and mask control method |
JP2008040115A (en) * | 2006-08-04 | 2008-02-21 | Fuji Heavy Ind Ltd | Stereo camera |
JP2012527803A (en) * | 2009-05-19 | 2012-11-08 | オートリブ ディベロップメント エービー | Vision systems and vision methods for automobiles |
WO2012132290A1 (en) * | 2011-03-31 | 2012-10-04 | Sony Corporation | Image processing device, image processing method and image processing computer program product |
US9282318B2 (en) | 2011-03-31 | 2016-03-08 | Sony Corporation | Image processing device, image processing method and image processing computer program product |
US9667945B2 (en) | 2011-03-31 | 2017-05-30 | Sony Corporation | Image processing device, image processing method and image processing computer program product |
US10051258B2 (en) | 2011-03-31 | 2018-08-14 | Sony Corporation | Image processing device, image processing method and image processing computer program product |
CN110044416A (en) * | 2019-04-22 | 2019-07-23 | 西安图玛智能科技有限公司 | Switch cabinet chassis handcart motion state monitoring method, system and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8553081B2 (en) | Apparatus and method for displaying an image of vehicle surroundings | |
JP3468428B2 (en) | Vehicle distance detection device | |
CN103764448B (en) | Image processing apparatus and image processing method | |
JP4611899B2 (en) | Camera lens dirt detection device and image display system | |
US20070021881A1 (en) | Parking assist devices, methods, and programs | |
US20020030735A1 (en) | Image processing apparatus | |
JP2768042B2 (en) | Distance measuring device | |
JP7571843B2 (en) | Vehicle image processing device and vehicle image processing method | |
JP2009152966A (en) | Image display system and camera output control method | |
WO2018061740A1 (en) | Image generation device, image generation method, program, recording medium, and image processing system | |
JP2002094977A (en) | Image processing unit | |
US20220385862A1 (en) | Imaging assembly, moving device, control method, and recording medium | |
JP2021190798A (en) | Photoelectric conversion device, photoelectric conversion system, mobile object and signal processing method | |
JP2019140534A (en) | Imaging device, imaging system, and moving object | |
US6359648B1 (en) | High-quality image input apparatus with motion compensation function | |
JP3796417B2 (en) | Vehicle peripheral image processing apparatus and recording medium | |
JP2009213063A (en) | Monitoring apparatus | |
JP2007181129A (en) | On-vehicle moving body detection device | |
EP0498416B1 (en) | Inter-car distance detecting device | |
JPH0518748A (en) | Digital electronic still camera capable of displaying distance information and the like | |
JP3373331B2 (en) | Inter-vehicle distance detection device | |
JP2001186409A (en) | Image distortion correction device | |
JP2966683B2 (en) | Obstacle detection device for vehicles | |
JP2582269B2 (en) | High sensitivity camera device | |
JP2608996B2 (en) | Vehicle running state storage device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070830 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070830 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100518 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100525 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100928 |