JP6541734B2 - Shovel - Google Patents

Shovel Download PDF

Info

Publication number
JP6541734B2
JP6541734B2 JP2017171561A JP2017171561A JP6541734B2 JP 6541734 B2 JP6541734 B2 JP 6541734B2 JP 2017171561 A JP2017171561 A JP 2017171561A JP 2017171561 A JP2017171561 A JP 2017171561A JP 6541734 B2 JP6541734 B2 JP 6541734B2
Authority
JP
Japan
Prior art keywords
image
distance
pixel
output
shovel
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
JP2017171561A
Other languages
Japanese (ja)
Other versions
JP2018017115A (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.)
Sumitomo SHI Construction Machinery Co Ltd
Original Assignee
Sumitomo SHI Construction Machinery Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo SHI Construction Machinery Co Ltd filed Critical Sumitomo SHI Construction Machinery Co Ltd
Priority to JP2017171561A priority Critical patent/JP6541734B2/en
Publication of JP2018017115A publication Critical patent/JP2018017115A/en
Application granted granted Critical
Publication of JP6541734B2 publication Critical patent/JP6541734B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、ショベルに関する。   The present invention relates to a shovel.

従来、ショベルの上部旋回体に取り付けられるレーザレーダを用いて、ショベルの周囲に存在する物体のショベルに対する距離及び方向を取得しながら周囲を監視する周囲監視装置が知られている(例えば、特許文献1参照。)。   DESCRIPTION OF RELATED ART The circumference | surroundings monitoring apparatus which monitors circumference | surroundings is known conventionally, acquiring the distance and direction with respect to the shovel of the object which exists around a shovel using the laser radar attached to the revolving super structure of a shovel. 1)).

この周囲監視装置は、物体のショベルに対する距離及び方向が所定時間にわたって変化しない場合にその物体を静止障害物と判定し、距離及び方向が変化する場合にその物体を移動障害物と判定する。その上で、周囲監視装置は、ショベル及びその周囲を上空から見たイラスト画像を生成し、障害物の実在位置に対応するイラスト画像上の位置にその障害物を表すイラストを表示する。また、周囲監視装置は、静止障害物と移動障害物とを異なる態様のイラストで表示する。   The surrounding area monitoring device determines that the object is a stationary obstacle when the distance and direction of the object to the shovel do not change for a predetermined time, and determines the object as a moving obstacle when the distance and direction change. Then, the surrounding area monitoring device generates an illustration image of the shovel and its surroundings viewed from above, and displays an illustration representing the obstacle at a position on the illustration image corresponding to the actual position of the obstacle. In addition, the surrounding area monitoring device displays the stationary obstacle and the moving obstacle with illustrations of different modes.

このようにして、周囲監視装置は、ショベルの周囲の障害物の状況を運転者に分かり易く伝えることができるようにしている。   In this way, the surrounding area monitoring device can communicate the status of obstacles around the shovel to the driver in an easy-to-understand manner.

特開2008−163719号公報JP, 2008-163719, A

しかしながら、特許文献1に記載のレーザレーダは、1本のレーザ光を物体に照射し、その反射光から物体の距離及び方向を検出する。そのため、特許文献1に記載のレーザレーダは、物体表面の極めて限られた部分と自身との間の距離を検出するのみであり、その検出結果は、物体を表すイラストの位置を大まかに決めるために利用されるのみである。したがって、特許文献1に記載の周囲監視装置が提示する出力画像は、ショベルの周囲の障害物の状況を運転者に分かり易く伝えるには未だ不十分である。   However, the laser radar described in Patent Document 1 irradiates one object with laser light and detects the distance and direction of the object from the reflected light. Therefore, the laser radar described in Patent Document 1 only detects the distance between itself and a very limited portion of the object surface, and the detection result roughly determines the position of the illustration representing the object. It is only used for Therefore, the output image presented by the surrounding area monitoring device described in Patent Document 1 is still insufficient for informing the driver of the situation of the obstacle around the shovel in an easy-to-understand manner.

上述の点に鑑み、周囲の障害物の状況を運転者に分かり易く伝えるショベルを提供することが望ましい。   In view of the above, it would be desirable to provide a shovel that provides the driver with a clear understanding of the status of surrounding obstacles.

上述の目的を達成するために、本発明の実施例に係るショベルは、走行動作を行う下部走行体と、前記下部走行体に旋回可能に搭載される上部旋回体と、前記上部旋回体に取り付けられ、アタッチメントに含まれるブームと、前記ブームに取り付けられ、前記アタッチメントに含まれるアームと、前記上部旋回体に搭載され、画素毎に距離情報を取得するセンサと、を有するショベルであって、前記画素毎に距離情報を取得するセンサとは別に、カメラが前記上部旋回体に配置されている。   In order to achieve the above object, a shovel according to an embodiment of the present invention is mounted on a lower traveling body which performs a traveling operation, an upper revolving body rotatably mounted on the lower traveling body, and the upper revolving body An excavator including a boom included in an attachment, an arm attached to the boom, an arm included in the attachment, and a sensor mounted on the upper swing body and acquiring distance information for each pixel, A camera is disposed on the upper swing body separately from a sensor that acquires distance information for each pixel.

上述の手段により、周囲の障害物の状況を運転者に分かり易く伝えるショベルを提供することができる。   According to the above-described means, it is possible to provide a shovel that easily informs the driver of the situation of surrounding obstacles.

本発明の実施例に係る画像生成装置の構成例を概略的に示すブロック図である。It is a block diagram showing roughly an example of composition of an image generation device concerning an example of the present invention. 画像生成装置が搭載されるショベルの構成例を示す図である。It is a figure which shows the structural example of the shovel by which an image generation apparatus is mounted. 入力画像が投影される空間モデルの一例を示す図である。It is a figure which shows an example of the space model by which an input image is projected. 空間モデルと処理対象画像平面との間の関係の一例を示す図である。FIG. 6 is a diagram showing an example of a relationship between a space model and a processing target image plane. 入力画像平面上の座標と空間モデル上の座標との対応付けを説明するための図である。It is a figure for demonstrating matching with the coordinate on an input image plane, and the coordinate on a space model. 座標対応付け手段による座標間の対応付けを説明するための図である。It is a figure for demonstrating the matching between the coordinates by a coordinate matching means. 平行線群の作用を説明するための図である。It is a figure for demonstrating the effect | action of a parallel line group. 補助線群の作用を説明するための図である。It is a figure for demonstrating the effect | action of an auxiliary line group. 処理対象画像生成処理及び出力画像生成処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process target image generation process and an output image generation process. 出力画像の表示例(その1)である。It is an example of a display of an output picture (the 1). 画像生成装置が搭載されるショベルの上面図(その1)である。It is a top view (the 1) of a shovel by which an image generating device is carried. ショベルに搭載された3台のカメラのそれぞれの入力画像と、それら入力画像を用いて生成される出力画像とを示す図である。It is a figure which shows each input image of three cameras mounted in the shovel, and the output image produced | generated using those input images. 2つのカメラのそれぞれの撮像範囲の重複領域における物体の消失を防止する画像消失防止処理を説明するための図である。It is a figure for demonstrating the image loss prevention process which prevents the loss of the object in the overlap area | region of the imaging range of each of two cameras. 図12で示される出力画像と、図12の出力画像に画像消失防止処理を適用することで得られる出力画像との違いを表す対比図である。FIG. 13 is a contrast diagram showing the difference between the output image shown in FIG. 12 and the output image obtained by applying the image loss prevention process to the output image of FIG. 12. ショベルに搭載された3台のステレオカメラのそれぞれの入力距離画像と、それら入力距離画像を用いて生成される出力距離画像とを示す図である。It is a figure which shows the input distance image of each of three stereo cameras mounted in the shovel, and the output distance image produced | generated using those input distance images. 図15で示される出力距離画像と、図15の出力距離画像に距離画像消失防止処理を適用することで得られる出力距離画像との違いを表す対比図である。FIG. 16 is a contrast diagram showing a difference between the output distance image shown in FIG. 15 and the output distance image obtained by applying the distance image loss prevention process to the output distance image of FIG. 15. 出力画像に出力距離画像を合成して得られる合成後出力画像の一例を示す図である。It is a figure which shows an example of the after-synthesis | combination output image obtained by synthesize | combining an output distance image with an output image. 出力画像に出力距離画像を合成して得られる合成後出力画像の別の一例を示す図である。It is a figure which shows another example of the synthetic | combination output image obtained by synthesize | combining an output distance image with an output image. 画像生成装置を搭載するショベルの部分右側面図である。It is a partial right side view of a shovel carrying an image generation device. 図19における隆起部の拡大図である。FIG. 20 is an enlarged view of a raised portion in FIG. 出力距離画像の例を示す図である。It is a figure which shows the example of an output distance image. 出力画像の例を示す図である。It is a figure which shows the example of an output image. 第1画素抽出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a 1st pixel extraction process. 画像生成装置を搭載するショベルの部分右側面図である。It is a partial right side view of a shovel carrying an image generation device. 図24における浅陥没部の拡大図である。It is an enlarged view of the shallow depression part in FIG. 出力距離画像の例を示す図である。It is a figure which shows the example of an output distance image. 出力画像の例を示す図である。It is a figure which shows the example of an output image. 第2画素抽出処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a 2nd pixel extraction process. 運転支援処理の流れを示すフローチャートである。It is a flow chart which shows a flow of driving support processing. 画像生成装置が搭載されるショベルを示す図である。It is a figure which shows the shovel by which an image generation apparatus is mounted. 補正前出力距離画像と補正済出力距離画像との違いを表す対比図である。FIG. 6 is a contrast diagram showing the difference between the pre-correction output distance image and the corrected output distance image. 補正前合成後出力画像と補正済合成後出力画像との違いを表す対比図(その1)である。It is a contrast diagram (the 1) showing the difference between a pre-correction post-composition output image and a corrected post-composition output image. 補正前合成後出力画像と補正済合成後出力画像との違いを表す対比図(その2)である。It is a contrast diagram (the 2) showing the difference between a pre-correction post-composition output image and a corrected post-composition output image.

以下、図面を参照しつつ、本発明を実施するための最良の形態の説明を行う。   Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings.

図1は、本発明の実施例に係る画像生成装置100の構成例を概略的に示すブロック図である。   FIG. 1 is a block diagram schematically showing a configuration example of an image generation apparatus 100 according to an embodiment of the present invention.

画像生成装置100は、作業機械の周辺を監視する作業機械用周辺監視装置の1例であり、制御部1、カメラ2、入力部3、記憶部4、表示部5、及びステレオカメラ6で構成される。具体的には、画像生成装置100は、作業機械に搭載されたカメラ2が撮像した入力画像とステレオカメラ6が出力する入力距離画像とに基づいて出力画像を生成しその出力画像を操作者に提示する。   The image generation device 100 is an example of a work machine peripheral monitoring device that monitors the periphery of a work machine, and includes a control unit 1, a camera 2, an input unit 3, a storage unit 4, a display unit 5, and a stereo camera 6. Be done. Specifically, the image generating apparatus 100 generates an output image based on the input image captured by the camera 2 mounted on the work machine and the input distance image output by the stereo camera 6, and outputs the output image to the operator. To present.

図2は、画像生成装置100が搭載される作業機械としてのショベル60の構成例を示す図であり、ショベル60は、クローラ式の下部走行体61の上に、旋回機構62を介して、上部旋回体63を旋回軸PVの周りで旋回自在に搭載している。   FIG. 2 is a view showing a configuration example of a shovel 60 as a working machine on which the image generating apparatus 100 is mounted. The shovel 60 is an upper portion of a crawler type lower traveling body 61 via a turning mechanism 62. The swing body 63 is rotatably mounted around the swing axis PV.

また、上部旋回体63は、その前方左側部にキャブ(運転室)64を備え、その前方中央部に掘削アタッチメントEを備え、その右側面及び後面にカメラ2(右側方カメラ2R、後方カメラ2B)及びステレオカメラ6(右側方ステレオカメラ6R、後方ステレオカメラ6B)を備えている。なお、キャブ64内の操作者が視認し易い位置には表示部5が設置されている。   The upper swing body 63 also has a cab (driver's cab) 64 on the front left side thereof and an excavating attachment E at the front center thereof, and the camera 2 (right side camera 2R, rear camera 2B on its right side and rear side) And a stereo camera 6 (right side stereo camera 6R, rear stereo camera 6B). In addition, the display part 5 is installed in the position in which the operator in the cab 64 visually recognizes.

次に、画像生成装置100の各構成要素について説明する。   Next, each component of the image generation apparatus 100 will be described.

制御部1は、CPU(Central Processing Unit)、RAM(Random Access Memory)、ROM(Read Only Memory)、NVRAM(Non-Volatile Random Access Memory)等を備えたコンピュータであって、例えば、後述する座標対応付け手段10、画像生成手段11、画素抽出手段12、距離補正手段13、距離画像合成手段14、及び、運転支援手段15のそれぞれに対応するプログラムをROMやNVRAMに記憶し、一時記憶領域としてRAMを利用しながら各手段に対応する処理をCPUに実行させる。   The control unit 1 is a computer including a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), a non-volatile random access memory (NVRAM), and the like. Programs corresponding to the setting unit 10, the image generation unit 11, the pixel extraction unit 12, the distance correction unit 13, the distance image combination unit 14, and the driving support unit 15 are stored in the ROM or NVRAM and the RAM as a temporary storage area Make the CPU execute the processing corresponding to each means while using.

カメラ2は、ショベル60の周囲を映し出す入力画像を取得するための装置であり、例えば、キャブ64にいる操作者の死角となる領域を撮像できるよう上部旋回体63の右側面及び後面に取り付けられる(図2参照。)、CCD(Charge Coupled Device)やCMOS(Complementary Metal Oxide Semiconductor)等の撮像素子を備えた右側方カメラ2R及び後方カメラ2Bである。なお、カメラ2は、上部旋回体63の右側面及び後面以外の位置(例えば、前面及び左側面である。)に取り付けられていてもよく、広い範囲を撮像できるよう広角レンズ又は魚眼レンズが装着されていてもよい。   The camera 2 is a device for acquiring an input image that reflects the periphery of the shovel 60. For example, the camera 2 is attached to the right side surface and the rear surface of the upper swing body 63 so as to be able to capture an area which is a blind spot of the operator in the cab 64 They are a right side camera 2R and a rear camera 2B provided with an imaging device such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) (see FIG. 2). The camera 2 may be attached to a position other than the right side surface and the rear surface of the upper swing body 63 (for example, the front surface and the left side surface), and a wide angle lens or a fisheye lens is attached to capture a wide range. It may be

また、カメラ2は、制御部1からの制御信号に応じて入力画像を取得し、取得した入力画像を制御部1に対して出力する。なお、カメラ2は、魚眼レンズ又は広角レンズを用いて入力画像を取得した場合には、それらレンズを用いることによって生じる見掛け上の歪曲やアオリを補正した補正済みの入力画像を制御部1に対して出力するが、その見掛け上の歪曲やアオリを補正していない入力画像をそのまま制御部1に対して出力してもよい。その場合には、制御部1がその見掛け上の歪曲やアオリを補正することとなる。   Further, the camera 2 acquires an input image according to a control signal from the control unit 1, and outputs the acquired input image to the control unit 1. When the camera 2 acquires an input image using a fisheye lens or a wide-angle lens, the corrected input image corrected for apparent distortion and tilt caused by using these lenses is sent to the control unit 1. An input image that is output but is not corrected for apparent distortion or alias may be output to the control unit 1 as it is. In such a case, the control unit 1 corrects the apparent distortion or tilt.

入力部3は、操作者が画像生成装置100に対して各種情報を入力できるようにするための装置であり、例えば、タッチパネル、ボタンスイッチ、ポインティングデバイス、キーボード等である。   The input unit 3 is a device for enabling an operator to input various information to the image generation device 100, and is, for example, a touch panel, a button switch, a pointing device, a keyboard, or the like.

記憶部4は、各種情報を記憶するための装置であり、例えば、ハードディスク、光学ディスク、又は半導体メモリ等である。   The storage unit 4 is a device for storing various information, and is, for example, a hard disk, an optical disk, a semiconductor memory, or the like.

表示部5は、画像情報を表示するための装置であり、例えば、ショベル60のキャブ64(図2参照。)内に設置された液晶ディスプレイ又はプロジェクタ等であって、制御部1が出力する各種画像を表示する。   The display unit 5 is a device for displaying image information, and is, for example, a liquid crystal display or a projector installed in a cab 64 (see FIG. 2) of the shovel 60. Display an image.

ステレオカメラ6は、ショベル60の周囲に存在する物体の距離情報の二次元配列を取得するための装置であり、例えば、キャブ64にいる操作者の死角となる領域を撮像できるよう上部旋回体63の右側面及び後面に取り付けられる(図2参照。)。なお、ステレオカメラ6は、上部旋回体63の前面、左側面、右側面、及び後面のうちの何れか1つに取り付けられていてもよく、全ての面に取り付けられていてもよい。   The stereo camera 6 is a device for acquiring a two-dimensional array of distance information of an object present around the shovel 60. For example, the upper swing body 63 can capture an area which is a blind spot of the operator in the cab 64. Mounted on the right and back sides of the (see Figure 2). The stereo camera 6 may be attached to any one of the front, left, right, and rear surfaces of the upper swing body 63, or may be attached to all the surfaces.

ステレオカメラ6は、複数台のカメラの撮像機能を備える装置である。本実施例では、ステレオカメラ6は、2台のカメラの撮像機能を一体的に備える装置であり、2組の撮像機構(撮像素子とレンズ機構との組み合わせ)と、1つの共用シャッタ機構とを1つの筐体内に備える。但し、ステレオカメラ6は、別個独立の複数台のカメラによって構成されてもよい。   The stereo camera 6 is an apparatus provided with an imaging function of a plurality of cameras. In this embodiment, the stereo camera 6 is an apparatus integrally provided with imaging functions of two cameras, and includes two sets of imaging mechanisms (combination of an imaging element and a lens mechanism) and one shared shutter mechanism. It is provided in one case. However, the stereo camera 6 may be configured by a plurality of independent cameras.

また、ステレオカメラ6における複数組の撮像機構は、互いに所定の間隔を空けて配置される。本実施例では、2組の撮像機構は、縦方向(鉛直方向)に所定の間隔を空けて並置される。なお、2組の撮像機構は、横方向(水平方向)に所定の間隔を空けて並置されてもよく、縦方向(鉛直方向)及び横方向(水平方向)のそれぞれで所定の間隔を空けて並置されてもよい。   Further, a plurality of sets of imaging mechanisms in the stereo camera 6 are arranged at predetermined intervals. In this embodiment, the two imaging mechanisms are juxtaposed at predetermined intervals in the longitudinal direction (vertical direction). The two imaging mechanisms may be juxtaposed at predetermined intervals in the horizontal direction (horizontal direction), or at predetermined intervals in the vertical direction (vertical direction) and the horizontal direction (horizontal direction). It may be juxtaposed.

また、ステレオカメラ6は、カメラ2が画素毎に輝度、色相値、彩度値等を取得するのに対し、画素毎に距離情報を取得する。本実施例では、ステレオカメラ6は、2組の撮像機構のそれぞれが出力する画像間の視差に基づいて、1つの撮像機構が出力する画像(以下、「基本画像」とする。)の各画素に写る物体とステレオカメラ6との間の距離を導き出す。そして、ステレオカメラ6は、基本画像の各画素の値にその導き出した距離を代入して二次元配列の距離情報を生成し、制御部1に対して出力する。そのため、以下では、ステレオカメラ6による二次元配列の距離情報は、カメラ2の入力画像、出力画像と対比させ、入力距離画像、出力距離画像と称する。また、ステレオカメラ6の入力距離画像、出力距離画像の解像度(画素数)は、カメラ2の入力画像、出力画像における解像度と同じであってもよく、異なるものであってもよい。また、カメラ2の入力画像、出力画像における1又は複数の画素と、ステレオカメラ6の入力距離画像、出力距離画像における1又は複数の画素とは予め対応付けられていてもよい。また、入力距離画像は、ステレオカメラ6の各撮像機構が出力する複数の画像に基づいて制御部1が生成してもよい。   Further, the stereo camera 6 acquires distance information for each pixel while the camera 2 acquires luminance, hue value, saturation value and the like for each pixel. In the present embodiment, the stereo camera 6 has each pixel of an image (hereinafter referred to as a “basic image”) output by one imaging mechanism based on the parallax between the images output by each of the two sets of imaging mechanisms. The distance between the object shown in and the stereo camera 6 is derived. Then, the stereo camera 6 substitutes the derived distance into the value of each pixel of the basic image to generate distance information of a two-dimensional array, and outputs the distance information to the control unit 1. Therefore, in the following, distance information of a two-dimensional array by the stereo camera 6 is compared with an input image and an output image of the camera 2 and referred to as an input distance image and an output distance image. Further, the resolution (number of pixels) of the input distance image and the output distance image of the stereo camera 6 may be the same as or different from the resolution in the input image and the output image of the camera 2. In addition, one or more pixels in the input image and the output image of the camera 2 may be associated in advance with one or more pixels in the input distance image and the output distance image of the stereo camera 6. Further, the control unit 1 may generate the input distance image based on a plurality of images output by each imaging mechanism of the stereo camera 6.

また、ステレオカメラ6を構成する複数の撮像機構のそれぞれの入力画像平面は、望ましくは互いに平行であり、最も望ましくは同一平面を形成する。視差から距離を導き出すための処理が容易且つ高精度に行われ得るためである。   Further, the input image planes of the plurality of imaging mechanisms constituting the stereo camera 6 are preferably parallel to each other, and most preferably form the same plane. This is because the process for deriving the distance from the parallax can be easily and accurately performed.

また、ステレオカメラ6は、カメラ2と同様、上部旋回体63の右側面及び後面以外の位置(例えば、前面及び左側面である。)に取り付けられてもよく、広い範囲を撮像できるよう広角レンズ又は魚眼レンズが装着されてもよい。   Further, the stereo camera 6 may be attached to a position other than the right side surface and the rear surface of the upper swing body 63 (for example, the front surface and the left side surface) as the camera 2 and a wide-angle lens so that a wide range can be imaged. Alternatively, a fisheye lens may be attached.

また、ステレオカメラ6は、カメラ2と同様、制御部1からの制御信号に応じて入力距離画像を取得し、取得した入力距離画像を制御部1に対して出力する。なお、ステレオカメラ6は、カメラ2と同様、魚眼レンズ又は広角レンズを用いて入力距離画像を取得した場合には、それらレンズを用いることによって生じる見掛け上の歪曲やアオリを補正した補正済みの入力距離画像を制御部1に対して出力するが、その見掛け上の歪曲やアオリを補正していない入力距離画像をそのまま制御部1に対して出力してもよい。その場合には、制御部1がその見掛け上の歪曲やアオリを補正することとなる。   Further, like the camera 2, the stereo camera 6 acquires an input distance image according to a control signal from the control unit 1, and outputs the acquired input distance image to the control unit 1. In the case where the stereo camera 6 acquires an input distance image using a fisheye lens or a wide-angle lens as with the camera 2, a corrected input distance after correction of apparent distortion and tilt caused by using these lenses An image may be output to the control unit 1, but an input distance image not corrected for apparent distortion or tilt may be output to the control unit 1 as it is. In such a case, the control unit 1 corrects the apparent distortion or tilt.

また、画像生成装置100は、入力画像に基づいて処理対象画像を生成し、その処理対象画像に画像変換処理を施すことによって周囲の地物との位置関係や距離感を直感的に把握できるようにする出力画像を生成した上で、その出力画像を操作者に提示するようにしてもよい。   Further, the image generation apparatus 100 generates the processing target image based on the input image, and performs image conversion processing on the processing target image so that the positional relationship with surrounding features and the sense of distance can be intuitively grasped. After the output image to be used is generated, the output image may be presented to the operator.

画像生成装置100は、入力距離画像についても同様の処理を行う。その場合、処理対象画像は、処理対象距離画像で読み替えられる。以下の記載においても同様である。   The image generation apparatus 100 performs the same process on the input distance image. In that case, the processing target image is replaced with the processing target distance image. The same applies to the following description.

「処理対象画像」は、入力画像に基づいて生成される、画像変換処理(例えば、スケール変換、アフィン変換、歪曲変換、視点変換処理等である。)の対象となる画像であり、例えば、地表を上方から撮像するカメラによる入力画像であってその広い画角により水平方向の画像(例えば、空の部分である。)を含む入力画像を画像変換処理で用いる場合に、その水平方向の画像が不自然に表示されないよう(例えば、空の部分が地表にあるものとして扱われないよう)その入力画像を所定の空間モデルに投影した上で、その空間モデルに投影された投影画像を別の二次元平面に再投影することによって得られる、画像変換処理に適した画像である。なお、処理対象画像は、画像変換処理を施すことなくそのまま出力画像として用いられてもよい。   The “processing target image” is an image to be generated on the basis of an input image, which is a target of image conversion processing (for example, scale conversion, affine conversion, distortion conversion, viewpoint conversion processing, etc.). When an input image including an image in the horizontal direction (for example, an empty part) by the wide angle of view is used in image conversion processing, the image in the horizontal direction is The input image is projected to a predetermined space model so as not to be displayed unnaturally (for example, the sky part is not treated as being on the ground surface), and the projection image projected onto the space model is another two. It is an image suitable for image conversion processing, which is obtained by reprojection on a dimensional plane. Note that the processing target image may be used as an output image as it is without performing image conversion processing.

「空間モデル」は、少なくとも、処理対象画像が位置する平面である処理対象画像平面以外の平面又は曲面(例えば、処理対象画像平面に平行な平面、又は、処理対象画像平面との間で角度を形成する平面若しくは曲面である。)を含む、一又は複数の平面若しくは曲面で構成される、入力画像の投影対象である。   The “spatial model” is at least a plane or a curved surface other than the processing target image plane which is a plane on which the processing target image is located (for example, a plane parallel to the processing target image plane or an angle with the processing target image plane It is a projection object of an input image which is composed of one or a plurality of planes or a curved surface, which is a plane or a curved surface to be formed.

なお、画像生成装置100は、処理対象画像を生成することなく、その空間モデルに投影された投影画像に画像変換処理を施すことによって出力画像を生成するようにしてもよい。また、投影画像は、画像変換処理を施すことなくそのまま出力画像として用いられてもよい。   The image generation apparatus 100 may generate an output image by performing an image conversion process on the projection image projected on the space model without generating the processing target image. In addition, the projection image may be used as an output image as it is without performing image conversion processing.

図3は、入力画像が投影される空間モデルMDの一例を示す図であり、図3(A)は、ショベル60を側方から見たときのショベル60と空間モデルMDとの間の関係を示し、図3(B)は、ショベル60を上方から見たときのショベル60と空間モデルMDとの間の関係を示す。   FIG. 3 is a view showing an example of a space model MD on which an input image is projected, and FIG. 3 (A) shows the relationship between the shovel 60 and the space model MD when the shovel 60 is viewed from the side. FIG. 3B shows the relationship between the shovel 60 and the space model MD when the shovel 60 is viewed from above.

図3で示されるように、空間モデルMDは、半円筒形状を有し、その底面内部の平面領域R1とその側面内部の曲面領域R2とを有する。   As shown in FIG. 3, the space model MD has a semi-cylindrical shape, and has a flat region R1 inside its bottom and a curved region R2 inside its side.

また、図4は、空間モデルMDと処理対象画像平面との間の関係の一例を示す図であり、処理対象画像平面R3は、例えば、空間モデルMDの平面領域R1を含む平面である。なお、図4は、明確化のために、空間モデルMDを、図3で示すような半円筒形状ではなく、円筒形状で示しているが、空間モデルMDは、半円筒形状及び円筒形状の何れであってもよいものとする。以降の図においても同様である。また、処理対象画像平面R3は、上述のように、空間モデルMDの平面領域R1を含む円形領域であってもよく、空間モデルMDの平面領域R1を含まない環状領域であってもよい。   FIG. 4 is a diagram showing an example of the relationship between the space model MD and the processing target image plane, and the processing target image plane R3 is, for example, a plane including the plane region R1 of the space model MD. Although FIG. 4 shows the space model MD not in a semi-cylindrical shape as shown in FIG. 3 but in a cylindrical shape for clarity, the space model MD has either a semi-cylindrical shape or a cylindrical shape. It may be The same applies to the following figures. Further, as described above, the processing target image plane R3 may be a circular area including the plane area R1 of the space model MD, or may be an annular area not including the plane area R1 of the space model MD.

次に、制御部1が有する各種手段について説明する。   Next, various units included in the control unit 1 will be described.

座標対応付け手段10は、カメラ2が撮像した入力画像が位置する入力画像平面上の座標と、空間モデルMD上の座標と、処理対象画像平面R3上の座標とを対応付けるための手段であり、例えば、予め設定された、或いは、入力部3を介して入力される、カメラ2の光学中心、焦点距離、CCDサイズ、光軸方向ベクトル、カメラ水平方向ベクトル、射影方式等のカメラ2に関する各種パラメータと、予め決定された、入力画像平面、空間モデルMD、及び処理対象画像平面R3の相互の位置関係とに基づいて、入力画像平面上の座標と、空間モデルMD上の座標と、処理対象画像平面R3上の座標とを対応付け、それらの対応関係を記憶部4の入力画像・空間モデル対応マップ40及び空間モデル・処理対象画像対応マップ41に記憶する。   The coordinate associating means 10 is a means for associating the coordinates on the input image plane where the input image captured by the camera 2 is located, the coordinates on the space model MD, and the coordinates on the processing object image plane R3. For example, various parameters related to the camera 2 such as an optical center of the camera 2, a focal length, a CCD size, an optical axis direction vector, a camera horizontal direction vector, and a projection method which are preset or input through the input unit 3. The coordinates on the input image plane, the coordinates on the space model MD, and the processing object image, based on the mutual positional relationship between the input image plane, the space model MD, and the processing object image plane R3 determined in advance The coordinates on the plane R3 are associated, and the correspondence relationship is stored in the input image / space model correspondence map 40 of the storage unit 4 and the space model / process target image correspondence map 41. .

なお、座標対応付け手段10は、処理対象画像を生成しない場合には、空間モデルMD上の座標と処理対象画像平面R3上の座標との対応付け、及び、その対応関係の空間モデル・処理対象画像対応マップ41への記憶を省略する。   Note that, when the coordinate association unit 10 does not generate the processing target image, the association between the coordinates on the space model MD and the coordinates on the processing target image plane R3, and the space model of the corresponding relationship and the processing target The storage in the image correspondence map 41 is omitted.

また、座標対応付け手段10は、ステレオカメラが出力する入力距離画像に対しても同様の処理を行う。その場合、カメラ、入力画像平面、処理対象画像平面は、ステレオカメラ、入力距離画像平面、処理対象距離画像平面で読み替えられる。以下の記載においても同様である。   Moreover, the coordinate matching means 10 performs the same process also to the input distance image which a stereo camera outputs. In that case, the camera, the input image plane, and the processing target image plane are read again by the stereo camera, the input distance image plane, and the processing target distance image plane. The same applies to the following description.

画像生成手段11は、出力画像を生成するための手段であり、例えば、処理対象画像にスケール変換、アフィン変換、又は歪曲変換を施すことによって、処理対象画像平面R3上の座標と出力画像が位置する出力画像平面上の座標とを対応付け、その対応関係を記憶部4の処理対象画像・出力画像対応マップ42に記憶し、座標対応付け手段10がその値を記憶した入力画像・空間モデル対応マップ40及び空間モデル・処理対象画像対応マップ41を参照しながら、出力画像における各画素の値(例えば、輝度値、色相値、彩度値等である。)と入力画像における各画素の値とを関連付けて出力画像を生成する。   The image generation unit 11 is a unit for generating an output image, and for example, coordinates of the processing target image plane R3 and the output image are located by subjecting the processing target image to scale conversion, affine conversion, or distortion conversion. Corresponding to the coordinates on the output image plane to be stored, the correspondence relationship is stored in the processing target image / output image correspondence map 42 of the storage unit 4, and the coordinate correspondence unit 10 stores the value thereof. With reference to the map 40 and the spatial model-processing target image correspondence map 41, the value of each pixel in the output image (for example, luminance value, hue value, saturation value, etc.) and the value of each pixel in the input image To generate an output image.

また、画像生成手段11は、予め設定された、或いは、入力部3を介して入力される、仮想カメラの光学中心、焦点距離、CCDサイズ、光軸方向ベクトル、カメラ水平方向ベクトル、射影方式等の各種パラメータに基づいて、処理対象画像平面R3上の座標と出力画像が位置する出力画像平面上の座標とを対応付け、その対応関係を記憶部4の処理対象画像・出力画像対応マップ42に記憶し、座標対応付け手段10がその値を記憶した入力画像・空間モデル対応マップ40及び空間モデル・処理対象画像対応マップ41を参照しながら、出力画像における各画素の値(例えば、輝度値、色相値、彩度値等である。)と入力画像における各画素の値とを関連付けて出力画像を生成する。   In addition, the image generation unit 11 may set an optical center of a virtual camera, a focal length, a CCD size, an optical axis direction vector, a camera horizontal direction vector, a projection method, or the like which is preset or input through the input unit 3. The coordinates on the processing target image plane R3 are associated with the coordinates on the output image plane where the output image is located based on various parameters of the processing target image-output image correspondence map 42 of the storage unit 4 The value (eg, luminance value, etc.) of each pixel in the output image while referring to the input image / space model correspondence map 40 and the space model / processing target image correspondence map 41 in which the values are stored. The hue value, the saturation value, etc. are associated with the value of each pixel in the input image to generate an output image.

なお、画像生成手段11は、仮想カメラの概念を用いることなく、処理対象画像のスケールを変更して出力画像を生成するようにしてもよい。   The image generation unit 11 may generate the output image by changing the scale of the processing target image without using the concept of the virtual camera.

また、画像生成手段11は、処理対象画像を生成しない場合には、施した画像変換処理に応じて空間モデルMD上の座標と出力画像平面上の座標とを対応付け、入力画像・空間モデル対応マップ40を参照しながら、出力画像における各画素の値(例えば、輝度値、色相値、彩度値等である。)と入力画像における各画素の値とを関連付けて出力画像を生成する。この場合、画像生成手段11は、処理対象画像平面R3上の座標と出力画像平面上の座標との対応付け、及び、その対応関係の処理対象画像・出力画像対応マップ42への記憶を省略する。   Further, when the image generation means 11 does not generate the processing target image, the coordinates on the space model MD are associated with the coordinates on the output image plane according to the applied image conversion processing, and the input image / space model is supported. While referring to the map 40, the value of each pixel in the output image (for example, luminance value, hue value, saturation value, etc.) is associated with the value of each pixel in the input image to generate an output image. In this case, the image generation unit 11 omits the correspondence between the coordinates on the processing target image plane R3 and the coordinates on the output image plane and the storage of the correspondence in the processing target image / output image correspondence map 42. .

また、画像生成手段11は、入力距離画像又は処理対象距離画像に対しても同様の処理を行う。その場合、出力画像平面は、出力距離画像平面で読み替えられる。以下の記載においても同様である。   Further, the image generation unit 11 performs the same process on the input distance image or the processing target distance image. In that case, the output image plane is reinterpreted at the output distance image plane. The same applies to the following description.

画素抽出手段12は、ステレオカメラ6の入力距離画像から所定の条件を満たす画素を抽出するための手段である。例えば、画素抽出手段12は、入力距離画像における、ショベル60の周囲の地物とステレオカメラ6との間の距離を表す画素値を有する画素から所定の条件を満たす画素を抽出する。   The pixel extraction unit 12 is a unit for extracting a pixel satisfying a predetermined condition from the input distance image of the stereo camera 6. For example, the pixel extraction unit 12 extracts a pixel that satisfies a predetermined condition from pixels having a pixel value representing a distance between a feature around the shovel 60 and the stereo camera 6 in the input distance image.

具体的には、画素抽出手段12は、ショベル60が位置する平面(以下、「設置面」とする。)とステレオカメラ6との間の距離(以下、「設置面距離」とする。)との差が所定距離以上となる画素を抽出する。なお、設置面は、傾斜面であってもよい。また、設置面距離は、ステレオカメラ6の設置位置及び設置角度に基づいて、ステレオカメラ6の入力距離画像における画素毎に予め設定される。そして、画素抽出手段12は、抽出しなかった画素の画素値を所定値(例えば、最小値としてのゼロである。)で置き換え、抽出した画素の画素値をそのまま維持することによって入力距離画像を補正する。なお、画素抽出手段12についてはその詳細を後述する。   Specifically, the pixel extracting unit 12 sets the distance between the plane (hereinafter, referred to as "installation surface") on which the shovel 60 is located and the stereo camera 6 (hereinafter, referred to as "installation surface distance"). Pixels having a difference of not less than a predetermined distance are extracted. The installation surface may be an inclined surface. Further, the installation surface distance is set in advance for each pixel in the input distance image of the stereo camera 6 based on the installation position and the installation angle of the stereo camera 6. Then, the pixel extracting unit 12 replaces the pixel value of the pixel not extracted with a predetermined value (for example, zero as the minimum value), and maintains the pixel value of the extracted pixel as it is, thereby removing the input distance image. to correct. The details of the pixel extraction means 12 will be described later.

距離補正手段13は、ステレオカメラが取得する距離情報を補正するための手段である。例えば、距離補正手段13は、画素抽出手段12が抽出した画素の値を補正する。具体的には、距離補正手段13は、ショベル60の周囲の地物とステレオカメラ6との間の距離を表す画素の値を、ステレオカメラ6の外部にある基準とその地物との間の距離を表す値に補正する。また、距離補正手段13は、画素抽出手段12による抽出の前に、ステレオカメラ6が出力する入力距離画像における画素の値を補正してもよい。なお、距離補正手段13についてはその詳細を後述する。   The distance correction means 13 is a means for correcting the distance information acquired by the stereo camera. For example, the distance correction unit 13 corrects the value of the pixel extracted by the pixel extraction unit 12. Specifically, the distance correction means 13 sets the pixel value representing the distance between the feature around the shovel 60 and the stereo camera 6 to a value between the reference outside the stereo camera 6 and the feature. Correct to a value representing the distance. Moreover, the distance correction means 13 may correct the value of the pixel in the input distance image output by the stereo camera 6 before the extraction by the pixel extraction means 12. The details of the distance correction means 13 will be described later.

距離画像合成手段14は、カメラに関する画像と、ステレオカメラに関する画像とを合成するための手段である。例えば、距離画像合成手段14は、画像生成手段11が生成した、カメラ2の入力画像に基づく出力画像と、ステレオカメラ6の入力距離画像に基づく出力距離画像とを合成する。出力距離画像は、画素抽出手段12による抽出、及び、距離補正手段13による補正の少なくとも一方が施された後の出力距離画像である。但し、出力距離画像は、画素抽出手段12による抽出、及び、距離補正手段13による補正が施される前の出力距離画像であってもよい。なお、距離画像合成手段14についてはその詳細を後述する。   The distance image combining means 14 is a means for combining an image relating to a camera and an image relating to a stereo camera. For example, the distance image combining unit 14 combines the output image based on the input image of the camera 2 generated by the image generating unit 11 and the output distance image based on the input distance image of the stereo camera 6. The output distance image is an output distance image after at least one of the extraction by the pixel extraction unit 12 and the correction by the distance correction unit 13 is performed. However, the output distance image may be an output distance image before extraction by the pixel extraction unit 12 and correction by the distance correction unit 13. The details of the distance image combining means 14 will be described later.

運転支援手段15は、ショベル60の運転を支援する手段である。例えば、運転支援手段15は、ショベル60の移動方向に所定の地物が存在すると判定した場合にショベル60の運転を支援する機能を実行する。   The driving support means 15 is a means for supporting the driving of the shovel 60. For example, when it is determined that a predetermined feature exists in the moving direction of the shovel 60, the driving support means 15 executes a function of supporting the driving of the shovel 60.

「所定の地物」は、例えば、ショベル60と衝突するおそれのある作業員等の人物、ショベル60の移動を阻む障害物、ショベル60を滑落、転倒、或いは立ち往生させるおそれのある崖、陥没部、斜面、穴等を含む。   The “predetermined feature” is, for example, a person such as a worker who may collide with the shovel 60, an obstacle that prevents the movement of the shovel 60, a cliff or depression where the shovel 60 may slide down, fall over, or be stuck. Including slopes, holes, etc.

運転を支援する機能(以下、「運転支援機能」とする。)は、例えば、警報の出力、表示部5における警告の表示、警告灯の点灯・点滅、ショベル60の減速、ショベル60の走行速度の制限、ショベル60の走行の停止等を含む。   The function to support driving (hereinafter referred to as “driving support function”) is, for example, output of an alarm, display of a warning on the display unit 5, lighting / blinking of a warning light, deceleration of the shovel 60, traveling speed of the shovel 60 Of the vehicle, stopping of the traveling of the shovel 60, and the like.

具体的には、運転支援手段15は、ショベル60が移動(後退)しているときにショベル60の移動方向(後方)に崖があると判定した場合に、表示部5に崖の存在を知らせる警告を表示する。なお、ショベル60の移動方向は、例えば、操作レバーの操作内容(例えば、操作方向、操作量等である。)に基づいて検出される。   Specifically, the driving support means 15 notifies the display unit 5 of the existence of a cliff when it is determined that there is a cliff in the moving direction (rearward) of the shovel 60 while the shovel 60 is moving (backward) Display a warning. In addition, the moving direction of the shovel 60 is detected based on the operation content (for example, operation direction, operation amount, etc.) of the operation lever, for example.

また、運転支援手段15は、ショベル60と崖との間の距離が短くなるにつれてショベル60の移動(後退)速度を低下させてもよく、ショベル60と崖との間の距離が所定距離以下となった場合にショベル60の移動(後退)を停止させてもよい。   In addition, the driving support means 15 may decrease the moving (backward) speed of the shovel 60 as the distance between the shovel 60 and the cliff becomes shorter, and the distance between the shovel 60 and the cliff is less than a predetermined distance. The movement (backward movement) of the shovel 60 may be stopped when it has become.

また、運転支援手段15は、ステレオカメラ6の出力に基づいて、所定の地物が存在するか否かを判定する。例えば、運転支援手段15は、設置面から所定距離以上の深さを有する地物がステレオカメラ6によって検出された場合に、ショベル60を滑落させるおそれのある陥没部が存在すると判定する。また、運転支援手段15は、入力距離画像に基づいて算出される実際の陥没部の深さ、開口面積、幅、及び奥行きの少なくとも1つが所定の条件を満たす場合に限り、ショベル60を滑落させるおそれのある陥没部が存在すると判定してもよい。また、運転支援手段15は、入力距離画像における所定方向(ショベル60の移動方向)に沿った画素値の増加勾配に基づいて、ショベル60を滑落させるおそれのある陥没部が存在するか否かを判定してもよい。   Further, the driving support means 15 determines, based on the output of the stereo camera 6, whether or not a predetermined feature exists. For example, when a feature having a depth equal to or greater than a predetermined distance from the installation surface is detected by the stereo camera 6, the driving support means 15 determines that there is a depressed portion which may cause the shovel 60 to slide down. Further, the driving support means 15 causes the shovel 60 to slide down only when at least one of the actual depression depth, opening area, width, and depth calculated based on the input distance image satisfies a predetermined condition. It may be determined that there is a feared depression. In addition, the driving support means 15 determines whether or not there is a depression which may cause the shovel 60 to slide based on the increase gradient of the pixel value along the predetermined direction (moving direction of the shovel 60) in the input distance image. You may judge.

或いは、運転支援手段15は、設置面から所定距離以上の高さを有する地物がステレオカメラ6によって検出された場合に、ショベル60と衝突するおそれのある障害物が存在すると判定してもよい。また、運転支援手段15は、入力距離画像における所定方向(ショベル60の移動方向)に沿った画素値の減少勾配に基づいて、ショベル60と衝突するおそれのある障害物が存在するか否かを判定してもよい。   Alternatively, when a feature having a height equal to or greater than a predetermined distance from the installation surface is detected by the stereo camera 6, the driving support means 15 may determine that there is an obstacle that may collide with the shovel 60. . In addition, the driving support means 15 determines whether or not there is an obstacle that may collide with the shovel 60 based on the decreasing gradient of the pixel value along the predetermined direction (moving direction of the shovel 60) in the input distance image. You may judge.

次に、座標対応付け手段10及び画像生成手段11による具体的な処理の一例について説明する。   Next, an example of specific processing by the coordinate matching unit 10 and the image generation unit 11 will be described.

座標対応付け手段10は、例えば、ハミルトンの四元数を用いて、入力画像平面上の座標と空間モデル上の座標とを対応付けることができる。   The coordinate correlating means 10 can associate the coordinates on the input image plane with the coordinates on the space model using, for example, the quaternion of Hamilton.

図5は、入力画像平面上の座標と空間モデル上の座標との対応付けを説明するための図であり、カメラ2の入力画像平面は、カメラ2の光学中心Cを原点とするUVW直交座標系における一平面として表され、空間モデルは、XYZ直交座標系における立体面として表されるものとする。   FIG. 5 is a diagram for explaining the correspondence between the coordinates on the input image plane and the coordinates on the space model, and the input image plane of the camera 2 is a UVW Cartesian coordinate whose origin is the optical center C of the camera 2 It is expressed as a plane in the system, and the space model is expressed as a solid plane in the XYZ orthogonal coordinate system.

最初に、座標対応付け手段10は、空間モデル上の座標(XYZ座標系上の座標)を入力画像平面上の座標(UVW座標系上の座標)に変換するため、XYZ座標系の原点を光学中心C(UVW座標系の原点)に並行移動させた上で、X軸をU軸に、Y軸をV軸に、Z軸を−W軸(符号「−」は方向が逆であることを意味する。これは、UVW座標系がカメラ前方を+W方向とし、XYZ座標系が鉛直下方を−Z方向としていることに起因する。)にそれぞれ一致させるようXYZ座標系を回転させる。   First, the coordinate associating unit 10 converts the coordinates on the space model (coordinates on the XYZ coordinate system) into coordinates on the input image plane (coordinates on the UVW coordinate system), so that the origin of the XYZ coordinate system is optically After moving parallel to the center C (the origin of the UVW coordinate system), the X axis is U axis, the Y axis is V axis, and the Z axis is-W axis ("-" indicates that the direction is opposite) This means that the XYZ coordinate system is rotated so that the UVW coordinate system is at the + W direction in front of the camera, and the XYZ coordinate system is at the -Z direction in the vertically downward direction.

なお、カメラ2が複数存在する場合、カメラ2のそれぞれが個別のUVW座標系を有することとなるので、座標対応付け手段10は、複数のUVW座標系のそれぞれに対して、XYZ座標系を並行移動させ且つ回転させることとなる。   In the case where there are a plurality of cameras 2, each of the cameras 2 has a separate UVW coordinate system, so the coordinate associating unit 10 parallels the XYZ coordinate system to each of the plurality of UVW coordinate systems. It will be moved and rotated.

上述の変換は、カメラ2の光学中心CがXYZ座標系の原点となるようにXYZ座標系を並行移動させた後に、Z軸が−W軸に一致するよう回転させ、更に、X軸がU軸に一致するよう回転させることによって実現されるので、座標対応付け手段10は、この変換をハミルトンの四元数で記述することにより、それら二回の回転を一回の回転演算に纏めることができる。   The above-mentioned conversion rotates the Z-axis to coincide with the -W axis after parallelly moving the XYZ coordinate system so that the optical center C of the camera 2 becomes the origin of the XYZ coordinate system. Since this is realized by rotating so as to coincide with the axis, the coordinate correlating means 10 may combine those two rotations into one rotation operation by describing this conversion in the quaternion of Hamilton. it can.

ところで、あるベクトルAを別のベクトルBに一致させるための回転は、ベクトルAとベクトルBとが張る面の法線を軸としてベクトルAとベクトルBとが形成する角度だけ回転させる処理に相当し、その角度をθとすると、ベクトルAとベクトルBとの内積から、角度θは、   By the way, the rotation for making one vector A coincide with another vector B corresponds to the processing of rotating by an angle formed by the vector A and the vector B around the normal of the surface where the vector A and the vector B extend. The angle θ is given by the inner product of the vector A and the vector B, where θ is the angle

で表されることとなる。 Will be represented by

また、ベクトルAとベクトルBとが張る面の法線の単位ベクトルNは、ベクトルAとベクトルBとの外積から   Also, the unit vector N of the normal to the surface where the vector A and the vector B extend is the outer product of the vector A and the vector B

で表されることとなる。 Will be represented by

なお、四元数は、i、j、kをそれぞれ虚数単位とした場合、   When quaternions are i, j, k as imaginary units, respectively,

を満たす超複素数であり、本実施例において、四元数Qは、実成分をt、純虚成分をa、b、cとして、 In the present embodiment, the quaternion Q has a real component as t and pure imaginary components as a, b, and c, respectively.

で表されるものとし、四元数Qの共役四元数は、 And the conjugated quaternion of quaternion Q is

で表されるものとする。 Shall be represented by

四元数Qは、実成分tを0(ゼロ)としながら、純虚成分a、b、cで三次元ベクトル(a,b,c)を表現することができ、また、t、a、b、cの各成分により任意のベクトルを軸とした回転動作を表現することもできる。   The quaternion Q can express a three-dimensional vector (a, b, c) with pure imaginary components a, b, c while setting the real component t to 0 (zero), and t, a, b The components c and c can represent rotational motion about an arbitrary vector.

更に、四元数Qは、連続する複数回の回転動作を統合して一回の回転動作として表現することができ、例えば、任意の点S(sx,sy,sz)を、任意の単位ベクトルC(l,m,n)を軸としながら角度θだけ回転させたときの点D(ex,ey,ez)を以下のように表現することができる。   Further, the quaternion Q can integrate a plurality of consecutive rotation operations and can be expressed as one rotation operation. For example, any point S (sx, sy, sz) can be expressed as an arbitrary unit vector The point D (ex, ey, ez) when rotated by an angle θ with C (l, m, n) as an axis can be expressed as follows.

ここで、本実施例において、Z軸を−W軸に一致させる回転を表す四元数をQzとすると、XYZ座標系におけるX軸上の点Xは、点X'に移動させられるので、点X'は、 Here, in the present embodiment, assuming that a quaternion representing a rotation that causes the Z axis to coincide with the -W axis is Qz, the point X on the X axis in the XYZ coordinate system is moved to the point X '. X 'is

で表されることとなる。 Will be represented by

また、本実施例において、X軸上にある点X'と原点とを結ぶ線をU軸に一致させる回転を表す四元数をQxとすると、「Z軸を−W軸に一致させ、更に、X軸をU軸に一致させる回転」を表す四元数Rは、   Further, in the present embodiment, assuming that a quaternion representing a rotation that causes the line connecting point X ′ on the X axis and the origin to coincide with the U axis be Qx, “the Z axis coincides with the −W axis. , A quaternion R representing "rotation to align the X axis with the U axis",

で表されることとなる。 Will be represented by

以上により、空間モデル(XYZ座標系)上の任意の座標Pを入力画像平面(UVW座標系)上の座標で表現したときの座標P'は、   As described above, coordinates P ′ when arbitrary coordinates P on the space model (XYZ coordinate system) are expressed by coordinates on the input image plane (UVW coordinate system) are:

で表されることとなり、四元数Rがカメラ2のそれぞれで不変であることから、座標対応付け手段10は、以後、この演算を実行するだけで空間モデル(XYZ座標系)上の座標を入力画像平面(UVW座標系)上の座標に変換することができる。 Since the quaternion number R is invariant in each of the cameras 2, the coordinate associating unit 10 executes the calculation to execute the coordinate in the space model (XYZ coordinate system) thereafter. It can be converted to coordinates on the input image plane (UVW coordinate system).

空間モデル(XYZ座標系)上の座標を入力画像平面(UVW座標系)上の座標に変換した後、座標対応付け手段10は、カメラ2の光学中心C(UVW座標系上の座標)と空間モデル上の任意の座標PをUVW座標系で表した座標P'とを結ぶ線分CP'と、カメラ2の光軸Gとが形成する入射角αを算出する。   After converting the coordinates on the space model (XYZ coordinate system) to coordinates on the input image plane (UVW coordinate system), the coordinate correlating means 10 converts the optical center C of the camera 2 (coordinates on the UVW coordinate system) An incident angle α formed by a line segment CP ′ connecting an arbitrary coordinate P on the model and a coordinate P ′ represented by the UVW coordinate system and the optical axis G of the camera 2 is calculated.

また、座標対応付け手段10は、カメラ2の入力画像平面R4(例えば、CCD面)に平行で且つ座標P'を含む平面Hにおける、平面Hと光軸Gとの交点Eと座標P'とを結ぶ線分EP'と、平面HにおけるU'軸とが形成する偏角φ、及び線分EP'の長さを算出する。   Further, the coordinate correlating means 10 is a point E parallel to the input image plane R4 (for example, the CCD surface) of the camera 2 and including the coordinate P ', and the coordinate E' with the intersection E of the plane H and the optical axis G. And the length of the line segment EP ′ is calculated. The angle of inclination φ formed by the line segment EP ′ connecting U ′ and the U ′ axis in the plane H is calculated.

カメラの光学系は、通常、像高さhが入射角α及び焦点距離fの関数となっているので、座標対応付け手段10は、通常射影(h=ftanα)、正射影(h=fsinα)、立体射影(h=2ftan(α/2))、等立体角射影(h=2fsin(α/2))、等距離射影(h=fα)等の適切な射影方式を選択して像高さhを算出する。   In the optical system of the camera, since the image height h is usually a function of the incident angle α and the focal length f, the coordinate correlating means 10 usually performs projection (h = ftan α), orthographic projection (h = fsin α) Image height by selecting an appropriate projection method such as stereo projection (h = 2 ftan (α / 2)), iso-stereographic projection (h = 2 f sin (α / 2)), equidistant projection (h = fα) Calculate h.

その後、座標対応付け手段10は、算出した像高さhを偏角φによりUV座標系上のU成分及びV成分に分解し、入力画像平面R4の一画素当たりの画素サイズに相当する数値で除算することにより、空間モデルMD上の座標P(P')と入力画像平面R4上の座標とを対応付けることができる。   Thereafter, the coordinate associating unit 10 decomposes the calculated image height h into U component and V component on the UV coordinate system by the argument angle φ, and has a numerical value corresponding to the pixel size per pixel of the input image plane R4. By dividing, coordinates P (P ′) on the space model MD can be associated with coordinates on the input image plane R4.

なお、入力画像平面R4のU軸方向における一画素当たりの画素サイズをaとし、入力画像平面R4のV軸方向における一画素当たりの画素サイズをaとすると、空間モデルMD上の座標P(P')に対応する入力画像平面R4上の座標(u,v)は、 Incidentally, when the pixel size per one pixel in the U axis direction of the input image plane R4 and a U, the pixel size per one pixel in the V axis direction of the input image plane R4 and a V, coordinates P of the space model MD The coordinates (u, v) on the input image plane R4 corresponding to (P ′) are

で表されることとなる。 Will be represented by

このようにして、座標対応付け手段10は、空間モデルMD上の座標と、カメラ毎に存在する一又は複数の入力画像平面R4上の座標とを対応付け、空間モデルMD上の座標、カメラ識別子、及び入力画像平面R4上の座標を関連付けて入力画像・空間モデル対応マップ40に記憶する。   In this way, the coordinate associating unit 10 associates the coordinates on the space model MD with the coordinates on one or more input image plane R4 existing for each camera, and coordinates on the space model MD, a camera identifier , And coordinates on the input image plane R4 are stored in the input image / space model correspondence map 40 in association with each other.

また、座標対応付け手段10は、四元数を用いて座標の変換を演算するので、オイラー角を用いて座標の変換を演算する場合と異なり、ジンバルロックを発生させることがないという利点を有する。しかしながら、座標対応付け手段10は、四元数を用いて座標の変換を演算するものに限定されることはなく、オイラー角を用いて座標の変換を演算するようにしてもよい。   Further, since the coordinate correlating means 10 calculates transformation of coordinates using quaternions, it has an advantage that gimbal lock is not generated unlike the case of calculating transformation of coordinates using Euler angles. . However, the coordinate correlating means 10 is not limited to one that calculates transformation of coordinates using a quaternion, and may calculate the transformation of coordinates using Euler angles.

なお、複数の入力画像平面R4上の座標への対応付けが可能な場合、座標対応付け手段10は、空間モデルMD上の座標P(P')を、その入射角αが最も小さいカメラに関する入力画像平面R4上の座標に対応付けるようにしてもよく、操作者が選択した入力画像平面R4上の座標に対応付けるようにしてもよい。   In addition, when the correspondence to the coordinates on the plurality of input image planes R4 is possible, the coordinate associating unit 10 inputs the coordinates P (P ′) on the space model MD with respect to the camera having the smallest incident angle α. It may be made to correspond to the coordinates on the image plane R4, or may be made to correspond to the coordinates on the input image plane R4 selected by the operator.

次に、空間モデルMD上の座標のうち、曲面領域R2上の座標(Z軸方向の成分を持つ座標)を、XY平面上にある処理対象画像平面R3に再投影する処理について説明する。   Next, among the coordinates on the space model MD, a process of re-projecting coordinates on the curved surface region R2 (coordinates having components in the Z-axis direction) on the processing target image plane R3 on the XY plane will be described.

図6は、座標対応付け手段10による座標間の対応付けを説明するための図であり、図6(A)は、一例として通常射影(h=ftanα)を採用するカメラ2の入力画像平面R4上の座標と空間モデルMD上の座標との間の対応関係を示す図であって、座標対応付け手段10は、カメラ2の入力画像平面R4上の座標とその座標に対応する空間モデルMD上の座標とを結ぶ線分のそれぞれがカメラ2の光学中心Cを通過するようにして、両座標を対応付ける。   FIG. 6 is a diagram for explaining the correspondence between the coordinates by the coordinate correspondence means 10. FIG. 6 (A) is an input image plane R4 of the camera 2 adopting the normal projection (h = ftan α) as an example. FIG. 8 is a diagram showing the correspondence between the upper coordinates and the coordinates on the space model MD, and the coordinate correlating means 10 is a coordinate on the input image plane R4 of the camera 2 and the space model MD corresponding to the coordinates Each of the line segments connecting with the coordinates of is made to pass through the optical center C of the camera 2 and the coordinates are associated with each other.

図6(A)の例では、座標対応付け手段10は、カメラ2の入力画像平面R4上の座標K1を空間モデルMDの平面領域R1上の座標L1に対応付け、カメラ2の入力画像平面R4上の座標K2を空間モデルMDの曲面領域R2上の座標L2に対応付ける。このとき、線分K1−L1及び線分K2−L2は共にカメラ2の光学中心Cを通過する。   In the example of FIG. 6A, the coordinate associating unit 10 associates the coordinate K1 on the input image plane R4 of the camera 2 with the coordinate L1 on the plane region R1 of the space model MD, and the input image plane R4 of the camera 2 The upper coordinate K2 is associated with the coordinate L2 on the curved surface area R2 of the space model MD. At this time, the line segment K <b> 1-L <b> 1 and the line segment K <b> 2-L <b> 2 both pass the optical center C of the camera 2.

なお、カメラ2が通常射影以外の射影方式(例えば、正射影、立体射影、等立体角射影、等距離射影等である。)を採用する場合、座標対応付け手段10は、それぞれの射影方式に応じて、カメラ2の入力画像平面R4上の座標K1、K2を空間モデルMD上の座標L1、L2に対応付けるようにする。   When the camera 2 adopts a projection method other than the normal projection (for example, orthographic projection, stereographic projection, equi-solid-angle projection, equidistant projection, etc.), the coordinate correlating means 10 sets the respective projection methods. Accordingly, the coordinates K1 and K2 on the input image plane R4 of the camera 2 are made to correspond to the coordinates L1 and L2 on the space model MD.

具体的には、座標対応付け手段10は、所定の関数(例えば、正射影(h=fsinα)、立体射影(h=2ftan(α/2))、等立体角射影(h=2fsin(α/2))、等距離射影(h=fα)等である。)に基づいて、入力画像平面上の座標と空間モデルMD上の座標とを対応付ける。この場合、線分K1−L1及び線分K2−L2がカメラ2の光学中心Cを通過することはない。   Specifically, the coordinate correlating means 10 is configured to set a predetermined function (for example, orthogonal projection (h = fsin α), solid projection (h = 2 ftan (α / 2)), isosolid angle projection (h = 2 f sin (α /) 2) The coordinates on the input image plane are associated with the coordinates on the space model MD based on the equidistant projection (h = fα) and the like. In this case, the line segment K1-L1 and the line segment K2-L2 do not pass through the optical center C of the camera 2.

図6(B)は、空間モデルMDの曲面領域R2上の座標と処理対象画像平面R3上の座標との間の対応関係を示す図であり、座標対応付け手段10は、XZ平面上に位置する平行線群PLであって、処理対象画像平面R3との間で角度βを形成する平行線群PLを導入し、空間モデルMDの曲面領域R2上の座標とその座標に対応する処理対象画像平面R3上の座標とが共に平行線群PLのうちの一つに乗るようにして、両座標を対応付ける。   FIG. 6B is a diagram showing the correspondence between the coordinates on the curved surface region R2 of the space model MD and the coordinates on the processing object image plane R3, and the coordinate correlating means 10 is positioned on the XZ plane. Parallel line group PL that forms an angle β with the processing target image plane R3 is introduced, and the processing target image corresponding to the coordinates on the curved surface region R2 of the space model MD and the coordinates Both coordinates correspond to each other so that the coordinates on the plane R3 both lie on one of the parallel line group PL.

図6(B)の例では、座標対応付け手段10は、空間モデルMDの曲面領域R2上の座標L2と処理対象画像平面R3上の座標M2とが共通の平行線に乗るとして、両座標を対応付けるようにする。   In the example of FIG. 6B, the coordinate correlating means 10 sets both coordinates on the assumption that the coordinate L2 on the curved surface area R2 of the space model MD and the coordinate M2 on the processing object image plane R3 lie on a common parallel line. Make it correspond.

なお、座標対応付け手段10は、空間モデルMDの平面領域R1上の座標を曲面領域R2上の座標と同様に平行線群PLを用いて処理対象画像平面R3上の座標に対応付けることが可能であるが、図6(B)の例では、平面領域R1と処理対象画像平面R3とが共通の平面となっているので、空間モデルMDの平面領域R1上の座標L1と処理対象画像平面R3上の座標M1とは同じ座標値を有するものとなっている。   The coordinate associating means 10 can associate the coordinates on the plane region R1 of the space model MD with the coordinates on the processing object image plane R3 using the parallel line group PL in the same manner as the coordinates on the curved region R2. In the example of FIG. 6B, since the plane region R1 and the processing target image plane R3 are common in the example of FIG. 6B, the coordinate L1 on the plane region R1 of the space model MD and the processing target image plane R3 The coordinate value of the coordinate M1 is the same as that of the coordinate M1.

このようにして、座標対応付け手段10は、空間モデルMD上の座標と、処理対象画像平面R3上の座標とを対応付け、空間モデルMD上の座標及び処理対象画像平面R3上の座標を関連付けて空間モデル・処理対象画像対応マップ41に記憶する。   Thus, the coordinate associating unit 10 associates the coordinates on the space model MD with the coordinates on the processing object image plane R3, and associates the coordinates on the space model MD and the coordinates on the processing object image plane R3. Are stored in the space model / processing target image correspondence map 41.

図6(C)は、処理対象画像平面R3上の座標と一例として通常射影(h=ftanα)を採用する仮想カメラ2Vの出力画像平面R5上の座標との間の対応関係を示す図であり、画像生成手段11は、仮想カメラ2Vの出力画像平面R5上の座標とその座標に対応する処理対象画像平面R3上の座標とを結ぶ線分のそれぞれが仮想カメラ2Vの光学中心CVを通過するようにして、両座標を対応付ける。   FIG. 6C is a diagram showing the correspondence between the coordinates on the processing target image plane R3 and the coordinates on the output image plane R5 of the virtual camera 2V adopting the normal projection (h = ftan α) as an example. The image generation unit 11 causes each of the line segments connecting the coordinates on the output image plane R5 of the virtual camera 2V and the coordinates on the processing target image plane R3 corresponding to the coordinates to pass through the optical center CV of the virtual camera 2V. In this way, associate the two coordinates.

図6(C)の例では、画像生成手段11は、仮想カメラ2Vの出力画像平面R5上の座標N1を処理対象画像平面R3(空間モデルMDの平面領域R1)上の座標M1に対応付け、仮想カメラ2Vの出力画像平面R5上の座標N2を処理対象画像平面R3上の座標M2に対応付ける。このとき、線分M1−N1及び線分M2−N2は共に仮想カメラ2Vの光学中心CVを通過する。   In the example of FIG. 6C, the image generation unit 11 associates the coordinates N1 on the output image plane R5 of the virtual camera 2V with the coordinates M1 on the processing target image plane R3 (the plane region R1 of the space model MD). The coordinate N2 on the output image plane R5 of the virtual camera 2V is associated with the coordinate M2 on the processing object image plane R3. At this time, the line segment M1-N1 and the line segment M2-N2 both pass the optical center CV of the virtual camera 2V.

なお、仮想カメラ2Vが通常射影以外の射影方式(例えば、正射影、立体射影、等立体角射影、等距離射影等である。)を採用する場合、画像生成手段11は、それぞれの射影方式に応じて、仮想カメラ2Vの出力画像平面R5上の座標N1、N2を処理対象画像平面R3上の座標M1、M2に対応付けるようにする。   When the virtual camera 2V adopts a projection method other than the normal projection (for example, orthographic projection, stereographic projection, iso-stereographic projection, equidistant projection, etc.), the image generation unit 11 selects one of the projection systems. Accordingly, the coordinates N1 and N2 on the output image plane R5 of the virtual camera 2V are made to correspond to the coordinates M1 and M2 on the processing target image plane R3.

具体的には、画像生成手段11は、所定の関数(例えば、正射影(h=fsinα)、立体射影(h=2ftan(α/2))、等立体角射影(h=2fsin(α/2))、等距離射影(h=fα)等である。)に基づいて、出力画像平面R5上の座標と処理対象画像平面R3上の座標とを対応付ける。この場合、線分M1−N1及び線分M2−N2が仮想カメラ2Vの光学中心CVを通過することはない。   Specifically, the image generation unit 11 generates a predetermined function (for example, an orthogonal projection (h = fsin α), a solid projection (h = 2 ftan (α / 2)), an isostatic projection (h = 2 f sin (α / 2) The coordinates on the output image plane R5 are associated with the coordinates on the processing object image plane R3 on the basis of equidistant projection (h = fα) etc.)). In this case, the line segment M1-N1 and the line segment M2-N2 do not pass through the optical center CV of the virtual camera 2V.

このようにして、画像生成手段11は、出力画像平面R5上の座標と、処理対象画像平面R3上の座標とを対応付け、出力画像平面R5上の座標及び処理対象画像平面R3上の座標を関連付けて処理対象画像・出力画像対応マップ42に記憶し、座標対応付け手段10が記憶した入力画像・空間モデル対応マップ40及び空間モデル・処理対象画像対応マップ41を参照しながら、出力画像における各画素の値と入力画像における各画素の値とを関連付けて出力画像を生成する。   Thus, the image generation unit 11 associates the coordinates on the output image plane R5 with the coordinates on the processing object image plane R3, and coordinates on the output image plane R5 and the coordinates on the processing object image plane R3. Each of the output images is stored with reference to the input image / space model correspondence map 40 and the space model / process target image correspondence map 41 stored in the processing object image / output image correspondence map 42 in association with each other and stored An output image is generated by associating the pixel value with the value of each pixel in the input image.

なお、図6(D)は、図6(A)〜図6(C)を組み合わせた図であり、カメラ2、仮想カメラ2V、空間モデルMDの平面領域R1及び曲面領域R2、並びに、処理対象画像平面R3の相互の位置関係を示す。   6D is a diagram combining FIGS. 6A to 6C, and shows the camera 2, the virtual camera 2V, the flat region R1 and the curved region R2 of the space model MD, and the processing target The positional relationship between the image planes R3 is shown.

次に、図7を参照しながら、空間モデルMD上の座標と処理対象画像平面R3上の座標とを対応付けるために座標対応付け手段10が導入する平行線群PLの作用について説明する。   Next, with reference to FIG. 7, an operation of the parallel line group PL introduced by the coordinate associating unit 10 in order to associate the coordinates on the space model MD and the coordinates on the processing target image plane R3 will be described.

図7(A)は、XZ平面上に位置する平行線群PLと処理対象画像平面R3との間で角度βが形成される場合の図であり、図7(B)は、XZ平面上に位置する平行線群PLと処理対象画像平面R3との間で角度β1(β1>β)が形成される場合の図である。また、図7(A)及び図7(B)における空間モデルMDの曲面領域R2上の座標La〜Ldのそれぞれは、処理対象画像平面R3上の座標Ma〜Mdのそれぞれに対応するものとし、図7(A)における座標La〜Ldのそれぞれの間隔は、図7(B)における座標La〜Ldのそれぞれの間隔と等しいものとする。なお、平行線群PLは、説明目的のためにXZ平面上に存在するものとしているが、実際には、Z軸上の全ての点から処理対象画像平面R3に向かって放射状に延びるように存在するものとする。なお、この場合のZ軸を「再投影軸」と称することとする。   FIG. 7A is a diagram in the case where an angle β is formed between the parallel line group PL located on the XZ plane and the processing object image plane R3, and FIG. 7B is a diagram on the XZ plane. It is a figure in the case where angle beta 1 (beta 1> beta) is formed between parallel line group PL and processing object image plane R3 which are located. Further, each of the coordinates La to Ld on the curved surface region R2 of the space model MD in FIGS. 7A and 7B corresponds to each of the coordinates Ma to Md on the processing target image plane R3, The space | interval of each of the coordinates La-Ld in FIG. 7 (A) shall be equal to each space | interval of the coordinates La-Ld in FIG. 7 (B). Although the parallel line group PL is present on the XZ plane for the purpose of explanation, in reality, it is present so as to radially extend from all points on the Z axis toward the processing object image plane R3. It shall be. The Z axis in this case is referred to as a "reprojection axis".

図7(A)及び図7(B)で示されるように、処理対象画像平面R3上の座標Ma〜Mdのそれぞれの間隔は、平行線群PLと処理対象画像平面R3との間の角度が増大するにつれて線形的に減少する(空間モデルMDの曲面領域R2と座標Ma〜Mdのそれぞれとの間の距離とは関係なく一様に減少する。)。一方で、空間モデルMDの平面領域R1上の座標群は、図7の例では、処理対象画像平面R3上の座標群への変換が行われないので、座標群の間隔が変化することはない。   As shown in FIGS. 7A and 7B, the distance between the parallel line group PL and the processing target image plane R3 is equal to the distance between the coordinates Ma to Md on the processing target image plane R3. It decreases linearly as it increases (the distance decreases uniformly regardless of the distance between the curved region R2 of the space model MD and each of the coordinates Ma to Md). On the other hand, the coordinate group on the plane region R1 of the space model MD is not converted to the coordinate group on the processing object image plane R3 in the example of FIG. 7, so the interval between the coordinate groups does not change. .

これら座標群の間隔の変化は、出力画像平面R5(図6参照。)上の画像部分のうち、空間モデルMDの曲面領域R2に投影された画像に対応する画像部分のみが線形的に拡大或いは縮小されることを意味する。   Among the image portions on the output image plane R5 (see FIG. 6), the change in the distance between these coordinate groups is linearly expanded or only the image portion corresponding to the image projected on the curved region R2 of the space model MD. It means to be reduced.

次に、図8を参照しながら、空間モデルMD上の座標と処理対象画像平面R3上の座標とを対応付けるために座標対応付け手段10が導入する平行線群PLの代替例について説明する。   Next, with reference to FIG. 8, an alternative example of the parallel line group PL introduced by the coordinate associating unit 10 in order to associate the coordinates on the space model MD with the coordinates on the processing target image plane R3 will be described.

図8(A)は、XZ平面上に位置する補助線群ALの全てがZ軸上の始点T1から処理対象画像平面R3に向かって延びる場合の図であり、図8(B)は、補助線群ALの全てがZ軸上の始点T2(T2>T1)から処理対象画像平面R3に向かって延びる場合の図である。また、図8(A)及び図8(B)における空間モデルMDの曲面領域R2上の座標La〜Ldのそれぞれは、処理対象画像平面R3上の座標Ma〜Mdのそれぞれに対応するものとし(図8(A)の例では、座標Mc、Mdは、処理対象画像平面R3の領域外となるため図示されていない。)、図8(A)における座標La〜Ldのそれぞれの間隔は、図8(B)における座標La〜Ldのそれぞれの間隔と等しいものとする。なお、補助線群ALは、説明目的のためにXZ平面上に存在するものとしているが、実際には、Z軸上の任意の一点から処理対象画像平面R3に向かって放射状に延びるように存在するものとする。なお、図7と同様、この場合のZ軸を「再投影軸」と称することとする。   FIG. 8A is a diagram in the case where all the auxiliary line groups AL located on the XZ plane extend from the start point T1 on the Z axis toward the processing object image plane R3, and FIG. It is a figure in the case where all the line groups AL extend toward the process target image plane R3 from the start point T2 (T2> T1) on the Z-axis. Further, each of the coordinates La to Ld on the curved surface region R2 of the space model MD in FIGS. 8A and 8B corresponds to each of the coordinates Ma to Md on the processing target image plane R3 In the example of FIG. 8A, the coordinates Mc and Md are not shown because they are out of the region of the processing target image plane R3), and the intervals of the coordinates La to Ld in FIG. It is assumed that they are equal to the intervals of coordinates La to Ld in 8 (B). Although the auxiliary line group AL is present on the XZ plane for the purpose of explanation, in reality, the auxiliary line group AL is present so as to radially extend from any one point on the Z axis toward the processing object image plane R3. It shall be. As in FIG. 7, the Z axis in this case is referred to as “re-projection axis”.

図8(A)及び図8(B)で示されるように、処理対象画像平面R3上の座標Ma〜Mdのそれぞれの間隔は、補助線群ALの始点と原点Oとの間の距離(高さ)が増大するにつれて非線形的に減少する(空間モデルMDの曲面領域R2と座標Ma〜Mdのそれぞれとの間の距離が大きいほど、それぞれの間隔の減少幅が大きくなる。)。一方で、空間モデルMDの平面領域R1上の座標群は、図8の例では、処理対象画像平面R3上の座標群への変換が行われないので、座標群の間隔が変化することはない。   As shown in FIGS. 8A and 8B, the distance between coordinates Ma to Md on the processing target image plane R3 is the distance between the start point of the auxiliary line group AL and the origin O (high Decreases nonlinearly (the larger the distance between the curved surface region R2 of the space model MD and each of the coordinates Ma to Md, the larger the reduction width of each interval). On the other hand, the coordinate group on the plane region R1 of the space model MD is not converted to the coordinate group on the processing target image plane R3 in the example of FIG. 8, so the interval between the coordinate groups does not change. .

これら座標群の間隔の変化は、平行線群PLのときと同様、出力画像平面R5(図6参照。)上の画像部分のうち、空間モデルMDの曲面領域R2に投影された画像に対応する画像部分のみが非線形的に拡大或いは縮小されることを意味する。   The change in the distance between these coordinate groups corresponds to the image projected on the curved region R2 of the space model MD in the image portion on the output image plane R5 (see FIG. 6), as in the parallel line group PL. It means that only the image part is expanded or reduced non-linearly.

このようにして、画像生成装置100は、空間モデルMDの平面領域R1に投影された画像に対応する出力画像の画像部分(例えば、路面画像である。)に影響を与えることなく、空間モデルMDの曲面領域R2に投影された画像に対応する出力画像の画像部分(例えば、水平画像である。)を線形的に或いは非線形的に拡大或いは縮小させることができるので、ショベル60の近傍の路面画像(ショベル60を真上から見たときの仮想画像)に影響を与えることなく、ショベル60の周囲に位置する地物(ショベル60から水平方向に周囲を見たときの画像における地物)を迅速且つ柔軟に拡大或いは縮小させることができ、ショベル60の死角領域の視認性を向上させることができる。   In this manner, the image generation device 100 does not affect the image portion (for example, a road surface image) of the output image corresponding to the image projected on the plane region R1 of the space model MD, and the space model MD is generated. Since the image portion (for example, a horizontal image) of the output image corresponding to the image projected on the curved surface area R2 of the road surface area R2 can be expanded or reduced linearly or nonlinearly, a road surface image near the shovel 60 The feature located in the periphery of the shovel 60 (feature in the image when the surroundings are viewed in the horizontal direction from the shovel 60) quickly without affecting the (virtual image when the shovel 60 is viewed from directly above) And it can be expanded or reduced flexibly, and the visibility of the blind spot area of the shovel 60 can be improved.

次に、図9を参照しながら、画像生成装置100が処理対象画像を生成する処理(以下、「処理対象画像生成処理」とする。)、及び、生成した処理対象画像を用いて出力画像を生成する処理(以下、「出力画像生成処理」とする。)について説明する。なお、図9は、処理対象画像生成処理(ステップS1〜ステップS3)及び出力画像生成処理(ステップS4〜ステップS6)の流れを示すフローチャートである。また、カメラ2(入力画像平面R4)、空間モデル(平面領域R1及び曲面領域R2)、並びに、処理対象画像平面R3の配置は予め決定されているものとする。   Next, referring to FIG. 9, a process in which the image generation apparatus 100 generates a processing target image (hereinafter referred to as “processing target image generation processing”), and an output image using the generated processing target image. A process of generating (hereinafter, referred to as “output image generation process”) will be described. FIG. 9 is a flowchart showing the flow of processing target image generation processing (steps S1 to S3) and output image generation processing (steps S4 to S6). The arrangement of the camera 2 (input image plane R4), the space model (plane area R1 and curved area R2), and the processing target image plane R3 are determined in advance.

最初に、制御部1は、座標対応付け手段10により、処理対象画像平面R3上の座標と空間モデルMD上の座標とを対応付ける(ステップS1)。   First, the control unit 1 causes the coordinate associating unit 10 to associate the coordinates on the processing target image plane R3 with the coordinates on the space model MD (step S1).

具体的には、座標対応付け手段10は、平行線群PLと処理対象画像平面R3との間に形成される角度を取得し、処理対象画像平面R3上の一座標から延びる平行線群PLの一つが空間モデルMDの曲面領域R2と交差する点を算出し、算出した点に対応する曲面領域R2上の座標を、処理対象画像平面R3上のその一座標に対応する曲面領域R2上の一座標として導き出し、その対応関係を空間モデル・処理対象画像対応マップ41に記憶する。なお、平行線群PLと処理対象画像平面R3との間に形成される角度は、記憶部4等に予め記憶された値であってもよく、入力部3を介して操作者が動的に入力する値であってもよい。   Specifically, the coordinate associating unit 10 acquires an angle formed between the parallel line group PL and the processing target image plane R3, and the parallel line group PL extending from one coordinate on the processing target image plane R3. A point at which one intersects the curved surface area R2 of the space model MD is calculated, and a coordinate on the curved surface area R2 corresponding to the calculated point is one on the curved surface area R2 corresponding to the one coordinate on the processing target image plane R3. The coordinates are derived, and the correspondence relationship is stored in the spatial model / processing target image correspondence map 41. The angle formed between the parallel line group PL and the processing target image plane R3 may be a value stored in advance in the storage unit 4 or the like, and the operator dynamically uses the input unit 3 via the input unit 3. It may be a value to be input.

また、座標対応付け手段10は、処理対象画像平面R3上の一座標が空間モデルMDの平面領域R1上の一座標と一致する場合には、平面領域R1上のその一座標を、処理対象画像平面R3上のその一座標に対応する一座標として導き出し、その対応関係を空間モデル・処理対象画像対応マップ41に記憶する。   Further, when one coordinate on the processing target image plane R3 coincides with one coordinate on the plane region R1 of the space model MD, the coordinate associating unit 10 processes the one coordinate on the plane region R1 as the processing target image. It is derived as one coordinate corresponding to the one coordinate on the plane R 3, and the correspondence is stored in the spatial model-processing target image correspondence map 41.

その後、制御部1は、座標対応付け手段10により、上述の処理によって導き出された空間モデルMD上の一座標と入力画像平面R4上の座標とを対応付ける(ステップS2)。   After that, the control unit 1 causes the coordinate associating unit 10 to associate one coordinate on the space model MD derived by the above-described processing with the coordinate on the input image plane R4 (step S2).

具体的には、座標対応付け手段10は、通常射影(h=ftanα)を採用するカメラ2の光学中心Cの座標を取得し、空間モデルMD上の一座標から延びる線分であり、光学中心Cを通過する線分が入力画像平面R4と交差する点を算出し、算出した点に対応する入力画像平面R4上の座標を、空間モデルMD上のその一座標に対応する入力画像平面R4上の一座標として導き出し、その対応関係を入力画像・空間モデル対応マップ40に記憶する。   Specifically, the coordinate correlating means 10 acquires the coordinates of the optical center C of the camera 2 adopting normal projection (h = ftan α), and is a line segment extending from one coordinate on the space model MD. A point at which the line segment passing through C intersects the input image plane R4 is calculated, and the coordinates on the input image plane R4 corresponding to the calculated point are on the input image plane R4 corresponding to the one coordinate on the space model MD. The correspondence relationship is stored in the input image / space model correspondence map 40.

その後、制御部1は、処理対象画像平面R3上の全ての座標を空間モデルMD上の座標及び入力画像平面R4上の座標に対応付けたか否かを判定し(ステップS3)、未だ全ての座標を対応付けていないと判定した場合には(ステップS3のNO)、ステップS1及びステップS2の処理を繰り返すようにする。   After that, the control unit 1 determines whether or not all the coordinates on the processing target image plane R3 are associated with the coordinates on the space model MD and the coordinates on the input image plane R4 (step S3). Are determined not to be associated with each other (NO in step S3), the processing in step S1 and step S2 is repeated.

一方、制御部1は、全ての座標を対応付けたと判定した場合には(ステップS3のYES)、処理対象画像生成処理を終了させた上で出力画像生成処理を開始させ、画像生成手段11により、処理対象画像平面R3上の座標と出力画像平面R5上の座標とを対応付ける(ステップS4)。   On the other hand, when it is determined that all the coordinates are associated (YES in step S3), the control unit 1 ends the processing target image generation processing and then starts the output image generation processing, and the image generation unit 11 Then, the coordinates on the processing target image plane R3 are associated with the coordinates on the output image plane R5 (step S4).

具体的には、画像生成手段11は、処理対象画像にスケール変換、アフィン変換、又は歪曲変換を施すことによって出力画像を生成し、施したスケール変換、アフィン変換、又は歪曲変換の内容によって定まる、処理対象画像平面R3上の座標と出力画像平面R5上の座標との間の対応関係を処理対象画像・出力画像対応マップ42に記憶する。   Specifically, the image generation unit 11 generates an output image by performing scale conversion, affine conversion, or distortion conversion on the processing target image, and is determined by the content of the performed scale conversion, affine conversion, or distortion conversion. The correspondence between the coordinates on the processing target image plane R3 and the coordinates on the output image plane R5 is stored in the processing target image / output image correspondence map 42.

或いは、画像生成手段11は、仮想カメラ2Vを用いて出力画像を生成する場合には、採用した射影方式に応じて処理対象画像平面R3上の座標から出力画像平面R5上の座標を算出し、その対応関係を処理対象画像・出力画像対応マップ42に記憶するようにしてもよい。   Alternatively, when generating an output image using the virtual camera 2V, the image generation unit 11 calculates the coordinates on the output image plane R5 from the coordinates on the processing target image plane R3 according to the adopted projection method, The correspondence relationship may be stored in the processing target image / output image correspondence map 42.

或いは、画像生成手段11は、通常射影(h=ftanα)を採用する仮想カメラ2Vを用いて出力画像を生成する場合には、その仮想カメラ2Vの光学中心CVの座標を取得した上で、出力画像平面R5上の一座標から延びる線分であり、光学中心CVを通過する線分が処理対象画像平面R3と交差する点を算出し、算出した点に対応する処理対象画像平面R3上の座標を、出力画像平面R5上のその一座標に対応する処理対象画像平面R3上の一座標として導き出し、その対応関係を処理対象画像・出力画像対応マップ42に記憶するようにしてもよい。   Alternatively, in the case of generating an output image using the virtual camera 2V adopting normal projection (h = ftan α), the image generation unit 11 acquires the coordinates of the optical center CV of the virtual camera 2V and then outputs the image. A line segment extending from one coordinate on the image plane R5, and a point at which the line segment passing through the optical center CV intersects the processing target image plane R3, coordinates on the processing target image plane R3 corresponding to the calculated point May be derived as one coordinate on the processing target image plane R3 corresponding to the one coordinate on the output image plane R5, and the correspondence may be stored in the processing target image / output image correspondence map 42.

その後、制御部1は、画像生成手段11により、入力画像・空間モデル対応マップ40、空間モデル・処理対象画像対応マップ41、及び処理対象画像・出力画像対応マップ42を参照しながら入力画像平面R4上の座標と空間モデルMD上の座標との対応関係、空間モデルMD上の座標と処理対象画像平面R3上の座標との対応関係、及び処理対象画像平面R3上の座標と出力画像平面R5上の座標との対応関係を辿り、出力画像平面R5上の各座標に対応する入力画像平面R4上の座標が有する値(例えば、輝度値、色相値、彩度値等である。)を取得し、その取得した値を、対応する出力画像平面R5上の各座標の値として採用する(ステップS5)。なお、出力画像平面R5上の一座標に対して複数の入力画像平面R4上の複数の座標が対応する場合、画像生成手段11は、それら複数の入力画像平面R4上の複数の座標のそれぞれの値に基づく統計値(例えば、平均値、最大値、最小値、中間値等である。)を導き出し、出力画像平面R5上のその一座標の値としてその統計値を採用するようにしてもよい。   Thereafter, the control unit 1 causes the image generation unit 11 to refer to the input image / spatial model correspondence map 40, the space model / process target image correspondence map 41, and the process target image / output image correspondence map 42, and input image plane R4. Correspondence between upper coordinates and coordinates on space model MD, correspondence between coordinates on space model MD and coordinates on processing object image plane R3, and coordinates on processing object image plane R3 and on output image plane R5 To obtain the values (for example, luminance value, hue value, saturation value, etc.) possessed by the coordinates on the input image plane R4 corresponding to the respective coordinates on the output image plane R5. The acquired value is adopted as the value of each coordinate on the corresponding output image plane R5 (step S5). When a plurality of coordinates on the plurality of input image planes R4 correspond to one coordinate on the output image plane R5, the image generation unit 11 generates each of the plurality of coordinates on the plurality of input image planes R4. A statistical value (for example, an average value, a maximum value, a minimum value, an intermediate value, etc.) based on a value may be derived, and the statistical value may be adopted as the value of one coordinate on the output image plane R5. .

その後、制御部1は、出力画像平面R5上の全ての座標の値を入力画像平面R4上の座標の値に対応付けたか否かを判定し(ステップS6)、未だ全ての座標の値を対応付けていないと判定した場合には(ステップS6のNO)、ステップS4及びステップS5の処理を繰り返すようにする。   Thereafter, the control unit 1 determines whether the values of all the coordinates on the output image plane R5 are associated with the values of the coordinates on the input image plane R4 (step S6), and the values of all the coordinates still correspond If it is determined that it is not attached (NO in step S6), the processing in step S4 and step S5 is repeated.

一方、制御部1は、全ての座標の値を対応付けたと判定した場合には(ステップS6のYES)、出力画像を生成して、この一連の処理を終了させる。   On the other hand, when it is determined that the values of all the coordinates are associated (YES in step S6), the control unit 1 generates an output image and terminates this series of processing.

なお、画像生成装置100は、処理対象画像を生成しない場合には、処理対象画像生成処理を省略し、出力画像生成処理におけるステップS4の"処理対象画像平面上の座標"を"空間モデル上の座標"で読み替えるものとする。   When the image generation apparatus 100 does not generate the processing target image, the processing target image generation processing is omitted, and “coordinates on the processing target image plane” in step S4 in the output image generation processing is “on the space model”. "Coordinate" shall be read.

以上の構成により、画像生成装置100は、ショベル60の周囲の地物とショベル60との位置関係を操作者に直感的に把握させることが可能な処理対象画像及び出力画像を生成することができる。   With the above configuration, the image generation device 100 can generate the processing target image and the output image that can make the operator intuitively grasp the positional relationship between the ground object around the shovel 60 and the shovel 60. .

また、画像生成装置100は、処理対象画像平面R3から空間モデルMDを経て入力画像平面R4に遡るように座標の対応付けを実行することにより、処理対象画像平面R3上の各座標を入力画像平面R4上の一又は複数の座標に確実に対応させることができ、入力画像平面R4から空間モデルMDを経て処理対象画像平面R3に至る順番で座標の対応付けを実行する場合と比べ(この場合には、入力画像平面R4上の各座標を処理対象画像平面R3上の一又は複数の座標に確実に対応させることができるが、処理対象画像平面R3上の座標の一部が、入力画像平面R4上の何れの座標にも対応付けられない場合があり、その場合にはそれら処理対象画像平面R3上の座標の一部に補間処理等を施す必要がある。)、より良質な処理対象画像を迅速に生成することができる。   In addition, the image generation apparatus 100 associates each coordinate on the processing target image plane R3 with the input image plane R3 by executing coordinate association so as to trace back to the input image plane R4 from the processing target image plane R3 through the space model MD. In this case, it is possible to correspond to one or more coordinates on R4 with certainty, and to execute the matching of the coordinates in the order from the input image plane R4 through the space model MD to the processing target image plane R3 (in this case Can reliably make each coordinate on the input image plane R4 correspond to one or more coordinates on the processing object image plane R3, but a part of the coordinates on the processing object image plane R3 corresponds to the input image plane R4. In some cases, it may not be associated with any of the above coordinates, in which case it is necessary to perform interpolation processing etc. on a part of the coordinates on the processing target image plane R3), a better processing target image It is possible to rapidly generate.

また、画像生成装置100は、空間モデルMDの曲面領域R2に対応する画像のみを拡大或いは縮小する場合には、平行線群PLと処理対象画像平面R3との間に形成される角度を変更して空間モデル・処理対象画像対応マップ41における曲面領域R2に関連する部分のみを書き換えるだけで、入力画像・空間モデル対応マップ40の内容を書き換えることなく、所望の拡大或いは縮小を実現させることができる。   Further, in the case of enlarging or reducing only the image corresponding to the curved surface region R2 of the space model MD, the image generation device 100 changes the angle formed between the parallel line group PL and the processing target image plane R3. Desired enlargement or reduction can be realized without rewriting the content of the input image / space model correspondence map 40 only by rewriting only the part related to the curved region R2 in the space model / processing target image correspondence map 41. .

また、画像生成装置100は、出力画像の見え方を変更する場合には、スケール変換、アフィン変換又は歪曲変換に関する各種パラメータの値を変更して処理対象画像・出力画像対応マップ42を書き換えるだけで、入力画像・空間モデル対応マップ40及び空間モデル・処理対象画像対応マップ41の内容を書き換えることなく、所望の出力画像(スケール変換画像、アフィン変換画像又は歪曲変換画像)を生成することができる。   Further, when changing the appearance of the output image, the image generation apparatus 100 only changes the values of various parameters related to scale conversion, affine conversion, or distortion conversion to rewrite the processing target image / output image correspondence map 42. A desired output image (scale conversion image, affine conversion image or distortion conversion image) can be generated without rewriting the contents of the input image / space model correspondence map 40 and the space model / processing target image correspondence map 41.

同様に、画像生成装置100は、出力画像の視点を変更する場合には、仮想カメラ2Vの各種パラメータの値を変更して処理対象画像・出力画像対応マップ42を書き換えるだけで、入力画像・空間モデル対応マップ40及び空間モデル・処理対象画像対応マップ41の内容を書き換えることなく、所望の視点から見た出力画像(視点変換画像)を生成することができる。   Similarly, when changing the viewpoint of the output image, the image generation apparatus 100 changes the values of various parameters of the virtual camera 2 V and rewrites the processing object image / output image correspondence map 42 to change the input image / space. An output image (viewpoint conversion image) viewed from a desired viewpoint can be generated without rewriting the contents of the model correspondence map 40 and the space model / process target image correspondence map 41.

図10は、ショベル60に搭載された二台のカメラ2(右側方カメラ2R及び後方カメラ2B)の入力画像を用いて生成される出力画像を表示部5に表示させたときの表示例である。   FIG. 10 is a display example when an output image generated using input images of two cameras 2 (right-side camera 2R and rear camera 2B) mounted on the shovel 60 is displayed on the display unit 5 .

画像生成装置100は、それら二台のカメラ2のそれぞれの入力画像を空間モデルMDの平面領域R1及び曲面領域R2上に投影した上で処理対象画像平面R3に再投影して処理対象画像を生成し、その生成した処理対象画像に画像変換処理(例えば、スケール変換、アフィン変換、歪曲変換、視点変換処理等である。)を施すことによって出力画像を生成して、ショベル60の近傍を上空から見下ろした画像(平面領域R1における画像)と、ショベル60から水平方向に周囲を見た画像(処理対象画像平面R3における画像)とを同時に表示している。   The image generation apparatus 100 projects the input image of each of the two cameras 2 onto the plane region R1 and the curved region R2 of the space model MD, and reprojects the image on the processing target image plane R3 to generate the processing target image. An output image is generated by performing image conversion processing (for example, scale conversion, affine conversion, distortion conversion, viewpoint conversion processing, etc.) on the generated processing target image, and the vicinity of the shovel 60 is viewed from above An image (an image in the plane region R1) looking down and an image (an image in the processing target image plane R3) viewed from the periphery in the horizontal direction from the shovel 60 are simultaneously displayed.

なお、出力画像は、画像生成装置100が処理対象画像を生成しない場合には、空間モデルMDに投影された画像に画像変換処理(例えば、視点変換処理である。)を施すことによって生成されるものとする。   The output image is generated by performing image conversion processing (for example, viewpoint conversion processing) on the image projected on the space model MD when the image generation apparatus 100 does not generate the processing target image. It shall be.

また、出力画像は、ショベル60が旋回動作を行う際の画像を違和感なく表示できるよう、円形にトリミングされ、その円の中心CTRが空間モデルMDの円筒中心軸上で、且つ、ショベル60の旋回軸PV上となるように生成されており、ショベル60の旋回動作に応じてその中心CTRを軸に回転するように表示される。この場合、空間モデルMDの円筒中心軸は、再投影軸と一致するものであってもよく、一致しないものであってもよい。   Further, the output image is trimmed in a circular shape so that the image when the shovel 60 performs a turning operation can be displayed without discomfort, and the center CTR of the circle is on the cylinder center axis of the space model MD and the turning of the shovel 60 It is generated so as to be on the axis PV, and displayed so as to rotate about its center CTR in response to the turning operation of the shovel 60. In this case, the cylinder central axis of the space model MD may or may not coincide with the reprojection axis.

なお、空間モデルMDの半径は、例えば、5メートルであり、平行線群PLが処理対象画像平面R3との間で形成する角度、又は、補助線群ALの始点高さは、ショベル60の旋回中心から掘削アタッチメントEの最大到達距離(例えば12メートルである。)だけ離れた位置に地物(例えば、作業員である。)が存在する場合にその地物が表示部5で十分大きく(例えば、7ミリメートル以上である。)表示されるように、設定され得る。   The radius of the space model MD is, for example, 5 meters, and the angle formed by the parallel line group PL with the processing target image plane R3 or the starting point height of the auxiliary line group AL is the turning of the shovel 60. If a feature (for example, a worker) is present at a position away from the center by the maximum reach distance of the drilling attachment E (for example, 12 meters), the feature is sufficiently large (for example, on the display 5) , 7 mm or more) can be set to be displayed.

更に、出力画像は、ショベル60のCG画像を、ショベル60の前方が表示部5の画面上方と一致し、且つ、その旋回中心が中心CTRと一致するように配置するようにしてもよい。ショベル60と出力画像に現れる地物との間の位置関係をより分かり易くするためである。なお、出力画像は、方位等の各種情報を含む額縁画像をその周囲に配置するようにしてもよい。   Furthermore, the output image may be arranged such that the CG image of the shovel 60 is such that the front of the shovel 60 coincides with the upper side of the screen of the display unit 5 and the turning center coincides with the center CTR. This is to make it easier to understand the positional relationship between the shovel 60 and the features appearing in the output image. Note that the output image may have a frame image including various information such as an orientation disposed around it.

次に、図11〜図18を参照しながら、画像生成装置100が生成する出力画像の詳細について説明する。   Next, details of an output image generated by the image generation device 100 will be described with reference to FIGS. 11 to 18.

図11は、画像生成装置100を搭載するショベル60の上面図である。図11に示す実施例では、ショベル60は、3台のカメラ2(左側方カメラ2L、右側方カメラ2R、及び後方カメラ2B)と3台のステレオカメラ6(左側方ステレオカメラ6L、右側方ステレオカメラ6R、及び後方ステレオカメラ6B)とを備える。なお、図11の一点鎖線で示す領域CL、CR、CBは、それぞれ、左側方カメラ2L、右側方カメラ2R、後方カメラ2Bの撮像範囲を示す。また、図11の点線で示す領域ZL、ZR、ZBは、それぞれ、左側方ステレオカメラ6L、右側方ステレオカメラ6R、後方ステレオカメラ6Bの撮像範囲を示す。   FIG. 11 is a top view of a shovel 60 on which the image generating apparatus 100 is mounted. In the embodiment shown in FIG. 11, the shovel 60 has three cameras 2 (left side camera 2L, right side camera 2R, and rear camera 2B) and three stereo cameras 6 (left side stereo camera 6L, right side stereo) And a rear stereo camera 6B). Regions CL, CR, and CB indicated by alternate long and short dash lines in FIG. 11 indicate imaging ranges of the left side camera 2L, the right side camera 2R, and the rear camera 2B, respectively. Further, regions ZL, ZR, and ZB indicated by dotted lines in FIG. 11 indicate imaging ranges of the left side stereo camera 6L, the right side stereo camera 6R, and the rear stereo camera 6B, respectively.

なお、本実施例では、ステレオカメラ6の撮像範囲がカメラ2の撮像範囲よりも狭いが、ステレオカメラ6の撮像範囲は、カメラ2の撮像範囲と同じでもよく、カメラ2の撮像範囲より広くてもよい。また、ステレオカメラ6の撮像範囲は、カメラ2の撮像範囲内において、ショベル60の近傍に位置するが、ショベル60からより遠い領域にあってもよい。   In this embodiment, although the imaging range of the stereo camera 6 is narrower than the imaging range of the camera 2, the imaging range of the stereo camera 6 may be the same as the imaging range of the camera 2, and is wider than the imaging range of the camera 2. It is also good. Moreover, although the imaging range of the stereo camera 6 is located in the vicinity of the shovel 60 in the imaging range of the camera 2, you may be in the area | region farther from the shovel 60. FIG.

図12は、ショベル60に搭載された3台のカメラ2のそれぞれの入力画像と、それら入力画像を用いて生成される出力画像とを示す図である。   FIG. 12 shows an input image of each of the three cameras 2 mounted on the shovel 60 and an output image generated using the input images.

画像生成装置100は、3台のカメラ2のそれぞれの入力画像を空間モデルMDの平面領域R1及び曲面領域R2上に投影した上で処理対象画像平面R3に再投影して処理対象画像を生成する。また、画像生成装置100は、生成した処理対象画像に画像変換処理(例えば、スケール変換、アフィン変換、歪曲変換、視点変換処理等である。)を施すことによって出力画像を生成する。その結果、画像生成装置100は、ショベル60の近傍を上空から見下ろした画像(平面領域R1における画像)と、ショベル60から水平方向に周囲を見た画像(処理対象画像平面R3における画像)とを同時に表示する。なお、出力画像の中央に表示される画像は、ショベル60のCG画像60CGである。   The image generation apparatus 100 projects the input image of each of the three cameras 2 onto the plane region R1 and the curved region R2 of the space model MD, and reprojects the image on the processing target image plane R3 to generate the processing target image. . Further, the image generation apparatus 100 generates an output image by performing image conversion processing (for example, scale conversion, affine conversion, distortion conversion, viewpoint conversion processing, and the like) on the generated processing target image. As a result, the image generating apparatus 100 displays an image (image in the flat region R1) looking down near the shovel 60 from above and an image (image in the processing target image plane R3) looking horizontally from the shovel 60 Display at the same time. The image displayed at the center of the output image is a CG image 60 CG of the shovel 60.

図12において、右側方カメラ2Rの入力画像、及び、後方カメラ2Bの入力画像はそれぞれ、右側方カメラ2Rの撮像範囲と後方カメラ2Bの撮像範囲との重複領域内に人物を捉えている(右側方カメラ2Rの入力画像における二点鎖線で囲まれる領域R10、及び、後方カメラ2Bの入力画像における二点鎖線で囲まれる領域R11参照。)。   In FIG. 12, the input image of the right side camera 2R and the input image of the rear camera 2B respectively capture a person in the overlapping area of the imaging range of the right side camera 2R and the imaging range of the rear camera 2B (right side A region R10 surrounded by a two-dot chain line in the input image of the two-way camera 2R and a region R11 surrounded by a two-dot chain line in the input image of the rear camera 2B.

しかしながら、出力画像平面上の座標が入射角の最も小さいカメラに関する入力画像平面上の座標に対応付けられるものとすると、出力画像は、重複領域内の人物を消失させてしまう(出力画像内の一点鎖線で囲まれる領域R12参照。)。   However, assuming that the coordinates on the output image plane correspond to the coordinates on the input image plane related to the camera with the smallest incident angle, the output image causes the person in the overlapping area to disappear (a point in the output image See the region R12 enclosed by a dashed line).

そこで、画像生成装置100は、重複領域に対応する出力画像部分において、後方カメラ2Bの入力画像平面上の座標が対応付けられる領域と、右側方カメラ2Rの入力画像平面上の座標が対応付けられる領域とを混在させ、重複領域内の物体が消失するのを防止する。   Therefore, in the output image portion corresponding to the overlapping area, the image generating apparatus 100 associates the area to which the coordinates on the input image plane of the rear camera 2B are associated with the coordinates on the input image plane of the right side camera 2R. The area is mixed, and the object in the overlapping area is prevented from disappearing.

図13は、2つのカメラのそれぞれの撮像範囲の重複領域における物体の消失を防止する画像消失防止処理を説明するための図である。   FIG. 13 is a diagram for explaining an image loss prevention process for preventing the loss of an object in the overlapping area of the imaging ranges of the two cameras.

図13(A)は、右側方カメラ2Rの撮像範囲と後方カメラ2Bの撮像範囲との重複領域に対応する出力画像部分を示す図であり、図12の点線で示す矩形領域R13に対応する。   FIG. 13A is a diagram showing an output image portion corresponding to an overlapping area of the imaging range of the right side camera 2R and the imaging range of the rear camera 2B, and corresponds to a rectangular area R13 shown by a dotted line in FIG.

また、図13(A)において、灰色で塗り潰された領域PR1は、後方カメラ2Bの入力画像部分が配置される画像領域であり、領域PR1に対応する出力画像平面上の各座標には後方カメラ2Bの入力画像平面上の座標が対応付けられる。   Further, in FIG. 13A, an area PR1 filled with gray is an image area in which the input image portion of the rear camera 2B is disposed, and the rear camera is located at each coordinate on the output image plane corresponding to the area PR1. Coordinates on the 2B input image plane are associated.

一方、白色で塗り潰された領域PR2は、右側方カメラ2Rの入力画像部分が配置される画像領域であり、領域PR2に対応する出力画像平面上の各座標には右側方カメラ2Rの入力画像平面上の座標が対応付けられる。   On the other hand, the area PR2 filled with white is an image area where the input image portion of the right side camera 2R is arranged, and each coordinate on the output image plane corresponding to the area PR2 is the input image plane of the right side camera 2R The upper coordinates are associated.

本実施例では、領域PR1と領域PR2とが縞模様を形成するように配置され、領域PR1と領域PR2とが縞状に交互に並ぶ部分の境界線は、ショベル60の旋回中心を中心とする水平面上の同心円によって定められる。   In the present embodiment, the area PR1 and the area PR2 are arranged to form a stripe pattern, and the boundary between the area PR1 and the area PR2 alternately arranged in a stripe is centered on the turning center of the shovel 60. It is defined by concentric circles on the horizontal plane.

図13(B)は、ショベル60の右斜め後方の空間領域の状況を示す上面図であり、後方カメラ2B及び右側方カメラ2Rの双方によって撮像される空間領域の現在の状況を示す。また、図13(B)は、ショベル60の右斜め後方に棒状の立体物OBが存在することを示す。   FIG. 13B is a top view showing the situation of the space area in the diagonally right rear of the shovel 60, and shows the current situation of the space area imaged by both the rear camera 2B and the right side camera 2R. Moreover, FIG. 13 (B) shows that rod-shaped three-dimensional object OB exists in the diagonally right back of the shovel 60. As shown in FIG.

図13(C)は、図13(B)が示す空間領域を後方カメラ2B及び右側方カメラ2Rで実際に撮像して得られた入力画像に基づいて生成される出力画像の一部を示す。   FIG. 13C shows a part of an output image generated based on an input image obtained by actually imaging the space area shown in FIG. 13B with the rear camera 2B and the right side camera 2R.

具体的には、画像OB1は、後方カメラ2Bの入力画像における立体物OBの画像が、路面画像を生成するための視点変換によって、後方カメラ2Bと立体物OBとを結ぶ線の延長方向に伸長されたものを表す。すなわち、画像OB1は、後方カメラ2Bの入力画像を用いて出力画像部分における路面画像を生成した場合に表示される立体物OBの画像の一部である。   Specifically, in the image OB1, the image of the solid object OB in the input image of the rear camera 2B is extended in the extension direction of the line connecting the rear camera 2B and the solid object OB by viewpoint conversion for generating a road surface image Represents what was That is, the image OB1 is a part of the image of the three-dimensional object OB displayed when the road surface image in the output image portion is generated using the input image of the rear camera 2B.

また、画像OB2は、右側方カメラ2Rの入力画像における立体物OBの画像が、路面画像を生成するための視点変換によって、右側方カメラ2Rと立体物OBとを結ぶ線の延長方向に伸長されたものを表す。すなわち、画像OB2は、右側方カメラ2Rの入力画像を用いて出力画像部分における路面画像を生成した場合に表示される立体物OBの画像の一部である。   In the image OB2, the image of the solid object OB in the input image of the right side camera 2R is expanded in the extension direction of the line connecting the right side camera 2R and the solid object OB by viewpoint conversion for generating a road surface image. Represent the That is, the image OB2 is a part of the image of the three-dimensional object OB displayed when the road surface image in the output image portion is generated using the input image of the right side camera 2R.

このように、画像生成装置100は、重複領域において、後方カメラ2Bの入力画像平面上の座標が対応付けられる領域PR1と、右側方カメラ2Rの入力画像平面上の座標が対応付けられる領域PR2とを混在させる。その結果、画像生成装置100は、1つの立体物OBに関する2つの画像OB1及び画像OB2の双方を出力画像上に表示させ、立体物OBが出力画像から消失するのを防止する。   As described above, in the overlapping area, the image generating apparatus 100 combines the area PR1 with which the coordinates on the input image plane of the rear camera 2B are associated and the area PR2 with which the coordinates on the input image plane of the right side camera 2R are associated. Mix As a result, the image generation apparatus 100 displays both the two images OB1 and OB2 of one solid object OB on the output image, and prevents the solid object OB from disappearing from the output image.

図14は、図12の出力画像と、図12の出力画像に画像消失防止処理を適用することで得られる出力画像との違いを表す対比図であり、図14(A)が図12の出力画像を示し、図14(B)が画像消失防止処理を適用した後の出力画像を示す。図14(A)における一点鎖線で囲まれる領域R12では人物が消失しているのに対し、図14(B)における一点鎖線で囲まれる領域R14では人物が消失せずに表示されている。   FIG. 14 is a contrast diagram showing the difference between the output image of FIG. 12 and the output image obtained by applying the image loss prevention process to the output image of FIG. 12, and FIG. 14 (A) is an output of FIG. An image is shown and FIG. 14 (B) shows the output image after applying the image loss prevention process. While a person disappears in a region R12 surrounded by an alternate long and short dash line in FIG. 14A, a person is displayed without disappearing in a region R14 enclosed by an alternate long and short dash line in FIG.

次に、図15を参照しながら、画像生成装置100が生成する出力距離画像について説明する。なお、図15は、ショベル60に搭載された3台のステレオカメラ6のそれぞれの入力距離画像と、それら入力距離画像を用いて生成される出力距離画像とを示す図である。   Next, an output distance image generated by the image generation apparatus 100 will be described with reference to FIG. FIG. 15 is a view showing input distance images of the three stereo cameras 6 mounted on the shovel 60 and an output distance image generated using the input distance images.

画像生成装置100は、それら3台のステレオカメラ6のそれぞれの入力距離画像を空間モデルMDの平面領域R1及び曲面領域R2上に投影した上で処理対象距離画像平面R3に再投影して処理対象距離画像を生成する。また、画像生成装置100は、生成した処理対象距離画像に画像変換処理(例えば、スケール変換、アフィン変換、歪曲変換、視点変換処理等である。)を施すことによって出力距離画像を生成する。そして、画像生成装置100は、ショベル60の近傍を上空から見下ろした距離画像(平面領域R1における距離画像)と、ショベル60から水平方向に周囲を見た距離画像(処理対象距離画像平面R3における画像)とを同時に表示する。なお、出力距離画像の中央に表示される画像は、ショベル60のCG画像60CGである。   The image generation apparatus 100 projects the input distance images of the three stereo cameras 6 on the plane region R1 and the curved region R2 of the space model MD, and reprojects them on the processing object distance image plane R3 to be processed. Generate a distance image. Further, the image generation apparatus 100 generates an output distance image by performing image conversion processing (for example, scale conversion, affine conversion, distortion conversion, viewpoint conversion processing, and the like) on the generated processing target distance image. Then, the image generating apparatus 100 is a distance image (distance image in the flat region R1) looking down near the shovel 60 from above and a distance image (image in the processing target distance image plane R3) looking horizontally around from the shovel 60 And) simultaneously. The image displayed at the center of the output distance image is a CG image 60 CG of the shovel 60.

なお、図15の入力距離画像及び出力距離画像は、画素値(ステレオカメラ6からの距離)が小さいほど白く(薄く)、画素値が大きいほど黒く(濃く)なるように表示される。なお、路面及び上部旋回体63のそれぞれに相当する部分の画素値(距離)は、ショベル60の周囲に存在する地物の出力距離画像における視認性を高めるため、最大値(無限遠)に設定される。すなわち、路面及び上部旋回体63のそれぞれに相当する部分は黒色で表される。   The input distance image and the output distance image in FIG. 15 are displayed as whiter (lighter) as the pixel value (distance from the stereo camera 6) is smaller and as blacker (darker) as the pixel value is larger. Note that the pixel values (distances) of the portions corresponding to the road surface and the upper revolving superstructure 63 are set to the maximum value (infinity) in order to enhance the visibility in the output distance image of the features present around the shovel 60 Be done. That is, portions corresponding to the road surface and the upper swing body 63 are represented in black.

図15において、右側方ステレオカメラ6Rの入力距離画像、及び、後方ステレオカメラ6Bの入力距離画像はそれぞれ、右側方ステレオカメラ6Rの撮像範囲と後方ステレオカメラ6Bの撮像範囲との重複領域内に人物を捉えている(右側方ステレオカメラ6Rの入力距離画像における二点鎖線で囲まれる領域R15、及び、後方ステレオカメラ6Bの入力距離画像における二点鎖線で囲まれる領域R16参照。)。   In FIG. 15, the input distance image of the right side stereo camera 6R and the input distance image of the rear stereo camera 6B fall within the overlapping region of the imaging range of the right side stereo camera 6R and the imaging range of the rear stereo camera 6B. (Refer to a region R15 surrounded by a two-dot chain line in the input distance image of the right side stereo camera 6R and a region R16 surrounded by a two-dot chain line in the input distance image of the rear stereo camera 6B).

しかしながら、出力距離画像平面上の座標が、最も近い位置にあるステレオカメラに関する入力距離画像平面上の座標に対応付けられるものとすると、出力距離画像は、重複領域内の人物を消失させてしまう(出力距離画像内の一点鎖線で囲まれる領域R17参照。)。   However, assuming that the coordinates on the output distance image plane correspond to the coordinates on the input distance image plane of the stereo camera at the closest position, the output distance image causes the person in the overlapping area to disappear ( Refer to a region R17 surrounded by an alternate long and short dash line in the output distance image.

そこで、画像生成装置100は、重複領域に対応する出力距離画像部分では、後方ステレオカメラ6Bの入力距離画像平面上の座標、及び、右側方ステレオカメラ6Rの入力距離画像平面上の座標のうち、画素値(距離)が小さい方の座標を、出力距離画像平面上の座標に対応付けるようにする。その結果、画像生成装置100は、1つの立体物に関する2つの距離画像を出力距離画像上に表示させ、立体物が出力距離画像から消失するのを防止する。なお、以下では、2つのステレオカメラのそれぞれの撮像範囲の重複領域における物体の消失を防止するこの処理を距離画像消失防止処理と称する。   Therefore, in the output distance image portion corresponding to the overlapping area, the image generating apparatus 100 includes, among the coordinates on the input distance image plane of the rear stereo camera 6B and the coordinates on the input distance image plane of the right side stereo camera 6R, The coordinates of the smaller pixel value (distance) are made to correspond to the coordinates on the output distance image plane. As a result, the image generation apparatus 100 displays two distance images related to one solid object on the output distance image, and prevents the solid object from disappearing from the output distance image. In the following, this process for preventing the disappearance of an object in the overlapping area of the imaging ranges of the two stereo cameras is referred to as distance image loss prevention process.

図16は、図15の出力距離画像と、図15の出力距離画像に距離画像消失防止処理を適用することで得られる出力距離画像との違いを表す対比図であり、図16(A)が図15の出力画像を示し、図16(B)が距離画像消失防止処理を適用した後の出力距離画像を示す。図16(A)における一点鎖線で囲まれる領域R17では人物が消失しているのに対し、図16(B)における一点鎖線で囲まれる領域R17では人物が消失せずに表示されている。   FIG. 16 is a contrast diagram showing the difference between the output distance image of FIG. 15 and the output distance image obtained by applying the distance image loss prevention process to the output distance image of FIG. The output image of FIG. 15 is shown, and FIG. 16 (B) shows the output distance image after applying the distance image loss prevention process. While the person disappears in the region R17 surrounded by the alternate long and short dash line in FIG. 16A, the person is displayed without disappearing in the region R17 surrounded by the alternate long and short dash line in FIG.

次に、図17及び図18を参照しながら、画像生成装置100が出力画像に出力距離画像を合成する処理(以下、「距離画像合成処理」とする。)について説明する。   Next, with reference to FIG. 17 and FIG. 18, a process (hereinafter, referred to as “distance image combining process”) in which the image generating apparatus 100 combines the output image with the output image will be described.

図17は、出力画像に出力距離画像を合成して得られる合成後出力画像の一例を示す図である。   FIG. 17 is a diagram showing an example of the combined output image obtained by combining the output distance image with the output image.

画像生成装置100の距離画像合成手段14は、例えば、図16(B)に示すように、画素抽出手段12が抽出した抽出画素の画素値(距離)を輝度値、色相値、彩度値等に変換した上で、図14(B)に示す出力画像にその抽出画素を重畳表示させる。重畳表示される抽出画素は、例えば、ステレオカメラ6からの距離に応じた色を有し、その距離が大きくなるにつれて、赤色、黄色、緑色、青色というように段階的に或いは無段階にその色を変化させる。なお、重畳表示される抽出画素は、ステレオカメラ6からの距離に応じた輝度を有し、距離が大きくなるにつれて、その輝度を段階的に或いは無段階に減少させるようにしてもよい。図17の領域EX1〜EX5は、それら抽出画素によって形成される領域であり、以下では、地物領域と称する。   The distance image combining means 14 of the image generation apparatus 100, for example, as shown in FIG. 16B, measures the pixel value (distance) of the extracted pixel extracted by the pixel extracting means 12 as the luminance value, hue value, saturation value, etc. The extracted pixels are superimposed and displayed on the output image shown in FIG. The extraction pixels displayed in a superimposed manner have, for example, a color according to the distance from the stereo camera 6, and as the distance becomes larger, the colors such as red, yellow, green, and blue gradually or steplessly. Change. The extracted pixels to be superimposed and displayed may have luminance according to the distance from the stereo camera 6, and the luminance may be reduced stepwise or steplessly as the distance increases. Regions EX1 to EX5 in FIG. 17 are regions formed by the extracted pixels, and are hereinafter referred to as feature regions.

また、距離画像合成手段14は、所定数以上の隣接する抽出画素によって形成される地物領域EX1〜EX5の距離情報を出力画像上に重畳表示させてもよい。具体的には、距離画像合成手段14は、例えば、地物領域EX1を構成する画素の画素値(距離)の最小値、最大値、平均値、中間値等を、地物領域EX1までの距離を表す代表値として出力画像上に重畳表示させる。なお、距離画像合成手段14は、その代表値が所定値未満の場合に限りその代表値を出力画像上に重畳表示するようにしてもよい。ショベル60に比較的近い地物、すなわち接触の可能性が比較的高い地物をより認識し易くするためである。   Further, the distance image combining unit 14 may superimpose and display the distance information of the feature regions EX1 to EX5 formed by the predetermined number or more of adjacent extraction pixels on the output image. Specifically, for example, the distance image combining unit 14 determines the minimum value, the maximum value, the average value, the intermediate value, and the like of the pixel values (distances) of the pixels forming the feature region EX1 to the feature region EX1. Is superimposed on the output image as a representative value representing The distance image combining unit 14 may superimpose and display the representative value on the output image only when the representative value is less than the predetermined value. This is to make it easier to recognize features relatively close to the shovel 60, that is, features relatively likely to be touched.

図18は、出力画像に出力距離画像を合成して得られる合成後出力画像の別の一例を示す図である。   FIG. 18 is a diagram showing another example of the combined output image obtained by combining the output distance image with the output image.

図18では、距離画像合成手段14は、抽出画素の色や輝度を変更して重畳表示する代わりに、図17の地物領域EX1〜EX5のそれぞれに対応する枠RF1〜RF5を重畳表示する。なお、枠の線種は、点線、実線、破線、一点鎖線等を含め任意であり、枠の形状も、矩形、円形、楕円形、多角形を含め任意である。   In FIG. 18, the distance image combining unit 14 superimposes and displays the frames RF1 to RF5 respectively corresponding to the feature regions EX1 to EX5 of FIG. The line type of the frame is arbitrary including a dotted line, a solid line, a broken line, an alternate long and short dash line and the like, and the shape of the frame is also arbitrary including a rectangle, a circle, an ellipse and a polygon.

また、距離画像合成手段14は、枠RF1〜RF5のそれぞれに対応する距離情報を出力画像上に重畳表示させてもよい。具体的には、距離画像合成手段14は、例えば、枠RF1に対応する地物領域EX1を構成する画素の画素値(距離)の最小値、最大値、平均値、中間値等を、枠RF1に対応する距離の代表値として出力画像上に重畳表示させる。なお、距離画像合成手段14は、その代表値が所定値未満の場合に限りその代表値を出力画像上に重畳表示するようにしてもよい。ショベル60に比較的近い地物、すなわち接触の可能性が比較的高い地物をより認識し易くするためである。   Further, the distance image combining unit 14 may superimpose and display the distance information corresponding to each of the frames RF1 to RF5 on the output image. Specifically, the distance image combining unit 14 may, for example, set the frame RF1 to the minimum value, the maximum value, the average value, the intermediate value, etc. of the pixel values (distances) of the pixels constituting the feature region EX1 corresponding to the frame RF1. Is displayed superimposed on the output image as a representative value of the distance corresponding to. The distance image combining unit 14 may superimpose and display the representative value on the output image only when the representative value is less than the predetermined value. This is to make it easier to recognize features relatively close to the shovel 60, that is, features relatively likely to be touched.

また、距離画像合成手段14は、対応する距離情報に応じて枠の色を変化させてもよい。具体的には、距離画像合成手段14は、その距離が大きくなるにつれて、赤色、黄色、緑色、青色というように段階的に或いは無段階に枠の色を変化させる。なお、距離画像合成手段14は、距離が大きくなるにつれて、枠の輝度を段階的に或いは無段階に減少させるようにしてもよい。   In addition, the distance image combining unit 14 may change the color of the frame according to the corresponding distance information. Specifically, the distance image combining means 14 changes the color of the frame stepwise or steplessly as red, yellow, green and blue as the distance increases. The distance image combining unit 14 may decrease the luminance of the frame stepwise or steplessly as the distance increases.

上述のような合成後出力画像を見ることによって、ショベル60の操作者は、ショベル60の周囲に存在する地物の位置、及びその地物までの距離をより容易に認識することができる。また、ショベル60の操作者は、操作者から見て死角となる領域に存在する地物の位置、及びその地物までの距離をより容易に認識することができる。   By looking at the combined output image as described above, the operator of the shovel 60 can more easily recognize the position of the feature existing around the shovel 60 and the distance to the feature. In addition, the operator of the shovel 60 can more easily recognize the position of the feature present in the area which is blind to the operator and the distance to the feature.

以上の構成により、画像生成装置100は、ステレオカメラ6が撮像する入力距離画像に基づいて生成される出力距離画像を、カメラ2が撮像する入力画像に基づいて生成される出力画像上に合成する。そのため、画像生成装置100は、ショベル60の周囲の比較的広い範囲に存在する各地物までの距離を比較的高い分解能で測定することができる。その結果、画像生成装置100は、信頼性の高い合成後出力画像を生成することができる。   With the above configuration, the image generation apparatus 100 combines the output distance image generated based on the input distance image captured by the stereo camera 6 on the output image generated based on the input image captured by the camera 2 . Therefore, the image generating apparatus 100 can measure the distance to each feature present in a relatively wide range around the shovel 60 with relatively high resolution. As a result, the image generation apparatus 100 can generate a highly reliable combined output image.

また、カメラ2及びステレオカメラ6は、それぞれの撮像範囲がショベル60の周囲を取り囲むように配置される。そのため、画像生成装置100は、ショベル60の周囲を上空から見たときの様子を表す合成後出力画像を生成することができる。その結果、ショベル60の操作者は、ショベル60の周囲に存在する地物の位置、及びその地物までの距離をより容易に認識することができる。   Further, the camera 2 and the stereo camera 6 are arranged such that their imaging ranges surround the periphery of the shovel 60. Therefore, the image generation device 100 can generate a combined output image that represents a situation when the surroundings of the shovel 60 are viewed from the sky. As a result, the operator of the shovel 60 can more easily recognize the position of the feature existing around the shovel 60 and the distance to the feature.

また、画像生成装置100は、処理対象画像に対して施される画像変換処理と同じ画像変換処理を処理対象距離画像に対して施すようにする。そのため、画像生成装置100は、出力画像平面における座標と出力距離画像平面における座標を容易に対応付けることができる。   Further, the image generation apparatus 100 performs the same image conversion process as the image conversion process performed on the process target image on the process target distance image. Therefore, the image generating apparatus 100 can easily associate the coordinates on the output image plane with the coordinates on the output distance image plane.

また、画像生成装置100は、ステレオカメラ6からの距離に応じて、すなわち、ショベル60からの距離に応じて、抽出画素又は枠の色を段階的に或いは無段階に変化させる。そのため、ショベル60の操作者は、感覚的に接触の危険の有無を判断することができる。   Further, the image generation device 100 changes the color of the extracted pixel or frame stepwise or steplessly according to the distance from the stereo camera 6, that is, according to the distance from the shovel 60. Therefore, the operator of the shovel 60 can sensuously determine the presence or absence of the danger of contact.

また、画像生成装置100は、ステレオカメラ6を用いて二次元配列の距離情報を取得する。そのため、画像生成装置100は、投光用LED及び受光用CCDで構成される距離画像センサを用いて二次元配列の距離情報を取得する場合に比べ、撮像範囲における熱源、光源、光吸収材料等による影響を受けにくい。   In addition, the image generating apparatus 100 acquires distance information of a two-dimensional array using the stereo camera 6. Therefore, the image generating apparatus 100 uses a distance image sensor configured of an LED for light emission and a CCD for light reception as compared with the case of acquiring distance information of a two-dimensional array, a heat source, a light source, a light absorbing material, etc. Less susceptible to

次に、図19〜図23を参照しながら、画像生成装置100が入力距離画像から所定の条件を満たす画素を抽出して入力距離画像を補正する処理(以下、「第1画素抽出処理」とする。)について説明する。なお、本実施例では、後方ステレオカメラ6Bが撮像する入力距離画像における画素の値は、設置面距離に等しいか、設置面距離より小さいものとする。   Next, with reference to FIG. 19 to FIG. 23, the image generating apparatus 100 extracts pixels satisfying a predetermined condition from the input distance image and corrects the input distance image (hereinafter referred to as “first pixel extraction processing” Explain). In the present embodiment, the value of the pixel in the input distance image captured by the rear stereo camera 6B is equal to or smaller than the installation surface distance.

図19は、画像生成装置100を搭載するショベル60の部分右側面図である。図19に示す実施例では、ショベル60は、1台のカメラ2(後方カメラ2B)と1台のステレオカメラ6(後方ステレオカメラ6B)とを備える。なお、図19の点線で示す領域ZBは、後方ステレオカメラ6Bの撮像範囲を示す。   FIG. 19 is a partial right side view of the shovel 60 on which the image generating apparatus 100 is mounted. In the embodiment shown in FIG. 19, the shovel 60 includes one camera 2 (rear camera 2B) and one stereo camera 6 (rear stereo camera 6B). An area ZB indicated by a dotted line in FIG. 19 indicates an imaging range of the rear stereo camera 6B.

また、図19は、ショベル60の後方に、地面から鉛直上方に伸びる物体P3と地面の隆起部P4とが存在することを示す。さらに、図19は、後方ステレオカメラ6Bにより、物体P3までの距離E1aが検出され、且つ、隆起部P4までの距離E2aが検出されたことを示す。   FIG. 19 also shows that behind the shovel 60, an object P3 extending vertically upward from the ground and a raised portion P4 of the ground are present. Further, FIG. 19 shows that the distance E1a to the object P3 is detected by the rear stereo camera 6B, and the distance E2a to the projection P4 is detected.

また、図19は、仮に物体P3及び隆起部P4が存在しなかった場合には、後方ステレオカメラ6Bが、距離E1a、E2aの代わりに、設置面距離E1、E2を検出していたことを示す。   FIG. 19 also shows that the rear stereo camera 6B has detected the installation surface distances E1 and E2 instead of the distances E1a and E2a if the object P3 and the raised portion P4 do not exist. .

また、図19は、設置面距離E1と距離E1aとの差(E1−E1a)が距離(以下、設置面距離E1が距離E1aより大きい場合の差を「第1差分距離」とする。)E1bであり、設置面距離E2と距離E2aとの差(E2−E2a)が第1差分距離E2bであることを示す。   Further, in FIG. 19, a difference (E1-E1a) between the installation surface distance E1 and the distance E1a is a distance (hereinafter, a difference when the installation surface distance E1 is larger than the distance E1a is referred to as a "first difference distance" E1b. This indicates that the difference (E2-E2a) between the installation surface distance E2 and the distance E2a is the first difference distance E2b.

図20は、図19における隆起部P4の拡大図である。図19及び図20に示すように、後方ステレオカメラ6Bから見た隆起部P4上の点と後方ステレオカメラ6Bとを結ぶ線分は、設置面との間に角度(以下、「設置面角度」とする。)γ4を形成する。この場合、隆起部P4の設置面からの高さ(以下、「推定高さ」とする。)H1bは、第1差分距離E2b×sin(γ4)で表される。また、設置面角度は、設置面距離と同様、後方ステレオカメラ6Bの設置位置及び設置角度に基づいて、後方ステレオカメラ6Bの入力距離画像における画素毎に予め設定される。   FIG. 20 is an enlarged view of the protruding portion P4 in FIG. As shown in FIGS. 19 and 20, a line connecting a point on the ridge P4 viewed from the rear stereo camera 6B and the rear stereo camera 6B is an angle between the installation surface and the installation surface (hereinafter referred to as “installation surface angle” Let us form γ4. In this case, the height (hereinafter referred to as “estimated height”) H1b from the installation surface of the raised portion P4 is represented by a first difference distance E2b × sin (γ4). Further, the installation surface angle is previously set for each pixel in the input distance image of the rear stereo camera 6B based on the installation position and the installation angle of the rear stereo camera 6B as in the case of the installation surface distance.

また、ステレオカメラ6Bが撮像する入力距離画像における画素の値は、地物とステレオカメラ6Bとの間の距離を表す。そのため、入力距離画像における各画素の値と各画素に対応する設置面距離との差である第1差分距離に、各画素に対応する設置面角度の正弦を乗算することによって、その地物の推定高さを求めることができる。本実施例では、第1差分距離E2bにsin(γ4)を乗算することによって隆起部P4の推定高さH1bを求めることができる。   In addition, the value of the pixel in the input distance image captured by the stereo camera 6B represents the distance between the feature and the stereo camera 6B. Therefore, the first difference distance, which is the difference between the value of each pixel in the input distance image and the installation surface distance corresponding to each pixel, is multiplied by the sine of the installation surface angle corresponding to each pixel. Estimated height can be determined. In this embodiment, the estimated height H1b of the raised portion P4 can be obtained by multiplying the first difference distance E2b by sin (γ4).

ところで、後方ステレオカメラ6Bが撮像する入力距離画像における画素の値は、上述のように、地物と後方ステレオカメラ6Bとの間の距離を表す。そのため、後方ステレオカメラ6Bからの距離に応じて色又は輝度を変化させる処理を入力距離画像に施して出力距離画像を生成する場合、入力距離画像における画素値をそのまま用いると出力距離画像の視認性を損なうおそれがある。具体的には、その出力距離画像は、ショベル60から離れるにつれて段階的に変化する色又は輝度で地面(設置面)を表すこととなり、物体P3及び隆起部P4の存在を分かり難くするおそれがある。   By the way, as described above, the values of the pixels in the input distance image captured by the rear stereo camera 6B represent the distance between the feature and the rear stereo camera 6B. Therefore, when an output distance image is generated by subjecting the input distance image to a process of changing color or luminance according to the distance from the rear stereo camera 6B, using the pixel value in the input distance image as it is causes visibility of the output distance image May damage the Specifically, the output distance image represents the ground (installation surface) with a color or luminance that gradually changes as it goes away from the shovel 60, which may make it difficult to understand the presence of the object P3 and the raised portion P4. .

そこで、画像生成装置100の画素抽出手段12は、例えば、後方ステレオカメラ6Bの入力距離画像から所定の条件を満たす画素を抽出し、その抽出結果に基づいて入力距離画像を補正する。具体的には、画素抽出手段12は、入力距離画像における各画素のうち、各画素に対応する設置面距離より小さい画素値を有する画素を抽出する。そして、画素抽出手段12は、設置面距離に等しい画素値を有する画素のその画素値を所定値(例えば、最小値としてのゼロである。)で置き換える。一方で、画素抽出手段12は、設置面距離より小さい画素値を有する画素の画素値をそのまま維持する。この場合、設置面距離に等しい画素値は、所定の幅を有する値であってもよい。   Therefore, the pixel extraction unit 12 of the image generation apparatus 100 extracts, for example, pixels satisfying a predetermined condition from the input distance image of the rear stereo camera 6B, and corrects the input distance image based on the extraction result. Specifically, the pixel extracting unit 12 extracts, from each pixel in the input distance image, a pixel having a pixel value smaller than the installation surface distance corresponding to each pixel. Then, the pixel extraction unit 12 replaces the pixel value of the pixel having the pixel value equal to the installation surface distance with a predetermined value (for example, zero as the minimum value). On the other hand, the pixel extraction unit 12 maintains the pixel value of the pixel having the pixel value smaller than the installation surface distance as it is. In this case, the pixel value equal to the installation surface distance may be a value having a predetermined width.

また、画素抽出手段12は、入力距離画像における各画素のうち、第1差分距離が所定距離以上の画素を抽出してもよい。この場合、画素抽出手段12は、第1差分距離が所定距離未満の画素の画素値を所定値(例えば、最小値としてのゼロである。)で置き換え、第1差分距離が所定距離以上の画素の画素値をそのまま維持する。例えば、図20に示すように、画素抽出手段12は、第1差分距離E2bが所定距離E2b1未満であるため、第1差分距離E2bに対応する画素の画素値をゼロに設定する。なお、所定距離E2b1は、所定高さH1に対応する距離である。或いは、図20に示すように、画素抽出手段12は、設置面高さH1bが所定高さH1未満であると判断し、設置面高さH1bに対応する画素の画素値をゼロに置き換えてもよい。或いは、画素抽出手段12は、設置面距離E2に占める第1差分距離E2bの比率(以下、設置面距離E2が距離E2aより大きい場合の比率を「第1差分比率」とする。)が所定比率未満であると判断し、対応する画素の画素値をゼロに置き換えてもよい。なお、所定距離、所定高さ、所定比率等は、後方ステレオカメラ6Bの設置位置及び設置角度に基づいて、後方ステレオカメラ6Bの入力距離画像における画素毎又は画素行毎若しくは画素列毎に予め設定される。また、所定高さ、所定比率は、入力距離画像における全ての画素に関して共通であってもよい。   In addition, the pixel extraction unit 12 may extract, from each pixel in the input distance image, a pixel in which the first difference distance is a predetermined distance or more. In this case, the pixel extracting unit 12 replaces the pixel value of the pixel whose first difference distance is less than the predetermined distance with a predetermined value (for example, zero as the minimum value), and the pixel whose first difference distance is the predetermined distance or more Maintain the pixel value of. For example, as shown in FIG. 20, since the first difference distance E2b is less than the predetermined distance E2b1, the pixel extraction unit 12 sets the pixel value of the pixel corresponding to the first difference distance E2b to zero. The predetermined distance E2b1 is a distance corresponding to the predetermined height H1. Alternatively, as illustrated in FIG. 20, the pixel extracting unit 12 determines that the installation surface height H1b is less than the predetermined height H1 and replaces the pixel value of the pixel corresponding to the installation surface height H1b with zero. Good. Alternatively, in the pixel extracting unit 12, a ratio of the first difference distance E2b to the installation surface distance E2 (hereinafter, a ratio when the installation surface distance E2 is larger than the distance E2a is referred to as a "first difference ratio") is a predetermined ratio. It may be determined that it is less and the pixel value of the corresponding pixel may be replaced with zero. The predetermined distance, the predetermined height, the predetermined ratio, and the like are set in advance for each pixel, each pixel row, or each pixel column in the input distance image of the rear stereo camera 6B based on the installation position and the installation angle of the rear stereo camera 6B. Be done. Further, the predetermined height and the predetermined ratio may be common to all the pixels in the input distance image.

図21は、後方ステレオカメラ6Bの出力距離画像の例を示す図である。図21(A)は、画素抽出手段12による抽出を行わずに入力距離画像における全ての画素の画素値をそのまま用いた場合の出力距離画像を示す。図21(B)は、画素抽出手段12により、入力距離画像における各画素のうち、各画素に対応する設置面距離より小さい画素値を有する画素が抽出された場合の出力距離画像を示す。また、図21(C)は、画素抽出手段12により、入力距離画像における各画素のうち、第1差分距離が所定距離以上となる画素、又は、推定高さが所定高さ以上となる画素が抽出された場合の出力距離画像を示す。   FIG. 21 is a view showing an example of an output distance image of the rear stereo camera 6B. FIG. 21A shows an output distance image when the pixel values of all the pixels in the input distance image are used as they are without performing extraction by the pixel extraction means 12. FIG. 21B shows an output distance image when the pixel extracting unit 12 extracts a pixel having a pixel value smaller than the installation surface distance corresponding to each pixel among the pixels in the input distance image. Further, in FIG. 21C, the pixel extraction unit 12 outputs, among the pixels in the input distance image, pixels whose first difference distance is a predetermined distance or more, or pixels whose estimated height is a predetermined height or more. The output distance image at the time of being extracted is shown.

図21(A)に示すように、画素の抽出が行われない場合、出力距離画像は、ショベル60から離れるにつれて段階的に輝度が減少する態様で設置面を表し、物体P3及び隆起部P4の存在を分かり難くする。   As shown in FIG. 21A, when extraction of pixels is not performed, the output distance image represents the installation surface in a manner in which the luminance gradually decreases as the distance from the shovel 60 increases, and the object P3 and the raised portion P4 are displayed. Make the existence unclear.

一方、図21(B)に示すように、入力距離画像における各画素のうち設置面距離より小さい画素値を有する画素の抽出を行う場合、出力距離画像は、設置面上に存在する地物の視認性を向上させる。具体的には、図21(B)の出力距離画像は、設置面距離に等しい画素値を有する全ての画素の画素値がゼロに置き換えられるため、ショベル60からの距離にかかわらず、設置面の色及び輝度を一様にする。その結果、図21(B)の出力距離画像は、物体P3及び隆起部P4の距離画像を設置面の距離画像から際立たせ、その視認性を向上させることができる。   On the other hand, as shown to FIG. 21 (B), when extracting the pixel which has a pixel value smaller than installation surface distance among each pixel in an input distance image, an output distance image is a terrestrial feature existing on an installation surface Improve visibility. Specifically, in the output distance image of FIG. 21 (B), the pixel values of all the pixels having pixel values equal to the installation surface distance are replaced with zero, so that regardless of the distance from the shovel 60 Make the color and brightness uniform. As a result, in the output distance image of FIG. 21B, the distance image of the object P3 and the raised portion P4 can be highlighted from the distance image of the installation surface, and the visibility can be improved.

さらに、図21(C)に示すように、入力距離画像における各画素のうち第1差分距離が所定距離以上となる画素の抽出を行う場合、出力距離画像は、設置面高さが所定高さ以上の地物の視認性を向上させる。具体的には、図21(C)の出力距離画像は、第1差分距離が所定距離未満の全ての画素の画素値がゼロに設定されるため、ショベル60からの距離にかかわらず、設置面高さが所定高さ未満の地物(設置面を含む。)の色及び輝度を一様にする。その結果、図21(C)の出力距離画像は、設置面高さH1bが所定高さH1未満である隆起部P4の距離画像を設置面の距離画像とともに単一の色及び輝度にする。そして、図21(C)の出力距離画像は、設置面高さが所定高さH1以上である物体P3の距離画像のみを他の距離画像から際立たせ、その視認性を向上させることができる。   Furthermore, as shown in FIG. 21C, in the case of extracting pixels in which the first difference distance is a predetermined distance or more among the pixels in the input distance image, the output distance image has an installation surface height of a predetermined height. Improve the visibility of the above features. Specifically, in the output distance image of FIG. 21C, the pixel values of all the pixels whose first difference distance is less than the predetermined distance are set to zero, and therefore, regardless of the distance from the shovel 60, the installation surface Make the color and brightness of features (including the installation surface) whose height is less than a predetermined height uniform. As a result, in the output distance image of FIG. 21C, the distance image of the raised portion P4 whose installation surface height H1b is less than the predetermined height H1 is made into a single color and luminance together with the distance image of the installation surface. Then, in the output distance image of FIG. 21C, only the distance image of the object P3 whose installation surface height is the predetermined height H1 or more can be distinguished from other distance images, and the visibility can be improved.

なお、図21(C)の出力距離画像は、物体P3の付け根部分(設置面高さが所定高さH1未満の部分)に対応する画素の画素値をゼロにしてその部分の距離画像を設置面の距離画像とともに単一の色及び輝度にする。しかしながら、物体P3の一部であると判断される部分に対応する画素は、第1差分距離が所定距離未満であっても、或いは、設置面高さが所定高さH1未満であっても、入力距離画像における画素値をそのまま維持してもよい。なお、特定の画素が物体P3の距離画像の一部に属するか否かは、例えば、周囲の画素に関する第1差分距離又は設置面高さとその特定の画素に関する第1差分距離又は設置面高さとに基づいて判断され得る。   In the output distance image of FIG. 21C, the pixel value of the pixel corresponding to the root portion of the object P3 (the portion whose installation surface height is less than the predetermined height H1) is zero and the distance image of that portion is installed. Make a single color and intensity with the distance image of the surface. However, even if the pixel corresponding to the portion determined to be a part of the object P3 has the first difference distance less than the predetermined distance or the installation surface height is less than the predetermined height H1, The pixel values in the input distance image may be maintained as they are. Note that whether or not a specific pixel belongs to a part of the distance image of the object P3 is, for example, a first difference distance or an installation surface height of surrounding pixels and a first difference distance or an installation surface height of the specific pixel. It can be judged based on

図22は、後方カメラ2Bの出力画像の例を示す図である。図22(A)は、図21(A)の出力距離画像を重畳させた場合の出力画像を示す。図22(B)は、図21(B)の出力距離画像を重畳させた場合の出力画像を示す。また、図22(C)は、図21(C)の出力距離画像を重畳させた場合の出力画像を示す。   FIG. 22 is a view showing an example of an output image of the rear camera 2B. FIG. 22A shows an output image when the output distance image of FIG. 21A is superimposed. FIG. 22 (B) shows an output image when the output distance image of FIG. 21 (B) is superimposed. 22C shows an output image when the output distance image of FIG. 21C is superimposed.

図22(A)に示すように、図21(A)の出力距離画像を重畳した出力画像は、ショベル60から離れるにつれて段階的に輝度が減少する態様で設置面を表し、物体P3及び隆起部P4の存在を際立たせることができない。   As shown in FIG. 22A, the output image obtained by superimposing the output distance image of FIG. 21A represents the installation surface in such a manner that the luminance gradually decreases as the distance from the shovel 60 increases. We can not highlight the existence of P4.

一方、図22(B)に示すように、ショベル60からの距離にかかわらず設置面の色及び輝度を一様にした出力距離画像を重畳した出力画像は、物体P3及び隆起部P4の画像を設置面の画像から際立たせ、その視認性を向上させる。また、図22(B)の出力画像は、物体P3及び隆起部P4のそれぞれと後方ステレオカメラ6Bとの間の距離の値を重畳表示する。これにより、物体P3及び隆起部P4の存在をさらに際立たせることができる。なお、物体P3と後方ステレオカメラ6Bとの間の距離の値には、例えば、距離補正手段13によって補正された値が採用される。また、物体P3と後方ステレオカメラ6Bとの間の距離の値は、所定値以下の場合に限り、重畳表示されるようにしてもよい。ショベル60に近いところにある地物の存在をさらに際立たせるためである。また、その距離(画素値)の値の輝度又は色は、その距離(画素値)の大きさに応じて決定される。例えば、その距離(画素値)の値の色は、その距離(画素値)が小さくなるにつれて、紫、青、緑、黄、赤のように変化する。また、その距離の値は、画素抽出手段12が抽出した、入力距離画像における物体P3の距離画像領域に含まれる画素の画素値のうちの最小値であってもよい。隆起部P4と後方ステレオカメラ6Bとの間の距離の値についても同様である。   On the other hand, as shown in FIG. 22 (B), the output image on which the output distance image having the color and the luminance of the installation surface made uniform regardless of the distance from the shovel 60 is the image of the object P3 and the raised portion P4. Make it stand out from the image on the installation surface and improve its visibility. In the output image of FIG. 22B, the value of the distance between each of the object P3 and the raised portion P4 and the rear stereo camera 6B is superimposed and displayed. Thereby, the presence of the object P3 and the raised portion P4 can be further highlighted. As the value of the distance between the object P3 and the rear stereo camera 6B, for example, a value corrected by the distance correction means 13 is adopted. In addition, the value of the distance between the object P3 and the rear stereo camera 6B may be superimposed and displayed only when the value is equal to or less than a predetermined value. This is to further highlight the presence of a feature near the shovel 60. Further, the brightness or color of the value of the distance (pixel value) is determined according to the size of the distance (pixel value). For example, the color of the value of the distance (pixel value) changes to purple, blue, green, yellow, red as the distance (pixel value) decreases. Further, the value of the distance may be the minimum value among the pixel values of the pixels included in the distance image area of the object P3 in the input distance image, which are extracted by the pixel extraction means 12. The same applies to the value of the distance between the protuberance P4 and the rear stereo camera 6B.

さらに、図22(C)に示すように、ショベル60からの距離にかかわらず設置面高さが所定高さ未満の地物(設置面を含む。)の色及び輝度を一様にした出力距離画像を重畳した出力画像は、物体P3の視認性を向上させる。具体的には、その出力画像は、設置面高さが所定高さ以上である物体P3の画像の上部のみを他の画像から際立たせ、その視認性を向上させる。また、図22(C)の出力画像は、設置面高さが所定高さ以上である物体P3と後方ステレオカメラ6Bとの間の距離の値のみを重畳表示する。これにより、設置面高さが所定高さ以上である物体P3の存在のみをさらに際立たせることができる。   Furthermore, as shown in FIG. 22C, regardless of the distance from the shovel 60, the output distance in which the color and brightness of the feature (including the installation surface) whose installation surface height is less than the predetermined height is uniformed The output image on which the image is superimposed improves the visibility of the object P3. Specifically, the output image highlights only the upper part of the image of the object P3 whose installation surface height is a predetermined height or more from the other images, thereby improving the visibility. In the output image of FIG. 22C, only the value of the distance between the object P3 whose installation surface height is a predetermined height or more and the rear stereo camera 6B is superimposed and displayed. Thereby, only the presence of the object P3 whose installation surface height is equal to or more than the predetermined height can be further highlighted.

また、上述において、画像生成装置100は、後方ステレオカメラ6Bの出力距離画像を後方カメラ2Bの出力画像に重畳させて表示部5に表示する。しかしながら、画像生成装置100は、出力距離画像のみを表示部5に表示させてもよく、出力距離画像と出力画像とを並べて表示部5に表示させてもよい。   Further, in the above, the image generation apparatus 100 superimposes the output distance image of the rear stereo camera 6B on the output image of the rear camera 2B and displays the image on the display unit 5. However, the image generation apparatus 100 may display only the output distance image on the display unit 5 or may display the output distance image and the output image on the display unit 5 side by side.

また、画像生成装置100は、物体P3及び隆起部P4のそれぞれと後方ステレオカメラ6Bとの間の距離の値を表示する代わりに、或いは、その距離の値の表示に加えて、図18に示すような枠を表示してもよい。   Also, instead of displaying the value of the distance between each of the object P3 and the protuberance P4 and the rear stereo camera 6B, the image generating apparatus 100 is shown in FIG. 18 instead of or in addition to the display of the value of the distance. Such a frame may be displayed.

また、画像生成装置100は、距離(画素値)と色又は輝度との関係を表す距離目盛り付きの棒状インジケータ等の指標(図示せず。)を出力距離画像又は出力画像の端部に表示してもよい。   In addition, the image generation apparatus 100 displays an indicator (not shown) such as a rod-shaped indicator with a distance scale indicating the relationship between the distance (pixel value) and the color or luminance at the end of the output distance image or the output image. May be

次に、図23を参照しながら、第1画素抽出処理の流れについて説明する。なお、図23は、第1画素抽出処理の流れを示すフローチャートである。画像生成装置100の画素抽出手段12は、例えば、入力距離画像を取得する度にこの第1画素抽出処理を実行する。   Next, the flow of the first pixel extraction process will be described with reference to FIG. FIG. 23 is a flowchart showing the flow of the first pixel extraction process. The pixel extraction unit 12 of the image generation apparatus 100 executes this first pixel extraction process, for example, every time an input distance image is acquired.

最初に、画素抽出手段12は、入力距離画像における1つの画素(以下、「対象画素」とする。)に関する設置面距離をROM等から読み出して取得する(ステップS11)。なお、画素抽出手段12は、設置面角度をROM等から読み出して取得してもよい。   First, the pixel extraction unit 12 reads out and acquires the installation surface distance of one pixel (hereinafter, referred to as “target pixel”) in the input distance image from the ROM or the like (step S11). The pixel extraction unit 12 may read and acquire the installation surface angle from the ROM or the like.

その後、画素抽出手段12は、設置面距離からその対象画素の画素値を減算することによって第1差分距離を算出する(ステップS12)。なお、画素抽出手段12は、算出した第1差分距離と設置面距離とに基づいて第1差分比率を算出してもよく、算出した第1差分距離と設置面角度とに基づいて推定高さを算出してもよい。   Thereafter, the pixel extraction unit 12 calculates the first difference distance by subtracting the pixel value of the target pixel from the installation surface distance (step S12). The pixel extracting unit 12 may calculate the first difference ratio based on the calculated first difference distance and the installation surface distance, and the estimated height based on the calculated first difference distance and the installation surface angle. May be calculated.

その後、画素抽出手段12は、算出した第1差分距離とROM等に記憶された所定距離とを比較する(ステップS13)。なお、画素抽出手段12は、算出した第1差分比率とROM等に記憶された所定比率とを比較してもよく、算出した推定高さとROM等に記憶された所定高さとを比較してもよい。   Thereafter, the pixel extracting unit 12 compares the calculated first difference distance with the predetermined distance stored in the ROM or the like (step S13). The pixel extracting unit 12 may compare the calculated first difference ratio with the predetermined ratio stored in the ROM or the like, or even if the calculated estimated height is compared with the predetermined height stored in the ROM or the like. Good.

第1差分距離が所定距離以上の場合(ステップS13のYES)、画素抽出手段12は、現在の画素値をそのまま維持する画素としてその対象画素を抽出する。第1差分比率が所定比率以上の場合、或いは、推定高さが所定高さ以上の場合についても同様である。   If the first difference distance is equal to or greater than the predetermined distance (YES in step S13), the pixel extraction unit 12 extracts the target pixel as a pixel maintaining the current pixel value as it is. The same applies to the case where the first difference ratio is equal to or more than the predetermined ratio, or the case where the estimated height is equal to or more than the predetermined height.

一方、第1差分距離が所定距離未満の場合(ステップS13のNO)、画素抽出手段12は、現在の画素値をそのまま維持する画素としてその対象画素を抽出しない。具体的には、画素抽出手段12は、その対象画素の画素値をROM等に記憶された所定値で置き換える(ステップS14)。第1差分比率が所定比率未満の場合、或いは、推定高さが所定高さ未満の場合についても同様である。   On the other hand, when the first difference distance is less than the predetermined distance (NO in step S13), the pixel extracting unit 12 does not extract the target pixel as a pixel maintaining the current pixel value as it is. Specifically, the pixel extracting unit 12 replaces the pixel value of the target pixel with a predetermined value stored in the ROM or the like (step S14). The same applies to the case where the first difference ratio is less than the predetermined ratio or the case where the estimated height is less than the predetermined height.

なお、上述の実施例では、抽出しなかった対象画素の画素値を所定値に置き換える処理は、各対象画素について抽出の要否を判断したときに行われるが、複数の或いは全ての対象画素について抽出の要否を判断した後で一括して行われてもよい。   In the above-described embodiment, the process of replacing the pixel value of the target pixel not extracted with a predetermined value is performed when it is determined whether or not the extraction is necessary for each target pixel. It may be performed collectively after determining the necessity of extraction.

その後、画素抽出手段12は、取得した入力距離画像における全ての画素について抽出要否の判断を行ったか否かを判定する(ステップS15)。   Thereafter, the pixel extraction unit 12 determines whether or not the determination of extraction necessity has been performed for all the pixels in the acquired input distance image (step S15).

未だ全ての画素について抽出要否の判断を行っていないと判定した場合(ステップS15のNO)、画素抽出手段12は、別の対象画素に関してステップS11以降の処理を実行する。   If it is determined that the extraction necessity determination has not been performed for all the pixels (NO in step S15), the pixel extraction unit 12 executes the processes in step S11 and subsequent steps for another target pixel.

全ての画素について抽出要否の判断を行ったと判定した場合(ステップS15のYES)、画素抽出手段12は、今回の第1画素抽出処理を完了する。   If it is determined that the extraction necessity determination has been performed for all the pixels (YES in step S15), the pixel extraction unit 12 completes the current first pixel extraction process.

以上の構成により、画像生成装置100は、設置面に関する距離画像の詳細表示を省略することで、ショベル60が接触するおそれのある地物に関する距離画像の視認性を向上させることができる。   With the above-described configuration, the image generating apparatus 100 can improve the visibility of the distance image on the feature that may be in contact with the shovel 60 by omitting the detailed display of the distance image on the installation surface.

また、画像生成装置100は、設置面高さが所定高さ未満の地物の詳細表示を省略することで、設置面高さが所定高さ以上の地物(例えば、作業員)の視認性を向上させることができる。   Further, the image generating apparatus 100 omits the detailed display of the features whose installation surface height is less than the predetermined height, so that the visibility of the features (for example, workers) whose installation surface height is the predetermined height or more Can be improved.

その結果、画像生成装置100は、ショベル60が地物に衝突するのをより確実に防止することができる。   As a result, the image generating apparatus 100 can more reliably prevent the shovel 60 from colliding with a feature.

次に、図24〜図28を参照しながら、画像生成装置100が入力距離画像から所定の条件を満たす画素を抽出して入力距離画像を補正する処理の別の例(以下、「第2画素抽出処理」とする。)について説明する。なお、本実施例では、後方ステレオカメラ6Bが撮像する入力距離画像における画素の値は、設置面距離に等しいか、設置面距離より大きいものとする。   Next, referring to FIGS. 24 to 28, another example of processing for the image generation device 100 to extract pixels satisfying a predetermined condition from the input distance image and correct the input distance image (hereinafter referred to as “second pixel The extraction process will be described. In the present embodiment, it is assumed that the values of the pixels in the input distance image captured by the rear stereo camera 6B are equal to or larger than the installation surface distance.

図24は、画像生成装置100を搭載するショベル60の部分右側面図であり、図19に対応する。図24に示す実施例では、ショベル60は、1台のカメラ2(後方カメラ2B)と1台のステレオカメラ6(後方ステレオカメラ6B)とを備える。なお、図24の点線で示す領域ZBは、後方ステレオカメラ6Bの撮像範囲を示す。   FIG. 24 is a partial right side view of the shovel 60 on which the image generating apparatus 100 is mounted, and corresponds to FIG. In the embodiment shown in FIG. 24, the shovel 60 includes one camera 2 (rear camera 2B) and one stereo camera 6 (rear stereo camera 6B). An area ZB indicated by a dotted line in FIG. 24 indicates an imaging range of the rear stereo camera 6B.

また、図24は、ショベル60の後方に、地面の浅陥没部PK1と深陥没部(崖)PK2とが存在することを示す。さらに、図24は、後方ステレオカメラ6Bにより、浅陥没部PK1の底までの距離E3aが検出され、且つ、深陥没部PK2の底までの距離E4aが検出されたことを示す。   Moreover, FIG. 24 shows that the shallow depression part PK1 and deep depression part (cliff) PK2 of the ground exist behind the shovel 60. As shown in FIG. Further, FIG. 24 shows that the distance E3a to the bottom of the shallow recess portion PK1 is detected by the rear stereo camera 6B, and the distance E4a to the bottom of the deep recess portion PK2 is detected.

また、図24は、仮に浅陥没部PK1及び深陥没部PK2が存在しなかった場合には、後方ステレオカメラ6Bが、距離E3a、E4aの代わりに、設置面距離E3、E4を検出していたことを示す。   Further, in FIG. 24, if the shallow depression portion PK1 and the deep depression portion PK2 do not exist, the rear stereo camera 6B detects the installation surface distances E3 and E4 instead of the distances E3a and E4a. Indicates that.

また、図24は、距離E3aと設置面距離E3との差(E3a−E3)が距離(以下、設置面距離E3が距離E3aより小さい場合の差を「第2差分距離」とする。)E3bであり、距離E4aと設置面距離E4との差(E4a−E4)が第2差分距離E4bであることを示す。   Further, in FIG. 24, a difference (E3a-E3) between the distance E3a and the installation surface distance E3 is a distance (hereinafter, the difference when the installation surface distance E3 is smaller than the distance E3a is referred to as a "second difference distance" E3b. This indicates that the difference (E4a-E4) between the distance E4a and the installation surface distance E4 is the second difference distance E4b.

図25は、図24における浅陥没部PK1の拡大図である。図24及び図25に示すように、後方ステレオカメラ6Bから見た浅陥没部PK1の底の点とステレオカメラ6Bとを結ぶ線分は、設置面との間に設置面角度γ5を形成する。この場合、浅陥没部PK1の設置面からの深さ(以下、「推定深さ」とする。)DP1bは、第2差分距離E3b×sin(γ5)で表される。   FIG. 25 is an enlarged view of the depression part PK1 in FIG. As shown in FIGS. 24 and 25, the line connecting the point of the bottom of the shallow depression portion PK1 viewed from the rear stereo camera 6B and the stereo camera 6B forms an installation surface angle γ5 with the installation surface. In this case, the depth (hereinafter referred to as “estimated depth”) DP1 b from the installation surface of the shallow depression portion PK1 is represented by a second difference distance E3 b × sin (γ5).

また、ステレオカメラ6Bが撮像する入力距離画像における画素の値は、地物とステレオカメラ6Bとの間の距離を表す。そのため、入力距離画像における各画素の値と各画素に対応する設置面距離との差である第2差分距離に、各画素に対応する設置面角度の正弦を乗算することによって、その地物の推定深さを求めることができる。本実施例では、第2差分距離E3bにsin(γ5)を乗算することによって浅陥没部PK1の推定深さDP1bを求めることができる。   In addition, the value of the pixel in the input distance image captured by the stereo camera 6B represents the distance between the feature and the stereo camera 6B. Therefore, by multiplying the second difference distance, which is the difference between the value of each pixel in the input distance image and the installation surface distance corresponding to each pixel, by the sine of the installation surface angle corresponding to each pixel, Estimated depth can be determined. In this embodiment, the estimated depth DP1b of the shallow recess portion PK1 can be obtained by multiplying the second difference distance E3b by sin (γ5).

ところで、後方ステレオカメラ6Bが撮像する入力距離画像における画素の値は、上述のように、地物と後方ステレオカメラ6Bとの間の距離を表す。そのため、後方ステレオカメラ6Bからの距離に応じて色又は輝度を変化させる処理を入力距離画像に施して出力距離画像を生成する場合、入力距離画像における画素値をそのまま用いると出力距離画像の視認性を損なうおそれがある。具体的には、その出力距離画像は、ショベル60から離れるにつれて段階的に変化する色又は輝度で地面(設置面)を表すこととなり、浅陥没部PK1及び深陥没部PK2の存在を分かり難くするおそれがある。   By the way, as described above, the values of the pixels in the input distance image captured by the rear stereo camera 6B represent the distance between the feature and the rear stereo camera 6B. Therefore, when an output distance image is generated by subjecting the input distance image to a process of changing color or luminance according to the distance from the rear stereo camera 6B, using the pixel value in the input distance image as it is causes visibility of the output distance image May damage the Specifically, the output distance image represents the ground (installation surface) with a color or luminance that gradually changes as it goes away from the shovel 60, making it difficult to understand the presence of the depression PK1 and the depression PK2. There is a fear.

そこで、画像生成装置100の画素抽出手段12は、例えば、後方ステレオカメラ6Bの入力距離画像から所定の条件を満たす画素を抽出し、その抽出結果に基づいて入力距離画像を補正する。具体的には、画素抽出手段12は、入力距離画像における各画素のうち、各画素に対応する設置面距離より大きい画素値を有する画素を抽出する。そして、画素抽出手段12は、設置面距離に等しい画素値を有する画素のその画素値を所定値(例えば、最小値としてのゼロである。)で置き換える。一方で、画素抽出手段12は、設置面距離より大きい画素値を有する画素の画素値をそのまま維持する。この場合、設置面距離に等しい画素値は、所定の幅を有する値であってもよい。   Therefore, the pixel extraction unit 12 of the image generation apparatus 100 extracts, for example, pixels satisfying a predetermined condition from the input distance image of the rear stereo camera 6B, and corrects the input distance image based on the extraction result. Specifically, the pixel extraction unit 12 extracts, from each pixel in the input distance image, a pixel having a pixel value larger than the installation surface distance corresponding to each pixel. Then, the pixel extraction unit 12 replaces the pixel value of the pixel having the pixel value equal to the installation surface distance with a predetermined value (for example, zero as the minimum value). On the other hand, the pixel extraction unit 12 maintains the pixel value of the pixel having the pixel value larger than the installation surface distance as it is. In this case, the pixel value equal to the installation surface distance may be a value having a predetermined width.

また、画素抽出手段12は、入力距離画像における各画素のうち、第2差分距離が所定距離以上の画素を抽出してもよい。この場合、画素抽出手段12は、第2差分距離が所定距離未満の画素の画素値を所定値(例えば、最小値としてのゼロである。)で置き換え、第2差分距離が所定距離以上の画素の画素値をそのまま維持する。例えば、図25に示すように、画素抽出手段12は、第2差分距離E3bが所定距離E3b1未満であるため、第2差分距離E3bに対応する画素の画素値をゼロに設定する。なお、所定距離E3b1は、所定深さDP1に対応する距離である。或いは、図25に示すように、画素抽出手段12は、設置面深さDP1bが所定深さDP1未満であると判断し、設置面深さDP1bに対応する画素の画素値をゼロに置き換えてもよい。或いは、画素抽出手段12は、距離E3aに占める第2差分距離E3bの比率(以下、設置面距離E3が距離E3aより小さい場合の比率を「第2差分比率」とする。)が所定比率未満であると判断し、対応する画素の画素値をゼロに置き換えてもよい。なお、所定距離、所定深さ、所定比率等は、後方ステレオカメラ6Bの設置位置及び設置角度に基づいて、後方ステレオカメラ6Bの入力距離画像における画素毎又は画素行毎若しくは画素列毎に予め設定される。また、所定深さ、所定比率は、入力距離画像における全ての画素に関して共通であってもよい。   In addition, the pixel extraction unit 12 may extract, from each pixel in the input distance image, a pixel in which the second difference distance is a predetermined distance or more. In this case, the pixel extraction unit 12 replaces the pixel value of the pixel whose second difference distance is less than the predetermined distance with a predetermined value (for example, zero as the minimum value), and the pixel whose second difference distance is the predetermined distance or more Maintain the pixel value of. For example, as shown in FIG. 25, since the second difference distance E3b is less than the predetermined distance E3b1, the pixel extracting unit 12 sets the pixel value of the pixel corresponding to the second difference distance E3b to zero. The predetermined distance E3b1 is a distance corresponding to the predetermined depth DP1. Alternatively, as shown in FIG. 25, the pixel extracting unit 12 determines that the installation surface depth DP1b is less than the predetermined depth DP1, and replaces the pixel value of the pixel corresponding to the installation surface depth DP1b with zero. Good. Alternatively, in the pixel extracting unit 12, the ratio of the second difference distance E3b to the distance E3a (hereinafter, the ratio when the installation surface distance E3 is smaller than the distance E3a is referred to as "second difference ratio") is less than a predetermined ratio. It may be determined that there is, and the pixel value of the corresponding pixel may be replaced with zero. The predetermined distance, predetermined depth, predetermined ratio, etc. are set in advance for each pixel, each pixel row, or each pixel column in the input distance image of the rear stereo camera 6B based on the installation position and the installation angle of the rear stereo camera 6B. Be done. Also, the predetermined depth and the predetermined ratio may be common to all the pixels in the input distance image.

図26は、後方ステレオカメラ6Bの出力距離画像の例を示す図である。図26(A)は、画素抽出手段12による抽出を行わずに入力距離画像における全ての画素の画素値をそのまま用いた場合の出力距離画像を示す。図26(B)は、画素抽出手段12により、入力距離画像における各画素のうち、各画素に対応する設置面距離より大きい画素値を有する画素が抽出された場合の出力距離画像を示す。また、図26(C)は、画素抽出手段12により、入力距離画像における各画素のうち、第2差分距離が所定距離以上となる画素、又は、推定深さが所定深さ以上となる画素が抽出された場合の出力距離画像を示す。   FIG. 26 is a view showing an example of an output distance image of the rear stereo camera 6B. FIG. 26A shows an output distance image when the pixel values of all the pixels in the input distance image are used as they are without performing extraction by the pixel extraction means 12. FIG. 26B shows an output distance image when the pixel extracting unit 12 extracts a pixel having a pixel value larger than the installation surface distance corresponding to each pixel among the pixels in the input distance image. Further, in FIG. 26C, the pixel extraction unit 12 outputs, among the pixels in the input distance image, pixels whose second difference distance is a predetermined distance or more, or pixels whose estimated depth is a predetermined depth or more. The output distance image at the time of being extracted is shown.

図26(A)に示すように、画素の抽出が行われない場合、出力距離画像は、ショベル60から離れるにつれて段階的に輝度が減少する態様で設置面を表し、浅陥没部PK1及び深陥没部PK2の存在を分かり難くする。   As shown in FIG. 26A, when extraction of pixels is not performed, the output distance image shows the installation surface in a mode in which the luminance decreases gradually as it gets away from the shovel 60, and the depression PK1 and the depression Make the existence of department PK2 unclear.

一方、図26(B)に示すように、入力距離画像における各画素のうち設置面距離より大きい画素値を有する画素の抽出を行う場合、出力距離画像は、設置面下に存在する陥没部の視認性を向上させる。具体的には、図26(B)の出力距離画像は、設置面距離に等しい画素値を有する全ての画素の画素値がゼロに置き換えられるため、ショベル60からの距離にかかわらず、設置面の色及び輝度を一様にする。その結果、図26(B)の出力距離画像は、浅陥没部PK1及び深陥没部PK2の距離画像を設置面の距離画像から際立たせ、その視認性を向上させることができる。   On the other hand, as shown in FIG. 26B, when extracting pixels having a pixel value larger than the installation surface distance among the pixels in the input distance image, the output distance image is a depression located in the lower part of the installation surface. Improve visibility. Specifically, in the output distance image of FIG. 26B, the pixel values of all the pixels having pixel values equal to the installation surface distance are replaced with zero, so that regardless of the distance from the shovel 60, Make the color and brightness uniform. As a result, in the output distance image of FIG. 26B, the distance images of the shallow depression portion PK1 and the deep depression portion PK2 can be highlighted from the distance image of the installation surface, and the visibility thereof can be improved.

さらに、図26(C)に示すように、入力距離画像における各画素のうち第2差分距離が所定距離以上となる画素の抽出を行う場合、出力距離画像は、設置面深さが所定深さ以上の地物の視認性を向上させる。具体的には、図26(C)の出力距離画像は、第2差分距離が所定距離未満の全ての画素の画素値がゼロに設定されるため、ショベル60からの距離にかかわらず、設置面深さが所定深さ未満の地物(設置面を含む。)の色及び輝度を一様にする。その結果、図26(C)の出力距離画像は、設置面深さDP1bが所定深さDP1未満である浅陥没部PK1の距離画像を設置面の距離画像とともに単一の色及び輝度にする。そして、図26(C)の出力距離画像は、設置面深さが所定深さDP1以上である深陥没部PK2の距離画像のみを他の距離画像から際立たせ、その視認性を向上させることができる。   Further, as shown in FIG. 26C, in the case of extracting the pixels in which the second difference distance is a predetermined distance or more among the pixels in the input distance image, the output distance image has an installation surface depth of a predetermined depth. Improve the visibility of the above features. Specifically, in the output distance image of FIG. 26C, the pixel values of all the pixels whose second difference distance is less than the predetermined distance are set to zero, and therefore, regardless of the distance from the shovel 60, the installation surface Make the color and brightness of features (including the installation surface) whose depth is less than a predetermined depth uniform. As a result, in the output distance image of FIG. 26C, the distance image of the shallow depression portion PK1 whose installation surface depth DP1b is less than the predetermined depth DP1 is made a single color and luminance together with the distance image of the installation surface. Then, in the output distance image of FIG. 26C, only the distance image of the deep depression portion PK2 whose installation surface depth is a predetermined depth DP1 or more is made to stand out from the other distance images, and the visibility thereof is improved. it can.

なお、図26(C)の出力距離画像は、深陥没部PK2の縁部分(設置面深さが所定深さDP1未満の部分)に対応する画素の画素値をゼロにしてその部分の距離画像を設置面の距離画像とともに単一の色及び輝度にする。しかしながら、深陥没部PK2の一部であると判断される部分に対応する画素は、第2差分距離が所定距離未満であっても、或いは、設置面深さが所定深さDP1未満であっても、入力距離画像における画素値をそのまま維持してもよい。なお、特定の画素が深陥没部PK2の距離画像の一部に属するか否かは、例えば、周囲の画素に関する第2差分距離又は設置面深さとその特定の画素に関する第2差分距離又は設置面深さとに基づいて判断され得る。   In the output distance image of FIG. 26C, the pixel value of the pixel corresponding to the edge portion of the deep depression portion PK2 (a portion where the installation surface depth is less than the predetermined depth DP1) is zero and the distance image of that portion Into a single color and intensity with the distance image of the installation surface. However, even if the second difference distance is less than the predetermined distance, or the pixel corresponding to the portion determined to be a part of the deep depression portion PK2, the installation surface depth is less than the predetermined depth DP1. Also, the pixel values in the input distance image may be maintained as they are. Note that whether or not a specific pixel belongs to a part of the distance image of the deep depression portion PK2 is, for example, the second difference distance or the installation surface depth of surrounding pixels and the second difference distance or the installation surface of the specific pixel It can be judged based on the depth.

図27は、後方カメラ2Bの出力画像の例を示す図である。図27(A)は、図26(A)の出力距離画像を重畳させた場合の出力画像を示す。図27(B)は、図26(B)の出力距離画像を重畳させた場合の出力画像を示す。また、図27(C)は、図26(C)の出力距離画像を重畳させた場合の出力画像を示す。   FIG. 27 is a view showing an example of an output image of the rear camera 2B. FIG. 27A shows an output image when the output distance image of FIG. 26A is superimposed. FIG. 27 (B) shows an output image when the output distance image of FIG. 26 (B) is superimposed. 27C shows an output image when the output distance image of FIG. 26C is superimposed.

図27(A)に示すように、図26(A)の出力距離画像を重畳した出力画像は、ショベル60から離れるにつれて段階的に輝度が減少する態様で設置面を表し、浅陥没部PK1及び深陥没部PK2の存在を際立たせることができない。   As shown in FIG. 27A, an output image obtained by superimposing the output distance image of FIG. 26A represents the installation surface in a mode in which the luminance gradually decreases as the distance from the shovel 60 increases. It is not possible to highlight the existence of the deep depression portion PK2.

一方、図27(B)に示すように、ショベル60からの距離にかかわらず設置面の色及び輝度を一様にした出力距離画像を重畳した出力画像は、浅陥没部PK1及び深陥没部PK2の画像を設置面の画像から際立たせ、その視認性を向上させる。また、図27(B)の出力画像は、浅陥没部PK1及び深陥没部PK2のそれぞれと後方ステレオカメラ6Bとの間の距離の値を重畳表示する。これにより、浅陥没部PK1及び深陥没部PK2の存在をさらに際立たせることができる。なお、浅陥没部PK1と後方ステレオカメラ6Bとの間の距離の値には、例えば、距離補正手段13によって補正された値が採用される。また、浅陥没部PK1と後方ステレオカメラ6Bとの間の距離の値は、所定値未満の場合に限り、重畳表示されるようにしてもよい。ショベル60に近いところにある陥没部の存在をさらに際立たせるためである。また、その距離(画素値)の値の輝度又は色は、その距離(画素値)の大きさに応じて決定される。例えば、その距離(画素値)の値の色は、その距離(画素値)が小さくなるにつれて、紫、青、緑、黄、赤のように変化する。また、その距離の値は、画素抽出手段12が抽出した、入力距離画像における浅陥没部PK1の距離画像領域に含まれる画素の画素値のうちの最小値であってもよい。深陥没部PK2と後方ステレオカメラ6Bとの間の距離の値についても同様である。   On the other hand, as shown in FIG. 27 (B), the output image on which the output distance image in which the color and the luminance of the installation surface are uniformed is superimposed regardless of the distance from the shovel 60 is the depression PK1 and the depression PK2. Of the image from the image of the installation surface to improve its visibility. Further, the output image in FIG. 27B displays the value of the distance between each of the shallow depression portion PK1 and the deep depression portion PK2 and the rear stereo camera 6B in a superimposed manner. Thereby, the presence of the shallow depression portion PK1 and the deep depression portion PK2 can be further highlighted. Note that, for example, a value corrected by the distance correction unit 13 is adopted as the value of the distance between the shallow depression portion PK1 and the rear stereo camera 6B. In addition, the value of the distance between the shallow depression portion PK1 and the rear stereo camera 6B may be superimposed and displayed only when it is less than a predetermined value. This is to further emphasize the presence of the depression near the shovel 60. Further, the brightness or color of the value of the distance (pixel value) is determined according to the size of the distance (pixel value). For example, the color of the value of the distance (pixel value) changes to purple, blue, green, yellow, red as the distance (pixel value) decreases. Further, the value of the distance may be the minimum value among the pixel values of the pixels included in the distance image area of the shallow depression portion PK1 in the input distance image, which is extracted by the pixel extraction unit 12. The same applies to the value of the distance between the deep depression portion PK2 and the rear stereo camera 6B.

さらに、図27(C)に示すように、ショベル60からの距離にかかわらず設置面深さが所定深さ未満の地物(設置面を含む。)の色及び輝度を一様にした出力距離画像を重畳した出力画像は、深陥没部PK2の視認性を向上させる。具体的には、その出力画像は、設置面深さが所定深さ以上である深陥没部PK2の画像のみを他の画像から際立たせ、その視認性を向上させる。また、図27(C)の出力画像は、設置面深さが所定深さ以上である深陥没部PK2と後方ステレオカメラ6Bとの間の距離の値のみを重畳表示する。これにより、設置面深さが所定深さ以上である深陥没部PK2の存在のみをさらに際立たせることができる。   Furthermore, as shown in FIG. 27C, regardless of the distance from the shovel 60, the output distance in which the color and brightness of the feature (including the installation surface) whose installation surface depth is less than the predetermined depth is uniformed The output image on which the image is superimposed improves the visibility of the deep recess portion PK2. Specifically, as the output image, only the image of the deep depression portion PK2 whose installation surface depth is equal to or more than a predetermined depth is made to stand out from the other images, and the visibility thereof is improved. Further, in the output image of FIG. 27C, only the value of the distance between the deep depression portion PK2 whose installation surface depth is a predetermined depth or more and the rear stereo camera 6B is superimposed and displayed. As a result, it is possible to further emphasize only the presence of the deep depression portion PK2 whose installation surface depth is equal to or more than the predetermined depth.

また、上述において、画像生成装置100は、後方ステレオカメラ6Bの出力距離画像を後方カメラ2Bの出力画像に重畳させて表示部5に表示する。しかしながら、画像生成装置100は、出力距離画像のみを表示部5に表示させてもよく、出力距離画像と出力画像とを並べて表示部5に表示させてもよい。   Further, in the above, the image generation apparatus 100 superimposes the output distance image of the rear stereo camera 6B on the output image of the rear camera 2B and displays the image on the display unit 5. However, the image generation apparatus 100 may display only the output distance image on the display unit 5 or may display the output distance image and the output image on the display unit 5 side by side.

また、画像生成装置100は、浅陥没部PK1及び深陥没部PK2のそれぞれと後方ステレオカメラ6Bとの間の距離の値を表示する代わりに、或いは、その距離の値の表示に加えて、図18に示すような枠を表示してもよい。   Further, instead of displaying the value of the distance between each of the shallow depression portion PK1 and the deep depression portion PK2 and the rear stereo camera 6B, the image generation apparatus 100 is not limited to or in addition to the display of the value of the distance. A frame as shown in 18 may be displayed.

次に、図28を参照しながら、第2画素抽出処理の流れについて説明する。なお、図28は、第2画素抽出処理の流れを示すフローチャートである。画像生成装置100の画素抽出手段12は、例えば、入力距離画像を取得する度にこの第2画素抽出処理を実行する。   Next, the flow of the second pixel extraction process will be described with reference to FIG. FIG. 28 is a flowchart showing the flow of the second pixel extraction process. The pixel extraction unit 12 of the image generation apparatus 100 executes this second pixel extraction process, for example, every time an input distance image is acquired.

最初に、画素抽出手段12は、入力距離画像における1つの画素(以下、「対象画素」とする。)に関する設置面距離をROM等から読み出して取得する(ステップS21)。なお、画素抽出手段12は、設置面角度をROM等から読み出して取得してもよい。   First, the pixel extracting unit 12 reads and acquires the installation surface distance of one pixel (hereinafter, referred to as “target pixel”) in the input distance image from the ROM or the like (step S21). The pixel extraction unit 12 may read and acquire the installation surface angle from the ROM or the like.

その後、画素抽出手段12は、その対象画素の画素値から設置面距離を減算することによって第2差分距離を算出する(ステップS22)。なお、画素抽出手段12は、算出した第2差分距離とその対象画素の画素値とに基づいて第2差分比率を算出してもよく、算出した第2差分距離と設置面角度とに基づいて推定深さを算出してもよい。   Thereafter, the pixel extraction unit 12 calculates the second difference distance by subtracting the installation surface distance from the pixel value of the target pixel (step S22). The pixel extraction unit 12 may calculate the second difference ratio based on the calculated second difference distance and the pixel value of the target pixel, and based on the calculated second difference distance and the installation plane angle. The estimated depth may be calculated.

その後、画素抽出手段12は、算出した第2差分距離とROM等に記憶された所定距離とを比較する(ステップS23)。なお、画素抽出手段12は、算出した第2差分比率とROM等に記憶された所定比率とを比較してもよく、算出した推定深さとROM等に記憶された所定深さとを比較してもよい。   Thereafter, the pixel extracting unit 12 compares the calculated second difference distance with the predetermined distance stored in the ROM or the like (step S23). Note that the pixel extraction unit 12 may compare the calculated second difference ratio with the predetermined ratio stored in the ROM or the like, or even if the calculated estimated depth is compared with the predetermined depth stored in the ROM or the like. Good.

第2差分距離が所定距離以上の場合(ステップS23のYES)、画素抽出手段12は、現在の画素値をそのまま維持する画素としてその対象画素を抽出する。第2差分比率が所定比率以上の場合、或いは、推定深さが所定深さ以上の場合についても同様である。   If the second difference distance is equal to or greater than the predetermined distance (YES in step S23), the pixel extraction unit 12 extracts the target pixel as a pixel maintaining the current pixel value as it is. The same applies to the case where the second difference ratio is equal to or more than the predetermined ratio, or the case where the estimated depth is equal to or more than the predetermined depth.

一方、第2差分距離が所定距離未満の場合(ステップS23のNO)、画素抽出手段12は、現在の画素値をそのまま維持する画素としてその対象画素を抽出しない。具体的には、画素抽出手段12は、その対象画素の画素値をROM等に記憶された所定値で置き換える(ステップS24)。第2差分比率が所定比率未満の場合、或いは、推定深さが所定深さ未満の場合についても同様である。   On the other hand, when the second difference distance is less than the predetermined distance (NO in step S23), the pixel extracting unit 12 does not extract the target pixel as a pixel maintaining the current pixel value as it is. Specifically, the pixel extracting unit 12 replaces the pixel value of the target pixel with a predetermined value stored in the ROM or the like (step S24). The same applies to the case where the second difference ratio is less than the predetermined ratio or the case where the estimated depth is less than the predetermined depth.

なお、抽出しなかった対象画素の画素値を所定値に置き換える処理は、複数の或いは全ての対象画素について抽出の要否を判断した後で一括して行われてもよい。   The process of replacing the pixel value of the target pixel that has not been extracted with a predetermined value may be performed collectively after determining the necessity of extraction for a plurality of or all of the target pixels.

その後、画素抽出手段12は、取得した入力距離画像における全ての画素について抽出要否の判断を行ったか否かを判定する(ステップS25)。   Thereafter, the pixel extraction unit 12 determines whether or not the determination of extraction necessity has been performed for all the pixels in the acquired input distance image (step S25).

未だ全ての画素について抽出要否の判断を行っていないと判定した場合(ステップS25のNO)、画素抽出手段12は、別の対象画素に関してステップS21以降の処理を実行する。   If it is determined that the extraction necessity determination has not been performed for all the pixels (NO in step S25), the pixel extraction unit 12 executes the processes in step S21 and subsequent steps for another target pixel.

全ての画素について抽出要否の判断を行ったと判定した場合(ステップS25のYES)、画素抽出手段12は、今回の第2画素抽出処理を完了する。   If it is determined that the extraction necessity determination has been performed for all the pixels (YES in step S25), the pixel extraction unit 12 completes the current second pixel extraction process.

以上の構成により、画像生成装置100は、設置面に関する距離画像の詳細表示を省略することで、ショベル60を滑落させるおそれのある陥没部(例えば、路肩、崖等である。)の距離画像の視認性を向上させることができる。   With the above configuration, the image generating apparatus 100 omits the detailed display of the distance image on the installation surface, so that the distance image of a depression (for example, a road shoulder, a cliff, etc.) that may cause the shovel 60 to slide down. Visibility can be improved.

また、画像生成装置100は、設置面深さが所定深さ未満の陥没部の詳細表示を省略することで、設置面深さが所定深さ以上の陥没部の視認性を向上させることができる。   In addition, the image generating apparatus 100 can improve the visibility of the depression having the installation surface depth equal to or more than the predetermined depth by omitting the detailed display of the depression having the installation surface depth less than the predetermined depth. .

その結果、画像生成装置100は、ショベル60が陥没部へ滑落するのをより確実に防止することができる。   As a result, the image generation device 100 can more reliably prevent the shovel 60 from sliding into the depression.

また、上述では、第1画素抽出処理と第2画素抽出処理とが別々に説明されたが、2つの画素抽出処理を組み合わせてもよい。   In addition, although the first pixel extraction process and the second pixel extraction process are described separately in the above, two pixel extraction processes may be combined.

次に、図29を参照しながら、運転支援手段15が運転支援機能を実行する処理(以下、「運転支援処理」とする。)について説明する。なお、図29は、運転支援処理の流れを示すフローチャートであり、運転支援手段15は、ショベル60の走行中に所定周期で繰り返しこの運転支援処理を実行する。   Next, with reference to FIG. 29, a process (hereinafter, referred to as “drive support process”) in which the drive support means 15 executes the drive support function will be described. FIG. 29 is a flowchart showing the flow of the driving support processing, and the driving support means 15 repeatedly executes the driving support processing at a predetermined cycle while the shovel 60 is traveling.

最初に、運転支援手段15は、ショベル60の走行用操作レバー(図示せず。)の操作方向に基づいてショベル60の移動方向を検出する(ステップS31)。   First, the driving support means 15 detects the moving direction of the shovel 60 based on the operation direction of the traveling control lever (not shown) of the shovel 60 (step S31).

その後、運転支援手段15は、ショベル60の移動方向に所定の地物が存在するか否かを判定する(ステップS32)。本実施例では、運転支援手段15は、後方ステレオカメラ6Bが取得した入力距離画像に基づいて、後退するショベル60の後方に、ショベル60を滑落させるおそれのある陥没部が存在するか否かを判定する。   Thereafter, the driving support means 15 determines whether or not a predetermined feature exists in the moving direction of the shovel 60 (step S32). In the present embodiment, based on the input distance image acquired by the rear stereo camera 6B, the driving support means 15 determines whether or not there is a depression which may cause the shovel 60 to slide down behind the shovel 60 moving backward. judge.

ショベル60を滑落させるおそれのある陥没部が存在すると判定した場合(ステップS32のYES)、運転支援手段15は、運転支援機能を実行する(ステップS33)。本実施例では、運転支援手段15は、警報を吹鳴させるとともに、陥没部が存在する旨を通知する警告メッセージを表示部5に表示する。また、運転支援手段15は、陥没部までの距離が短くなるにつれてショベル60の後退速度を低減させてもよく、陥没部までの距離が所定値を下回った場合にショベル60を停止させてもよい。   If it is determined that there is a depressed portion which may cause the shovel 60 to slide down (YES in step S32), the driving support means 15 executes the driving support function (step S33). In the present embodiment, the driving support means 15 makes the alarm sound and displays on the display unit 5 a warning message notifying that there is a depression. Further, the driving support means 15 may reduce the retreating speed of the shovel 60 as the distance to the depression becomes shorter, and may stop the shovel 60 when the distance to the depression becomes smaller than a predetermined value. .

一方、ショベル60を滑落させるおそれのある陥没部が存在しないと判定した場合(ステップS32のNO)、運転支援手段15は、運転支援機能を実行することなく、今回の運転支援処理を終了させる。   On the other hand, when it is determined that there is no depression that may cause the shovel 60 to slide down (NO in step S32), the driving support unit 15 ends the current driving support processing without executing the driving support function.

以上の構成により、画像生成装置100は、ステレオカメラ6の出力に基づいて所定の地物の存否を自動的に判定し、必要に応じて運転支援機能を実行することで、ショベル60の操作の安全性をさらに向上できる。   With the above configuration, the image generating apparatus 100 automatically determines the presence or absence of a predetermined feature based on the output of the stereo camera 6, and executes the driving support function as needed, to operate the shovel 60. Safety can be further improved.

次に、図30〜図33を参照しながら、画像生成装置100が入力距離画像の画素値(距離)を補正する処理(以下、「距離補正処理」とする。)について説明する。   Next, a process of correcting the pixel value (distance) of the input distance image by the image generating apparatus 100 (hereinafter, referred to as “distance correction process”) will be described with reference to FIGS.

図30は、画像生成装置100を搭載するショベル60を示す図であり、図30(A)がその上面図であり、図30(B)がその部分右側面図である。図30に示す実施例では、ショベル60は、1台のカメラ2(後方カメラ2B)と1台のステレオカメラ6(後方ステレオカメラ6B)とを備える。なお、図30の一点鎖線で示す領域CBは、後方カメラ2Bの撮像範囲を示す。また、図30の点線で示す領域ZBは、後方ステレオカメラ6Bの撮像範囲を示す。   FIG. 30 is a view showing a shovel 60 on which the image generating apparatus 100 is mounted, FIG. 30 (A) is a top view thereof, and FIG. 30 (B) is a partial right side view thereof. In the embodiment shown in FIG. 30, the shovel 60 includes one camera 2 (rear camera 2B) and one stereo camera 6 (rear stereo camera 6B). An area CB indicated by an alternate long and short dash line in FIG. 30 indicates an imaging range of the rear camera 2B. Further, a region ZB indicated by a dotted line in FIG. 30 indicates the imaging range of the rear stereo camera 6B.

図30に示すように、ショベル60の後方には、地面から鉛直上方に伸びる2つの物体P1、P2が存在する。2つの物体P1、P2は、高さの異なる棒状の物体であり、後方ステレオカメラ6Bから見て異なる方向に存在する。具体的には、図30(B)で示すように、物体P1の高さは、物体P2の高さよりも低い。しかしながら、2つの物体P1、P2のそれぞれと後方ステレオカメラ6Bとの間の最短距離は、何れも距離Dで等しいものとなっている。低いほうの物体P1が、高いほうの物体P2よりもショベル60に近いところに存在するためである。   As shown in FIG. 30, behind the shovel 60, there are two objects P1 and P2 extending vertically upward from the ground. The two objects P1 and P2 are rod-like objects with different heights, and exist in different directions as viewed from the rear stereo camera 6B. Specifically, as shown in FIG. 30 (B), the height of the object P1 is lower than the height of the object P2. However, the shortest distances between each of the two objects P1 and P2 and the rear stereo camera 6B are all equal at the distance D. This is because the lower object P1 is closer to the shovel 60 than the higher object P2.

また、図30(B)に示すように、ステレオカメラ6Bから見た物体P1上の最も近い点とステレオカメラ6Bとを結ぶ線分は、水平面との間に角度γ1を形成する。同様に、ステレオカメラ6Bから見た物体P2上の最も近い点とステレオカメラ6Bとを結ぶ線分は、水平面との間に角度γ2を形成する。この場合、物体P1とショベル60の後面を含む平面との間の水平距離D1は、D×cos(γ1)で表され、物体P2とショベル60の後面を含む平面との間の水平距離D2は、D×cos(γ2)で表される。なお、水平距離D2は、水平距離D1より大きい。   Further, as shown in FIG. 30B, a line segment connecting the closest point on the object P1 viewed from the stereo camera 6B to the stereo camera 6B forms an angle γ1 with the horizontal plane. Similarly, a line segment connecting the closest point on the object P2 viewed from the stereo camera 6B to the stereo camera 6B forms an angle γ2 with the horizontal plane. In this case, the horizontal distance D1 between the object P1 and the plane including the rear surface of the shovel 60 is represented by D × cos (γ1), and the horizontal distance D2 between the object P2 and the plane including the rear surface of the shovel 60 is , D × cos (γ2). The horizontal distance D2 is larger than the horizontal distance D1.

ステレオカメラ6Bが撮像する入力距離画像における画素の値は、地物とステレオカメラ6Bとの間の距離を表す。そのため、入力距離画像における画素値をそのまま用いた場合、ステレオカメラ6Bからの距離に応じて表示色又は輝度を変化させる処理では、物体P1の頂部と物体P2の頂部が同じ色又は同じ輝度で表示されることとなる。この表示は、上述のように物体P2に比べ物体P1がショベル60により近いところにある場合であっても、物体P1及び物体P2がショベル60の後面から同じ距離に存在するものと操作者に誤認させるおそれがある。   The values of the pixels in the input distance image captured by the stereo camera 6B represent the distance between the feature and the stereo camera 6B. Therefore, when the pixel value in the input distance image is used as it is, in the processing of changing the display color or the luminance according to the distance from the stereo camera 6B, the top of the object P1 and the top of the object P2 are displayed with the same color or the same luminance. It will be done. Even if the display is such that the object P1 is closer to the shovel 60 than the object P2 as described above, the operator misunderstands that the object P1 and the object P2 exist at the same distance from the rear surface of the shovel 60 There is a risk of

このような状況が生じるのは、後方ステレオカメラ6Bが、上部旋回体63の上部に取り付けられた状態で斜め下方を撮像することに起因する。すなわち、操作者が認識する距離がショベル60からの水平距離であるのに対し、ステレオカメラ6が取得する距離は、ステレオカメラ6からの直線距離であることに起因する。なお、ステレオカメラ6Bの取り付け位置は、周囲の地物との接触からセンサを保護できるよう、上部旋回体63の上部とされている。   Such a situation arises from the fact that the rear stereo camera 6 </ b> B captures an image obliquely downward while being attached to the top of the upper swing body 63. That is, while the distance recognized by the operator is the horizontal distance from the shovel 60, the distance acquired by the stereo camera 6 is due to the linear distance from the stereo camera 6. The mounting position of the stereo camera 6B is an upper portion of the upper swing body 63 so that the sensor can be protected from contact with surrounding features.

そこで、画像生成装置100の距離補正手段13は、例えば、物体P1、P2のそれぞれとステレオカメラ6Bとの間の距離を表す画素値を、物体P1、P2のそれぞれとショベル60の後面を含む平面との間の水平距離を表す画素値に補正する。   Therefore, the distance correction means 13 of the image generation device 100 is a plane including, for example, the pixel values representing the distance between each of the objects P1 and P2 and the stereo camera 6B, each of the objects P1 and P2 and the rear surface of the shovel 60. To the pixel value representing the horizontal distance between

具体的には、距離補正手段13は、ステレオカメラ6Bから見た物体P1上の任意の点に対応する入力距離画像における画素の座標から、ステレオカメラ6Bと物体P1上の任意の点とを結ぶ線分が水平面との間に形成する角度γを導き出す。ステレオカメラ6Bの取り付け位置、取り付け角度が既知であるため、距離補正手段13は、その画素の座標から角度γを導き出すことができる。   Specifically, the distance correction means 13 connects the stereo camera 6B and an arbitrary point on the object P1 from the coordinates of the pixels in the input distance image corresponding to the arbitrary point on the object P1 viewed from the stereo camera 6B. The angle γ that the line segment forms with the horizontal plane is derived. Since the mounting position and mounting angle of the stereo camera 6B are known, the distance correction means 13 can derive the angle γ from the coordinates of the pixel.

その後、距離補正手段13は、その地物上の任意の点に対応する画素の座標から導き出した角度γの余弦cos(γ)に、その画素の画素値、すなわち、ステレオカメラ6Bと物体P1上の任意の点との間の距離を乗じる。このようにして、距離補正手段13は、ステレオカメラ6Bと物体P1上の任意の点との間の水平距離を算出し、その任意の点に対応する画素の画素値を、算出した水平距離で置き換える。   After that, the distance correction means 13 sets the pixel value of that pixel, that is, on the stereo camera 6B and the object P1, to the cosine cos (γ) of the angle γ derived from the coordinates of the pixel corresponding to the arbitrary point Multiply the distance between any point of In this manner, the distance correction means 13 calculates the horizontal distance between the stereo camera 6B and an arbitrary point on the object P1, and calculates the pixel value of the pixel corresponding to the arbitrary point by the calculated horizontal distance. replace.

同様に、距離補正手段13は、ステレオカメラ6Bと物体P2上の任意の点とを結ぶ線分が水平面との間に形成する角度γを導き出す。そして、角度γの余弦cos(γ)に、その画素値、すなわち、ステレオカメラ6Bと物体P2上の任意の点との間の距離を乗じる。そして、ステレオカメラ6Bと物体P2上の任意の点との間の水平距離を算出し、その任意の点に対応する画素の画素値を、算出した水平距離で置き換える。   Similarly, the distance correction means 13 derives an angle γ which a line segment connecting the stereo camera 6B and an arbitrary point on the object P2 forms with the horizontal plane. Then, the cosine cos (γ) of the angle γ is multiplied by the pixel value, that is, the distance between the stereo camera 6B and an arbitrary point on the object P2. Then, the horizontal distance between the stereo camera 6B and an arbitrary point on the object P2 is calculated, and the pixel value of the pixel corresponding to the arbitrary point is replaced with the calculated horizontal distance.

ここで、図31及び図32を参照しながら、距離補正手段13による補正の効果について説明する。   Here, the effect of the correction by the distance correction means 13 will be described with reference to FIGS. 31 and 32. FIG.

図31は、距離補正処理が施されていない入力距離画像に基づく出力距離画像(以下、「補正前出力距離画像」とする。)と、距離補正処理が施された入力距離画像に基づく出力距離画像(以下、「補正済出力距離画像」とする。)との違いを表す対比図であり、図31(A)が補正前出力距離画像を示し、図31(B)が補正済出力距離画像を示す。なお、本実施例では、入力距離画像に対して画素抽出処理が既に施されている。   FIG. 31 shows an output distance image based on an input distance image not subjected to distance correction processing (hereinafter, referred to as “pre-correction output distance image”) and an output distance based on an input distance image subjected to distance correction processing. FIG. 31 (A) shows an output distance image before correction, and FIG. 31 (B) shows a corrected output distance image, which are differences from the image (hereinafter referred to as “corrected output distance image”). Indicates In the present embodiment, pixel extraction processing has already been performed on the input distance image.

また、図32は、後方カメラ2Bの入力画像に基づいて生成される出力画像に補正前出力距離画像を合成した合成後出力画像(以下、「補正前合成後出力画像」とする。)と、その出力画像に補正済出力距離画像を合成した合成後出力画像(以下、「補正済合成後出力画像」とする。)との違いを表す対比図であり、図32(A)が補正前合成後出力画像を示し、図32(B)が補正済合成後出力画像を示す。   Further, FIG. 32 is an output image after composition obtained by combining the output image before correction with the output image generated based on the input image of the rear camera 2B (hereinafter, referred to as “preset output image after correction”). FIG. 32A is a contrast diagram showing a difference from a post-composition output image (hereinafter referred to as “corrected post-composition output image”) obtained by combining the corrected output distance image with the output image, and FIG. The post-output image is shown, and FIG. 32 (B) shows the corrected post-composed output image.

図31(A)及び図32(A)に示すように、補正前出力距離画像及び補正前合成後出力画像では、物体P1と物体P2が同じような配色で表される。具体的には、物体P1及び物体P2は何れも、頂部に近いほど白く(薄く)、底部近いほど黒く(濃く)表示される。そのため、操作者は、何れの物体がショベル60により近いのかを判断し難い。   As shown in FIGS. 31A and 32A, in the output distance image before correction and the output image after combination before correction, the object P1 and the object P2 are expressed in the same color arrangement. Specifically, both the object P1 and the object P2 are displayed white (thin) near the top and black (dark) near the bottom. Therefore, it is difficult for the operator to determine which object is closer to the shovel 60.

これに対し、図31(B)及び図32(B)に示すように、補正済出力距離画像及び補正済合成後出力画像では、物体P1と物体P2が異なる色で表される。具体的には、物体P1が全体的に薄く表示され、物体P2が全体的に濃く表示される。そのため、操作者は、物体P2よりも物体P1のほうがショベル60により近い位置にあることを容易に認識することができる。   On the other hand, as shown in FIGS. 31B and 32B, in the corrected output distance image and the corrected combined output image, the object P1 and the object P2 are expressed in different colors. Specifically, the object P1 is generally displayed light and the object P2 is generally displayed dark. Therefore, the operator can easily recognize that the object P1 is closer to the shovel 60 than the object P2.

図33は、補正前合成後出力画像と補正済合成後出力画像との違いを表す対比図の別の例であり、枠が重畳表示される場合の例を示す。   FIG. 33 is another example of a contrast diagram showing the difference between the pre-correction post-composition output image and the corrected post-composition output image, and shows an example where a frame is displayed in a superimposed manner.

図33(A)に示すように、補正前合成後出力画像では、地物領域に含まれる画素の画素値の最小値がその地物領域の代表値として採用された場合、物体P1と物体P2が何れもショベル60から1メートルの距離にあるものとして表示される。   As shown in FIG. 33A, in the combined output image before correction, when the minimum value of the pixel values of the pixels included in the feature region is adopted as a representative value of the feature region, the object P1 and the object P2 Are displayed as being at a distance of 1 meter from the shovel 60.

これに対し、図33(B)に示すように、補正済合成後出力画像では、物体P1、P2のそれぞれとショベル60の後面を含む平面との間の水平距離D1、D2が表示される。すなわち、物体P1がショベル60の後面から1メートルの距離にあり、物体P2がショベル60の後面から1.5メートルの距離にあることが表示される。そのため、操作者は、物体P2よりも物体P1のほうがショベル60により近い位置にあることを容易に認識することができる。   On the other hand, as shown in FIG. 33B, in the corrected combined output image, horizontal distances D1 and D2 between the objects P1 and P2 and a plane including the rear surface of the shovel 60 are displayed. That is, it is displayed that the object P1 is at a distance of 1 meter from the rear surface of the shovel 60, and the object P2 is at a distance of 1.5 meters from the rear surface of the shovel 60. Therefore, the operator can easily recognize that the object P1 is closer to the shovel 60 than the object P2.

以上の構成により、画像生成装置100は、ステレオカメラ6が撮像する入力距離画像における画素値がショベル60からの水平距離を表すように画素値を補正する。その結果、画像生成装置100は、周囲の地物の状況をより分かり易く操作者に伝えることができる。   With the above configuration, the image generation device 100 corrects the pixel value such that the pixel value in the input distance image captured by the stereo camera 6 represents the horizontal distance from the shovel 60. As a result, the image generating apparatus 100 can convey the status of surrounding features to the operator more easily.

また、上述の実施例では、距離補正手段13は、画素抽出手段12が抽出した画素の画素値を個別に補正する。しかしながら、本発明はこれに限定されるものではない。例えば、距離補正手段13は、上述のように余弦を用いて水平距離を算出することなく、入力距離画像平面における画素行毎、画素列毎、又は予め区分された領域毎に所定の補正を纏めて行うようにしてもよい。演算負荷を抑制しながら、簡易な補正により、余弦を用いて水平距離を算出する場合と同様の効果を得るためである。具体的には、距離補正手段13は、例えば、入力距離画像平面の上方にある画素行ほど距離の増大補正が大きくなるように、或いは、入力距離画像平面の下方にある画素行ほど距離の減少補正が大きくなるように、所定の補正量による補正を一括して実行するようにしてもよい。   Further, in the above-described embodiment, the distance correction unit 13 individually corrects the pixel values of the pixels extracted by the pixel extraction unit 12. However, the present invention is not limited to this. For example, the distance correction means 13 does not calculate the horizontal distance using cosine as described above, but collects predetermined corrections for each pixel row, each pixel column, or each region divided in advance in the input distance image plane. May be performed. This is to obtain the same effect as in the case of calculating the horizontal distance using cosines by simple correction while suppressing the calculation load. Specifically, for example, the distance correction means 13 decreases the distance so that the increase correction of the distance becomes larger as the pixel row is above the input distance image plane, or as the pixel row is below the input distance image plane. The correction by a predetermined correction amount may be performed collectively in order to increase the correction.

また、上述の実施例では、距離補正手段13は、ステレオカメラ6Bが上部旋回体63の後面上部に取り付けられて斜め下方を撮像する場合の補正を実行する。しかしながら、本発明はこれに限定されるものではない。例えば、距離補正手段13は、ステレオカメラが水平方向を撮像する場合の補正を実行してもよく、ステレオカメラが斜め上方を撮像する場合の補正を実行してもよい。   Further, in the above-described embodiment, the distance correction means 13 executes the correction in the case where the stereo camera 6B is attached to the upper portion of the rear surface of the upper swing body 63 and images the obliquely lower side. However, the present invention is not limited to this. For example, the distance correction unit 13 may perform correction when the stereo camera captures an image in the horizontal direction, or may perform correction when the stereo camera captures an image obliquely upward.

また、上述の実施例では、距離補正手段13は、ショベル60の後面を含む平面を基準とし、地物領域に含まれる画素の画素値を、その地物とショベル60の後面を含む平面との間の水平距離を表す画素値に補正する。しかしながら、本発明はこれに限定されることはない。例えば、距離補正手段13は、ショベル60の旋回軸PVを基準とし、地物領域に含まれる画素の画素値を、その地物とショベル60の旋回軸PVとの間の水平距離を表す画素値に補正してもよい。   Further, in the above embodiment, the distance correction means 13 sets the pixel value of the pixel included in the feature region to the plane including the feature and the rear surface of the shovel 60 based on the plane including the rear surface of the shovel 60 To the pixel value representing the horizontal distance between However, the present invention is not limited to this. For example, the distance correction means 13 is a pixel value representing the horizontal distance between the feature and the turning axis PV of the shovel 60 with reference to the turning axis PV of the shovel 60 and the pixel value of the pixel included in the feature area. It may be corrected to

また、距離補正手段13は、地物領域に含まれる画素の画素値を、その地物とショベル60との間の最短水平距離を表す画素値に補正してもよい。この場合、距離補正手段13は、その地物の実在位置に応じて、ショベル60の右側面を含む平面、ショベル60の左側面を含む平面、ショベル60の後面を含む平面等から基準を選択する。   Further, the distance correction means 13 may correct the pixel values of the pixels included in the feature area to pixel values representing the shortest horizontal distance between the feature and the shovel 60. In this case, the distance correction means 13 selects the reference from the plane including the right side of the shovel 60, the plane including the left side of the shovel 60, the plane including the rear side of the shovel 60, etc. according to the actual position of the feature. .

なお、最短水平距離は、ショベル60の移動方向、すなわち、下部走行体61の前後方向に平行な方向における最短水平距離であってもよい。この場合、ショベル60の移動方向にない地物に関する画素の値は、その地物がショベル60の近くにあったとしても、最大値(無限遠)に補正される。その結果、操作者は、ショベル60の移動方向にある地物をより容易に認識することができる。   The shortest horizontal distance may be the shortest horizontal distance in the movement direction of the shovel 60, that is, in the direction parallel to the front-rear direction of the lower traveling body 61. In this case, even if the feature is in the vicinity of the shovel 60, the pixel value of the feature that is not in the moving direction of the shovel 60 is corrected to the maximum value (infinity). As a result, the operator can more easily recognize the feature in the moving direction of the shovel 60.

以上、本発明の好ましい実施例について詳説したが、本発明は、上述した実施例に制限されることはなく、本発明の範囲を逸脱することなしに上述した実施例に種々の変形及び置換を加えることができる。   Although the preferred embodiments of the present invention have been described above in detail, the present invention is not limited to the above-described embodiments, and various modifications and substitutions may be made to the above-described embodiments without departing from the scope of the present invention. It can be added.

例えば、上述の実施例において、画像生成装置100は、空間モデルとして円筒状の空間モデルMDを採用するが、多角柱等の他の柱状の形状を有する空間モデルを採用してもよく、底面及び側面の二面から構成される空間モデルを採用してもよく、或いは、側面のみを有する空間モデルを採用してもよい。   For example, in the above-described embodiment, the image generation apparatus 100 adopts a cylindrical space model MD as a space model, but may adopt a space model having another columnar shape such as a polygonal column, etc. A space model composed of two sides may be adopted, or a space model having only sides may be adopted.

また、画像生成装置100は、バケット、アーム、ブーム、旋回機構等の可動部材を備えながら自走するショベルに、カメラ及びステレオカメラと共に搭載され、周囲画像をその操作者に提示しながらそのショベルの移動及びそれら可動部材の操作を支援する操作支援システムを構成する。しかしながら、画像生成装置100は、フォークリフト、アスファルトフィニッシャ等のように旋回機構を有しない作業機械、又は、産業用機械若しくは固定式クレーン等のように可動部材を有するが自走はしない作業機械に、カメラ及びステレオカメラと共に搭載され、それら作業機械の操作を支援する操作支援システムを構成してもよい。   In addition, the image generating apparatus 100 is mounted on a self-propelled shovel with movable members such as a bucket, an arm, a boom, a turning mechanism, etc., together with a camera and a stereo camera. An operation support system is configured to support movement and operation of the movable members. However, the image generating apparatus 100 may be a working machine that does not have a turning mechanism such as a forklift, an asphalt finisher, or a working machine that has movable members but does not self-propelled, such as an industrial machine or a fixed crane. You may comprise the operation assistance system which is mounted with a camera and a stereo camera, and assists operation of those working machines.

また、上述の実施例において、距離画像合成手段14は、出力距離画像を生成した上で、生成した出力距離画像を出力画像に合成する。しかしながら、本発明はこれに限定されるものではない。距離画像合成手段14は、例えば、入力画像と入力距離画像とを合成して合成後入力画像を生成し、距離画像に関する情報が重畳表示された合成後処理対象画像を生成した上で、合成後出力画像を生成してもよい。また、距離画像合成手段14は、例えば、処理対象画像と処理対象距離画像とを合成して合成後処理対象画像を生成した上で、合成後出力画像を生成してもよい。   Further, in the above-described embodiment, the distance image combining unit 14 generates the output distance image, and then combines the generated output distance image with the output image. However, the present invention is not limited to this. For example, the distance image combining unit 14 combines the input image and the input distance image to generate a post-combination input image, and generates a combination post-processing target image on which information on the distance image is superimposed and displayed. An output image may be generated. In addition, the distance image combining unit 14 may, for example, combine the processing target image and the processing target distance image to generate a combined post-processing target image, and then generate a combined output image.

また、上述の実施例において、画像生成装置100は、カメラ2とステレオカメラ6とを別々に備える。そして、画像生成装置100は、カメラ2からの複数の入力画像に基づいて1つの出力画像(視点変換画像)を生成し、且つ、ステレオカメラ6からの複数の入力距離画像に基づいて1つの出力距離画像(視点変換距離画像)を生成する。その上で、画像生成装置100は、出力距離画像を出力画像に合成する。しかしながら、本発明はこの構成に限定されるものではない。例えば、画像生成装置100は、左側方ステレオカメラ6L、後方ステレオカメラ6B、右側方ステレオカメラ6Rのそれぞれにおける各1つの撮像機構が出力する3つの画像に基づいて出力画像(視点変換画像)を生成し、且つ、それら3つのステレオカメラの3つの入力距離画像に基づいて1つの出力距離画像(視点変換距離画像)を生成してもよい。この場合、カメラ2は省略され得る。また、この場合、撮像範囲が偏らないよう、左側方ステレオカメラ6L、後方ステレオカメラ6B、右側方ステレオカメラ6Rはそれぞれ、上部旋回体63の左側面、後面、右側面のそれぞれのほぼ中央に設置されることが望ましい。そのため、各ステレオカメラにおける複数組の撮像機構は、縦方向に所定の間隔を空けて並置される。その並置間隔の大きさにかかわらず、ステレオカメラを各面のほぼ中央に設置し易いためである。また、複数組の撮像機構を横方向に並置すると、その並置間隔によっては、ステレオカメラを各面のほぼ中央に設置することが困難になるためである。   Moreover, in the above-mentioned embodiment, the image generation device 100 is provided with the camera 2 and the stereo camera 6 separately. Then, the image generation apparatus 100 generates one output image (viewpoint conversion image) based on the plurality of input images from the camera 2 and one output based on the plurality of input distance images from the stereo camera 6 A distance image (viewpoint conversion distance image) is generated. Then, the image generation apparatus 100 combines the output distance image with the output image. However, the present invention is not limited to this configuration. For example, the image generation device 100 generates an output image (viewpoint conversion image) based on three images output by one imaging mechanism in each of the left side stereo camera 6L, the rear stereo camera 6B, and the right side stereo camera 6R. And one output distance image (viewpoint converted distance image) may be generated based on three input distance images of the three stereo cameras. In this case, the camera 2 may be omitted. Further, in this case, the left side stereo camera 6L, the rear stereo camera 6B, and the right side stereo camera 6R are respectively installed approximately at the centers of the left side face, the rear face and the right side face of the upper swing body 63 so that the imaging range is not biased. It is desirable to be done. Therefore, a plurality of sets of imaging mechanisms in each stereo camera are juxtaposed at predetermined intervals in the vertical direction. This is because, regardless of the size of the juxtaposed spacing, it is easy to install the stereo camera approximately at the center of each surface. In addition, when a plurality of sets of imaging mechanisms are juxtaposed in the lateral direction, it is difficult to place the stereo camera in the approximate center of each surface depending on the juxtaposition distance.

また、上述の実施例において、ステレオカメラ6は、2組の撮像機構のそれぞれが出力する画像間の視差に基づいて基本画像の各画素に写る物体とステレオカメラ6との間の距離を導き出す。そして、ステレオカメラ6は、基本画像の各画素の値に、導き出した距離を代入して二次元配列の距離情報としての入力距離画像を生成し、生成した入力距離画像を制御部1に対して出力する。そして、制御部1は、複数のステレオカメラ6からの複数の入力距離画像を用いて1つの出力距離画像を生成する。しかしながら、本発明はこの構成に限定されるものではない。例えば、画像生成装置100は、3つのステレオカメラのそれぞれにおける第1撮像機構が出力する3つの画像に基づいて第1出力画像(第1視点変換画像)を生成し、且つ、それら3つのステレオカメラのそれぞれにおける第2撮像機構が出力する3つの画像に基づいて第2出力画像(第2視点変換画像)を生成する。その上で、画像生成装置100は、第1視点変換画像と第2視点変換画像との間の視差に基づいて第1視点変換画像の各画素に写る物体と所定の基準点との間の距離を導き出すことにより、入力距離画像を用いることなく、出力距離画像を生成してもよい。   Further, in the above-described embodiment, the stereo camera 6 derives the distance between the object shown in each pixel of the basic image and the stereo camera 6 based on the parallax between the images outputted by each of the two sets of imaging mechanisms. Then, the stereo camera 6 substitutes the derived distance into the value of each pixel of the basic image to generate an input distance image as distance information of a two-dimensional array, and transmits the generated input distance image to the control unit 1 Output. Then, the control unit 1 generates one output distance image using a plurality of input distance images from the plurality of stereo cameras 6. However, the present invention is not limited to this configuration. For example, the image generating apparatus 100 generates a first output image (first viewpoint conversion image) based on three images output by the first imaging mechanism in each of three stereo cameras, and the three stereo cameras The second output image (second viewpoint conversion image) is generated based on the three images output by the second imaging mechanism in each of the above. In addition, the image generation apparatus 100 determines a distance between an object shown in each pixel of the first viewpoint converted image and a predetermined reference point based on the parallax between the first viewpoint converted image and the second viewpoint converted image. The output distance image may be generated without using the input distance image by deriving.

1・・・制御部 2・・・カメラ 2L・・・左側方カメラ 2R・・右側方カメラ 2B・・後方カメラ 3・・・入力部 4・・・記憶部 5・・・表示部 6・・・ステレオカメラ 6L・・・左側方ステレオカメラ 6R・・・右側方ステレオカメラ 6B・・・後方ステレオカメラ 10・・・座標対応付け手段 11・・・画像生成手段 12・・・画素抽出手段 13・・・距離補正手段 14・・・距離画像合成手段 15・・・運転支援手段 40・・・入力画像・空間モデル対応マップ 41・・・空間モデル・処理対象画像対応マップ 42・・・処理対象画像・出力画像対応マップ 60・・・ショベル 61・・・下部走行体 62・・・旋回機構 63・・・上部旋回体 64・・・キャブ 100・・・画像生成装置   DESCRIPTION OF SYMBOLS 1 ... Control part 2 ... Camera 2L ... Left-hand side camera 2 R .. Right-hand direction camera 2B. Stereo camera 6 L: Left-side stereo camera 6 R: Right-side stereo camera 6 B: Rear stereo camera 10: Coordinate matching means 11: Image generation means 12: Pixel extraction means 13 · · · Distance correction means 14 · · · distance image synthesis means 15 · · · driving assistance means 40 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · Output image correspondence map 60 · · · Shovel 61 · · · lower traveling body 62 · · · turning mechanism 63 · · · upper revolving body 64 · · · cab 100 · · · image generation device

Claims (7)

走行動作を行う下部走行体と、
前記下部走行体に旋回可能に搭載される上部旋回体と、
前記上部旋回体に取り付けられ、アタッチメントに含まれるブームと、
前記ブームに取り付けられ、前記アタッチメントに含まれるアームと、
前記上部旋回体に搭載され、画素毎に距離情報を取得するセンサと、
を有するショベルであって、
前記画素毎に距離情報を取得するセンサとは別に、カメラが前記上部旋回体に配置されている、
ショベル。
A lower traveling body that performs traveling operation,
An upper revolving unit rotatably mounted on the lower traveling unit;
A boom attached to the upper swing body and included in an attachment;
An arm attached to the boom and included in the attachment;
A sensor mounted on the upper revolving superstructure and acquiring distance information for each pixel;
A shovel having
A camera is disposed on the upper swing body separately from the sensor that acquires distance information for each pixel.
Excavator.
前記画素毎に距離情報を取得するセンサは、前記上部旋回体に少なくとも3つ備えられている、
請求項1に記載のショベル。
At least three sensors for acquiring distance information for each pixel are provided on the upper swing body,
The shovel according to claim 1.
前記画素毎に距離情報を取得するセンサの出力に基づき、ショベルを減速させ或いは停止させる、
請求項1又は2に記載のショベル。
The shovel is decelerated or stopped based on an output of a sensor that acquires distance information for each pixel.
The shovel according to claim 1 or 2.
前記画素毎の画素値を比較して所定の地物の有無を判断する、
請求項1乃至3の何れかに記載のショベル。
The pixel value of each pixel is compared to determine the presence or absence of a predetermined feature,
The shovel according to any one of claims 1 to 3.
所定の地物の距離画像を他の地物の距離画像から際立たせ、所定の地物の有無を判断する、
請求項1乃至4の何れかに記載のショベル。
Make the distance image of a predetermined feature stand out from the distance images of other features, and judge the presence or absence of the predetermined feature,
The shovel according to any one of claims 1 to 4.
前記画素値の変化で、所定の高さ以上となる地物の有無を判断する、
請求項4に記載のショベル。
The change in the pixel value is used to determine the presence or absence of a feature having a predetermined height or more.
The shovel according to claim 4.
前記画素毎に距離情報を取得するセンサは、ステレオカメラである、
請求項1乃至6の何れかに記載のショベル。
The sensor for acquiring distance information for each pixel is a stereo camera.
The shovel according to any one of claims 1 to 6.
JP2017171561A 2017-09-06 2017-09-06 Shovel Active JP6541734B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017171561A JP6541734B2 (en) 2017-09-06 2017-09-06 Shovel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017171561A JP6541734B2 (en) 2017-09-06 2017-09-06 Shovel

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017092544A Division JP6378801B2 (en) 2017-05-08 2017-05-08 Excavator

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018242841A Division JP7130547B2 (en) 2018-12-26 2018-12-26 Excavator and perimeter monitoring device for excavator

Publications (2)

Publication Number Publication Date
JP2018017115A JP2018017115A (en) 2018-02-01
JP6541734B2 true JP6541734B2 (en) 2019-07-10

Family

ID=61081511

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017171561A Active JP6541734B2 (en) 2017-09-06 2017-09-06 Shovel

Country Status (1)

Country Link
JP (1) JP6541734B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111601934A (en) * 2018-03-26 2020-08-28 住友建机株式会社 Excavator
CN111670287A (en) 2018-03-28 2020-09-15 住友建机株式会社 Excavator
JP7275108B2 (en) * 2018-03-30 2023-05-17 住友建機株式会社 Excavator
CN108608980A (en) * 2018-06-05 2018-10-02 徐工集团工程机械有限公司 Engineering truck and its control method
JP2019214824A (en) * 2018-06-11 2019-12-19 株式会社フジタ Working machine
JP7160606B2 (en) * 2018-09-10 2022-10-25 株式会社小松製作所 Working machine control system and method
KR20210106409A (en) 2018-10-19 2021-08-30 스미토모 겐키 가부시키가이샤 shovel
EP3934241A4 (en) * 2019-02-28 2022-04-20 Sumitomo Heavy Industries, Ltd. Display device, shovel, information processing device
JP2022035746A (en) * 2020-08-21 2022-03-04 株式会社小松製作所 Obstacle notification system for work machine and obstacle notification method for work machine
KR20240005261A (en) * 2022-07-04 2024-01-12 에이치디현대인프라코어 주식회사 Method and device for boundary recognition of construction site

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11213154A (en) * 1998-01-27 1999-08-06 Komatsu Ltd Remote control assisting device
JPH11222882A (en) * 1998-02-05 1999-08-17 Komatsu Ltd Dangerous zone monitoring device
JP2005258941A (en) * 2004-03-12 2005-09-22 Toyota Central Res & Dev Lab Inc Device for detecting obstacle
JP2008179940A (en) * 2005-03-31 2008-08-07 Hitachi Constr Mach Co Ltd Surrounding monitoring equipment of working machine
JP4420011B2 (en) * 2006-11-16 2010-02-24 株式会社日立製作所 Object detection device
JP2008144378A (en) * 2006-12-06 2008-06-26 Shin Caterpillar Mitsubishi Ltd Controller for remote controlled working machine

Also Published As

Publication number Publication date
JP2018017115A (en) 2018-02-01

Similar Documents

Publication Publication Date Title
JP6541734B2 (en) Shovel
JP6386213B2 (en) Excavator
JP6029306B2 (en) Perimeter monitoring equipment for work machines
JP6545430B2 (en) Shovel
JP6045865B2 (en) Excavator
JP6052881B2 (en) Perimeter monitoring equipment for work machines
JP6324665B2 (en) Perimeter monitoring equipment for work machines
JP6740259B2 (en) Work machine
JP6378801B2 (en) Excavator
JP5960007B2 (en) Perimeter monitoring equipment for work machines
JP6169381B2 (en) Excavator
JP6091821B2 (en) Excavator
JP5805574B2 (en) Perimeter monitoring equipment for work machines
JP6420432B2 (en) Excavator
JP2013205956A (en) Image generation method, image generation device and operation support system
JP2023078305A (en) Shovel
JP6257919B2 (en) Excavator
JP2018186575A (en) Shovel
JP6257918B2 (en) Excavator
JP2019004484A (en) Shovel
JP6302622B2 (en) Perimeter monitoring equipment for work machines
JP7237882B2 (en) Excavator
JP7130547B2 (en) Excavator and perimeter monitoring device for excavator
JP7454461B2 (en) excavator
JP2018186574A (en) Shovel

Legal Events

Date Code Title Description
A625 Written request for application examination (by other person)

Free format text: JAPANESE INTERMEDIATE CODE: A625

Effective date: 20170915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181009

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20181210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181226

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190611

R150 Certificate of patent or registration of utility model

Ref document number: 6541734

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150