JP3648563B2 - Method and apparatus for detecting reference position of annular image by omnidirectional imaging - Google Patents

Method and apparatus for detecting reference position of annular image by omnidirectional imaging Download PDF

Info

Publication number
JP3648563B2
JP3648563B2 JP2002108489A JP2002108489A JP3648563B2 JP 3648563 B2 JP3648563 B2 JP 3648563B2 JP 2002108489 A JP2002108489 A JP 2002108489A JP 2002108489 A JP2002108489 A JP 2002108489A JP 3648563 B2 JP3648563 B2 JP 3648563B2
Authority
JP
Japan
Prior art keywords
image
annular
annular image
omnidirectional imaging
reference line
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.)
Expired - Fee Related
Application number
JP2002108489A
Other languages
Japanese (ja)
Other versions
JP2003303335A (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.)
Sony Corp
Tateyama Machine Co Ltd
Original Assignee
Sony Corp
Tateyama Machine 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 Sony Corp, Tateyama Machine Co Ltd filed Critical Sony Corp
Priority to JP2002108489A priority Critical patent/JP3648563B2/en
Publication of JP2003303335A publication Critical patent/JP2003303335A/en
Application granted granted Critical
Publication of JP3648563B2 publication Critical patent/JP3648563B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Stereoscopic And Panoramic Photography (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Studio Circuits (AREA)
  • Closed-Circuit Television Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、全方位撮像レンズ(PAL)を用いて全方位撮影することにより得られた環状画像をパノラマ画像に変換する際に必要な基準位置を検出する方法および装置に係るものである。
【0002】
【発明が解決しようとする課題】
全方位撮像レンズを用いて撮影された画像は図1に示すように環状画像となる。この環状画像をMPUを用いて図2に示すようにパノラマ展開画像に変換する。この画像変換の際に、図1に示すように、中心座標位置と内円および外円の位置からなる画像変換のための基準位置が環状画像に適合しておれば、MPUは図2に示すように適正なパノラマ展開画像を得るように変換することができるが、図3に示すように基準位置が不適合な状態にあれば、パノラマ展開画像は図4に示すように湾曲したひずみ画像となってしまう。
【0003】
従来では、このようなパノラマ展開画像の湾曲ひずみを解消するために、全方位撮像光学系並びに撮像素子の機械的取り付け位置の精度を上げるべく機械的取り付けの調整を行ったり、あるいは、環状画像をディスプレイに表示して目視で展開領域の基準位置を決定していた。
【0004】
本発明の目的は、上記に鑑みなされたもので、撮像光学系並びに撮像素子の取り付け後の調整作業をソフトウエア技術を用いて吸収し機械的ハードウエア調整を不要にした、全方位撮像による環状画像の基準位置検出方法および装置を提供することにある。
【0005】
本発明の他の目的は、環状画像をパノラマ展開画像に変換する際の環状画像における基準位置を自動的に検出し決定するようにした、全方位撮像による環状画像の基準位置検出方法および装置を提供することにある。
【0006】
【課題を解決するための手段】
本発明の一態様によれば、表面に撮像領域の境界に対応する上限と下限(または内側と外側の限界)の位置に沿って例えば純度の高い赤色の環状基準線を印刷した全方位撮像レンズを用いて風景等を撮影すると、得られた環状画像中の撮影領域の内外境界に赤色の内円環状基準線と外円環状基準線が現れる。この環状画像を2値化処理して赤色の内円環状基準線と外円環状基準線のみを取り出した画像に変換し、この変換画像を用いて環状画像のパノラマ画像への展開領域を表す中心座標、内円半径および外円半径を求めるようにした、全方位撮像による環状画像の基準位置検出方法および装置を提供する。
【0007】
本発明の他の態様によれば、内壁面が単一色の包囲体で包囲された全方位撮像装置でその方位体を撮影し、撮像領域を明確化した環状画像を得て、この環状画像に基づいてその後に撮影される環状画像の中心座標、内円半径および外円半径からなるパノラマ画像への展開領域を表す基準位置を決定する、全方位撮像による環状画像の基準位置検出方法および装置を提供する。
【0008】
【発明の実施の形態】
図5は、本発明に係る全方位撮像による環状画像の基準位置検出装置を含む全体構成を示すブロック図である。
【0009】
図5において、全方位撮像レンズ1によって周囲360度の全方位にある被写体からの光線を受光し、撮像素子2に被写体像を映し出す。撮像素子2はその被写体像を電気信号に変換してデジタル画像データとしてMPU3へ転送する。MPU3は、そのデジタル画像データを図1に示すような環状画像としてメモリに保持し、かつ、図2に示すようなパノラマ展開画像に変換する。そして、このパノラマ画像はディスプレイ4によって表示される。
【0010】
図1の環状画像を図2のパノラマ展開画像に変換する際に、図に付加されている環状画像の中心座標位置、内円位置および外円位置からなる基準位置を正しく設定することが重要である。この基準位置は中心座標、内円半径および外円半径からなるものである。
【0011】
図5の全方位撮像レンズ1は、図6に示すように、入射光10は入射ガラス面11から入射し、反射面12で反射し更に上面の反射面で反射して結像光学系へ導かれる。反射面12にはミラーコーティングが施されている。このミラーコーティング6は、全方位撮像レンズ1を側面から見ると図7(a)に示すように帯状に、また下から見ると図7(b)のように環状に施されている。
【0012】
図7は全方位撮像レンズ1を示すもので、(a)はその側面図、(b)はその底面図である。全方位撮像レンズ1の表面には、図7に示すように、ミラーコーティング6に隣接し、撮像領域と非撮像領域の境界に対応する位置に沿って内側環状基準線7と外側環状基準線8を印刷する。内側と外側の環状基準線7、8は、ミラーコーティング6の直ぐ外側に位置されるようにしてもよい。また、環状基準線7、8はミラーコーティング部に替えて入射ガラス面に印刷されるようにしてもよい。
【0013】
環状基準線の色は、一般的な風景では比較的存在しにくい色、例えば純度の高い赤色などを用いるのが好ましいが、本システムが使用される環境に合わせて他の色、例えば純度の高い青色などを用いてもよい。即ち、環状基準線の色は、後述する2値化処理の際の環状基準線とそれ以外の画像とを識別して環状基準線のみを残すことができるしきい値を与えることができるように選択される。
【0014】
環状基準線の太さは画像処理が可能な画素数を確保できればよく、画像処理のし易さの点から約0.5mmの太さが好ましい。なお、環状基準線7、8はマスク法により印刷することができる。
【0015】
以上に説明したような環状基準線7、8が施された全方位撮像レンズ1を用いて風景を撮影すると、図8に示すように環状画像中に2つの環状基準線が写し込まれる。図8では、環状基準線は環状画像の内円および外円の直ぐ外側に写し込まれている。以下、図8に示す環状画像を用いてパノラマ画像への展開領域を示す基準位置、即ち、中心座標、内円半径および外円半径を求めるMPU3の動作手順について図9のフローチャートに従って説明する。
【0016】
図9において、ステップS1で撮影された図8に示す環状画像は、各画素について色と濃度を表すディジタルデータとしてMPU3内に保持されている。次にステップS2において、図8の原画像はMPU内に保持されているプログラムにしたがって2値化処理が行われる。この2値化処理は、各画素の濃度レベルをしきい値を境として2値化するもので、しきい値以上の濃度を持った画素を黒とし、しきい値未満の濃度の画素を白とする処理をおこなう。環状基準線の色を赤色にした場合は、2値化処理においては、純度90%の赤色以上を赤色とみなすようにしきい値を選ぶと、画素のしきい値はRGB(255*0.90、255*0.10、255*0.10)とすくことができる。また、マークの色に青色を選択したときは、2値化処理においては純度90%以上の青色を青色とみなすように、画素のしきい値をRGB(255*0.10、255*0.10、255*0.90)とすればよい。このように、環状基準線の色を変えたときは2値化しきい値もその色に合わせて変更することが必要である。
【0017】
2値化しきい値RGB(255*0.90、255*0.10、255*0.10)は、具体的には、ある画素の濃度成分が赤R?255*0.90、緑G<255*0.10、青B<255*0.10である時はその画素は図形部分(黒)として処理され、それ以外の部分は背景部分(白)として処理される。このようにして図8の環状画像を2値化処理すると図10に示すように内円環状基準線と外円環状基準線が表示される。環状画像をパノラマ画像に展開する際の展開領域を表す中心座標と内円半径と外円半径は、上記の内円環状基準線と外円環状基準線に基づいて後述の方法で求められる。
【0018】
次に、環状画像中に撮像画像領域を直接に写し込む方法および装置について説明する。
【0019】
全方位レンズ1と撮像素子2を含む全方位撮像装置14を、図11に示すように、白色で半透明の筒状ケース15の内側に位置し、この状態で全方位撮像装置14にて撮影すると、周囲360度の被写体が白色になるので、図12に示すように、写し込まれるべき有効画像領域と無効画像領域が明確に区別された環状画像を得ることができる。
【0020】
筒状ケース15は、図11(b)に示すように蓋16を付けてもよいし、同図(c)に示すように環状の照明体17で半透明の筒状ケースを包囲しケースの外側から照らして環状画像のコントラストを上げるようにすれば、図12に示す環状画像はより鮮明になる。また、同図(d)に示すように蓋16に照明体18を取り付けて、周囲が明るくなくても図12に示すような環状画像を得ることができるようにすることもできる。
【0021】
筒状ケース15は、半透明のアクリル等の材料で形成してもよいし、乱反射する材質の半透明部材を用いてもよい。ケース15は、全方位撮像装置14の周囲を包囲する事ができるものであれば必ずしもケース状の物でなくてもよい。また、ケース15は筒状ではなくて長方形状の物でもよく、また多角形の物でもよい。
【0022】
以上のようにして撮影された図12に示す環状画像に基づいて図1に示すような環状画像をパノラマ画像に展開する際の基準位置を定める中心座標と内円半径と外円半径を以下に述べる方法によって求めることができる。
【0023】
以下に図10または図12に示す環状画像からパノラマ画像への展開領域を規定する中心座標と内円半径と外円半径を求める方法および装置について説明する。
【0024】
図14を参照するに、ステップ20において、図10または図12における画像の中心座標から画像の4隅に向かって図13に実線で示すように順番にサーチして行き、内円のエッジを見つけ出したところの座標をメモリに記録する。このようにして内円上の4点の座標を求めることができる。なお、ここでの中心座標は例えば画素が200×200の場合は座標(100,100)の位置となるので、そこからのサーチ位置の座標は容易に決定することができる。
【0025】
ステップ21において、上記のようにして求められた内円上の4点の内任意の3点を通る円の方程式を従来知られた方法で求める。その結果、内円の中心座標位置と半径からなる内円情報を算出することができる。
【0026】
次にステップ22において、先に求めた内円から更に遠心方向に向かって図13に破線で示すようにサーチして外円のエッジを検出して、そのエッジの座標を求める。そしてステップ23で外円のエッジ座標と内円の中心座標から外円の半径を求める。この場合のサーチは、画像の中心座標から4隅に向かう直線上の内円の半径を起点として4隅に向かって行い、サーチの結果得られた外円上の4点の内の任意の3点を用いて外円の方程式を算出するようにしてもよいし、また、その4点から求めた外円の半径の平均値を求めて外円の半径としてもよい。
【0027】
なお、ステップ20において、先に外円のエッジを検出するようにし、それからステップ22で中心座標からサーチして内円のエッジを検出するようにしてもよい。また、サーチ方向を4隅から中心に向けて行うようにしてもよい。特に、図10と図12に示すように環状外円または環状内円がある幅を持っているときは、画像の中心と4隅を結ぶ直線上であって環状画像の有効画像領域の4点から中心部にまたは4隅に向かってサーチするようにするのがよい。なお、サーチは必ずしも中心と4隅とを結ぶ直線上でなくても、少なくとも中心からの3本の放射線上をサーチするようにしてもよい。
【0028】
次に、環状画像のパノラマ画像への展開領域を規定する中心座標、内円半径および外円半径を求めるための他の実施例について図15を参照して説明する。
【0029】
図15のステップ30において、図10および図12に示す環状画像にエッジ抽出フィルタを施す。エッジ抽出フィルタは隣接する画素の濃度を引き算して濃度差を求めるもので、濃度が急激に変化する画像のエッジ部即ち輪郭を抜き出す作用をする。従って、エッジ抽出フィルタを施すことによって、図10の画像は図16(a)のようになり、また、図12の画像は図16(b)のようになる。図16において、環状画像の有効画像領域即ち展開領域は、内円37と外円38の間にある環状部36である。従って、ステップ31において、円パターンを形成し、この円の中心点を画像の中心付近で移動させつつ各移動点でその円の半径を展開領域の中央から徐々に小さくなるように変化させ、各変化点における円パターンの円周上の各画素の濃度を加算して各円の濃度加算値を求める。濃度加算値は円パターンが環状画像の内円と重なり合わさった時に最も大きくなる。このステップでは環状画像の内円の中心座標とその半径求めることが目的であるから、画像の高さをHとすると中心点の移動範囲は環状画像の中心座標から上下左右に±H×0.25の範囲とする。また、円パターンの半径の変化範囲は、H×0.25よりも小さくH×0.1よりも大きい範囲とする。なお、円パターンの半径を徐々に変化して、半径の各変化点において中心位置を移動させるようにしてもよい。また、ステップ31では濃度加算値に替えて濃度平均値を求めてもよい。
【0030】
ステップ32において、ステップ31で求められた濃度加算値の内で最も大きいものを選定し、その円パターンの中心を環状画像の中心座標とし、また、その円の半径を環状画像の内円の半径とする。
【0031】
そして、ステップ33において、中心座標を中心とする円形パターンをその半径を内円半径+1の長さから徐々に大きくなるように変化させ、各半径の変化点における円パターンの円周に沿った画素の濃度値の平均値を求める。
【0032】
ステップ34において、最大の濃度平均値を持つ円の半径を外円の半径と決定する。
【0033】
以上のようにして、環状画像の中心座標位置、内円半径および外円半径からなる環状画像の基準位置を算出することができる。
【0034】
なお、以上のようにして決定された環状画像の基準位置により指定された領域、即ち環状画像のパノラマ画像への展開領域のみの画像データを他の装置へ転送するようにすれば、環状画像の転送速度を向上することができる。
【0035】
【発明の効果】
本発明によれば、環状画像の中心座標位置、内円の半径および外円の半径をソフトウエア技術を用いて自動的に計算して求めることができるので、機械的調整は不要となるばかりでなく、環状画像の展開領域を目視により決定する操作が不要となる。
【図面の簡単な説明】
【図1】全方位撮像レンズで撮影された環状画像の正常な展開領域を示した図である。
【図2】図1の環状画像を矩形に変換したパノラマ展開画像を示す図である。
【図3】不適当な展開領域を指定した状態を示す環状画像を示す図である。
【図4】図3のように不適当な展開領域を指定した結果得られたパノラマ展開画像を示す図である。
【図5】本発明の概略構成を示すブロック図である。
【図6】本発明に係る全方位撮像レンズの光学系を説明する説明図である。
【図7】本発明に係る環状基準線を全方位撮像レンズに印刷した状態を示す図である。
【図8】図7に示す全方位撮像レンズを用いて撮像した場合の環状画像を示す図である。
【図9】本発明を実施する場合の手順の1部を示すフローチャートである。
【図10】図8に示す環状画像に2値化処理を施した結果得られた画像を示す図である。
【図11】本発明の他の実施例を示す説明図である。
【図12】図11に示す構成を利用して撮影した環状画像を示す図である。
【図13】図10または図12を用いて基準位置を求める概念を説明するための図である。
【図14】図13に示す方法を実施するためのフロー図である。
【図15】本発明の他の実施例を示すフローチャートである。
【図16】図15の1ステップにおける説明図である。
【符号の説明】
1 全方位撮像レンズ
2 撮像素子
3 MPU
4 ディスプレイ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method and apparatus for detecting a reference position necessary for converting an annular image obtained by omnidirectional imaging using a omnidirectional imaging lens (PAL) into a panoramic image.
[0002]
[Problems to be solved by the invention]
An image photographed using the omnidirectional imaging lens becomes a ring image as shown in FIG. This annular image is converted into a panorama developed image using MPU as shown in FIG. At the time of this image conversion, as shown in FIG. 1, if the reference position for image conversion consisting of the center coordinate position and the position of the inner circle and the outer circle is adapted to the annular image, the MPU will be shown in FIG. However, if the reference position is in an incompatible state as shown in FIG. 3, the panorama developed image becomes a curved distortion image as shown in FIG. End up.
[0003]
Conventionally, in order to eliminate such curvature distortion of a panoramic developed image, adjustment of mechanical attachment is performed to increase the accuracy of the mechanical attachment position of the omnidirectional imaging optical system and the image sensor, or an annular image is displayed. The reference position of the development area was determined by visual display on the display.
[0004]
An object of the present invention has been made in view of the above, and is an annular by omnidirectional imaging that absorbs adjustment work after installation of an imaging optical system and an imaging element using software technology and does not require mechanical hardware adjustment. An object of the present invention is to provide an image reference position detection method and apparatus.
[0005]
Another object of the present invention is a method and apparatus for detecting the reference position of an annular image by omnidirectional imaging, which automatically detects and determines the reference position in the annular image when the annular image is converted into a panoramic developed image. It is to provide.
[0006]
[Means for Solving the Problems]
According to one aspect of the present invention, an omnidirectional imaging lens in which, for example, a high-purity red annular reference line is printed along the upper and lower (or inner and outer limits) positions corresponding to the boundary of the imaging region on the surface. When a landscape or the like is photographed using, a red inner annular reference line and an outer annular reference line appear at the inner and outer boundaries of the photographing region in the obtained annular image. This annular image is binarized and converted into an image in which only the red inner annular reference line and the outer annular reference line are extracted, and the center representing the development area of the annular image into the panoramic image using this converted image A method and apparatus for detecting a reference position of an annular image by omnidirectional imaging, in which coordinates, an inner circle radius, and an outer circle radius are obtained.
[0007]
According to another aspect of the present invention, an omnidirectional imaging device having an inner wall surface surrounded by a single color enclosure is photographed to obtain an annular image in which the imaging region is clarified, and the annular image is obtained. A method and apparatus for detecting a reference position of an annular image by omnidirectional imaging for determining a reference position representing a development area to a panoramic image composed of a center coordinate, an inner circle radius, and an outer circle radius of a ring image that is subsequently taken provide.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 5 is a block diagram showing an overall configuration including a reference position detection device for an annular image by omnidirectional imaging according to the present invention.
[0009]
In FIG. 5, the omnidirectional imaging lens 1 receives a light beam from a subject in all directions of 360 degrees around and displays a subject image on the image sensor 2. The image sensor 2 converts the subject image into an electrical signal and transfers it to the MPU 3 as digital image data. The MPU 3 holds the digital image data in a memory as a circular image as shown in FIG. 1, and converts it into a panoramic developed image as shown in FIG. This panoramic image is displayed on the display 4.
[0010]
When converting the annular image of FIG. 1 into the panorama developed image of FIG. 2, it is important to correctly set the reference position including the center coordinate position, inner circle position, and outer circle position of the annular image added to the figure. is there. This reference position consists of center coordinates, inner circle radius and outer circle radius.
[0011]
In the omnidirectional imaging lens 1 of FIG. 5, as shown in FIG. 6, incident light 10 is incident from an incident glass surface 11, reflected by a reflecting surface 12, and further reflected by a reflecting surface on the upper surface to be guided to an imaging optical system. It is burned. The reflecting surface 12 is mirror coated. When the omnidirectional imaging lens 1 is viewed from the side, the mirror coating 6 is formed in a belt shape as shown in FIG. 7A, and when viewed from the bottom, the mirror coating 6 is formed in an annular shape as shown in FIG. 7B.
[0012]
FIG. 7 shows the omnidirectional imaging lens 1, (a) is a side view thereof, and (b) is a bottom view thereof. On the surface of the omnidirectional imaging lens 1, as shown in FIG. 7, the inner annular reference line 7 and the outer annular reference line 8 are adjacent to the mirror coating 6 and correspond to the boundary between the imaging region and the non-imaging region. To print. The inner and outer annular reference lines 7, 8 may be located just outside the mirror coating 6. The annular reference lines 7 and 8 may be printed on the incident glass surface instead of the mirror coating portion.
[0013]
As the color of the circular reference line, it is preferable to use a color that is relatively difficult to exist in a general landscape, for example, a high-purity red color, but other colors such as a high-purity color are used according to the environment in which the system is used. Blue or the like may be used. That is, the color of the annular reference line can be given a threshold value that can distinguish between the annular reference line and other images in the binarization process described later and leave only the annular reference line. Selected.
[0014]
The thickness of the annular reference line only needs to ensure the number of pixels that can be processed, and is preferably about 0.5 mm from the viewpoint of ease of image processing. The annular reference lines 7 and 8 can be printed by a mask method.
[0015]
When a landscape is photographed using the omnidirectional imaging lens 1 provided with the annular reference lines 7 and 8 as described above, two annular reference lines are imprinted in the annular image as shown in FIG. In FIG. 8, the annular reference line is imprinted just outside the inner and outer circles of the annular image. Hereinafter, the operation procedure of the MPU 3 for obtaining the reference position indicating the development area to the panoramic image, that is, the center coordinates, the inner circle radius and the outer circle radius using the annular image shown in FIG. 8 will be described with reference to the flowchart of FIG.
[0016]
In FIG. 9, the annular image shown in FIG. 8 taken in step S1 is held in the MPU 3 as digital data representing the color and density for each pixel. Next, in step S2, the original image of FIG. 8 is binarized according to a program held in the MPU. This binarization process binarizes the density level of each pixel with a threshold as a boundary. A pixel having a density equal to or higher than the threshold is set to black, and a pixel having a density lower than the threshold is set to white. Perform the process. When the color of the annular reference line is red, in the binarization process, if the threshold value is selected so that red with a purity of 90% or more is regarded as red, the pixel threshold value is RGB (255 * 0.90). 255 * 0.10, 255 * 0.10). When blue is selected as the color of the mark, the threshold value of the pixel is set to RGB (255 * 0.10, 255 * 0...) So that blue having a purity of 90% or more is regarded as blue in the binarization process. 10, 255 * 0.90). As described above, when the color of the annular reference line is changed, it is necessary to change the binarization threshold according to the color.
[0017]
Specifically, in the binarization threshold RGB (255 * 0.90, 255 * 0.10, 255 * 0.10), the density component of a certain pixel is red R? When 255 * 0.90, green G <255 * 0.10, and blue B <255 * 0.10, the pixel is processed as a graphic part (black), and the other part as a background part (white) It is processed. When the annular image in FIG. 8 is binarized in this way, an inner annular reference line and an outer annular reference line are displayed as shown in FIG. The center coordinates, the inner circle radius, and the outer circle radius representing the development area when the annular image is developed into the panoramic image are obtained by the method described later based on the inner annular reference line and the outer annular reference line.
[0018]
Next, a method and apparatus for directly capturing a captured image area in a ring image will be described.
[0019]
As shown in FIG. 11, the omnidirectional imaging device 14 including the omnidirectional lens 1 and the imaging device 2 is positioned inside a white, translucent cylindrical case 15, and is photographed by the omnidirectional imaging device 14 in this state. As a result, the 360 ° surrounding subject turns white, and as shown in FIG. 12, an annular image in which the effective image area and the invalid image area to be imprinted are clearly distinguished can be obtained.
[0020]
The cylindrical case 15 may be provided with a lid 16 as shown in FIG. 11 (b), or as shown in FIG. 11 (c), the annular illuminating body 17 surrounds the translucent cylindrical case and If the contrast of the annular image is increased from the outside, the annular image shown in FIG. 12 becomes clearer. Further, as shown in FIG. 12D, an illuminating body 18 may be attached to the lid 16 so that an annular image as shown in FIG. 12 can be obtained even if the surroundings are not bright.
[0021]
The cylindrical case 15 may be formed of a material such as translucent acrylic or a semitransparent member made of a material that irregularly reflects. The case 15 is not necessarily a case-like object as long as it can surround the omnidirectional imaging device 14. Further, the case 15 may be a rectangular object instead of a cylinder, or may be a polygonal object.
[0022]
Based on the annular image shown in FIG. 12 taken as described above, the center coordinates, the inner circle radius, and the outer circle radius for defining the reference position when the annular image as shown in FIG. It can be determined by the method described.
[0023]
A method and apparatus for determining the center coordinates, inner circle radius, and outer circle radius defining the development region from the annular image to the panoramic image shown in FIG. 10 or FIG. 12 will be described below.
[0024]
Referring to FIG. 14, in step 20, search is performed in order from the center coordinates of the image in FIG. 10 or 12 toward the four corners of the image as indicated by solid lines in FIG. Record the coordinates in memory. In this way, the coordinates of the four points on the inner circle can be obtained. The center coordinates here are, for example, the position of coordinates (100, 100) when the pixel is 200 × 200, and the coordinates of the search position from there can be easily determined.
[0025]
In step 21, an equation of a circle passing through any three of the four points on the inner circle obtained as described above is obtained by a conventionally known method. As a result, inner circle information including the center coordinate position and radius of the inner circle can be calculated.
[0026]
Next, at step 22, the edge of the outer circle is detected by searching as shown by the broken line in FIG. 13 from the inner circle obtained previously toward the centrifugal direction, and the coordinates of the edge are obtained. In step 23, the radius of the outer circle is obtained from the edge coordinates of the outer circle and the center coordinates of the inner circle. The search in this case is performed toward the four corners starting from the radius of the inner circle on the straight line from the center coordinates of the image toward the four corners, and any three of the four points on the outer circle obtained as a result of the search. The equation of the outer circle may be calculated using points, or the average value of the radii of the outer circle obtained from the four points may be obtained as the radius of the outer circle.
[0027]
In step 20, the edge of the outer circle may be detected first, and then the edge of the inner circle may be detected by searching from the center coordinates in step 22. Further, the search direction may be performed from the four corners toward the center. In particular, as shown in FIGS. 10 and 12, when the annular outer circle or the annular inner circle has a certain width, the four points of the effective image area of the annular image are on a straight line connecting the center and the four corners of the image. It is preferable to search from the center to the center or toward the four corners. Note that the search is not necessarily performed on a straight line connecting the center and the four corners, and at least three radiations from the center may be searched.
[0028]
Next, another embodiment for obtaining center coordinates, inner circle radii, and outer circle radii that define a development area of a ring image to a panoramic image will be described with reference to FIG.
[0029]
In step 30 of FIG. 15, an edge extraction filter is applied to the annular image shown in FIGS. The edge extraction filter subtracts the density of adjacent pixels to obtain a density difference, and acts to extract an edge portion, that is, an outline of an image in which the density changes rapidly. Therefore, by applying the edge extraction filter, the image of FIG. 10 becomes as shown in FIG. 16A, and the image of FIG. 12 becomes as shown in FIG. In FIG. 16, the effective image area, that is, the development area of the annular image is an annular portion 36 between the inner circle 37 and the outer circle 38. Therefore, in step 31, a circle pattern is formed, and the center point of the circle is moved near the center of the image, and the radius of the circle is changed gradually from the center of the development area at each moving point, The density addition value of each circle is obtained by adding the density of each pixel on the circumference of the circle pattern at the change point. The density addition value becomes the largest when the circle pattern overlaps the inner circle of the annular image. Since the purpose of this step is to find the center coordinates and the radius of the inner circle of the annular image, if the height of the image is H, the movement range of the center point is ± H × 0. The range is 25. In addition, the change range of the radius of the circular pattern is set to a range smaller than H × 0.25 and larger than H × 0.1. Note that the radius of the circular pattern may be gradually changed, and the center position may be moved at each radius change point. In step 31, a density average value may be obtained instead of the density addition value.
[0030]
In step 32, the largest one of the density addition values obtained in step 31 is selected, the center of the circle pattern is set as the center coordinate of the annular image, and the radius of the circle is the radius of the inner circle of the annular image. And
[0031]
In step 33, the circular pattern centered on the center coordinate is changed so that its radius gradually increases from the length of the inner circle radius + 1, and pixels along the circumference of the circular pattern at the change point of each radius. The average value of the concentration values is obtained.
[0032]
In step 34, the radius of the circle having the maximum density average value is determined as the radius of the outer circle.
[0033]
As described above, the reference position of the annular image including the center coordinate position of the annular image, the inner circle radius, and the outer circle radius can be calculated.
[0034]
If the image data of only the area designated by the reference position of the annular image determined as described above, that is, the development area of the annular image to the panoramic image is transferred to another device, The transfer speed can be improved.
[0035]
【The invention's effect】
According to the present invention, since the center coordinate position of the annular image, the radius of the inner circle, and the radius of the outer circle can be automatically calculated using software technology, mechanical adjustment is not necessary. In addition, an operation for visually determining the development area of the annular image becomes unnecessary.
[Brief description of the drawings]
FIG. 1 is a diagram showing a normal development region of an annular image photographed by an omnidirectional imaging lens.
FIG. 2 is a view showing a panoramic developed image obtained by converting the annular image of FIG. 1 into a rectangle.
FIG. 3 is a diagram showing an annular image showing a state in which an inappropriate development area is designated.
4 is a view showing a panorama development image obtained as a result of specifying an inappropriate development area as shown in FIG. 3; FIG.
FIG. 5 is a block diagram showing a schematic configuration of the present invention.
FIG. 6 is an explanatory diagram for explaining an optical system of an omnidirectional imaging lens according to the present invention.
FIG. 7 is a diagram illustrating a state where an annular reference line according to the present invention is printed on an omnidirectional imaging lens.
FIG. 8 is a diagram showing a ring image in the case of imaging using the omnidirectional imaging lens shown in FIG.
FIG. 9 is a flowchart showing a part of a procedure for carrying out the present invention.
10 is a diagram showing an image obtained as a result of performing binarization processing on the annular image shown in FIG. 8;
FIG. 11 is an explanatory diagram showing another embodiment of the present invention.
12 is a view showing a ring image taken using the configuration shown in FIG. 11. FIG.
FIG. 13 is a diagram for explaining a concept of obtaining a reference position using FIG. 10 or FIG.
FIG. 14 is a flowchart for carrying out the method shown in FIG. 13;
FIG. 15 is a flowchart showing another embodiment of the present invention.
16 is an explanatory diagram of one step in FIG. 15;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Omnidirectional imaging lens 2 Imaging element 3 MPU
4 display

Claims (3)

撮像領域と非撮像領域の内側と外側の境界に対応する表面位置に沿って環状基準線が印刷された全方位撮像レンズを用いて環状画像を撮像するステップと、
前記環状画像中から前記環状基準線の画像を抽出することにより、環状画像中における前記境界を抽出するステップと、
前記環状画像中から抽出された境界の位置に基づいて、環状画像をパノラマ画像へ展開する際の環状画像の展開領域を指定する基準位置を求めるステップと、
を含む、全方位撮像による環状画像の基準位置検出方法。
Imaging an annular image using an omnidirectional imaging lens with an annular reference line printed along a surface position corresponding to the inner and outer boundaries of the imaging and non-imaging regions;
Extracting the boundary in the annular image by extracting an image of the annular reference line from the annular image;
Obtaining a reference position for designating a development area of the annular image when developing the annular image into a panoramic image based on the position of the boundary extracted from the annular image;
A method for detecting a reference position of an annular image by omnidirectional imaging.
請求項1に記載の基準位置検出方法であって、
前記境界を抽出するステップは、前記環状基準線の色と当該環状基準線以外の環状画像とを峻別する閾値を用いて環状画像に対し2値化処理を施することにより、環状基準線の画像を抽出するステップを含むことを特徴とする基準位置検出方法。
The reference position detection method according to claim 1,
In the step of extracting the boundary, an image of the annular reference line is obtained by performing binarization processing on the annular image using a threshold value for distinguishing the color of the annular reference line from the annular image other than the annular reference line. A method for detecting a reference position, comprising the step of extracting.
撮像領域と非撮像領域の内側と外側の境界に対応する表面位置に沿って環状基準線が印刷された全方位撮像レンズを用いて環状画像を撮像する全方位撮像装置と、
前記全方位撮像装置により撮像された環状画像中から前記環状基準線の画像を抽出することにより、環状画像中における前記境界を抽出し、当該境界の位置に基づいて、環状画像をパノラマ画像へ展開する際の環状画像の展開領域を指定する基準位置を求める手段と、
を備える、全方位撮像による環状画像の基準位置検出装置。
An omnidirectional imaging device that captures an annular image using an omnidirectional imaging lens printed with an annular reference line along a surface position corresponding to the inner and outer boundaries of the imaging region and the non-imaging region;
By extracting the image of the annular reference line from the annular image captured by the omnidirectional imaging device, the boundary in the annular image is extracted, and the annular image is developed into a panoramic image based on the position of the boundary. Means for obtaining a reference position for designating a development area of the annular image when
An apparatus for detecting a reference position of an annular image by omnidirectional imaging.
JP2002108489A 2002-04-10 2002-04-10 Method and apparatus for detecting reference position of annular image by omnidirectional imaging Expired - Fee Related JP3648563B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002108489A JP3648563B2 (en) 2002-04-10 2002-04-10 Method and apparatus for detecting reference position of annular image by omnidirectional imaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002108489A JP3648563B2 (en) 2002-04-10 2002-04-10 Method and apparatus for detecting reference position of annular image by omnidirectional imaging

Publications (2)

Publication Number Publication Date
JP2003303335A JP2003303335A (en) 2003-10-24
JP3648563B2 true JP3648563B2 (en) 2005-05-18

Family

ID=29392259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002108489A Expired - Fee Related JP3648563B2 (en) 2002-04-10 2002-04-10 Method and apparatus for detecting reference position of annular image by omnidirectional imaging

Country Status (1)

Country Link
JP (1) JP3648563B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5654426B2 (en) * 2011-09-08 2015-01-14 鹿島建設株式会社 Bar arrangement inspection equipment
CN116188298B (en) * 2022-12-27 2023-08-04 中国矿业大学 Method for undistorted unfolding of annular image of inner wall of drill hole with center offset

Also Published As

Publication number Publication date
JP2003303335A (en) 2003-10-24

Similar Documents

Publication Publication Date Title
JP5073996B2 (en) Image processing device
JP2000182021A (en) Meter reader
US7460705B2 (en) Head-top detecting method, head-top detecting system and a head-top detecting program for a human face
JP2001023091A (en) Picture display device for vehicle
JP3648563B2 (en) Method and apparatus for detecting reference position of annular image by omnidirectional imaging
JP3745302B2 (en) Method and apparatus for detecting reference position of annular image by omnidirectional imaging
JP4581424B2 (en) Appearance inspection method and image processing apparatus
JP3677586B2 (en) Method and apparatus for detecting reference position of annular image by omnidirectional imaging
JP3705591B2 (en) Method and apparatus for detecting reference position of annular image by omnidirectional imaging
JP2003244531A (en) Image input apparatus
JP3745301B2 (en) Method and apparatus for detecting reference position of annular image by omnidirectional imaging
JP2013247531A (en) Image processing apparatus and document reading system comprising the same
TW416214B (en) Scanning device and recognition method capable of automatically identifying the range of object scanned
KR100392329B1 (en) A Camera Appratus To Take Full Direction Image
JP7371753B2 (en) Projection control device, projection device, correction image projection method and program
JP2004309568A (en) Omnidirectional photographing device
JP2019140449A (en) Imaging apparatus, control method and control program
JP2005117316A (en) Apparatus and method for photographing and program
JP7071861B2 (en) Marker detection system
JP2008199550A (en) Image processing device and image processing method
JP2001027614A (en) Bottle bottom inspecting method
JPH02253384A (en) Character reader
JP2000194831A (en) Method and device for extracting identification area image
JPH1054807A (en) Apparatus for inspecting side face of mouth of bottle
JP4979456B2 (en) Object search device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040831

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041028

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050125

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees