JP6458579B2 - Image processing device - Google Patents

Image processing device Download PDF

Info

Publication number
JP6458579B2
JP6458579B2 JP2015056230A JP2015056230A JP6458579B2 JP 6458579 B2 JP6458579 B2 JP 6458579B2 JP 2015056230 A JP2015056230 A JP 2015056230A JP 2015056230 A JP2015056230 A JP 2015056230A JP 6458579 B2 JP6458579 B2 JP 6458579B2
Authority
JP
Japan
Prior art keywords
image processing
image
diagnostic
image data
unit
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
JP2015056230A
Other languages
Japanese (ja)
Other versions
JP2016085721A (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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to DE102015220884.2A priority Critical patent/DE102015220884B4/en
Priority to US14/923,135 priority patent/US9852502B2/en
Priority to CN201510707908.0A priority patent/CN105554493B/en
Publication of JP2016085721A publication Critical patent/JP2016085721A/en
Application granted granted Critical
Publication of JP6458579B2 publication Critical patent/JP6458579B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Processing (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Image Analysis (AREA)

Description

カメラにより撮像された画像データに対して、画像処理を行う画像処理装置に関する。   The present invention relates to an image processing apparatus that performs image processing on image data captured by a camera.

従来、カメラ等により撮像された画像に対し、物体認識等の各種画像処理を行う技術が知られている。例えば、特許文献1には、一対のステレオ画像から両画像に共通する対応点の視差を導出し、対象物体の距離情報を取得する技術が記載されている。   2. Description of the Related Art Conventionally, a technique for performing various image processing such as object recognition on an image captured by a camera or the like is known. For example, Patent Document 1 describes a technique for deriving parallax of corresponding points common to both images from a pair of stereo images and acquiring distance information of the target object.

特開2003−83742号公報JP 2003-83742 A

上述のような画像処理技術においては、画像処理を行うプロセッサが故障することにより、画像の認識が発生する可能性がある。これに対し、画像処理の異常を速やかに検知可能で、かつ、通常の画像処理のルーチンを妨げにならない故障診断方法が求められる。   In the image processing technology as described above, image recognition may occur due to a failure of a processor that performs image processing. On the other hand, there is a need for a failure diagnosis method that can quickly detect abnormalities in image processing and that does not interfere with normal image processing routines.

本発明は上記課題を解決するためになされたものである。本発明の目的は、画像処理装置の故障診断において、通常の画像処理のルーチンを阻害せず、同時性を有する手法で故障を診断できる技術を提供することである。   The present invention has been made to solve the above problems. An object of the present invention is to provide a technique capable of diagnosing a failure by a method having simultaneity without disturbing a normal image processing routine in a failure diagnosis of an image processing apparatus.

本開示の一態様に係る画像処理装置は、画像処理手段と、診断手段と、出力制御手段とを備える。画像処理手段は、撮像手段により周期的に撮像される撮像画像に対して、前記周期ごとに画像処理を行う。診断手段は、画像処理手段が撮像画像に対して行う周期的な画像処理と並行して、画像処理手段により直接アクセス可能な主記憶装置に予め保存した診断用画像データに対する画像処理を画像処理手段に行わせる。そして、診断手段は、診断用画像データに対する画像処理結果と、診断用画像データに対する画像処理の正常な処理結果の基準を表す期待値データとを比較し、診断用画像データに対する画像処理結果が正常であるか否かを判断する。出力制御手段は、診断手段により診断用画像データに対する画像処理結果が正常であると判断されたことを条件に、撮像画像に対する画像処理に関する処理結果を有効なものとして、所定の制御手段に出力する。 An image processing apparatus according to an aspect of the present disclosure includes an image processing unit, a diagnostic unit, and an output control unit. The image processing unit performs image processing for each cycle of the captured image periodically captured by the imaging unit. In parallel with the periodic image processing performed by the image processing unit on the captured image, the diagnostic unit performs image processing on diagnostic image data stored in advance in a main storage device directly accessible by the image processing unit. Let it be done. Then, the diagnostic means compares the image processing result for the diagnostic image data with the expected value data representing the standard of the normal processing result of the image processing for the diagnostic image data, and the image processing result for the diagnostic image data is normal. It is determined whether or not. The output control means outputs the processing result related to the image processing for the captured image to the predetermined control means as valid on the condition that the diagnostic processing determines that the image processing result for the diagnostic image data is normal. .

本発明によれば、画像処理手段による通常の画像処理の周期的なルーチンと並行して診断用画像データに基づく故障診断を周期的に行うことで、通常の画像処理のルーチンを阻害せず、画像処理手段の故障の有無をリアルタイムに監視することができる。特に、通常の画像処理の周期に合わせて診断手段による処理を高速に実行するために、高速にアクセス可能な主記憶装置に記憶した診断用画像データを用いる構成にしたことで、画像処理のルーチンに対する故障検出の同時性を保証できる。   According to the present invention, the failure diagnosis based on the diagnostic image data is periodically performed in parallel with the normal routine of the normal image processing by the image processing means, so that the normal image processing routine is not hindered. It is possible to monitor in real time whether there is a failure in the image processing means. In particular, in order to execute the processing by the diagnostic means at high speed in accordance with the normal image processing cycle, it is configured to use diagnostic image data stored in a main memory device that can be accessed at high speed. It is possible to guarantee the coincidence of failure detection with respect to.

また、本開示の別の態様に係る画像処理装置は、画像処理手段と、診断手段と、出力制御手段とを備える。画像処理手段は、撮像手段により周期的に撮像される撮像画像に対して、周期ごとに画像処理を行う。診断手段は、画像処理手段が撮像画像に対して行う周期的な画像処理と並行して、撮像手段に予め保存されている診断用画像データを取得して画像処理手段に画像処理行わせる。そして、診断手段は、診断用画像データに対する画像処理結果と、診断用画像データに対する画像処理の正常な処理結果の基準を表す期待値データとを比較し、診断用画像データに対する画像処理結果が正常であるか否かを判断する。出力制御手段は、診断手段により診断用画像データに対する画像処理結果が正常であると判断されたことを条件に、撮像画像に対する画像処理に関する処理結果を有効なものとして、所定の制御手段に出力する。 An image processing apparatus according to another aspect of the present disclosure includes an image processing unit, a diagnostic unit, and an output control unit. The image processing unit performs image processing for each cycle on the captured image periodically captured by the imaging unit. The diagnostic unit acquires diagnostic image data stored in advance in the imaging unit and causes the image processing unit to perform image processing in parallel with the periodic image processing performed on the captured image by the image processing unit. Then, the diagnostic means compares the image processing result for the diagnostic image data with the expected value data representing the standard of the normal processing result of the image processing for the diagnostic image data, and the image processing result for the diagnostic image data is normal. It is determined whether or not. The output control means outputs the processing result related to the image processing for the captured image to the predetermined control means as valid on the condition that the diagnostic processing determines that the image processing result for the diagnostic image data is normal. .

本発明によれば、画像処理手段による通常の画像処理の周期的なルーチンと並行して、撮像手段から取得した診断用画像データに基づく故障診断を周期的に行うことができる。このようにすることで、通常の画像処理のルーチンを阻害せず、撮像手段からの入力ラインや画像処理手段に関する故障の有無をリアルタイムに監視することができる。   According to the present invention, fault diagnosis based on diagnostic image data acquired from an imaging unit can be periodically performed in parallel with a periodic routine of normal image processing by the image processing unit. By doing so, it is possible to monitor in real time whether there is a failure related to the input line from the image pickup means or the image processing means without hindering a normal image processing routine.

画像処理装置(第1実施形態)の構成を表すブロック図。1 is a block diagram illustrating a configuration of an image processing apparatus (first embodiment). フレームごとの画像処理の手順を表すフローチャート。The flowchart showing the procedure of the image processing for every frame. 画像処理装置(第2実施形態)の構成を表すブロック図。The block diagram showing the structure of an image processing apparatus (2nd Embodiment). 画像処理装置(第3実施形態)の構成を表すブロック図。The block diagram showing the structure of an image processing apparatus (3rd Embodiment). 故障部位特定処理の手順を表すフローチャート。The flowchart showing the procedure of a failure location identification process. 画像処理装置(第4実施形態)の構成を表すブロック図。The block diagram showing the structure of an image processing apparatus (4th Embodiment). 試験処理の手順を表すフローチャート。The flowchart showing the procedure of a test process. 組込画像の一例を表す説明図。Explanatory drawing showing an example of an embedded image. 組込画像の一例を表す説明図。Explanatory drawing showing an example of an embedded image.

以下、本発明の実施形態を図面に基づいて説明する。なお、本発明は下記の実施形態に限定されるものではなく様々な態様にて実施することが可能である。
〈第1実施形態〉
[画像処理装置の構成の説明]
第1実施形態の画像処理装置1aの構成について、図1を参照しながら説明する。画像処理装置1aは、CPU,ROM,RAM等を備えるコンピュータで構成されており、ステレオカメラ10により撮像された一対のステレオ画像間の視差を算出し、画像内に含まれる対象物の距離情報を取得する画像処理を行う機能を有する。この画像処理装置1aは、例えば、車両に搭載され、各種の車両制御(後述する)に用いられる距離情報の生成を担う車載システムとして具現化される。画像処理装置1aは、本発明における特徴的な構成として、画像処理部11aと、RAM12aと、ROM13aと、故障診断部14aと、出力制御部15aとを備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. In addition, this invention is not limited to the following embodiment, It is possible to implement in various aspects.
<First Embodiment>
[Description of Configuration of Image Processing Device]
The configuration of the image processing apparatus 1a according to the first embodiment will be described with reference to FIG. The image processing apparatus 1a is configured by a computer including a CPU, a ROM, a RAM, and the like, calculates a parallax between a pair of stereo images captured by the stereo camera 10, and obtains distance information of an object included in the image. It has a function to perform image processing to be acquired. The image processing device 1a is embodied as an in-vehicle system that is mounted on a vehicle and is responsible for generating distance information used for various vehicle controls (described later). The image processing apparatus 1a includes an image processing unit 11a, a RAM 12a, a ROM 13a, a failure diagnosis unit 14a, and an output control unit 15a as a characteristic configuration in the present invention.

ステレオカメラ10aは、公知のステレオカメラと同様、平行等位の位置に配置された左右一対の撮像装置を備える。ステレオカメラ10aは、一対の撮像装置により互いに共通する領域を同一タイミングで撮像することで、左右一対のステレオ画像からなる画像データを繰返し取得し、取得した画像データを画像処理部11aに出力する。   The stereo camera 10a is provided with a pair of left and right imaging devices arranged in parallel equidistant positions, like a known stereo camera. The stereo camera 10a repeatedly captures image data consisting of a pair of left and right stereo images by capturing a common area with a pair of imaging devices at the same timing, and outputs the acquired image data to the image processing unit 11a.

画像処理部11aは、ステレオカメラ10aにより入力されるステレオ画像のフレームに基づいて、ステレオ画像間の視差値を求める画像処理を行う。この画像処理部11aは、ステレオカメラ10aにより連続的に取得される画像のフレームレート(例えば、40fps:frame par second)と同じ周期で、繰返し画像処理を行う。   The image processing unit 11a performs image processing for obtaining a parallax value between stereo images based on a stereo image frame input by the stereo camera 10a. The image processing unit 11a repeatedly performs image processing at the same cycle as the frame rate (for example, 40 fps: frame par second) of images continuously acquired by the stereo camera 10a.

画像処理部11aは、画像全体を小区画に分割した画像ブロックごとにステレオ画像間の水平視差を算出し、算出した水平視差を画像上の座標に対応付けた視差値マップを作成する。水平視差の算出には、ステレオマッチング等の技法を用いることができる。なお、ステレオマッチングは公知の技法であるので、ここでの詳しい説明は省略する。   The image processing unit 11a calculates a horizontal parallax between stereo images for each image block obtained by dividing the entire image into small sections, and creates a parallax value map in which the calculated horizontal parallax is associated with coordinates on the image. For the calculation of the horizontal parallax, a technique such as stereo matching can be used. Since stereo matching is a known technique, detailed description thereof is omitted here.

RAM12aは、CPUのメインメモリとして利用される記憶装置(ランダムアクセス・メモリ)である。このRAM12aは、画像処理部11aが最も高速にアクセス可能なメモリである。RAM12aには、ステレオカメラ10aにより入力された画像データに対して画像処理部11aにより画像処理が行われた結果である処理結果値(視差値マップ)が格納される。   The RAM 12a is a storage device (random access memory) used as a main memory of the CPU. The RAM 12a is a memory that can be accessed at the highest speed by the image processing unit 11a. The RAM 12a stores a processing result value (parallax value map) that is a result of image processing performed on the image data input by the stereo camera 10a by the image processing unit 11a.

また、RAM12aには、画像処理部11aの故障診断に用いられる複数組のテスト画像のデータが格納される。このテスト画像は、ステレオカメラ10aにより撮像されるステレオ画像を模擬した一対の画像で構成されている。システムとして取り得る視差値を網羅的に検査するため、画像処理によって得られる視差値がそれぞれ異なるように構成された複数組のテスト画像が、RAM12aに格納されている。また、RAM12aには、前記複数組のテスト画像それぞれに対応する複数の期待値データが格納される。この期待値データは、テスト画像に対して画像処理部11aによる画像処理を施したときの正常な結果値を表す情報である。また、RAM12aには、テスト画像に対して画像処理部11aにより画像処理が行われた結果である結果値が格納される。   The RAM 12a stores a plurality of sets of test image data used for failure diagnosis of the image processing unit 11a. This test image is composed of a pair of images simulating a stereo image captured by the stereo camera 10a. In order to comprehensively check the parallax values that can be taken as the system, a plurality of sets of test images configured so that the parallax values obtained by image processing are different from each other are stored in the RAM 12a. The RAM 12a stores a plurality of expected value data corresponding to each of the plurality of sets of test images. The expected value data is information representing a normal result value when the image processing by the image processing unit 11a is performed on the test image. The RAM 12a stores a result value that is a result of image processing performed on the test image by the image processing unit 11a.

ROM13aは、読出し専用の記憶装置(リードオンリー・メモリ)である。このROM13aには、RAM12aに展開されるテスト画像、及び各テスト画像に対応する期待値データの原本となるオリジナルのテスト画像及び期待値データが記憶されている。ROM13aに記憶されているテスト画像及び期待値データは、画像処理装置1aの起動時にROM13aからRAM12aに転送され、RAM12aの所定領域に展開される。   The ROM 13a is a read-only storage device (read-only memory). The ROM 13a stores a test image developed on the RAM 12a, and an original test image and expected value data that are originals of expected value data corresponding to each test image. The test image and expected value data stored in the ROM 13a are transferred from the ROM 13a to the RAM 12a when the image processing apparatus 1a is activated, and are developed in a predetermined area of the RAM 12a.

故障診断部14aは、RAM12aに展開されている複数組のテスト画像を用いて、画像処理部11aに画像処理を実行させる。そして、テスト画像に対する処理結果値と各テスト画像に対応する期待値データとを比較し、画像処理部11aの故障の有無を診断する。故障診断部14aは、画像処理部11aがステレオカメラ10aにより取得されるステレオ画像に対して画像処理を行うルーチンと並行して、周期的にテスト画像を用いる故障診断を行う。   The failure diagnosis unit 14a causes the image processing unit 11a to execute image processing using a plurality of sets of test images developed in the RAM 12a. Then, the processing result value for the test image is compared with the expected value data corresponding to each test image to diagnose the presence or absence of a failure in the image processing unit 11a. The failure diagnosis unit 14a periodically performs failure diagnosis using test images in parallel with a routine in which the image processing unit 11a performs image processing on a stereo image acquired by the stereo camera 10a.

出力制御部15aは、故障診断部14aによる診断結果に基づいて、ステレオ画像の処理結果値に関する出力制御を行う。具体的には、出力制御部15aは、故障診断部14aによる診断結果が正常を示す場合、そのとき画像処理されたステレオ画像に関する処理結果を有効なものとして出力する。出力制御部15aから有効として出力された処理結果は、車両制御装置群2に出力され、車両の運転者に対する情報提示や走行安全に係る車両制御に用いられる。一方、故障診断部14aによる診断結果が異常を示す場合、フェイルセーフ制御を実行する。   The output control unit 15a performs output control related to the processing result value of the stereo image based on the diagnosis result by the failure diagnosis unit 14a. Specifically, when the diagnosis result by the failure diagnosis unit 14a indicates normality, the output control unit 15a outputs the processing result regarding the stereo image subjected to image processing as valid. The processing result output as valid from the output control unit 15a is output to the vehicle control device group 2, and is used for vehicle presentation related to information presentation to the driver of the vehicle and travel safety. On the other hand, when the diagnosis result by the failure diagnosis unit 14a indicates an abnormality, fail-safe control is executed.

車両制御装置群2は、車両におけるボディ系、パワートレイン系、シャーシ系といった各種制御対象の作動を制御する複数の装置からなる。その制御対象としては、例えば、操舵装置、スピーカ、ディスプレイ、制動装置、駆動装置、灯火等が例示される。車両制御装置群2を構成する各装置は、車両の走行状態や画像処理装置1による対象物の認識結果に応じて制御対象の作動を制御する。具体的には、衝突回避、速度警報、車線逸脱防止、追突警報、車間警報、車線逸脱警報、オートハイビーム、標識表示、全車速アダプティブクルーズコントロール(ACC)、車線維持、車線変更事故防止、ブラインドスポット警報、ブラインドスポットモニタ、自動車線変更、クロストラフィック警報、踏み間違い防止、自動駐車等といった周知の車両制御を実行する。   The vehicle control device group 2 includes a plurality of devices that control operations of various control objects such as a body system, a power train system, and a chassis system in the vehicle. Examples of the control target include a steering device, a speaker, a display, a braking device, a driving device, and a lamp. Each device constituting the vehicle control device group 2 controls the operation of the controlled object according to the traveling state of the vehicle and the recognition result of the object by the image processing device 1. Specifically, collision avoidance, speed warning, lane departure prevention, rear-end collision warning, inter-lane warning, lane departure warning, auto high beam, sign display, full speed adaptive cruise control (ACC), lane maintenance, lane change accident prevention, blind spot Well-known vehicle control such as warning, blind spot monitor, car line change, cross traffic warning, stepping error prevention, automatic parking, etc. is executed.

[フレームごとの画像処理の説明]
画像処理装置1aの各部が実行する一連の処理の手順について、図2のフローチャートを参照しながら説明する。この処理は、ステレオカメラ10aから一対のステレオ画像のフレームが入力されるごとに、周期的に実行される。なお、前提として、画像処理装置1aの起動時に、複数組のテスト画像と、それらのテスト画像に対応する期待値データとが、ROM13aからRAM12aに予め転送されているものとする。
[Description of image processing for each frame]
A sequence of processing steps executed by each unit of the image processing apparatus 1a will be described with reference to the flowchart of FIG. This process is periodically executed every time a pair of stereo image frames are input from the stereo camera 10a. As a premise, when the image processing apparatus 1a is started, a plurality of sets of test images and expected value data corresponding to the test images are transferred in advance from the ROM 13a to the RAM 12a.

S100では、画像処理部11aが、ステレオカメラ10から取得した一対のステレオ画像を構成する2つのフレームに対して、画像間の視差値を求める画像処理を行う。画像処理部11aは、ステレオ画像に対する処理結果値をRAM12aに格納する。   In S <b> 100, the image processing unit 11 a performs image processing for obtaining a parallax value between images for two frames constituting a pair of stereo images acquired from the stereo camera 10. The image processing unit 11a stores the processing result value for the stereo image in the RAM 12a.

S102では、S100の画像処理が終了し、その処理結果値が出力される前までの間に、故障診断部14aが、RAM12aに展開されている複数組のテスト画像を用いて、画像処理部11aに各テスト画像について視差値を求める画像処理を実行させる。画像処理部11aは、各テスト画像に対する処理結果値をRAM12aに格納する。   In S102, before the image processing in S100 ends and before the processing result value is output, the failure diagnosis unit 14a uses the plurality of sets of test images developed in the RAM 12a to use the image processing unit 11a. The image processing for obtaining the parallax value for each test image is executed. The image processing unit 11a stores the processing result value for each test image in the RAM 12a.

S104では、故障診断部14aは、RAM12aに格納された各テスト画像に対する処理結果値と、予めRAM12aに展開されている各テスト画像に対応する期待値データとを比較し、両者の一致性に基づいて画像処理結果が正常か否か判断する。ここでは、テスト画像に対する処理結果値と、当該テスト画像に対応する期待値データとが一致基準を満たす場合、正常と判断し、一致基準を満たさない場合、異常(すなわち、画像処理部11aが故障している)と判断する。一方、S108では、故障診断部14aの処理と並行して、他の演算部(不図示)において、画像処理部11aによるステレオ画像に対する画像処理結果に基づく各種演算処理が実行される。   In S104, the failure diagnosis unit 14a compares the processing result value for each test image stored in the RAM 12a with the expected value data corresponding to each test image previously developed in the RAM 12a, and based on the coincidence between the two. To determine whether the image processing result is normal. Here, when the processing result value for the test image and the expected value data corresponding to the test image satisfy the matching criterion, it is determined to be normal, and when the matching criterion is not satisfied, an abnormality (that is, the image processing unit 11a has failed). Is determined). On the other hand, in S108, in parallel with the process of the failure diagnosis unit 14a, various calculation processes based on the image processing result for the stereo image by the image processing unit 11a are executed in another calculation unit (not shown).

S110では、S104における故障診断部14aの判断結果に応じて、出力制御部15aの処理が分岐する。S104における判断の結果、正常と判断された場合(S110:正常)、出力制御部15aはS112に進む。S112では、出力制御部15aは、今回のステレオ画像に関する処理結果を、有効な処理結果として出力する。また、出力制御部15aは、画像処理部11aによる画像処理に関する機能が使用可能であることを表す通知情報を、車両制御装置群2を介して運転者に報知する。   In S110, the process of the output control unit 15a branches according to the determination result of the failure diagnosis unit 14a in S104. If the result of determination in S104 is normal (S110: normal), the output control unit 15a proceeds to S112. In S112, the output control unit 15a outputs the processing result related to the current stereo image as an effective processing result. Further, the output control unit 15a notifies the driver of notification information indicating that the function related to image processing by the image processing unit 11a can be used via the vehicle control device group 2.

一方、S104における判断の結果、異常と判断された場合(S110:異常)、出力制御部15aはS113に進む。S113では、出力制御部15aは、異常が検知された事象が規定回数連続したか否に応じて処理を分岐する。異常が検知された事象が規定回数連続していない場合、出力制御部15aはS114に進む。S114では、出力制御部15aは、フェイルセーフ制御を実行する。具体的には、出力制御部15aは、今回のステレオ画像に関する処理結果を出力せず破棄する。また、出力制御部15aは、画像処理部11aの画像処理に関する機能が使用不能であることを表す通知情報を、車両制御装置群2を介して運転者に報知する。   On the other hand, if the result of determination in S104 is that there is an abnormality (S110: Abnormal), the output control unit 15a proceeds to S113. In S113, the output control unit 15a branches the process depending on whether or not the event in which the abnormality is detected continues for a specified number of times. When the event in which the abnormality is detected is not continued for the specified number of times, the output control unit 15a proceeds to S114. In S114, the output control unit 15a performs fail-safe control. Specifically, the output control unit 15a discards the processing result regarding the current stereo image without outputting it. Further, the output control unit 15a notifies the driver of notification information indicating that the function relating to image processing of the image processing unit 11a is unusable via the vehicle control device group 2.

一方、異常が検知された事象が規定回数連続した場合(S113:規定回数連続)、出力制御部15aはS115に進む。S115では、出力制御部15aは、画像処理部11aに関する修復動作を実行する。具体的には、出力制御部15aは、ROM13aからテスト画像のデータをRAM12aに再転送して、RAM12aのテスト画像のデータをリセットする。また、画像処理部11aを構成するシステムLSIの構成情報を再ロードして、画像処理部11aの再構成を試みる。なお、変形例として、テスト画像の処理結果値が異常と判断された事象が1回であっても、修復動作を実行する構成であってもよい。   On the other hand, when the event in which the abnormality is detected continues for a specified number of times (S113: specified number of times continues), the output control unit 15a proceeds to S115. In S115, the output control unit 15a executes a restoration operation related to the image processing unit 11a. Specifically, the output control unit 15a retransfers the test image data from the ROM 13a to the RAM 12a, and resets the test image data in the RAM 12a. Further, the system LSI constituting the image processing unit 11a is reloaded to try to reconfigure the image processing unit 11a. Note that, as a modification, a configuration in which the restoration operation is executed may be performed even if the event that the processing result value of the test image is determined to be abnormal is one time.

[第1実施形態の効果]
第1実施形態の画像処理装置1aによれば、次の効果を奏する。周期に入力されるステレオ画像に対する画像処理のルーチンと並行して、予めRAM12aに展開されているテスト画像を用いる故障診断を周期的に行うことで、通常の画像処理のルーチンを阻害せず、画像処理部11aの故障をリアルタイムに診断できる。
[Effect of the first embodiment]
The image processing apparatus 1a according to the first embodiment has the following effects. In parallel with the image processing routine for the stereo image input in the cycle, the failure diagnosis using the test image previously developed in the RAM 12a is performed periodically, so that the normal image processing routine is not hindered. The failure of the processing unit 11a can be diagnosed in real time.

特に、故障診断に用いるテスト画像を、画像処理部11aが高速にアクセス可能なRAM12aに予め展開しておく構成にしたことで、ステレオ画像に対する画像処理の周期に合わせて、故障診断部14aの処理を高速に実行することができる。また、画像処理によって得られる処理結果値が異なる複数組のテスト画像を故障診断に用いることで、システムとして取り得る処理結果値を網羅的に検査することができる。   In particular, since the test image used for failure diagnosis is preliminarily developed in the RAM 12a that can be accessed at high speed by the image processing unit 11a, the processing of the failure diagnosis unit 14a is performed in accordance with the cycle of image processing for stereo images. Can be executed at high speed. Further, by using a plurality of sets of test images having different processing result values obtained by image processing for failure diagnosis, it is possible to comprehensively check the processing result values that can be taken as a system.

故障診断の結果、異常が検知された場合、画像処理の結果を破棄したり、異常を通知したりするフェイルセーフ制御を出力制御部15aが行うことで、誤った画像処理結果に基づく誤作動を防止できる。また、故障診断において異常が検知された事象が連続した場合、出力制御部15aが修復動作を実行することで復旧を試みることができ、システムの可用性が向上する。   If an abnormality is detected as a result of the failure diagnosis, the output control unit 15a performs fail-safe control for discarding the image processing result or notifying the abnormality, thereby causing a malfunction based on the erroneous image processing result. Can be prevented. In addition, when an event in which an abnormality is detected in failure diagnosis continues, recovery can be attempted by the output control unit 15a executing a repair operation, and the system availability is improved.

[第1実施形態の変形例]
第1実施形態では、画像処理装置1aの内部に設けられたROM13aに記憶されているテスト画像及び期待値データを、画像処理装置1aの起動時にRAM12aに転送する事例について説明した。これに限らず、画像処理装置1aの外部から接続された記憶装置から、テスト画像及び期待値データをRAM12aに転送する構成であってもよい。
[Modification of First Embodiment]
In the first embodiment, the case has been described in which the test image and the expected value data stored in the ROM 13a provided in the image processing apparatus 1a are transferred to the RAM 12a when the image processing apparatus 1a is activated. However, the configuration is not limited to this, and the test image and the expected value data may be transferred to the RAM 12a from a storage device connected from the outside of the image processing apparatus 1a.

〈第2実施形態〉
第2実施形態の画像処理装置1bの構成について、図3を参照しながら説明する。画像処理装置1bは、画像処理部11bと、RAM12bと、ROM13bと、故障診断部14bと、出力制御部15bとを備える。なお、第2実施形態における符号10b〜15bの各構成は、第1実施形態における符号10a〜15aの各構成とそれぞれ対応するものである。この第2実施形態については、上述の第1実施形態(図1参照)の画像処理装置1aと異なる事項について主に説明し、第1実施形態と共通の構成や機能についての説明は省略する。
Second Embodiment
The configuration of the image processing apparatus 1b according to the second embodiment will be described with reference to FIG. The image processing apparatus 1b includes an image processing unit 11b, a RAM 12b, a ROM 13b, a failure diagnosis unit 14b, and an output control unit 15b. In addition, each structure of the codes | symbols 10b-15b in 2nd Embodiment respond | corresponds with each structure of the codes | symbols 10a-15a in 1st Embodiment, respectively. In the second embodiment, items different from the image processing apparatus 1a of the first embodiment (see FIG. 1) described above will be mainly described, and descriptions of configurations and functions common to the first embodiment will be omitted.

第2実施形態は、故障診断に用いられるテスト画像のデータが、ステレオカメラ10bに格納されている点において第1実施形態と相違する。このテスト画像は、ステレオカメラ10bにより撮像されるステレオ画像を模擬した一対の画像で構成されている。システムとして取り得る視差値を網羅的に検査するため、画像処理によって得られる視差値がそれぞれ異なるように構成された複数組のテスト画像が、ステレオカメラ10bの記憶装置(不図示)に格納されている。ステレオカメラ10bは、左右一対のステレオ画像からなる画像データを繰返し取得し、取得した画像データを画像処理部11bに出力する。また、ステレオカメラ10bは、記憶装置に格納されているテスト画像を、撮像されたステレオ画像と並行して周期的に出力する。   The second embodiment is different from the first embodiment in that test image data used for failure diagnosis is stored in the stereo camera 10b. This test image is composed of a pair of images simulating a stereo image captured by the stereo camera 10b. In order to comprehensively examine the parallax values that can be taken as a system, a plurality of sets of test images configured so that the parallax values obtained by image processing are different from each other are stored in a storage device (not shown) of the stereo camera 10b. Yes. The stereo camera 10b repeatedly acquires image data composed of a pair of left and right stereo images, and outputs the acquired image data to the image processing unit 11b. In addition, the stereo camera 10b periodically outputs a test image stored in the storage device in parallel with the captured stereo image.

故障診断部14bは、ステレオカメラ10bから入力される複数組のテスト画像を用いて、画像処理部11bに画像処理を実行させる。そして、テスト画像に対する処理結果値と各テスト画像に対応する期待値データとを比較し、画像処理部11bの故障の有無を診断する。故障診断部14bは、画像処理部11bがステレオカメラ10bにより取得されるステレオ画像に対して画像処理を行うルーチンと並行して、周期的にテスト画像を用いる故障診断を行う。   The failure diagnosis unit 14b causes the image processing unit 11b to perform image processing using a plurality of sets of test images input from the stereo camera 10b. Then, the processing result value for the test image is compared with the expected value data corresponding to each test image to diagnose the presence or absence of a failure in the image processing unit 11b. The failure diagnosis unit 14b periodically performs failure diagnosis using a test image in parallel with a routine in which the image processing unit 11b performs image processing on a stereo image acquired by the stereo camera 10b.

RAM12bには、ステレオカメラ10bにより入力された画像データに対して画像処理部11bにより画像処理が行われた結果である処理結果値(視差値マップ)が格納される。RAM12bには、複数組のテスト画像それぞれに対応する複数の期待値データが格納される。この期待値データは、ステレオカメラ10bから入力されるテスト画像に対して画像処理部11bによる画像処理を施したときの正常な結果値を表す情報である。また、RAM12bには、テスト画像に対して画像処理部11bにより画像処理が行われた結果である結果値が格納される。   The RAM 12b stores a processing result value (disparity value map) that is a result of image processing performed by the image processing unit 11b on the image data input by the stereo camera 10b. The RAM 12b stores a plurality of expected value data corresponding to each of a plurality of sets of test images. This expected value data is information representing a normal result value when the image processing by the image processing unit 11b is performed on the test image input from the stereo camera 10b. The RAM 12b stores a result value that is a result of image processing performed on the test image by the image processing unit 11b.

ROM13bには、ステレオカメラ10bから入力される各テスト画像に対応する期待値データの原本となるオリジナルの期待値データが記憶されている。ROM13bに記憶されている期待値データは、画像処理装置1bの起動時にROM13bからRAM12bに転送され、RAM12bの所定領域に展開される。   The ROM 13b stores original expected value data that is an original of expected value data corresponding to each test image input from the stereo camera 10b. The expected value data stored in the ROM 13b is transferred from the ROM 13b to the RAM 12b when the image processing apparatus 1b is activated, and is expanded in a predetermined area of the RAM 12b.

第2実施形態の画像処理装置1bの各部が実行する画像処理の手順については、第1実施形態において既に説明した図2のフローチャートの手順に準ずる。ただし、第2実施形態では、図2のS102が次の手順となる。すなわち、S100の画像処理が終了し、その処理結果値が出力される前までの間に、故障診断部14bは、ステレオカメラ10bから入力された複数組のテスト画像を用いて、画像処理部11bに各テスト画像について視差値を求める画像処理を実行させる。画像処理部11bは、各テスト画像に対する処理結果値をRAM12bに格納する。また、第2実施形態では、図2のS115における修復動作において、テスト画像のデータをRAM12aに再転送する代わりに、ステレオカメラ10bの構成情報を再ロードして、ステレオカメラ10bの再構成を試みる。   The procedure of image processing executed by each unit of the image processing apparatus 1b according to the second embodiment conforms to the procedure of the flowchart of FIG. 2 already described in the first embodiment. However, in the second embodiment, S102 in FIG. 2 is the next procedure. That is, before the end of the image processing in S100 and before the processing result value is output, the failure diagnosis unit 14b uses the plurality of sets of test images input from the stereo camera 10b to perform the image processing unit 11b. The image processing for obtaining the parallax value for each test image is executed. The image processing unit 11b stores the processing result value for each test image in the RAM 12b. In the second embodiment, instead of re-transferring the test image data to the RAM 12a in the restoration operation in S115 in FIG. 2, the configuration information of the stereo camera 10b is reloaded to attempt to reconfigure the stereo camera 10b. .

[第2実施形態の効果]
第2実施形態の画像処理装置1bによれば、次の効果を奏する。画像処理部11bによる通常の画像処理の周期的なルーチンと並行して、ステレオカメラ10bから取得したテスト画像データに基づく故障診断を周期的に行うことができる。このようにすることで、通常の画像処理のルーチンを阻害せず、ステレオカメラ10bからの入力ラインや画像処理部11bに関する故障の有無をリアルタイムに監視することができる。
[Effects of Second Embodiment]
The image processing device 1b according to the second embodiment has the following effects. In parallel with the periodic routine of normal image processing by the image processing unit 11b, failure diagnosis based on test image data acquired from the stereo camera 10b can be periodically performed. By doing so, it is possible to monitor in real time whether there is a failure related to the input line from the stereo camera 10b or the image processing unit 11b without hindering the routine of normal image processing.

〈第3実施形態〉
第3実施形態の画像処理装置1cの構成について、図4を参照しながら説明する。画像処理装置1cは、画像処理部11cと、RAM12cと、ROM13cと、故障診断部14cと、出力制御部15cとを備える。なお、第3実施形態における符号10c〜15cの各構成は、第1実施形態における符号10a〜15aの各構成とそれぞれ対応するものである。この第3実施形態については、上述の第1実施形態(図1参照)や第2実施形態(図3参照)と異なる事項について主に説明し、第1実施形態や第2実施形態と共通の構成や機能についての説明は省略する。
<Third Embodiment>
The configuration of the image processing apparatus 1c according to the third embodiment will be described with reference to FIG. The image processing apparatus 1c includes an image processing unit 11c, a RAM 12c, a ROM 13c, a failure diagnosis unit 14c, and an output control unit 15c. In addition, each structure of the codes | symbols 10c-15c in 3rd Embodiment respond | corresponds with each structure of the codes | symbols 10a-15a in 1st Embodiment, respectively. In the third embodiment, matters different from those in the first embodiment (see FIG. 1) and the second embodiment (see FIG. 3) will be mainly described, and common to the first embodiment and the second embodiment. A description of the configuration and functions is omitted.

第3実施形態は、故障診断に用いられるテスト画像のデータが、ステレオカメラ10c及びRAM12cの両方に格納されている点において第1,2実施形態と相違する。これらのテスト画像は、ステレオカメラ10cにより撮像されるステレオ画像を模擬した一対の画像で構成されている。システムとして取り得る視差値を網羅的に検査するため、画像処理によって得られる視差値がそれぞれ異なるように構成された複数組のテスト画像が、ステレオカメラ10cの記憶装置(不図示)及びRAM12cに格納されている。   The third embodiment is different from the first and second embodiments in that test image data used for failure diagnosis is stored in both the stereo camera 10c and the RAM 12c. These test images are composed of a pair of images simulating a stereo image captured by the stereo camera 10c. In order to comprehensively check the parallax values that can be taken as a system, a plurality of sets of test images configured so that the parallax values obtained by image processing are different from each other are stored in the storage device (not shown) of the stereo camera 10c and the RAM 12c. Has been.

ステレオカメラ10cは、左右一対のステレオ画像からなる画像データを繰返し取得し、取得した画像データを画像処理部11cに出力する。また、ステレオカメラ10cは、記憶装置に格納されているテスト画像を、撮像されたステレオ画像と並行して周期的に出力する。また、ROM13cには、RAM12cに展開されるテスト画像、及び各テスト画像に対応する期待値データの原本となるオリジナルのテスト画像及び期待値データが記憶されている。ROM13cに記憶されているテスト画像及び期待値データは、画像処理装置1cの起動時にROM13cからRAM12cに転送され、RAM12cの所定領域に展開される。   The stereo camera 10c repeatedly acquires image data composed of a pair of left and right stereo images, and outputs the acquired image data to the image processing unit 11c. Further, the stereo camera 10c periodically outputs a test image stored in the storage device in parallel with the captured stereo image. Further, the ROM 13c stores a test image developed on the RAM 12c, and an original test image and expected value data which are originals of expected value data corresponding to each test image. The test image and expected value data stored in the ROM 13c are transferred from the ROM 13c to the RAM 12c when the image processing apparatus 1c is started up, and developed in a predetermined area of the RAM 12c.

故障診断部14cは、画像処理部11cがステレオカメラ10cにより取得されるステレオ画像に対して画像処理を行うルーチンと並行して、周期的にステレオカメラ10c及びRAM12cのテスト画像を交互に切替えて故障診断を行う。具体的には、故障診断部14cは、RAM12cに展開されている複数組のテスト画像を用いて、画像処理部11cに画像処理を実行させる。そして、テスト画像に対する処理結果値と各テスト画像に対応する期待値データとを比較し、異常の有無を診断する。また、故障診断部14cは、ステレオカメラ10cから入力される複数組のテスト画像を用いて、画像処理部11cに画像処理を実行させる。そして、テスト画像に対する処理結果値と各テスト画像に対応する期待値データとを比較し、異常の有無を診断する。なお、個々のテスト画像を用いて故障診断を行う手順については、図2のフローチャートにおけるS100〜S114の手順に準ずる。   In parallel with the routine in which the image processing unit 11c performs image processing on the stereo image acquired by the stereo camera 10c, the failure diagnosis unit 14c periodically switches the test images of the stereo camera 10c and the RAM 12c alternately to cause a failure. Make a diagnosis. Specifically, the failure diagnosis unit 14c causes the image processing unit 11c to perform image processing using a plurality of sets of test images developed in the RAM 12c. Then, the processing result value for the test image is compared with the expected value data corresponding to each test image to diagnose the presence or absence of abnormality. Further, the failure diagnosis unit 14c causes the image processing unit 11c to perform image processing using a plurality of sets of test images input from the stereo camera 10c. Then, the processing result value for the test image is compared with the expected value data corresponding to each test image to diagnose the presence or absence of abnormality. In addition, about the procedure which performs a failure diagnosis using each test image, it applies to the procedure of S100-S114 in the flowchart of FIG.

さらに、故障診断部14cは、ステレオカメラ10c及びRAM12cそれぞれのテスト画像に関する診断結果から故障箇所を特定する。そして、出力制御部15cは、故障診断部14cによって特定された故障箇所に応じた修復動作を実行する。この一連の処理手順について、図5のフローチャートを参照しながら説明する。   Furthermore, the failure diagnosis unit 14c identifies a failure location from the diagnosis results regarding the test images of the stereo camera 10c and the RAM 12c. Then, the output control unit 15c executes a repair operation according to the failure location specified by the failure diagnosis unit 14c. This series of processing procedures will be described with reference to the flowchart of FIG.

S200では、故障診断部14cは、ステレオカメラ10c及びRAM12cそれぞれのテスト画像について交互に故障診断した結果を参照する。S202では、故障診断部14cは、ステレオカメラ10c及びRAM12cそれぞれのテスト画像に関する診断結果の組合せパターンに基づいて、ステレオカメラ10c、画像処理部11c又はテスト画像の関する故障箇所を特定する。   In S200, the failure diagnosis unit 14c refers to the result of the failure diagnosis alternately performed on the test images of the stereo camera 10c and the RAM 12c. In S202, the failure diagnosing unit 14c specifies a failure location related to the stereo camera 10c, the image processing unit 11c, or the test image based on the combination pattern of the diagnosis results related to the test images of the stereo camera 10c and the RAM 12c.

具体的には、ステレオカメラ10c及びRAM12cそれぞれのテスト画像について、定常的に異常と診断された場合、故障診断部14cは、画像処理部11cが故障していると判断する。また、ステレオカメラ10cのテスト画像を用いた場合のみ異常と診断された場合、故障診断部14cは、ステレオカメラ10cかステレオカメラ10cに格納されているテスト画像のデータが故障していると判断する。また、RAM12cのテスト画像を用いた場合のみ異常と診断された場合、故障診断部14cは、RAM12cに格納されているテスト画像のデータが故障していると判断する。   Specifically, when the test images of the stereo camera 10c and the RAM 12c are regularly diagnosed as abnormal, the failure diagnosis unit 14c determines that the image processing unit 11c is out of order. Further, when an abnormality is diagnosed only when the test image of the stereo camera 10c is used, the failure diagnosis unit 14c determines that the test camera data stored in the stereo camera 10c or the stereo camera 10c is defective. . Further, when an abnormality is diagnosed only when the test image in the RAM 12c is used, the failure diagnosis unit 14c determines that the data of the test image stored in the RAM 12c has failed.

S204では、出力制御部15cは、S202において特定された故障箇所に対応する修復動作を実行する。具体的には、画像処理部11cが故障していると特定された場合、出力制御部15cは、画像処理部11cを構成するシステムLSIの構成情報を再ロードして、画像処理部11cの再構成を試みる。また、ステレオカメラ10cかステレオカメラ10cに格納されているテスト画像のデータが故障していると特定された場合、出力制御部15cは、ステレオカメラ10bの構成情報を再ロードして、ステレオカメラ10bの再構成を試みる。また、RAM12cに格納されているテスト画像のデータが故障していると特定された場合、出力制御部15cは、ROM13cからテスト画像のデータをRAM12cに再転送して、RAM12cのテスト画像のデータをリセットする。   In S204, the output control unit 15c executes a repair operation corresponding to the failure location specified in S202. Specifically, when it is determined that the image processing unit 11c is out of order, the output control unit 15c reloads the configuration information of the system LSI that configures the image processing unit 11c, and the image processing unit 11c re-reads. Try composition. When the test camera data stored in the stereo camera 10c or the stereo camera 10c is identified as malfunctioning, the output control unit 15c reloads the configuration information of the stereo camera 10b, and the stereo camera 10b. Attempt to reconfigure. If it is determined that the test image data stored in the RAM 12c is out of order, the output control unit 15c retransfers the test image data from the ROM 13c to the RAM 12c, and the test image data in the RAM 12c is transferred to the RAM 12c. Reset.

[第3実施形態の効果]
ステレオカメラ10c及びRAM12cそれぞれのテスト画像を用いて故障診断を行いて故障箇所を特定し、特定した故障箇所に応じた修復動作を行うことで、故障部位の切分け及び可用性の向上が見込まれる。
[Effect of the third embodiment]
By performing failure diagnosis using the test images of the stereo camera 10c and the RAM 12c, specifying the failure location, and performing a repair operation according to the specified failure location, it is possible to isolate the failure location and improve availability.

〈第4実施形態〉
第4実施形態の画像処理装置1dの構成について、図6を参照しながら説明する。画像処理装置1dは、画像処理部11dと、RAM12dと、ROM13dと、故障診断部14dと、出力制御部15dとを備える。なお、第4実施形態における符号10d〜15dの各構成は、第1実施形態における符号10a〜15aの各構成とそれぞれ対応するものである。この第4実施形態については、上述の第1実施形態(図1参照)と異なる事項について主に説明し、第1実施形態と共通の構成や機能についての説明は省略する。
<Fourth embodiment>
The configuration of the image processing apparatus 1d according to the fourth embodiment will be described with reference to FIG. The image processing apparatus 1d includes an image processing unit 11d, a RAM 12d, a ROM 13d, a failure diagnosis unit 14d, and an output control unit 15d. In addition, each structure of the codes | symbols 10d-15d in 4th Embodiment respond | corresponds with each structure of the codes | symbols 10a-15a in 1st Embodiment, respectively. In the fourth embodiment, matters different from those in the first embodiment (see FIG. 1) are mainly described, and descriptions of configurations and functions common to the first embodiment are omitted.

第4実施形態は、故障診断に用いられる正常なテスト画像の他に、故障診断機能の試験に用いられる不正テスト画像がROM13dに格納されている点において、第1実施形態と相違する。正常なテスト画像については、上述の第1実施形態において説明したものと同様である。不正テスト画像は、正常なテスト画像と同様にステレオカメラ10dにより撮像されるステレオ画像を模擬した画像で構成されている。ただし、この不正テスト画像は、画像処理部11dにおいて正常に画像処置が行われたときの処理結果値が期待値データに対して不正となるように改変されている。   The fourth embodiment is different from the first embodiment in that a fraud test image used for a test of a fault diagnosis function is stored in the ROM 13d in addition to a normal test image used for fault diagnosis. The normal test image is the same as that described in the first embodiment. The fraud test image is composed of an image simulating a stereo image captured by the stereo camera 10d in the same manner as a normal test image. However, the fraud test image is modified so that the processing result value when the image processing is normally performed in the image processing unit 11d is illegal with respect to the expected value data.

この第4実施形態の画像処理装置1dでは、起動に伴う初期化の段階において、まず、ROM13dに記憶されている不正テスト画像がRAM12dに転送され、RAM12dの所定領域に展開される。故障診断部14dは、初期化時にRAM12dに転送された不正テスト画像を用いて、故障診断機能が正常に動作するか否かを試験する。そして、故障診断機能が正常に動作することが確認されたことを条件に、今度は正常なテスト画像がROM13dからRAM12dに転送され、それ以降、通常の画像処理(図2参照)が開始される。この一連の処理手順について、図7のフローチャートを参照しながら説明する。   In the image processing apparatus 1d according to the fourth embodiment, at the stage of initialization accompanying activation, first, the fraud test image stored in the ROM 13d is transferred to the RAM 12d and developed in a predetermined area of the RAM 12d. The failure diagnosis unit 14d tests whether or not the failure diagnosis function operates normally by using the fraud test image transferred to the RAM 12d at the time of initialization. Then, on the condition that the failure diagnosis function is confirmed to operate normally, a normal test image is transferred from the ROM 13d to the RAM 12d, and thereafter normal image processing (see FIG. 2) is started. . A series of processing procedures will be described with reference to the flowchart of FIG.

S300では、故障診断部14dは、画像処理装置1dの起動に伴う初期化が行われたことを条件に、ROM13dに格納されている不正テスト画像をRAM12dに転送する。転送された不正テスト画像は、RAM12dの所定領域に展開される。S302では、故障診断部14dは、RAM12dに展開されている不正テスト画像を用いて、画像処理部11dに不正テスト画像について視差値を求める画像処理を実行させる。画像処理部11dは、不正テスト画像に対する処理結果値をRAM12dに格納する。   In S300, the failure diagnosis unit 14d transfers the fraud test image stored in the ROM 13d to the RAM 12d on the condition that the initialization associated with the activation of the image processing apparatus 1d has been performed. The transferred fraud test image is developed in a predetermined area of the RAM 12d. In S302, the failure diagnosis unit 14d causes the image processing unit 11d to execute image processing for obtaining a parallax value for the fraud test image using the fraud test image developed in the RAM 12d. The image processing unit 11d stores the processing result value for the fraud test image in the RAM 12d.

S304では、故障診断部14dは、RAM12dに格納された不正テスト画像に対する処理結果値と、「故障」を定義する所定の故障期待値とを比較し、両者の一致性を判断する。不正テスト画像に対する処理結果値と、故障期待値とが一致基準を満たすとき一致と判断し、一致基準を満たさないとき不一致と判断する。S306では、故障診断部14dは、S304における判断結果に応じて処理を分岐する。   In S304, the failure diagnosis unit 14d compares the processing result value for the fraud test image stored in the RAM 12d with a predetermined failure expectation value that defines “failure”, and determines a match between them. When the processing result value for the fraud test image and the expected failure value satisfy the matching criterion, it is determined to match, and when the matching criterion is not satisfied, it is determined to be mismatched. In S306, the failure diagnosis unit 14d branches the process according to the determination result in S304.

不正テスト画像に対する処理結果値と故障期待値とが一致と判断された場合(S306:一致)、故障診断部14dはS308に進む。この場合、不正画像データに対する処理結果値について正しく「故障」と判断されることが確認できたため、故障診断機能が正常に動作すると判断される。S308では、故障診断部14dは、RAM12dをリセットし、ROM13dに格納されている正常なテスト画像をRAM12dに転送する。S308以降の処理の手順については、第1実施形態において既に説明した図2のフローチャートの手順に準ずる。   If it is determined that the processing result value for the fraud test image matches the expected failure value (S306: match), the failure diagnosis unit 14d proceeds to S308. In this case, since it has been confirmed that the processing result value for the illegal image data is correctly determined as “failure”, it is determined that the failure diagnosis function operates normally. In S308, the failure diagnosis unit 14d resets the RAM 12d and transfers a normal test image stored in the ROM 13d to the RAM 12d. The processing procedure after S308 follows the procedure of the flowchart of FIG. 2 already described in the first embodiment.

一方、不正テスト画像に対する処理結果値と故障期待値とが不一致と判断された場合(S306:不一致)、故障診断部14dはS310に進む。この場合、不正画像データに対する処理結果値について正しく「故障」と判断されることが確認できなかったため、故障診断機能が正常に動作していないと判断される。S310では、出力制御部15dがフェイルセーフ制御を実行する。具体的には、出力制御部15dは、画像処理部11dの画像処理に関する機能が使用不能であることを表す通知情報を、車両制御装置群2を介して運転者に報知する。   On the other hand, when it is determined that the processing result value for the fraud test image does not match the expected failure value (S306: mismatch), the failure diagnosis unit 14d proceeds to S310. In this case, since it has not been confirmed that the processing result value for the illegal image data is correctly determined as “failure”, it is determined that the failure diagnosis function is not operating normally. In S310, the output control unit 15d performs fail-safe control. Specifically, the output control unit 15d notifies the driver of notification information indicating that the function relating to the image processing of the image processing unit 11d cannot be used via the vehicle control device group 2.

[その他の工夫]
以下、実施形態に適用できる種々の工夫について説明する。
画像処理部にテスト画像に対する画像処理を行わせる際、テスト画像単独で画像処理を行う構成であってもよいし、ステレオカメラから入力された実画像の所定領域にテスト画像のパターンを組込んだ状態で、実画像及びテスト画像に対する画像処理を一括で行う構成であってもよい。
[Other ideas]
Hereinafter, various devices applicable to the embodiment will be described.
When causing the image processing unit to perform image processing on the test image, the test image alone may be configured to perform image processing, or a test image pattern is incorporated in a predetermined area of a real image input from a stereo camera. In this state, the image processing for the actual image and the test image may be collectively performed.

後者の具体例として、図8に例示されるとおり、ステレオカメラによって実際に撮像された実画像30の上下左右方向に隣接する空白領域に、テスト画像のパターン31a〜30dを組込むことが考えられる。   As a specific example of the latter, as illustrated in FIG. 8, it is conceivable to incorporate test image patterns 31 a to 30 d into blank areas adjacent in the vertical and horizontal directions of the actual image 30 actually captured by the stereo camera.

また、図9は、ステレオカメラ10によって実際に撮像された実画像40を構成するライン(ラスター線)の間に、テスト画像のパターン41aが組込まれた事例を表している。この事例では、実画像40の水平方向のある位置に定められた境界線において区分される領域ごとに視差演算方法が異なる場合、その境界の間にテスト画像のパターン41aを組込むことが考えられる。また、図9は、実画像40の右側の領域に異なる2種類のテスト画像41b,41cが組込まれた事例を表している。このように、テスト画像が組込まれた領域において、ある境界からテスト画像のパターンが変わるような構成であってもよい。   FIG. 9 shows an example in which a test image pattern 41 a is incorporated between lines (raster lines) constituting the actual image 40 actually captured by the stereo camera 10. In this example, when the parallax calculation method is different for each region divided on the boundary line defined at a certain position in the horizontal direction of the actual image 40, it is conceivable to incorporate the test image pattern 41a between the boundaries. FIG. 9 shows a case where two different types of test images 41b and 41c are incorporated in the right region of the actual image 40. In this way, the configuration may be such that the pattern of the test image changes from a certain boundary in the region where the test image is incorporated.

1a,1b,1c,1d…画像処理装置、10a,10b,10c,10d…ステレオカメラ、11a,11b,11c,11d…画像処理部、12a,12b,12c,12d…RAM、13a,13b,13c,13d…ROM、14a,14b,14c,14d…故障診断部、15a,15b,15c,15d…出力制御部、2…車両制御装置群。   1a, 1b, 1c, 1d ... image processing apparatus, 10a, 10b, 10c, 10d ... stereo camera, 11a, 11b, 11c, 11d ... image processing unit, 12a, 12b, 12c, 12d ... RAM, 13a, 13b, 13c , 13d ... ROM, 14a, 14b, 14c, 14d ... fault diagnosis unit, 15a, 15b, 15c, 15d ... output control unit, 2 ... vehicle control device group.

Claims (8)

撮像手段(10)により周期的に撮像される撮像画像に対して、前記周期ごとに画像処理を行う画像処理手段(11)と、
前記画像処理手段が前記撮像画像に対して行う周期的な画像処理と並行して、前記画像処理手段により直接アクセス可能な主記憶装置に予め保存した診断用画像データに対する画像処理を前記画像処理手段に行わせることにより、前記診断用画像データに対する画像処理結果と、前記診断用画像データに対する画像処理の正常な処理結果の基準を表す期待値データとを比較し、前記診断用画像データに対する画像処理結果が正常であるか否かを判断する診断手段(14)と、
前記診断手段により前記診断用画像データに対する画像処理結果が正常であると判断されたことを条件に、前記撮像画像に対する画像処理に関する処理結果を有効なものとして、所定の制御手段(2)に出力する出力制御手段(15)とを備え、
前記診断手段は、前記診断用画像データを前記撮像手段から入力された撮像画像の所定領域に組込んだ組込画像に対する画像処理を前記画像処理手段に行わせることにより、前記撮像画像に対する画像処理と並行して前記診断用画像データに対する画像処理を前記画像処理手段に行わせること、
を特徴とする画像処理装置。
Image processing means (11) that performs image processing for each of the cycles of the picked-up images periodically picked up by the image pickup means (10);
In parallel with the periodic image processing performed by the image processing unit on the captured image, the image processing unit performs image processing on diagnostic image data stored in advance in a main storage device directly accessible by the image processing unit. By performing the comparison, the image processing result for the diagnostic image data is compared with the expected value data representing the standard of the normal processing result of the image processing for the diagnostic image data, and the image processing result for the diagnostic image data Diagnostic means (14) for determining whether or not is normal;
On the condition that the image processing result for the diagnostic image data is determined to be normal by the diagnostic means, the processing result relating to the image processing for the captured image is output as valid to the predetermined control means (2). Output control means (15) for
The diagnostic unit causes the image processing unit to perform image processing on the embedded image in which the diagnostic image data is embedded in a predetermined region of the captured image input from the imaging unit, thereby performing image processing on the captured image. In parallel with the image processing means to perform image processing on the diagnostic image data,
An image processing apparatus.
撮像手段(10)により周期的に撮像される撮像画像に対して、前記周期ごとに画像処理を行う画像処理手段(11)と、
前記画像処理手段が前記撮像画像に対して行う周期的な画像処理と並行して、前記画像処理手段により直接アクセス可能な主記憶装置に予め保存した診断用画像データに対する画像処理を前記画像処理手段に行わせることにより、前記診断用画像データに対する画像処理結果と、前記診断用画像データに対する画像処理の正常な処理結果の基準を表す期待値データとを比較し、前記診断用画像データに対する画像処理結果が正常であるか否かを判断する診断手段(14)と、
前記診断手段により前記診断用画像データに対する画像処理結果が正常であると判断されたことを条件に、前記撮像画像に対する画像処理に関する処理結果を有効なものとして、所定の制御手段(2)に出力する出力制御手段(15)とを備え、
前記診断手段は、起動時において、画像処理結果が前記期待値データに対して不正な値となるように用意された不正診断用画像データに対する画像処理を前記画像処理手段に行わせて、前記不正診断用画像データに対する画像処理結果が所定の故障条件に適合するか否かを判断し、
前記診断手段により前記不正診断用画像データに対する画像処理結果が故障条件に適合すると判断されたことを条件に、前記診断用画像データが保存されている補助記憶手段から前記主記憶装置に前記診断用画像データを転送し、以降、前記診断手段は、前記主記憶装置に保存された診断用画像データを用いて、前記診断用画像データに対する画像処理結果が正常であるか否かを判断すること、
を特徴とする画像処理装置。
Image processing means (11) that performs image processing for each of the cycles of the picked-up images periodically picked up by the image pickup means (10);
In parallel with the periodic image processing performed by the image processing unit on the captured image, the image processing unit performs image processing on diagnostic image data stored in advance in a main storage device directly accessible by the image processing unit. By performing the comparison, the image processing result for the diagnostic image data is compared with the expected value data representing the standard of the normal processing result of the image processing for the diagnostic image data, and the image processing result for the diagnostic image data Diagnostic means (14) for determining whether or not is normal;
On the condition that the image processing result for the diagnostic image data is determined to be normal by the diagnostic means, the processing result relating to the image processing for the captured image is output as valid to the predetermined control means (2). Output control means (15) for
The diagnostic unit causes the image processing unit to perform image processing on image data for fraud diagnosis prepared so that an image processing result is an invalid value with respect to the expected value data at the time of start-up. Determine whether the image processing result for the diagnostic image data meets a predetermined failure condition,
On the condition that the diagnostic processing determines that the image processing result for the fraud diagnostic image data meets the failure condition, the diagnostic storage unit stores the diagnostic image data from the auxiliary storage unit to the main storage device. Transferring the image data, and thereafter, the diagnostic means determines whether or not the image processing result for the diagnostic image data is normal using the diagnostic image data stored in the main storage device;
An image processing apparatus.
撮像手段(10)により周期的に撮像される撮像画像に対して、前記周期ごとに画像処理を行う画像処理手段(11)と、
前記画像処理手段が前記撮像画像に対して行う周期的な画像処理と並行して、前記画像処理手段により直接アクセス可能な主記憶装置に予め保存した診断用画像データに対する画像処理を前記画像処理手段に行わせることにより、前記診断用画像データに対する画像処理結果と、前記診断用画像データに対する画像処理の正常な処理結果の基準を表す期待値データとを比較し、前記診断用画像データに対する画像処理結果が正常であるか否かを判断する診断手段(14)と、
前記診断手段により前記診断用画像データに対する画像処理結果が正常であると判断されたことを条件に、前記撮像画像に対する画像処理に関する処理結果を有効なものとして、所定の制御手段(2)に出力する出力制御手段(15)とを備え、
前記診断手段は、前記撮像手段に予め保存されている診断用画像データ、及び前記主記憶装置に保存されている診断用画像データについて、交互に前記画像処理手段に画像処理行わせることにより、それぞれの診断用画像データに対する画像処理結果が正常であるか否かを判断し、
前記撮像手段及び前記主記憶装置それぞれの診断用画像データに対する前記診断手段による判断結果のパターンに応じて故障箇所を特定する特定手段(14c)と、
前記特定手段により特定された故障箇所に対する修復動作を実行する特定修復手段(15c)をと備えること、
を特徴とする画像処理装置。
Image processing means (11) that performs image processing for each of the cycles of the picked-up images periodically picked up by the image pickup means (10);
In parallel with the periodic image processing performed by the image processing unit on the captured image, the image processing unit performs image processing on diagnostic image data stored in advance in a main storage device directly accessible by the image processing unit. By performing the comparison, the image processing result for the diagnostic image data is compared with the expected value data representing the standard of the normal processing result of the image processing for the diagnostic image data, and the image processing result for the diagnostic image data Diagnostic means (14) for determining whether or not is normal;
On the condition that the image processing result for the diagnostic image data is determined to be normal by the diagnostic means, the processing result relating to the image processing for the captured image is output as valid to the predetermined control means (2). Output control means (15) for
The diagnostic unit causes the image processing unit to alternately perform image processing on diagnostic image data stored in advance in the imaging unit and diagnostic image data stored in the main storage device, respectively. To determine whether the image processing result for the diagnostic image data is normal,
A specifying unit (14c) for specifying a failure location according to a pattern of a determination result by the diagnostic unit for diagnostic image data of each of the imaging unit and the main storage device;
Comprising specific repairing means (15c) for performing a repairing operation on the fault location specified by the specifying means;
An image processing apparatus.
請求項1ないし請求項3の何れか1項に記載の画像処理装置において、
前記画像処理手段による画像処理結果の複数の類型それぞれに対応する複数種類の前記診断用画像データが前記主記憶装置に保存され、
前記診断手段は、複数種類の前記診断用画像データそれぞれに対して、前記画像処理手段に画像処理を行わせることにより、複数種類の前記診断用画像データに対する画像処理結果と、複数種類の前記診断用画像データそれぞれに対応する複数種類の期待値データとを比較し、画像処理結果が正常であるか否かを判断すること、
を特徴とする画像処理装置。
The image processing apparatus according to any one of claims 1 to 3 ,
A plurality of types of diagnostic image data corresponding to a plurality of types of image processing results by the image processing means are stored in the main storage device,
The diagnostic unit causes the image processing unit to perform image processing on each of the plurality of types of diagnostic image data, thereby performing image processing results on the plurality of types of diagnostic image data and a plurality of types of the diagnostics. Comparing a plurality of types of expected value data corresponding to each of the image data, and determining whether the image processing result is normal,
An image processing apparatus.
請求項1ないし請求項4の何れか1項に記載の画像処理装置において、
起動時に、前記診断用画像データが保存されている補助記憶手段から前記主記憶装置に、前記診断用画像データを転送すること、
を特徴とする画像処理装置。
It claims 1 image processing apparatus according to any one of claims 4,
Transferring the diagnostic image data from the auxiliary storage means storing the diagnostic image data to the main storage device at the time of startup;
An image processing apparatus.
請求項1ないし請求項の何れか1項に記載の画像処理装置において、
前記診断手段により前記診断用画像データに対する画像処理結果が異常であると診断された場合、前記撮像画像に対する画像処理の関する処理結果を前記制御手段に出力せずに破棄し、使用者に対して異常を通知するフェイルセーフ手段(15)を備えること、
を特徴とする画像処理装置。
The image processing apparatus according to any one of claims 1 to 5 ,
When the diagnostic means diagnoses that the image processing result for the diagnostic image data is abnormal, the processing result relating to the image processing for the captured image is discarded without being output to the control means, and Providing fail-safe means (15) for notifying abnormality,
An image processing apparatus.
請求項1ないし請求項の何れか1項に記載の画像処理装置において、
前記診断手段により前記診断用画像データに対する画像処理結果が異常であると診断された事象が規定回数連続したことを条件に、前記画像処理手段に関する修復動作を実行する修復手段(15a)を備えること、
を特徴とする画像処理装置。
The image processing apparatus according to any one of claims 1 to 6 ,
A repairing means (15a) for executing a repairing operation on the image processing means is provided on the condition that an event diagnosed by the diagnostic means as an abnormal image processing result for the diagnostic image data has continued for a specified number of times. ,
An image processing apparatus.
撮像手段(10b)により周期的に撮像される撮像画像に対して、前記周期ごとに画像処理を行う画像処理手段(11b)と、
前記画像処理手段が前記撮像画像に対して行う周期的な画像処理と並行して、前記撮像手段に予め保存されている診断用画像データを取得して前記画像処理手段に画像処理行わせることにより、前記診断用画像データに対する画像処理結果と、前記診断用画像データに対する画像処理の正常な処理結果の基準を表す期待値データとを比較し、前記診断用画像データに対する画像処理結果が正常であるか否かを判断する診断手段(14b)と、
前記診断手段により前記診断用画像データに対する画像処理結果が正常であると判断されたことを条件に、前記撮像画像に対する画像処理に関する処理結果を有効なものとして、所定の制御手段(2)に出力する出力制御手段(15b)とを備え、
前記診断手段は、前記診断用画像データを前記撮像手段から入力された撮像画像の所定領域に組込んだ組込画像に対する画像処理を前記画像処理手段に行わせることにより、前記撮像画像に対する画像処理と並行して前記診断用画像データに対する画像処理を前記画像処理手段に行わせること、
を特徴とする画像処理装置。
Image processing means (11b) that performs image processing for each cycle of the picked-up images picked up periodically by the image pickup means (10b);
In parallel with periodic image processing performed by the image processing unit on the captured image, diagnostic image data stored in advance in the imaging unit is acquired and the image processing unit performs image processing. The image processing result for the diagnostic image data is compared with the expected value data representing the standard of the normal processing result of the image processing for the diagnostic image data, and the image processing result for the diagnostic image data is normal Diagnostic means (14b) for determining whether or not,
On the condition that the image processing result for the diagnostic image data is determined to be normal by the diagnostic means, the processing result relating to the image processing for the captured image is output as valid to the predetermined control means (2). Output control means (15b) for
The diagnostic unit causes the image processing unit to perform image processing on the embedded image in which the diagnostic image data is embedded in a predetermined region of the captured image input from the imaging unit, thereby performing image processing on the captured image. In parallel with the image processing means to perform image processing on the diagnostic image data,
An image processing apparatus.
JP2015056230A 2014-10-27 2015-03-19 Image processing device Active JP6458579B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE102015220884.2A DE102015220884B4 (en) 2014-10-27 2015-10-26 image processing device
US14/923,135 US9852502B2 (en) 2014-10-27 2015-10-26 Image processing apparatus
CN201510707908.0A CN105554493B (en) 2014-10-27 2015-10-27 Image processing apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014218581 2014-10-27
JP2014218581 2014-10-27

Publications (2)

Publication Number Publication Date
JP2016085721A JP2016085721A (en) 2016-05-19
JP6458579B2 true JP6458579B2 (en) 2019-01-30

Family

ID=55973776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015056230A Active JP6458579B2 (en) 2014-10-27 2015-03-19 Image processing device

Country Status (1)

Country Link
JP (1) JP6458579B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10848756B2 (en) 2019-03-08 2020-11-24 Kabushiki Kaisha Toshiba Image processing apparatus and failure detection method for image processing apparatus
WO2024039078A1 (en) * 2022-08-18 2024-02-22 삼성전자 주식회사 Camera malfunction prevention method and electronic device

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3518523A4 (en) * 2016-09-23 2020-06-10 Hitachi Automotive Systems, Ltd. Image processing device
JP2019049884A (en) 2017-09-11 2019-03-28 株式会社東芝 Image processing device and failure diagnosis control method
DE102017220282A1 (en) * 2017-11-14 2019-05-16 Robert Bosch Gmbh Test method for a camera system, a control unit of the camera system, the camera system and a vehicle with this camera system
JP6698779B2 (en) * 2018-10-10 2020-05-27 三菱電機株式会社 Image processing device
US11210199B2 (en) * 2019-05-31 2021-12-28 Ati Technologies Ulc Safety monitor for invalid image transform
JP7392297B2 (en) * 2019-06-13 2023-12-06 株式会社デンソー Image processing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006300890A (en) * 2005-04-25 2006-11-02 Toyota Motor Corp Device and method for inspecting image processing
JP4539427B2 (en) * 2005-05-09 2010-09-08 トヨタ自動車株式会社 Image processing device
JP4980089B2 (en) * 2007-01-31 2012-07-18 富士重工業株式会社 Stereo image processing device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10848756B2 (en) 2019-03-08 2020-11-24 Kabushiki Kaisha Toshiba Image processing apparatus and failure detection method for image processing apparatus
WO2024039078A1 (en) * 2022-08-18 2024-02-22 삼성전자 주식회사 Camera malfunction prevention method and electronic device

Also Published As

Publication number Publication date
JP2016085721A (en) 2016-05-19

Similar Documents

Publication Publication Date Title
JP6458579B2 (en) Image processing device
US9769469B2 (en) Failure detection apparatus and failure detection program
EP3094075B1 (en) In-vehicle-camera image processing device
US9852502B2 (en) Image processing apparatus
US10152890B2 (en) On-vehicle camera device
US10019004B2 (en) Device, method, and program for detecting object
EP2891264B1 (en) Method for conducting a safety function of a vehicle and system for performing the method
WO2018110605A1 (en) Image processing device and outside recognition device
JP6923458B2 (en) Electronic control device
WO2020066304A1 (en) Vehicle-mounted electronic control system
JP6865572B2 (en) Automotive risk-based control
EP3140777B1 (en) Method for performing diagnosis of a camera system of a motor vehicle, camera system and motor vehicle
US10723347B2 (en) Vehicle control device and vehicle control method
US20180052456A1 (en) Testing of an autonomously controllable motor vehicle
WO2016027408A1 (en) Image processing apparatus, and failure diagnosis method for image processing apparatus
US9881233B2 (en) Image recognition apparatus
CN113412455A (en) Evaluation of measurement data of a driving dynamics system with safeguarding of desired functions
US20220032966A1 (en) On-vehicle control apparatus and on-vehicle control system
JP7392297B2 (en) Image processing device
WO2018078889A1 (en) Information processing device, information processing method, and information processing program
JP6698779B2 (en) Image processing device
JP6763080B2 (en) Automotive vision systems and methods
WO2018055914A1 (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180710

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180810

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: 20181127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181210

R151 Written notification of patent or utility model registration

Ref document number: 6458579

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250