JP2012103805A - Image processing system and its processing method - Google Patents

Image processing system and its processing method Download PDF

Info

Publication number
JP2012103805A
JP2012103805A JP2010250160A JP2010250160A JP2012103805A JP 2012103805 A JP2012103805 A JP 2012103805A JP 2010250160 A JP2010250160 A JP 2010250160A JP 2010250160 A JP2010250160 A JP 2010250160A JP 2012103805 A JP2012103805 A JP 2012103805A
Authority
JP
Japan
Prior art keywords
image
projection method
auxiliary line
adjustment
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010250160A
Other languages
Japanese (ja)
Inventor
Tomoaki Kikuchi
智昭 菊地
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2010250160A priority Critical patent/JP2012103805A/en
Publication of JP2012103805A publication Critical patent/JP2012103805A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a system with which the distortion correction can be easily and properly performed in accordance with an optical projection method even in an image taken by a super wide-field optical system lens such as a fisheye lens.SOLUTION: An image processing system includes an image input part 200 for inputting an image to be corrected on a display device, a projection method change part 201 for changing an image which conforms to a first projection method which is a unique optical property for the image to be corrected to a second projection method based on an operation performed by an operator, an adjustment auxiliary line creating part 205 for creating an adjustment auxiliary line corresponding to the second projection method, display parts 202 and 206 for making the adjustment auxiliary line created by the adjustment auxiliary line creation part 205 together with the image changed by the second projection method displayed on the display device, and a distortion correction performing part 203 for performing the distortion correction of the image according to the second projection method based on an operation of the operator.

Description

本発明は、画像処理装置及びその処理方法に関し、特に、超広視野を実現する魚眼レンズの単焦点あるいはズーム光学系を用いて撮像された画像の画像処理手法に関する。   The present invention relates to an image processing apparatus and a processing method thereof, and more particularly to an image processing method for an image captured using a single-focus or zoom optical system of a fish-eye lens that realizes an ultra-wide field of view.

魚眼光学系や全方位光学系等に代表される超広視野光学系は、監視・遠隔操作、TV会議、医療用内視鏡、科学的測量等の様々な分野で利用されている。その特徴は、画角180度前後の超広視野像を特殊な射影方式により撮像面の有限領域に投影可能な点である。これにより、一般的な中心射影(透視投影)方式で撮像する撮像装置では理論的に撮像できないような超広視野像を撮像できる。   Ultra-wide-field optical systems such as fish-eye optical systems and omnidirectional optical systems are used in various fields such as monitoring / remote control, videoconferencing, medical endoscopes, scientific surveying, and the like. Its feature is that an ultra-wide field image with an angle of view of about 180 degrees can be projected onto a finite region of the imaging surface by a special projection method. Accordingly, it is possible to capture an ultra-wide field image that cannot be theoretically captured by an image capturing apparatus that captures images by a general central projection (perspective projection) method.

しかしながら、超広視野像を撮像するための魚眼光学系等の特殊な射影方式の光学系は、撮像される像の被写体形状を歪ませるため、人間が観察する観点では本来の被写体形状との相違が著しい。それでも、その特殊な射影方式には、それぞれの目的、利用意図があり、とくに測量等に使用する目的の場合は、その歪みにみえる部分が光学的に正しい画像であることが望まれる。   However, a special projection optical system such as a fish-eye optical system for capturing an ultra-wide-field image distorts the subject shape of the image to be captured. The difference is significant. Nevertheless, each special projection method has its own purpose and purpose of use. Especially for purposes of surveying and the like, it is desirable that the part that appears to be a distortion is an optically correct image.

ここで、魚眼レンズを含む、いわゆる超広視野光学系レンズにおける光学的な射影方式について言及しておく。   Here, mention is made of an optical projection method in a so-called ultra-wide field optical system lens including a fish-eye lens.

魚眼レンズとは本来、180度前後の視野を感光面に射影できる屈折レンズを指すが、ここでは反射鏡やプリズムを用いて広視野を得る光学系も含めて魚眼レンズと呼ぶ。厳密には、魚眼レンズは広い画角によってではなく、その射影方式によって定義される。簡単にその射影の種類について述べる。   A fish-eye lens is a refractive lens that can project a field of view around 180 degrees onto a photosensitive surface, but here it is referred to as a fish-eye lens, including an optical system that obtains a wide field of view using a reflector or prism. Strictly speaking, a fisheye lens is defined not by a wide angle of view but by its projection method. The projection type is briefly described.

以下、射影方式の原理に関して図8を参照して説明する。
図8は、射影方式の原理、特に、正射影方式の原理を説明するイメージ図である。
Hereinafter, the principle of the projection method will be described with reference to FIG.
FIG. 8 is an image diagram illustrating the principle of the projection method, in particular, the principle of the orthographic projection method.

図8において、半球面Gは、魚眼レンズによって結像面上に結像される画像の範囲を直径とした仮想球面である。ここで、すべての射影方式において、画像の中心Oが球面Gの天頂に相当する。そして画像内の一点P(これを像点と呼ぶ)に着目する。   In FIG. 8, a hemispherical surface G is a virtual spherical surface whose diameter is a range of an image formed on the imaging surface by the fisheye lens. Here, the center O of the image corresponds to the zenith of the spherical surface G in all projection methods. Then, pay attention to one point P (referred to as an image point) in the image.

それぞれの射影方式による画像における中心Oからその像点Pまでの距離(これを像高と呼ぶ)は入射光の天頂角(入射角と呼ぶ)と特定の関係がある。ここで、像高をrp、入射角をθとしてその関係を数式で表す。   The distance (referred to as image height) from the center O to the image point P in each projection method image has a specific relationship with the zenith angle (referred to as the incident angle) of the incident light. Here, the image height is rp, the incident angle is θ, and the relationship is expressed by a mathematical expression.

(a)等距離射影方式(Equidistant Projection)
像高rpは、入射角θに比例する。一般的な魚眼レンズに多い。
rp ∝ θ ・・・(式1)
(A) Equidistant Projection
The image height rp is proportional to the incident angle θ. Many common fisheye lenses.
rp ∝ θ (Formula 1)

(b)平射影方式(Stereographic Projection)
像高rpは、入射角θの半角の正接に比例する。
rp ∝ tan(θ/2) ・・・(式2)
(B) Stereographic Projection
The image height rp is proportional to the tangent of the half angle of the incident angle θ.
rp ∝ tan (θ / 2) (Formula 2)

(c)等立体角射影方式(Equisolidangle Projection)
像高rpは、入射角θの半角の正弦に比例する。
rp ∝ sin(θ/2) ・・・(式3)
被写体のとる立体角と像の面積が比例するという特徴があり、画面上の面積を測定することで、被写体の面積比が正しく出せる。この特徴を利用して、全天の雲量測定や森林の植生分布などの測量に利用される。
(C) Equisolidangle Projection
The image height rp is proportional to the half angle sine of the incident angle θ.
rp ∝ sin (θ / 2) (Formula 3)
The feature is that the solid angle taken by the subject is proportional to the area of the image, and by measuring the area on the screen, the area ratio of the subject can be obtained correctly. By using this feature, it is used for surveying the amount of clouds over the whole sky and the distribution of vegetation in forests.

(d)正射影方式(Orthographic Projection)
像高rpは、入射角θの正弦に比例する。
rp ∝ sin θ ・・・(式4)
これは、天球をそのままフィルム面、像側に射影したものに等しい。画面に占める面光源の面積が撮影した場所での照度に比例という特徴があり、これより照度測定や建築照明など学術研究用途に利用されることが多い。
例示した図8は上記(d)の正射影方式に相当する射影原理イメージになる。
(D) Orthographic Projection
The image height rp is proportional to the sine of the incident angle θ.
rp ∝ sin θ (Expression 4)
This is equivalent to the celestial sphere projected directly onto the film surface and the image side. It is characterized by the fact that the area of the surface light source occupying the screen is proportional to the illuminance at the location where the image was taken.
The illustrated FIG. 8 is a projection principle image corresponding to the orthographic projection method of (d) above.

従来の歪曲補正と呼ばれる画像補正処理は、歪みのない中心射影画像に変換するものである。通常の光学レンズは、中心射影方式で撮像されるよう光学設計されているが、それでも、像高の大きな領域では、レンズの特性、製造誤差など、さまざまな要因で歪みが残っている場合がある。歪曲補正は、この歪みがないように補正するものである。   Conventional image correction processing called distortion correction is to convert a center projected image without distortion. Ordinary optical lenses are optically designed to be imaged using the central projection method, but still, distortion may remain due to various factors such as lens characteristics and manufacturing errors in large image height areas. . The distortion correction is performed so as not to have this distortion.

また、歪曲補正処理において魚眼レンズで撮影した画像に対応しようとする考案も多数開示されている。即ち、魚眼レンズで撮影された歪みを有する画像から、歪みのない画像を生成しようとするものである。   A number of ideas for dealing with images taken with a fisheye lens in distortion correction processing have also been disclosed. That is, an image without distortion is generated from an image having distortion photographed with a fisheye lens.

例えば、下記の特許文献1では、等距離射影方式の魚眼レンズで撮影された画像データを中心射影方式の画像に変換する画像変換装置が開示されている。
更には、特許文献2においては、同じく魚眼レンズの撮像画像データを中心射影方式に変換する画像変換装置が開示されている。
For example, Patent Document 1 below discloses an image conversion apparatus that converts image data captured by a fisheye lens of an equidistant projection method into an image of a central projection method.
Furthermore, Patent Document 2 discloses an image conversion device that similarly converts captured image data of a fisheye lens into a central projection method.

魚眼レンズでは、前述したように、それぞれの射影方式により画像の写り方が異なり、特に像高の高い部分と中心領域では撮像されている物体の形状が本来のものとは大きく異なる。   As described above, in the fish-eye lens, the way the image is captured differs depending on the projection method, and the shape of the object being picked up is particularly different from the original one in the high image height portion and the central region.

図9は、魚眼レンズによる撮影画像を中心射影に変換した場合の画像のイメージ図である。具体的に、図9(a)は、魚眼レンズによる撮影画像のイメージ図である。そして、この画像イメージ図を、歪みのない中心射影に変換することを目的とした従来の歪曲補正したものが図9(b)に示したものである。この図9からもわかるように、像高の大きな部分で、同心円の間隔が広がり、画像が元の画像よりも横方向に非常に大きくなる。   FIG. 9 is an image diagram of an image obtained by converting a photographed image by a fisheye lens into a central projection. Specifically, FIG. 9A is an image diagram of a captured image using a fisheye lens. FIG. 9B shows a conventional distortion-corrected image for the purpose of converting the image into a central projection without distortion. As can be seen from FIG. 9, the interval between concentric circles is widened at a portion where the image height is large, and the image becomes much larger in the lateral direction than the original image.

このような画像の歪曲補正の微調整を支援するための画像処理装置上のユーザーインターフェースも案出されている。例えば、撮影時のレンズに対する歪曲収差補正について、撮影距離などのパラメータを調整しながら調整用補助線としての水平垂直線を画像にオーバーレイ(重ねて)表示することで、この調整用補助線である直線を目安に、補正具合を調整する機能が案出されている。   A user interface on the image processing apparatus for supporting such fine adjustment of image distortion correction has also been devised. For example, for correction of distortion aberration for a lens at the time of shooting, this adjustment auxiliary line is displayed by overlaying (overlapping) a horizontal and vertical line as an adjustment auxiliary line while adjusting parameters such as a shooting distance. A function has been devised to adjust the correction level using straight lines as a guide.

特開2007−156795号公報JP 2007-156895 A 特開2008−301052号公報JP 2008-301052 A

今までは、歪みのない中心射影の画像を得ることを目的としていたので、前述したように撮影された被写体あるいは調整用補助線の水平垂直線を目安として歪曲収差補正を行っていた。   Until now, the objective was to obtain an image of a central projection with no distortion. Therefore, as described above, distortion aberration correction was performed using the subject or the horizontal and vertical lines of the adjustment auxiliary line as a guide.

ここで、中心射影方式ではなく、上述した等距離射影方式や平射影方式といった特殊な射影方式における正確な画像を得たいという要望もある。つまり、魚眼レンズに含まれる光学特性による誤差や、射影方式の変換処理による演算誤差などを除去した、それぞれの射影方式で求められる理想的な歪みを高い精度で満たした画像が望まれることがある。しかしながら、このような特殊な射影方式の画像については、もともと水平垂直線が歪んでいる状態が正常であるため、この誤差の補正を高精度に行う際に、画像中の被写体や調整確認用に表示されている補助線の水平垂直線を目安として用いることができない。   Here, there is a demand for obtaining an accurate image in a special projection method such as the equidistant projection method and the flat projection method described above instead of the central projection method. In other words, an image satisfying ideal distortion required for each projection method with high accuracy, in which an error due to optical characteristics included in the fisheye lens and a calculation error due to the conversion processing of the projection method are removed may be desired. However, for such special projection images, it is normal that the horizontal and vertical lines are originally distorted, so when correcting this error with high accuracy, it is necessary to confirm the subject in the image and the adjustment confirmation. The horizontal and vertical lines of the displayed auxiliary line cannot be used as a guide.

更には、前述したように各射影方式による魚眼画像には、それぞれ学術的な利用目的がある場合があり、歪みを完全に無くした通常の画像ではなく、任意の射影方式で魚眼レンズとして光学的、幾何学的に正しい撮影画像が補正後の画像として必要である。それゆえに、特殊な射影方式の理想的な画像を得るための光学特性の補正としての歪曲補正の重要性が高い。ここでいう歪曲補正とは、所定の射影方式で求められる理想的な歪みとの誤差によって生じる歪みを解消するための補正処理を指している。即ち、この歪曲補正は、中心射影方式だけではなく、等距離射影方式や平射影方式といった理想的な歪みが定義されている特殊な射影方式の画像を得るための補正処理を含むものとする。   Furthermore, as described above, the fish-eye images obtained by each projection method may each have an academic purpose, and are not ordinary images in which distortion is completely eliminated. A geometrically correct captured image is required as the corrected image. Therefore, the importance of distortion correction as correction of optical characteristics for obtaining an ideal image of a special projection method is high. The distortion correction here refers to correction processing for eliminating distortion caused by an error from an ideal distortion obtained by a predetermined projection method. That is, this distortion correction includes not only the center projection method but also a correction process for obtaining an image of a special projection method in which ideal distortion is defined, such as an equidistant projection method and a flat projection method.

本発明は、このような問題点に鑑みてなされたものであり、魚眼レンズのようないわゆる超広視野光学系レンズで撮影された画像においても、光学的射影方式に応じて歪曲補正を簡便かつ適切に補正することができる仕組みを提供することを目的とする。   The present invention has been made in view of such problems, and even in an image taken with a so-called ultra-wide field optical system lens such as a fisheye lens, distortion correction can be easily and appropriately performed according to the optical projection method. It is an object of the present invention to provide a mechanism that can be corrected.

本発明の画像処理装置は、表示装置に表示された操作画面にしたがって補正対象の画像を補正する画像処理装置であって、前記表示装置に前記補正対象の画像を入力する画像入力手段と、操作者の操作に基づいて、前記補正対象の画像に固有の光学特性としての第1の射影方式による画像を第2の射影方式に変換する射影方式変換手段と、前記第2の射影方式に応じた調整用補助線を作成する調整補助線作成手段と、前記調整補助線作成手段によって作成された調整用補助線を前記表示装置に前記第2の射影方式によって変換された画像とともにオーバーレイ表示する表示手段と、操作者の操作に基づいて、前記第2の射影方式による画像の歪曲補正を行う歪曲補正実行手段とを有する。
また、本発明は、上述した画像処理装置による画像処理方法、及び、当該画像処理方法をコンピュータに実行させるためのプログラム、並びに、当該プログラムを記憶するコンピュータ読み取り可能な記憶媒体を含む。
An image processing apparatus according to the present invention is an image processing apparatus that corrects an image to be corrected according to an operation screen displayed on a display device, an image input unit that inputs the image to be corrected to the display device, and an operation A projection method conversion means for converting an image based on the first projection method as an optical characteristic specific to the image to be corrected into a second projection method based on an operation by a person, and a method corresponding to the second projection method Adjustment auxiliary line generating means for generating adjustment auxiliary lines, and display means for displaying the adjustment auxiliary lines generated by the adjustment auxiliary line generating means on the display device together with an image converted by the second projection method. And distortion correction execution means for performing image distortion correction by the second projection method based on the operation of the operator.
The present invention also includes an image processing method by the above-described image processing apparatus, a program for causing a computer to execute the image processing method, and a computer-readable storage medium that stores the program.

本発明によれば、魚眼レンズで撮影したような中心射影でない画像であっても、光学的射影方式に応じて歪曲補正を簡便かつ適切に補正することができる仕組みを提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, even if it is an image which is not center projection which was image | photographed with the fisheye lens, the mechanism which can correct | amend distortion correction simply and appropriately according to an optical projection system can be provided.

本発明の実施形態に係る画像処理装置の概略ハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of schematic hardware constitutions of the image processing apparatus which concerns on embodiment of this invention. 本発明の第1の実施形態に係る画像処理装置の変換補正装置の概略システム構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a schematic system configuration of a conversion correction apparatus of an image processing apparatus according to a first embodiment of the present invention. 本発明の第1の実施形態を示し、画像処理アプリケーションプログラムの起動にしたがって表示装置に表示される歪曲補正操作画面の一例を示す模式図である。It is a schematic diagram which shows the 1st Embodiment of this invention and shows an example of the distortion correction operation screen displayed on a display apparatus according to starting of an image processing application program. 本発明の第1の実施形態に係る画像処理装置において、画像とともにオーバーレイ表示する調整用の補助線として同心円の一例を示す模式図である。In the image processing apparatus which concerns on the 1st Embodiment of this invention, it is a schematic diagram which shows an example of a concentric circle as an auxiliary line for adjustment displayed as an overlay with an image. 本発明の第1の実施形態に係る画像処理装置による画像補正処理の一例を示すフローチャートである。4 is a flowchart illustrating an example of image correction processing by the image processing apparatus according to the first embodiment of the present invention. 本発明の第2の実施形態に係る画像処理装置の変換補正装置の概略システム構成の一例を示すブロック図である。It is a block diagram which shows an example of schematic system structure of the conversion correction apparatus of the image processing apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係る画像処理装置による画像補正処理の一例を示すフローチャートである。It is a flowchart which shows an example of the image correction process by the image processing apparatus which concerns on the 2nd Embodiment of this invention. 射影方式の原理、特に、正射影方式の原理を説明するイメージ図である。It is an image figure explaining the principle of a projection system, especially the principle of an orthographic projection system. 魚眼レンズによる撮影画像を中心射影に変換した場合の画像のイメージ図である。It is an image figure of the image at the time of converting the picked-up image by a fisheye lens into center projection.

以下に、図面を参照しながら、本発明を実施するための形態(実施形態)について説明する。   Hereinafter, embodiments (embodiments) for carrying out the present invention will be described with reference to the drawings.

<画像処理装置の構造>
図1は、本発明の実施形態に係る画像処理装置の概略ハードウェア構成の一例を示すブロック図である。ここで、図1に示される画像処理装置の構成は、後述する第1の実施形態および第2の実施形態に共通する構成である。この画像処理装置は、表示装置に表示された操作画面にしたがって補正対象の画像を補正するものである。
<Structure of image processing apparatus>
FIG. 1 is a block diagram illustrating an example of a schematic hardware configuration of an image processing apparatus according to an embodiment of the present invention. Here, the configuration of the image processing apparatus shown in FIG. 1 is a configuration common to a first embodiment and a second embodiment described later. This image processing device corrects an image to be corrected according to an operation screen displayed on a display device.

図1に示すように、画像処理装置は、CPU100、表示用メモリ101、メモリ102、外部記憶装置103、入力装置104、表示装置105及び変換補正装置106のハードウェアを有して構成されている。   As illustrated in FIG. 1, the image processing apparatus includes hardware of a CPU 100, a display memory 101, a memory 102, an external storage device 103, an input device 104, a display device 105, and a conversion correction device 106. .

この画像処理装置では、CPU100が、外部記憶装置103に記憶されたオペレーティングシステム(OS)や画像処理アプリケーションプログラムをメモリ102に展開する。そして、それを実行することで、装置全体の動作が制御され、装置で実行される各種の処理が実現される。   In this image processing apparatus, the CPU 100 expands an operating system (OS) and an image processing application program stored in the external storage device 103 in the memory 102. By executing this, the operation of the entire apparatus is controlled, and various processes executed by the apparatus are realized.

メモリ102としては、例えば、RAM等が用いられる。外部記憶装置103としては、例えば、ハードディスク等が用いられる。なお、OSや画像処理アプリケーションプログラムは、外部記憶装置103に代えて、ROM等の不揮発性メモリに記憶されていてもよい。また、外部記憶装置103には、画像データが格納されている。ここでは、外部記憶装置103に格納されている画像は、デジタルカメラを用いて撮影された撮影画像であるものとする。   As the memory 102, for example, a RAM or the like is used. For example, a hard disk or the like is used as the external storage device 103. Note that the OS and the image processing application program may be stored in a nonvolatile memory such as a ROM instead of the external storage device 103. The external storage device 103 stores image data. Here, it is assumed that the image stored in the external storage device 103 is a captured image captured using a digital camera.

CPU100は、外部記憶装置103から補正対象となる画像のデータを読み出して表示用メモリ101に展開し、画像を表示装置105に表示する。表示装置105としては、例えば、液晶ディスプレイやCRT等が用いられる。   The CPU 100 reads out image data to be corrected from the external storage device 103, develops it in the display memory 101, and displays the image on the display device 105. As the display device 105, for example, a liquid crystal display, a CRT, or the like is used.

画像処理装置の操作者による操作は、キーボード、マウスあるいはタッチパネル等の入力装置104を介して、行われる。外部記憶装置103から読み出された撮影画像に対して補正を行うことにより生成される新しい画像の画像データは、外部記憶装置103に対して格納される。
本発明に係る画像処理装置は、外部記憶装置103に格納され、適宜実行されるソフトウェアに依存して、下記の第1の実施形態及び第2の実施形態にかかる各画像処理装置が実現される。
The operation of the operator of the image processing apparatus is performed via the input device 104 such as a keyboard, a mouse, or a touch panel. Image data of a new image generated by performing correction on the captured image read from the external storage device 103 is stored in the external storage device 103.
The image processing apparatus according to the present invention implements the image processing apparatuses according to the first and second embodiments described below, depending on software stored in the external storage device 103 and appropriately executed. .

(第1の実施形態)
図2は、本発明の第1の実施形態に係る画像処理装置の変換補正装置106の概略システム構成の一例を示すブロック図である。
図2に示すように、変換補正装置106は、画像入力部200、射影方式変換部201、画像表示部202、歪曲補正実行部203のシステム構成を有している。更に、図2に示すように、変換補正装置106は、画像処理制御部204、調整補助線作成部205、調整補助線表示部206、付帯情報取得部207のシステム構成を有している。
(First embodiment)
FIG. 2 is a block diagram showing an example of a schematic system configuration of the conversion correction device 106 of the image processing apparatus according to the first embodiment of the present invention.
As shown in FIG. 2, the conversion correction device 106 has a system configuration of an image input unit 200, a projection method conversion unit 201, an image display unit 202, and a distortion correction execution unit 203. Further, as shown in FIG. 2, the conversion correction device 106 has a system configuration of an image processing control unit 204, an adjustment auxiliary line creation unit 205, an adjustment auxiliary line display unit 206, and an incidental information acquisition unit 207.

図2に示された各種の処理部による処理は、CPU100が外部記憶装置103に記憶された所定の画像処理アプリケーションプログラム等をメモリ102に展開し実行する。そして、変換補正装置106が備える各部200〜207がCPU100からの指令に基づいて所定の動作を行うことにより実現される。   In the processing by the various processing units shown in FIG. 2, the CPU 100 loads and executes a predetermined image processing application program stored in the external storage device 103 in the memory 102. And it implement | achieves when each part 200-207 with which the conversion correction apparatus 106 is provided performs predetermined | prescribed operation | movement based on the instruction | command from CPU100.

画像入力部200は、外部記憶装置103から画像データをメモリ102に読み込み、表示装置に補正対象の画像を入力する処理を行う。
射影方式変換部201は、操作者の操作に基づいて、補正対象の画像に固有の光学特性としての第1の射影方式による画像を第2の射影方式に変換する処理を行う。
画像表示部202は、画像を表示用メモリ101に展開し、表示装置105に表示する処理を行う。
歪曲補正実行部203は、表示装置105に表示された補正画面にしたがって操作者が実行する操作に対応する画像処理を施す。即ち、歪曲補正実行部203は、操作者の操作に基づいて、例えば第2の射影方式による画像の歪曲補正を行う。
The image input unit 200 reads image data from the external storage device 103 into the memory 102 and performs processing for inputting an image to be corrected to the display device.
The projection method conversion unit 201 performs processing for converting an image based on the first projection method as an optical characteristic unique to the image to be corrected into a second projection method based on the operation of the operator.
The image display unit 202 performs processing for expanding an image in the display memory 101 and displaying the image on the display device 105.
The distortion correction execution unit 203 performs image processing corresponding to the operation executed by the operator according to the correction screen displayed on the display device 105. That is, the distortion correction execution unit 203 performs image distortion correction by, for example, the second projection method based on the operation of the operator.

画像処理制御部204は、射影方式変換部201、調整補助線表示部206による一連の補正処理を実行するための操作画面の表示装置105への表示を制御する。
調整補助線作成部205は、付帯情報取得部207で取得した付帯情報からのデータから使用したレンズに対応する画角と射影方式(例えば、第2の射影方式)に応じた同心円状の調整用の補助線を作成する。より具体的に、調整補助線作成部205は、付帯情報取得部207で取得した付帯情報に含まれるレンズ種別から対応する射影方式を認識して、その射影方式の原理から導出される補助線を作成する。
調整補助線表示部206は、画像表示部202と共に、調整補助線作成部205が作成した調整用の補助線を、表示装置105に例えば第2の射影方式によって変換された画像とともにオーバーレイ表示する。この調整補助線表示部206及び画像表示部202は、本発明の「表示手段」を構成する。ここで、表示手段は、射影方式変換部201により変換された画像を、例えば調整用補助線と同時に表示することができる。
付帯情報取得部207は、メモリ102に展開された画像データを解析してレンズ情報(レンズ種別を含む)、画角、ズーム位置などの付帯情報を取得する処理を行う。
The image processing control unit 204 controls display on the display device 105 of an operation screen for executing a series of correction processing by the projection method conversion unit 201 and the adjustment auxiliary line display unit 206.
The adjustment auxiliary line creation unit 205 is for concentric adjustment according to the angle of view and the projection method (for example, the second projection method) corresponding to the lens used from the data from the auxiliary information acquired by the auxiliary information acquisition unit 207. Create an auxiliary line. More specifically, the adjustment auxiliary line creation unit 205 recognizes the corresponding projection method from the lens type included in the auxiliary information acquired by the auxiliary information acquisition unit 207, and calculates the auxiliary line derived from the principle of the projection method. create.
The adjustment auxiliary line display unit 206 displays, together with the image display unit 202, the adjustment auxiliary line generated by the adjustment auxiliary line generation unit 205 on the display device 105, for example, together with an image converted by the second projection method. The adjustment auxiliary line display unit 206 and the image display unit 202 constitute the “display unit” of the present invention. Here, the display unit can display the image converted by the projection method conversion unit 201, for example, simultaneously with the adjustment auxiliary line.
The incidental information acquisition unit 207 performs processing for analyzing image data developed in the memory 102 and acquiring incidental information such as lens information (including lens type), field angle, and zoom position.

次に、第1の実施形態にかかる画像処理装置を用いた画像処理の具体的なプロセスについて説明する。操作者(編集者)が入力装置104を通して画像処理アプリケーションを選択すると、CPU100は、対応する画像処理アプリケーションプログラムを外部記憶装置103から読み出して実行する。これにより画像処理アプリケーション、この場合、歪曲補正処理のユーザーインターフェース画面が表示装置105に表示される。
この画像処理アプリケーションは、入力された画像の射影方式に応じた歪曲補正を行い、光学的に正しい画像を得るものである。
Next, a specific process of image processing using the image processing apparatus according to the first embodiment will be described. When an operator (editor) selects an image processing application through the input device 104, the CPU 100 reads out a corresponding image processing application program from the external storage device 103 and executes it. Accordingly, an image processing application, in this case, a user interface screen for distortion correction processing is displayed on the display device 105.
This image processing application performs distortion correction according to the projection method of the input image, and obtains an optically correct image.

図3は、本発明の第1の実施形態を示し、画像処理アプリケーションプログラムの起動にしたがって画像処理制御部204により表示装置105を介して表示される歪曲補正操作画面300の一例を示す模式図である。なお、本実施形態では、操作者が画像処理アプリケーションの機能を選択する前に、画像処理される画像の選択がすでに行われているものとする。   FIG. 3 is a schematic diagram illustrating an example of the distortion correction operation screen 300 displayed by the image processing control unit 204 via the display device 105 according to the activation of the image processing application program according to the first embodiment of the present invention. is there. In this embodiment, it is assumed that an image to be image-processed has already been selected before the operator selects a function of the image processing application.

図3の歪曲補正操作画面300には、補正対象の画像の表示領域310、補正前の元画像のもつ射影方式が何かという情報の表示欄320、変換しようとする射影方式の選択欄330が用意されている。更に、図3の歪曲補正操作画面300には、調整用補助線の表示選択欄340、そして歪曲補正の調整用操作部材350、OKボタン360、キャンセルボタン370が用意されている。   The distortion correction operation screen 300 in FIG. 3 includes a display area 310 for an image to be corrected, a display column 320 for information on the projection method of the original image before correction, and a selection column 330 for a projection method to be converted. It is prepared. Further, in the distortion correction operation screen 300 of FIG. 3, an adjustment auxiliary line display selection field 340, a distortion correction adjustment operation member 350, an OK button 360, and a cancel button 370 are prepared.

補正対象の元画像のもつ射影方式は、付帯情報取得部207によって画像の付帯情報から解析されたレンズ情報から一意に決定される。更に、調整用補助線の表示選択欄340に基づき調整用補助線の表示をするという操作者の選択がある場合は、対象画像とオーバーラップされてその射影方式とそのレンズの画角に応じた同心円状の補助線380が表示される。   The projection method of the original image to be corrected is uniquely determined from the lens information analyzed by the incidental information acquisition unit 207 from the incidental information of the image. Furthermore, if there is an operator's selection to display the adjustment auxiliary line based on the adjustment auxiliary line display selection field 340, it overlaps the target image and corresponds to the projection method and the angle of view of the lens. A concentric auxiliary line 380 is displayed.

操作者が、歪曲補正の調整用操作部材350を入力装置104に含まれるマウスで水平方向にドラッグ操作すると、表示領域310に表示されている画像は、そのドラッグ操作に応じて歪曲補正されて再表示される。もちろん、調整用操作部材350の操作はマウス以外の装置を用いて行うようにしても構わない。   When the operator drags the distortion correction adjustment operation member 350 in the horizontal direction with the mouse included in the input device 104, the image displayed in the display area 310 is corrected for distortion according to the drag operation and re-displayed. Is displayed. Of course, the operation of the adjustment operation member 350 may be performed using a device other than a mouse.

調整用の補助線380として表示される同心円は、入射角ごとの像高を平面に写像したものである。画角が180°の魚眼レンズの場合は、対角90°まで被写体が撮像されているので、10°刻みで画像の対角線上に8本描かれる。これを図4に示す。   The concentric circle displayed as the adjustment auxiliary line 380 is obtained by mapping the image height for each incident angle onto a plane. In the case of a fish-eye lens with an angle of view of 180 °, the subject is imaged up to a diagonal of 90 °, so eight lines are drawn on the diagonal of the image in increments of 10 °. This is shown in FIG.

図4は、本発明の第1の実施形態に係る画像処理装置において、画像とともにオーバーレイ表示する調整用の補助線として同心円の一例を示す模式図である。
この調整用の補助線の表示間隔は、10°刻みでなくて、もっと大きくてもよいし、細かくてもよい。図4に示される同心円の画角10°毎の間隔は、前述した図8の射影方式の原理説明図からも明らかなように、射影方式が決まると一意に決定される。
FIG. 4 is a schematic diagram showing an example of concentric circles as adjustment auxiliary lines for overlay display together with an image in the image processing apparatus according to the first embodiment of the present invention.
The display interval of the auxiliary line for adjustment is not in increments of 10 °, and may be larger or finer. As is apparent from the principle explanatory diagram of the projection method in FIG. 8 described above, the interval between the concentric circles of 10 ° shown in FIG. 4 is uniquely determined when the projection method is determined.

こうして、周辺部の歪みが同心円状の補助線に沿って調整されるよう調整用操作部材350(具体的には、調整用操作部材350を動かすことで、その射影方式での「光学的な」歪みのない画像に調整することができる。   Thus, the adjustment operation member 350 (specifically, by moving the adjustment operation member 350 so that the distortion of the peripheral portion is adjusted along the concentric auxiliary line, the “optical” in the projection system is adjusted. It is possible to adjust the image without distortion.

次に、上述したユーザーインターフェース画面に基づく画像処理を実現する画像処理アプリケーションプログラムの実行による処理のフローチャートについて説明する。   Next, a description will be given of a flowchart of processing by executing an image processing application program that realizes image processing based on the above-described user interface screen.

図5は、本発明の第1の実施形態に係る画像処理装置による画像補正処理の一例を示すフローチャートである。図5のフローチャートに示されるステップS500〜S580の処理は、画像処理制御部204により表示装置105を介して表示されたユーザーインターフェース画面上において、操作手順を含めた一連の処理に対応する。   FIG. 5 is a flowchart showing an example of image correction processing by the image processing apparatus according to the first embodiment of the present invention. The processes in steps S500 to S580 shown in the flowchart of FIG. 5 correspond to a series of processes including an operation procedure on the user interface screen displayed by the image processing control unit 204 via the display device 105.

画像入力部200は、CPU100の制御に基づいて、最初に補正をしたい補正対象の画像データを指定して画像データを読み込む(ステップS500)。   Based on the control of the CPU 100, the image input unit 200 specifies image data to be corrected first and reads the image data (step S500).

続いて、付帯情報取得部207は、CPU100の制御に基づいて、ステップS500で読み込んだ画像データに付属する撮影情報やレンズ情報といった付帯情報を解析して、特にレンズ種や画角などのデータを取得する(ステップS510)。この解析された付帯情報から、元の画像のもつ射影方式がどれであるかが決定される。   Subsequently, under the control of the CPU 100, the incidental information acquisition unit 207 analyzes incidental information such as shooting information and lens information attached to the image data read in step S500, and in particular data such as a lens type and an angle of view. Obtain (step S510). From the analyzed incidental information, it is determined which projection method the original image has.

続いて、射影方式変換部201は、CPU100の制御に基づいて、操作者が入力装置104を用いてその画像の射影方式を変換指示した場合に、これを変更して、歪曲補正をしたい画像の射影方式を決定する(ステップS520)。   Subsequently, based on the control of the CPU 100, the projection method conversion unit 201 changes the projection method of the image when the operator uses the input device 104 to change the image to change the image to be corrected. A projection method is determined (step S520).

続いて、操作者が調整用の補助線を表示するかどうかの指定を行い、調整補助線作成部205は、調整用の補助線を表示するかどうかの指定の有無を判定する(ステップS530)。これにより、調整用の補助線としての同心円を表示するかどうかが決定される。   Subsequently, the operator designates whether or not to display the adjustment auxiliary line, and the adjustment auxiliary line creation unit 205 determines whether or not to specify whether or not to display the adjustment auxiliary line (step S530). . Thereby, it is determined whether or not to display a concentric circle as an auxiliary line for adjustment.

ステップS530の判定の結果、調整用の補助線を表示する指定がある場合(ステップS530/Yes)は、ステップS540に進む。ステップS540に進むと、調整補助線作成部205は、CPU100の制御に基づいて、ステップS520で決定されている射影方式に応じた、調整用補助線のデータを作成する。   If the result of determination in step S530 is that there is a designation for displaying an auxiliary line for adjustment (step S530 / Yes), processing proceeds to step S540. In step S540, the adjustment auxiliary line creation unit 205 creates adjustment auxiliary line data according to the projection method determined in step S520 based on the control of the CPU 100.

続いて、調整補助線表示部206は、画像処理制御部204の制御に基づいて、調整補助線作成部205が作成した、射影方式に応じた同心円の描画を行い、表示する(ステップS550)。   Subsequently, the adjustment auxiliary line display unit 206 draws and displays concentric circles created by the adjustment auxiliary line generation unit 205 according to the projection method based on the control of the image processing control unit 204 (step S550).

ステップS550が終了した場合あるいはステップS530で調整用の補助線を表示する指定が無い場合(ステップS530/No)には、ステップS560に進む。
ステップS560に進むと、射影方式変換部201は、指定された射影方式にしたがって、元の画像データの幾何学的な射影変換処理を行い、画像表示部202及び画像処理制御部204は、その変換画像を表示装置105に表示する。
If step S550 is completed or if there is no designation for displaying the auxiliary line for adjustment in step S530 (step S530 / No), the process proceeds to step S560.
In step S560, the projection method conversion unit 201 performs geometric projection conversion processing of the original image data according to the designated projection method, and the image display unit 202 and the image processing control unit 204 perform the conversion. The image is displayed on the display device 105.

ここから操作者は、この表示装置105に表示された画像に対して、調整用補助線として表示された同心円を目安に、歪曲補正操作画面300に表示された調整用操作部材350を移動させることによって歪曲補正の微調整を行うことになる。   From here, the operator moves the adjustment operation member 350 displayed on the distortion correction operation screen 300 with respect to the image displayed on the display device 105 using the concentric circle displayed as the adjustment auxiliary line as a guide. Therefore, fine adjustment of distortion correction is performed.

続いて、CPU100(あるいは歪曲補正実行部203)は、歪曲補正が操作者の操作により完了したかどうかを判定する(ステップS570)。CPU100は、操作者が歪曲補正操作画面300に用意されたOKボタン360あるいはキャンセルボタン370を押下した場合に、歪曲補正が完了したと判定する。   Subsequently, the CPU 100 (or the distortion correction execution unit 203) determines whether or not the distortion correction has been completed by the operation of the operator (step S570). When the operator presses the OK button 360 or the cancel button 370 prepared on the distortion correction operation screen 300, the CPU 100 determines that the distortion correction is completed.

ステップS570の判定の結果、歪曲補正が完了していない場合(ステップS570/No)には、ステップS580に進む。
ステップS580に進むと、歪曲補正実行部203は、操作者が補正実行用の操作部材を操作すると、歪曲補正を実行する。ステップS560〜S580のループは、調整が完了するまで(ステップS570/Yes)、歪曲補正の実行(ステップS580)と表示(ステップS560)を繰り返す。
If the result of determination in step S570 is that distortion correction has not been completed (step S570 / No), processing proceeds to step S580.
In step S580, the distortion correction execution unit 203 executes distortion correction when the operator operates the operation member for correction execution. The loop of steps S560 to S580 repeats execution of distortion correction (step S580) and display (step S560) until the adjustment is completed (step S570 / Yes).

そして、操作者が満足のいく補正結果が得られたら、ステップS570の判定の結果、歪曲補正が完了した場合となり、本処理は終了する。   If the operator obtains a satisfactory correction result, as a result of the determination in step S570, the distortion correction is completed, and this process ends.

なお、操作者が歪曲補正操作画面300に用意されたOKボタン360を押下することで、この処理の結果が保存されることになる。一方、操作者がキャンセルボタン370を押下した場合は、一連の操作処理は破棄される。   When the operator presses an OK button 360 prepared on the distortion correction operation screen 300, the result of this processing is saved. On the other hand, when the operator presses the cancel button 370, the series of operation processing is discarded.

以上の説明の通り、第1の実施形態によれば、操作者は、魚眼レンズのような超広視野光学系レンズによる超広角画像をその射影方式に応じた画角を示す複数の同心円を目安に歪曲補正を簡便かつ適切に補正することができる。また、補正のやり直しも容易である。   As described above, according to the first embodiment, the operator uses a plurality of concentric circles indicating the angle of view according to the projection method of an ultra-wide-angle image obtained by an ultra-wide-field optical system lens such as a fisheye lens. Distortion correction can be easily and appropriately corrected. In addition, correction can be easily performed again.

(第2の実施形態)
上記第1の実施形態では、射影方式と画角の2つの情報から調整用補助線としての同心円を表示することで効率的に光学的にもより適切な歪曲補正を行うことができた。一方、第2の実施形態では、これに加えて、操作者の操作により調整用補助線として表示される同心円を画像の中心から対角方向に、その大きさを可変できるようにすることで、より、緻密かつ正確に歪曲補正の処理を行うことを可能とする。
(Second Embodiment)
In the first embodiment, the concentric circle as the adjustment auxiliary line is displayed from the two information of the projection method and the angle of view, so that more appropriate distortion correction can be performed efficiently and optically. On the other hand, in the second embodiment, in addition to this, the size of the concentric circle displayed as the adjustment auxiliary line by the operation of the operator can be changed in the diagonal direction from the center of the image. This makes it possible to perform distortion correction processing more precisely and accurately.

以下、図6及び図7を参照して、本発明の第2の実施形態に係る画像処理装置について説明する。   Hereinafter, an image processing apparatus according to the second embodiment of the present invention will be described with reference to FIGS. 6 and 7.

図6は、本発明の第2の実施形態に係る画像処理装置の変換補正装置106の概略システム構成の一例を示すブロック図である。   FIG. 6 is a block diagram showing an example of a schematic system configuration of the conversion correction apparatus 106 of the image processing apparatus according to the second embodiment of the present invention.

図6に示された各種の処理部による処理は、CPU100が外部記憶装置103に記憶された各種の画像処理アプリケーションプログラム等をメモリ102に展開し実行する。そして、変換補正装置106が備える各部200〜207、610がCPU100からの指令に基づいて所定の動作を行うことにより実現される。   In the processing by the various processing units shown in FIG. 6, the CPU 100 loads and executes various image processing application programs stored in the external storage device 103 in the memory 102. And it implement | achieves when each part 200-207,610 with which the conversion correction apparatus 106 is provided performs predetermined | prescribed operation | movement based on the instruction | command from CPU100.

第2の実施形態に係る変換補正装置106は、画像入力部200、射影方式変換部201、画像表示部202、歪曲補正実行部203、画像処理制御部204、調整補助線作成部205、調整補助線表示部206、付帯情報取得部207を備える。これらは、第1の実施形態に係る変換補正装置106が備えるもの(図2)と同じであるので、ここでの説明は省略する。   The conversion correction device 106 according to the second embodiment includes an image input unit 200, a projection method conversion unit 201, an image display unit 202, a distortion correction execution unit 203, an image processing control unit 204, an adjustment auxiliary line generation unit 205, and an adjustment auxiliary. A line display unit 206 and an accompanying information acquisition unit 207 are provided. Since these are the same as those included in the conversion correction device 106 according to the first embodiment (FIG. 2), description thereof is omitted here.

第2の実施形態に係る変換補正装置106は、これらに加えて、調整補助線表示の変更部610を備える。
調整補助線表示の変更部610は、事前に操作者が決めた同心円の表示間隔、つまり入射角の増分を好みに応じて設定できる。具体的には、調整補助線表示の変更部610は、マウス操作などの操作者の操作の入力に応じて、動的に表示されている調整補助線の表示間隔および大きさの少なくともいずれかを変更する。また、調整補助線表示の変更部610は、表示手段により表示している調整補助線に関して、その大きさ、表示間隔を含む設定を事前に登録することができる。
In addition to these, the conversion correction apparatus 106 according to the second embodiment includes an adjustment auxiliary line display changing unit 610.
The adjustment auxiliary line display changing unit 610 can set the display interval of concentric circles determined by the operator in advance, that is, the increment of the incident angle according to preference. Specifically, the adjustment auxiliary line display changing unit 610 changes at least one of the display interval and the size of the adjustment auxiliary line that is dynamically displayed in response to an operation input by the operator such as a mouse operation. change. Further, the adjustment auxiliary line display changing unit 610 can previously register settings including the size and display interval of the adjustment auxiliary line displayed by the display unit.

図7は、本発明の第2の実施形態に係る画像処理装置による画像補正処理の一例を示すフローチャートである。図7のフローチャートに示されているステップS700〜S790の処理は、ユーザーインターフェース画面上において、操作手順を含めた一連の処理に対応する。   FIG. 7 is a flowchart showing an example of image correction processing by the image processing apparatus according to the second embodiment of the present invention. The processes in steps S700 to S790 shown in the flowchart of FIG. 7 correspond to a series of processes including an operation procedure on the user interface screen.

画像入力部200は、CPU100の制御に基づいて、最初に補正をしたい画像を指定して画像を読み込む(ステップS700)。   Based on the control of the CPU 100, the image input unit 200 first designates an image to be corrected and reads the image (step S700).

続いて、付帯情報取得部207は、CPU100の制御に基づいて、ステップS700で読み込んだ画像データに付属する撮影情報やレンズ情報といった付帯情報を解析して、特にレンズ種や画角などのデータを取得する(ステップS710)。この解析された付帯情報から、元の画像のもつ射影方式がどれであるかが決定される。   Subsequently, under the control of the CPU 100, the incidental information acquisition unit 207 analyzes incidental information such as shooting information and lens information attached to the image data read in step S700, and in particular data such as a lens type and an angle of view. Obtain (step S710). From the analyzed incidental information, it is determined which projection method the original image has.

続いて、射影方式変換部201は、CPU100の制御に基づいて、操作者が入力装置104を用いてその画像の射影方式を変換指示した場合に、これを変更して、歪曲補正をしたい画像の射影方式を決定する(ステップS720)。   Subsequently, based on the control of the CPU 100, the projection method conversion unit 201 changes the projection method of the image when the operator uses the input device 104 to change the image to change the image to be corrected. A projection method is determined (step S720).

続いて、操作者が調整用の補助線を表示するかどうかの指定を行い、調整補助線作成部205は、調整用の補助線を表示するかどうかの指定の有無を判定する(ステップS730)。これにより、調整用の補助線としての同心円を表示するかどうかが決定される。   Subsequently, the operator designates whether or not to display the adjustment auxiliary line, and the adjustment auxiliary line creation unit 205 determines whether or not to specify whether or not to display the adjustment auxiliary line (step S730). . Thereby, it is determined whether or not to display a concentric circle as an auxiliary line for adjustment.

ステップS730の判定の結果、調整用の補助線を表示する指定がある場合(ステップS730/Yes)は、ステップS740に進む。ステップS740に進むと、調整補助線作成部205は、CPU100の制御に基づいて、ステップS720で決定されている射影方式に応じた、調整用補助線のデータを作成する。   If the result of determination in step S730 is that there is a designation for displaying an auxiliary line for adjustment (step S730 / Yes), processing proceeds to step S740. In step S740, the adjustment auxiliary line creation unit 205 creates adjustment auxiliary line data according to the projection method determined in step S720 based on the control of the CPU 100.

続いて、調整補助線表示部206は、画像処理制御部204の制御に基づいて、調整補助線作成部205が作成した、射影方式に応じた同心円の描画を行い、表示する(ステップS750)。   Subsequently, the adjustment auxiliary line display unit 206 draws and displays concentric circles created by the adjustment auxiliary line generation unit 205 according to the projection method based on the control of the image processing control unit 204 (step S750).

ここで、第2の実施形態の大きな特徴として、表示された調整補助線としての同心円をマウスのドラッグにより、その大きさを微調整することができる。   Here, as a major feature of the second embodiment, the size of the displayed concentric circles as adjustment auxiliary lines can be finely adjusted by dragging the mouse.

そこで、調整補助線表示の変更部610は、操作者がマウスで補助線をドラッグしているかどうか判定する(ステップS760)。   Therefore, the adjustment auxiliary line display changing unit 610 determines whether the operator is dragging the auxiliary line with the mouse (step S760).

ステップS760の判定の結果、ドラッグしている場合(ステップS760/No)には、ステップS740に戻り、ドラッグしたマウスの移動量から同心円の半径を計算して新しい調整補助線としての同心円を作成・表示する(ステップS740及びS750)。   If the result of determination in step S760 is dragging (step S760 / No), the process returns to step S740 to calculate the radius of the concentric circle from the amount of movement of the dragged mouse and create a concentric circle as a new adjustment auxiliary line. It is displayed (steps S740 and S750).

一方、ステップS760の判定の結果、ドラッグしていない場合(ステップS760/Yes)あるいはステップS730で調整用の補助線を表示する指定が無い場合(ステップS730/No)には、以下の変換画像の表示(ステップS770)に進む。
ステップS770に進むと、射影方式変換部201は、指定された射影方式にしたがって、元の画像データの幾何学的な射影変換処理を行い、画像表示部202及び画像処理制御部204は、その変換画像を表示装置105に表示する。
On the other hand, as a result of the determination in step S760, when the dragging is not performed (step S760 / Yes) or when there is no designation for displaying the auxiliary line for adjustment in step S730 (step S730 / No), the following converted image is displayed. Proceed to display (step S770).
In step S770, the projection method conversion unit 201 performs geometric projection conversion processing of the original image data according to the designated projection method, and the image display unit 202 and the image processing control unit 204 perform the conversion. The image is displayed on the display device 105.

ここからこの表示装置105に表示された画像に対して、調整用補助線として表示された同心円を目安に、歪曲補正を行うことになる。   From here, distortion correction is performed on the image displayed on the display device 105 with reference to the concentric circle displayed as the adjustment auxiliary line.

続いて、CPU100(あるいは歪曲補正実行部203)は、歪曲補正が操作者の操作により完了したかどうかを判定する(ステップS780)。   Subsequently, the CPU 100 (or the distortion correction execution unit 203) determines whether or not the distortion correction is completed by the operation of the operator (step S780).

ステップS780の判定の結果、歪曲補正が完了していない場合(ステップS780/No)には、ステップS790に進む。
ステップS790に進むと、歪曲補正実行部203は、操作者が補正実行用の操作部材を操作すると、歪曲補正を実行する。
If the result of determination in step S780 is that distortion correction has not been completed (step S780 / No), processing proceeds to step S790.
In step S790, the distortion correction execution unit 203 executes distortion correction when the operator operates the operation member for correction execution.

操作者は補正実行用の操作部材を操作して歪曲補正を実行(ステップS790)し、調整が完了するまで、補正の実行と表示を繰り返す。その際、補正結果によっては、再度調整補助線の大きさや位置を変更した方が補正の調整がしやすい場合もある。そこで、ステップS790の補正実行の後は、操作者による同心円の再調整が可能であるようにステップS760に戻る。
こうして、調整が完了するまで、調整補助線の再計算(ステップS740、S750)および画像表示(ステップS770)、歪曲補正の実行(ステップS790)を繰り返す。
The operator operates the correction execution operation member to execute the distortion correction (step S790), and repeats the execution and display of the correction until the adjustment is completed. At this time, depending on the correction result, it may be easier to adjust the correction by changing the size or position of the adjustment auxiliary line again. Therefore, after the execution of the correction in step S790, the process returns to step S760 so that the operator can readjust the concentric circles.
Thus, the adjustment auxiliary line is recalculated (steps S740 and S750), the image is displayed (step S770), and the distortion correction is executed (step S790) until the adjustment is completed.

以上の通り、第2の実施形態によれば、歪曲補正を効率よく行うために、表示されている同心円の表示位置(半径)を操作者がマウス等の入力操作で変更することができる。そして、所望の画角同心円を画像に撮像されている対象とする被写体の位置に合わせて、調整することが可能である。   As described above, according to the second embodiment, in order to efficiently perform distortion correction, the operator can change the display position (radius) of the displayed concentric circles by an input operation such as a mouse. Then, it is possible to adjust the concentric circles having a desired angle of view according to the position of the subject to be imaged.

なお、前述した本発明の実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。即ち、本発明はその技術思想、又はその主要な特徴から逸脱することなく、様々な形で実施することができる。また、上述の実施形態の一部を適宜組み合わせてもよい。   Note that the above-described embodiments of the present invention are merely examples of implementation in practicing the present invention, and the technical scope of the present invention should not be construed as being limited thereto. It is. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof. Moreover, you may combine suitably a part of above-mentioned embodiment.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

このプログラム及び当該プログラムを記憶したコンピュータ読み取り可能な記録媒体は、本発明に含まれる。   This program and a computer-readable recording medium storing the program are included in the present invention.

200 画像入力部、201 射影方式変換部、202 画像表示部、203 歪曲補正実行部、204 画像処理制御部、205 調整補助線作成部、206 調整補助線表示部、207 付帯情報取得部 200 Image Input Unit 201 Projection Method Conversion Unit 202 Image Display Unit 203 Distortion Correction Execution Unit 204 Image Processing Control Unit 205 Adjustment Auxiliary Line Creation Unit 206 Adjustment Auxiliary Line Display Unit 207 Additional Information Acquisition Unit

Claims (5)

表示装置に表示された操作画面にしたがって補正対象の画像を補正する画像処理装置であって、
前記表示装置に前記補正対象の画像を入力する画像入力手段と、
操作者の操作に基づいて、前記補正対象の画像に固有の光学特性としての第1の射影方式による画像を第2の射影方式に変換する射影方式変換手段と、
前記第2の射影方式に応じた調整用補助線を作成する調整補助線作成手段と、
前記調整補助線作成手段によって作成された調整用補助線を前記表示装置に前記第2の射影方式によって変換された画像とともにオーバーレイ表示する表示手段と、
操作者の操作に基づいて、前記第2の射影方式による画像の歪曲補正を行う歪曲補正実行手段と
を有することを特徴とする画像処理装置。
An image processing device for correcting an image to be corrected according to an operation screen displayed on a display device,
Image input means for inputting the image to be corrected to the display device;
A projection method conversion means for converting an image according to the first projection method as an optical characteristic specific to the image to be corrected into a second projection method based on an operation of an operator;
Adjustment auxiliary line creating means for creating an auxiliary line for adjustment according to the second projection method;
Display means for displaying an adjustment auxiliary line created by the adjustment auxiliary line creating means on the display device together with an image converted by the second projection method;
An image processing apparatus comprising: distortion correction execution means for performing image distortion correction by the second projection method based on an operation by an operator.
前記補正対象の画像に付帯される付帯情報を解析して取得する付帯情報取得手段を更に有し、
前記調整補助線作成手段は、前記付帯情報に含まれるレンズ種別から対応する射影方式を認識して、その射影方式の原理から導出される補助線を作成することを特徴とする請求項1に記載の画像処理装置。
It further has incidental information acquisition means for analyzing and acquiring incidental information incidental to the correction target image,
2. The adjustment auxiliary line creation means recognizes a corresponding projection method from a lens type included in the incidental information, and creates an auxiliary line derived from the principle of the projection method. Image processing apparatus.
前記表示手段は、前記射影方式変換手段により変換された画像を前記調整用補助線と同時に表示することを特徴とする請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the display unit displays the image converted by the projection method conversion unit simultaneously with the auxiliary auxiliary line for adjustment. 前記表示手段により表示している前記調整補助線に関して、その大きさおよび表示間隔の少なくともいずれかを含む設定を操作者の操作に応じて変更することができる調整補助線表示の変更手段を更に有することを特徴とする請求項1乃至3のいずれか1項に記載の画像処理装置。   Regarding the adjustment auxiliary line displayed by the display means, there is further provided an adjustment auxiliary line display changing unit capable of changing a setting including at least one of the size and the display interval according to the operation of the operator. The image processing apparatus according to claim 1, wherein the image processing apparatus is an image processing apparatus. 表示装置に表示された操作画面にしたがって補正対象の画像を補正する画像処理装置による画像処理方法であって、
前記表示装置に前記補正対象の画像を入力する画像入力ステップと、
操作者の操作に基づいて、前記補正対象の画像に固有の光学特性としての第1の射影方式による画像を第2の射影方式に変換する射影方式変換ステップと、
前記第2の射影方式に応じた調整用補助線を作成する調整補助線作成ステップと、
前記調整補助線作成ステップによって作成された調整用補助線を前記表示装置に前記第2の射影方式によって変換された画像とともにオーバーレイ表示する表示ステップと、
操作者の操作に基づいて、前記第2の射影方式による画像の歪曲補正を行う歪曲補正実行ステップと
を有することを特徴とする画像処理方法。
An image processing method by an image processing device for correcting an image to be corrected according to an operation screen displayed on a display device,
An image input step of inputting the image to be corrected to the display device;
A projection method conversion step of converting an image according to the first projection method as an optical characteristic specific to the image to be corrected into a second projection method based on an operation of the operator;
An adjustment auxiliary line creation step of creating an auxiliary line for adjustment according to the second projection method;
A display step of displaying the adjustment auxiliary line created by the adjustment auxiliary line creation step on the display device together with an image converted by the second projection method;
An image processing method comprising: a distortion correction execution step of performing distortion correction of an image by the second projection method based on an operation of an operator.
JP2010250160A 2010-11-08 2010-11-08 Image processing system and its processing method Pending JP2012103805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010250160A JP2012103805A (en) 2010-11-08 2010-11-08 Image processing system and its processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010250160A JP2012103805A (en) 2010-11-08 2010-11-08 Image processing system and its processing method

Publications (1)

Publication Number Publication Date
JP2012103805A true JP2012103805A (en) 2012-05-31

Family

ID=46394150

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010250160A Pending JP2012103805A (en) 2010-11-08 2010-11-08 Image processing system and its processing method

Country Status (1)

Country Link
JP (1) JP2012103805A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059812A (en) * 2012-09-19 2014-04-03 Canon Inc Image processor, the control method thereof, and control program
JP2015121591A (en) * 2013-12-20 2015-07-02 株式会社富士通ゼネラル In-vehicle camera
JP7305240B1 (en) 2023-03-12 2023-07-10 株式会社セルシス Perspective ruler display method
JP7305241B1 (en) 2023-03-12 2023-07-10 株式会社セルシス Perspective ruler display method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014059812A (en) * 2012-09-19 2014-04-03 Canon Inc Image processor, the control method thereof, and control program
JP2015121591A (en) * 2013-12-20 2015-07-02 株式会社富士通ゼネラル In-vehicle camera
JP7305240B1 (en) 2023-03-12 2023-07-10 株式会社セルシス Perspective ruler display method
JP7305241B1 (en) 2023-03-12 2023-07-10 株式会社セルシス Perspective ruler display method

Similar Documents

Publication Publication Date Title
JP4629131B2 (en) Image converter
JP4247113B2 (en) Method for capturing a panoramic image using a rectangular image sensor
US8564693B2 (en) Image processing device, image processing method, and image processing program
JP5088018B2 (en) Image processing apparatus and control program
JP5725975B2 (en) Imaging apparatus and imaging method
EP2568436A1 (en) Image viewer for panoramic images
JP5666069B1 (en) Coordinate calculation apparatus and method, and image processing apparatus and method
JP6721112B2 (en) Camera parameter estimation device, method and program
JP5925757B2 (en) Image processing apparatus, image processing method, and image processing program
WO2013069555A1 (en) Image processing device, method, and program
JP2012103805A (en) Image processing system and its processing method
US8937676B2 (en) Video processing apparatus, imaging apparatus, video processing method, and storage medium
JP2016039613A (en) Image processing system, control method thereof, program, and storage medium
JP2014165866A (en) Image processing device, control method therefor and program
JP2016142991A (en) Image processing system, information processing device, image processing method and program
JP6071364B2 (en) Image processing apparatus, control method thereof, and control program
JP7289626B2 (en) Information processing device, its control method, program, and storage medium
JP5344647B2 (en) Image processing method, image processing apparatus, and image processing program
JP2017220785A (en) Image processor, image processing method, and program
JP6602159B2 (en) Imaging apparatus and control method thereof
US11915385B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP7463133B2 (en) Area measuring device, area measuring method, and program
JP6627116B1 (en) Control device
JP2020010213A (en) Information processor, imaging apparatus posture setting method, and program
JP2012022553A (en) Image processor