WO2012060269A1 - 画像処理方法、画像処理装置及び撮像装置 - Google Patents

画像処理方法、画像処理装置及び撮像装置 Download PDF

Info

Publication number
WO2012060269A1
WO2012060269A1 PCT/JP2011/074750 JP2011074750W WO2012060269A1 WO 2012060269 A1 WO2012060269 A1 WO 2012060269A1 JP 2011074750 W JP2011074750 W JP 2011074750W WO 2012060269 A1 WO2012060269 A1 WO 2012060269A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinates
virtual projection
reference plane
projection plane
coordinate system
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.)
Ceased
Application number
PCT/JP2011/074750
Other languages
English (en)
French (fr)
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.)
Konica Minolta Opto Inc
Original Assignee
Konica Minolta Opto 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 Konica Minolta Opto Inc filed Critical Konica Minolta Opto Inc
Priority to US13/882,552 priority Critical patent/US8913162B2/en
Priority to JP2012541820A priority patent/JPWO2012060269A1/ja
Publication of WO2012060269A1 publication Critical patent/WO2012060269A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/80Geometric correction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/698Control of cameras or camera modules for achieving an enlarged field of view, e.g. panoramic image capture
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N25/00Circuitry of solid-state image sensors [SSIS]; Control thereof
    • H04N25/60Noise processing, e.g. detecting, correcting, reducing or removing noise
    • H04N25/61Noise processing, e.g. detecting, correcting, reducing or removing noise the noise originating only from the lens unit, e.g. flare, shading, vignetting or "cos4"

Definitions

  • the present invention relates to an image processing method, an image processing apparatus, and an imaging apparatus that perform distortion correction processing on an image captured by an imaging device via an optical system including a condenser lens.
  • Patent Document 1 discloses a correction method of the prior art that corrects distortion generated in a captured image captured using a lens with a short focal length using a lens correction parameter.
  • Patent Document 2 it is necessary to use an external information processing device to calculate the optical distortion correction parameter for each lens position from the wide end to the tele end of the optical zoom mechanism by using an interpolation operation.
  • the optical distortion correction parameter for the discrete lens position within the range to perform the optical zoom the lens position at the time of zooming is limited to the lens position having the optical distortion correction parameter.
  • the optical zoom between the positions is connected by electronic zoom.
  • Patent Document 1 when a captured image obtained by a lens is linearly corrected, an image is enlarged in the peripheral portion as compared with the central portion, so that the image is deformed and is difficult to see. Corrections to prevent this include cylindrical distortion correction and spherical distortion correction.
  • the processing time becomes long, the circuit scale increases, and the cost increases. There was a problem that increased.
  • Patent Document 1 since the input image is corrected using the correction parameters, there is a possibility that the resolution is lowered when the image on the end side deviating from the center of the input image is cut out. Yes, the viewpoint conversion such as panning and tilting is insufficient.
  • distortion correction parameters are set so as to correspond to changes in the optical parameters of the optical zoom and the diaphragm, and are not intended for viewpoint conversion, and are not compatible with real-time display.
  • a new process is added each time a process such as zoom, pan, or tilt is added based on an instruction to change the shooting area by the user.
  • Image processing is required, and when the image processing apparatus is implemented as hardware, the processing time becomes long, the circuit scale increases, and the cost may increase.
  • the present invention provides an image processing method, an image processing apparatus, and an imaging apparatus capable of obtaining an output image with high visibility while reducing processing time with a relatively small circuit.
  • the purpose is to provide.
  • Have Reference plane system coordinates x d y d z d with respect to the reference plane are set, and z d coordinates in a direction perpendicular to the reference plane with respect to x d coordinates and y d coordinates
  • a two-dimensional LUT to be used can be selected from a plurality of two-dimensional LUTs corresponding to a plurality of differently shaped virtual projection planes, The image processing method according to any one of claims 1 to 3, wherein the selected two-dimensional LUT is used in the second step.
  • An image processing apparatus for obtaining image data that has been subjected to distortion correction processing using a plurality of pixel data obtained by receiving an image sensor having a plurality of pixels via an optical system, A coordinate in the world coordinate system of each pixel of the virtual projection plane is calculated based on a reference plane that is set in position and size and always has a fixed positional relationship with the virtual projection plane, and the calculated coordinates are An image processing unit that converts to a camera coordinate system using a distortion correction coefficient, calculates image data of the virtual projection plane based on the coordinates converted to the camera coordinate system and the plurality of pixel data; Reference plane system coordinates x d y d z d with respect to the reference plane are set, and z d coordinates in a direction perpendicular to the reference plane with respect to x d coordinates and y d coordinates on the reference plane are stored. A storage unit that stores a two-dimensional LUT based on the shape of the virtual projection plane, The image processing apparatus, wherein the image processing unit calculates coordinate
  • the storage unit stores a plurality of two-dimensional LUTs corresponding to a plurality of differently shaped virtual projection planes
  • the image processing unit calculates coordinates in the world coordinate system of each pixel of the virtual projection plane based on a two-dimensional LUT selected from the plurality of two-dimensional LUTs.
  • An imaging device having a plurality of pixels; A setting unit for setting the position and size in the world coordinate system of the reference plane that is always in a fixed positional relationship with the virtual projection plane; Calculate coordinates in the world coordinate system of each pixel of the virtual projection plane based on the reference plane set by the setting unit, and convert the calculated coordinates into a camera coordinate system using a distortion correction coefficient of the optical system.
  • An image processing unit that calculates image data on the virtual projection plane based on coordinates converted into the camera coordinate system and pixel data obtained from the plurality of pixels, and reference plane system coordinates based on the reference plane x d y d z d is set, and a two-dimensional LUT based on the shape of the virtual projection plane storing z d coordinates in a direction perpendicular to the reference plane with respect to x d coordinates and y d coordinates on the reference plane is obtained.
  • a storage unit for storing, The image processing unit calculates coordinates in a world coordinate system of each pixel of the virtual projection plane based on the two-dimensional LUT.
  • the storage unit stores a plurality of two-dimensional LUTs corresponding to a plurality of differently shaped virtual projection planes
  • the image processing unit calculates coordinates in the world coordinate system of each pixel of the virtual projection plane based on the two-dimensional LUT selected by the setting unit from the plurality of two-dimensional LUTs.
  • the imaging device according to any one of 9 to 11.
  • a virtual projection of a set free shape is calculated by calculating coordinates in the world coordinate system of each pixel of the virtual projection surface using a two-dimensional LUT corresponding to the virtual projection surface of a free shape.
  • a surface can be used.
  • FIG. 1 It is a schematic diagram explaining the distortion correction which concerns on this embodiment. It is a figure which shows the shape of the virtual projection surface VP shown in FIG. 1, (a) is a front view, (b) is a top view, (c) is a side view. It is a figure which shows the example which moved the position of the virtual projection surface VP. It is a block diagram which shows schematic structure of an imaging device. It is a figure which shows the control flow of this embodiment. It is a schematic diagram explaining the reference plane DP. It is a schematic diagram which shows the relationship between virtual projection surface VP and reference plane DP. It is a figure explaining the coordinate of the virtual projection surface VP.
  • FIG. 1 is a schematic diagram for explaining distortion correction according to the present embodiment.
  • X, Y, and Z are world coordinate systems, and the origin O is the lens center.
  • Z includes the optical axis, and the XY plane includes the lens center plane LC passing through the lens center O.
  • Point P is an object point of the object in the world coordinate system XYZ.
  • is an incident angle with respect to the optical axis (coincident with the Z axis).
  • x i and y i are camera coordinate systems, and the x i y i plane corresponds to the image sensor surface IA.
  • o is the center of the image and is the intersection of the optical axis Z and the image sensor surface.
  • the point p is a point on the image sensor surface in the camera coordinate system (corresponding to an imaging point), and the object point P is a camera using a distortion correction coefficient based on a parameter based on lens characteristics (hereinafter referred to as “lens parameter”). It is converted to the coordinate system.
  • the VP is a virtual projection plane, which is a free-form surface.
  • the virtual projection plane VP is set on the opposite side of the imaging element (and imaging element surface IA) with respect to the lens position (lens center plane LC) of the optical system.
  • the reference plane DP can be changed in shape, size, and position in the world coordinate system based on an instruction from the user to the operation unit 130 (see FIG. 3).
  • DP is a two-dimensional reference plane, and always has a fixed positional relationship with the virtual projection plane VP, and the positional relationship is reflected in a two-dimensional LUT described later.
  • the size of the virtual projection plane VP is changed along with the size change of the reference plane DP, and the position of the virtual projection plane VP is changed along with the position change of the reference plane DP.
  • x d, y d, z d is the reference plane coordinate system
  • x d y d plane corresponds to the reference plane DP
  • z d axis is the axis perpendicular to the reference plane.
  • the center of the reference plane DP and the virtual projection plane VP coincides with the optical axis Z, and the reference plane DP is parallel to the XY plane of the world coordinate system. It is.
  • position change means not only the case where the reference plane DP and the virtual projection plane VP are translated on the XY plane (corresponding to a translation vector), but also an angle change (also referred to as a posture change) to the rotation vector. This concept also includes
  • “Cylindrical distortion correction” is to perform distortion correction using a virtual projection plane VP having a shape obtained by cutting a cylinder along a plane parallel to the axial direction.
  • the virtual projection plane VP is an x d coordinate (or a reference plane DP). If the y d coordinate) can be specified, the z d coordinate can be specified.
  • Trihedral mirror distortion correction is a shape in which three planes are continuous, a main mirror portion parallel to a reference plane DP arranged in the center, and two sides connected to this at a predetermined angle on both sides of the main mirror portion. Distortion correction is performed using a virtual projection plane VP having a shape including a side mirror.
  • the virtual projection plane VP can specify the z d coordinate if the x d coordinate (or y d coordinate) of the reference plane DP can be specified.
  • Spherical distortion correction is a shape in which the inner surface of a sphere is cut out into a rectangle.
  • the virtual projection plane VP can specify the z d coordinate if the distance from the center of the reference plane DP can be specified.
  • Free-form correction is a distortion correction method performed using a free-form virtual projection plane VP.
  • a free shape is a shape other than a curved surface (cylinder, sphere) or a plane (trihedral mirror, mere plane) that can be expressed by an elementary function.
  • the virtual projection plane VP is a shape in which the z d coordinate can be specified by specifying both the x d coordinate and the y d coordinate instead of one.
  • a “free curved surface” is a shape that is a free shape and is configured by a curved surface other than a curved surface (cylinder, sphere) that can be expressed by an elementary function.
  • FIG. 2 is a diagram showing the shape of the virtual projection plane VP shown in FIG. 2A is a front view, FIG. 2B is a top view, and FIG. 2C is a side view.
  • the reference plane DP is not shown.
  • the free shape shown in FIG. 2 is such a shape that the triangular prism is cut as a virtual projection plane VP by a plane that is not parallel to the bottom surface.
  • the shape of the virtual projection plane VP can be changed by setting the lengths l X , l Y1 , l Y2 and l Z shown in FIG. As the shape is changed, a two-dimensional LUT describing a free shape described later is recalculated and updated.
  • the shape of the virtual projection plane is not limited to this, and the shape of the inner surface of a hemisphere or a crown that is notched at a plane intersecting the sphere or the shape of the inner surface of the sphere cut into a rectangle may be used. Good. Moreover, the shape which connected the some surface like the shape of a triple mirror which consists of three continuous panels may be sufficient, or the shape which cut
  • the virtual projection plane VP has a predetermined shape and size, and the center ov of the virtual projection plane VP and the center od of the reference plane DP are located on the Z axis.
  • Gv is a point where the object point P is projected onto the virtual projection plane VP, and is an intersection of the object point P and a straight line passing through the lens center O and the virtual projection plane VP.
  • Gd is a point where Gv is projected onto the reference plane DP.
  • FIG. 3 shows an example in which the positions of the reference plane DP and the virtual projection plane VP are moved based on the input of the operation unit 130 described later.
  • the virtual projection plane VP0 and the reference plane DP0 indicate before movement, and the virtual projection plane VP1 and the reference plane DP1 indicate after movement. In the figure, they are rotated on the XZ plane in the world coordinate system.
  • FIG. 4 is a block diagram illustrating a schematic configuration of the imaging apparatus.
  • the imaging apparatus includes an imaging unit 110, a control device 100, a display unit 120, and an operation unit 130.
  • the imaging unit 110 includes a short-focus lens, an imaging element, and the like.
  • examples of the lens include a wide-angle lens and a fisheye lens.
  • the control device 100 includes an image processing unit 101, a setting unit 102, and a storage unit 103.
  • the setting unit 102 sets the shape, position, and size of the reference plane DP based on an input instruction to the operation unit 130.
  • the image processing unit 101 calculates the coordinates of the world coordinate system of each pixel of the virtual projection plane VP based on the setting of the shape, position, and size of the reference plane DP and the two-dimensional LUT corresponding to the shape of the virtual projection plane VP.
  • a conversion table of the calculated coordinates into the camera coordinate system is created, and pixel data captured by the imaging unit 110 is processed using the conversion table to generate image data to be displayed on the display unit 120.
  • the storage unit 103 stores a distortion correction coefficient calculated based on the lens parameters of the lens and a two-dimensional LUT based on the shape of the virtual projection plane VP. Also, the position and size of the reference plane DP and the created conversion table are stored. Furthermore, in addition to the virtual projection surface having the shape shown in FIG. 2 and the like, when using a plurality of virtual projection surfaces having different shapes such as other virtual projection surfaces (FIG. 11 and the like) described later, It is also possible to store a plurality of two-dimensional LUTs corresponding to this. In this case, the setting unit may select a two-dimensional LUT to be used from among a plurality of two-dimensional LUTs according to the type of use or a user input instruction to the operation unit 130. Examples of types of applications include surveillance cameras and in-vehicle back monitors.
  • the display unit 120 includes a display screen such as a liquid crystal display, and sequentially displays the image data created by the image processing unit 101 based on the pixel data captured by the imaging unit 110 on the display screen.
  • the operation unit 130 includes a keyboard, a mouse, or a touch panel arranged so as to be superimposed on the liquid crystal display of the display unit, and accepts user input operations.
  • FIG. 5 is a diagram showing a control flow of the present embodiment.
  • the set distortion correction conditions are input.
  • the distortion correction condition (including viewpoint conversion) is set by setting the position and size of the reference plane DP in the world coordinate system by the setting unit 102 in accordance with an input instruction to the operation unit 130 by the user as described above.
  • an image signal is input from the imaging unit 110, and an input image is obtained at a frame rate of 60 fps, for example.
  • FIG. 6 is a schematic diagram illustrating the reference plane DP.
  • FIG. 7 is a schematic diagram showing the positional relationship between the virtual projection plane VP and the reference plane DP.
  • the reference plane DP is located on the x d y d plane of the reference plane coordinate system (x d y d z d ), and the virtual projection plane VP is vertically projected using the x d y d plane as a projection plane.
  • the region of the reference plane DP is set so as to include the region of the projection view. As shown in FIG. 6, point A (0, 0, 0), point B (0, 495, 0), point C (655, 495, 0), point D of the reference plane DP in the reference plane coordinate system.
  • a plane surrounded by (655, 0, 0) is divided into 656 ⁇ 496 pixel pixels Gd (total number of pixels: 325,000) at equal intervals.
  • Table 1 is an example of a two-dimensional LUT that outputs a zd coordinate in response to an input of a coordinate x d and a coordinate y d .
  • the coordinates (x d , y) of the corresponding pixel Gv on the virtual projection plane VP with reference to the two-dimensional LUT for deriving z d by referring to the coordinates of x d , y d as shown in Table 1 from all the pixels Gd d , z d ) is calculated. Note that the total number of pixels is merely an example, and other values may be set.
  • Pixel Gd on the reference plane DP as shown in FIG. 7, both the x d and y d matches since a relation obtained by projecting the pixel Gv on the virtual projection plane VP to the reference plane DP.
  • the two-dimensional LUT stores coordinates z d with respect to the coordinates x d and y d based on the shape of the virtual projection plane VP, and the coordinates z d of the pixel Gv based on the coordinates x d and y d of the pixel Gd. Is calculated, the position of the coordinates (x d , y d , z d ) of the pixel Gv can be derived. This is performed for all the pixels Gd. The above is step S13.
  • step S14 the coordinates of the pixel Gv calculated in step S13 are converted from the reference plane coordinate system (x d , y d , z d ) to the world coordinate system (X, Y, Z). This is performed based on setting information for changing the position of the reference plane DP.
  • step S15 the distortion correction coefficient determined based on the lens parameters of the imaging unit 110 stored in the storage unit 103 is read.
  • step S16 an LUT is generated that uses the coordinates of the virtual projection plane VP set using the distortion correction coefficient acquired in step S15 to convert the world coordinate system to the camera coordinate system (w2c conversion).
  • the LUT is generated based on the coordinates of each pixel Gv in the world coordinate system and the distortion correction coefficient acquired in step S15, and the pixel Gi (x ′, y ′) in the corresponding camera coordinate system on the image sensor surface IA. This is done by calculating FIG. 8 is a schematic diagram showing the relationship between the image height h and the incident angle ⁇ .
  • the image height (distance from the optical axis Z) of the subject (object point P) on the image sensor surface IA is determined by the incident angle ⁇ and the distortion correction coefficient.
  • pi is the imaging position of the object point P on the image sensor surface IA when there is no distortion correction, and the imaging position after distortion correction is Gi.
  • the coordinates of each pixel on the virtual projection plane are converted from the reference coordinate system to the camera coordinate system via the world coordinate system. That is, based on the lens data, coordinate conversion was performed to apply to which coordinate position of the camera coordinate the position of the reference coordinate system corresponds. At this time, distortion correction and viewpoint conversion such as rotation, translation, enlargement, reduction, etc. are performed together with the calculation of the position of the virtual projection plane VP.
  • step S21 image generation is performed on the input image input in step S12 using the LUT referenced in step S21.
  • image generation method there is a four-point interpolation as described below.
  • the pixel of the image sensor to be referred to is determined from the coordinates (x i ′, y i ′) of the camera coordinate system of the pixel Gi shown in FIGS. Coordinates (x i, y i) of each pixel of the image sensor during the x i in, y i is an integer, step S16 of the LUT generation process pixels used in Gi (x i ', y i ') of x i ′ and y i ′ are not limited to integers and can take real values having a fractional part.
  • the pixel data of the pixel of the corresponding image sensor is used as the virtual projection plane. It can be used as pixel data of an output image corresponding to the pixel Gv (X, Y, Z) on the VP.
  • x i ′ and y i ′ are not integers and x i ′ and y i ′ do not match x i and y i , four-point interpolation is performed as pixel data of the output image corresponding to the pixel Gv.
  • step S22 output processing is performed based on the generated image.
  • an output process in the demosaic process, an output image can be obtained by calculating BGR data of each pixel from a signal of a peripheral pixel.
  • the demosaic process is, for example, an image sensor composed of pixels arranged in a Bayer array, so that each pixel has only color information for one color, and interpolation processing is performed from information on neighboring pixels to obtain the color for three colors. It is to calculate color information.
  • step S23 the generated output image is output to the display unit 120, for example, at a frame rate of 30 fps or 60 fps, and the process ends.
  • This control flow is an example in which the virtual projection plane VP has a fixed shape and one type of two-dimensional LUT corresponding to the virtual projection plane VP is used.
  • the present invention is not limited to this, and a plurality of different types corresponding to the type of application are used as a modification.
  • a virtual projection plane VP having a shape may be used.
  • a two-dimensional LUT to be used is selected from a plurality of two-dimensional LUTs corresponding to each of the plurality of virtual projection planes in step S11, and the control of step S13 is performed using the selected two-dimensional LUT.
  • FIG. 9 shows an example of an input image and an output image after distortion correction processing.
  • FIG. 9A shows an input image.
  • FIG. 9B is an example of an output image obtained in the setting of the planar virtual projection plane VP (equivalent to the reference plane DP in FIG. 1).
  • FIG. 9C is an example of an output image obtained in setting the cylindrical virtual projection plane VP.
  • FIG. 9D is an example of an output image obtained in setting the free-form virtual projection plane VP as shown in FIGS.
  • the display range near the lower side (near side) is wide, and it is possible to recognize an area outside the display range on the planar or cylindrical virtual projection plane VP. It becomes.
  • FIG. 10 is a diagram for explaining the correspondence between the reference plane DP and the two-dimensional LUT lattice point data according to another embodiment.
  • z d coordinate data of the virtual projection plane VP related to each lattice point gp is stored in the two-dimensional LUT.
  • the grid points gp are arranged so as to jump out at a predetermined cycle with respect to the pixel Gd.
  • the grid point gp at the point A (0, 0, 0) on the reference plane DP is used as a reference. They are arranged with a period of 32 pixels in each of the x d and y d directions.
  • the area covered by the block has a size equal to or larger than the reference plane DP.
  • the size of the reference plane DP is not an integral multiple of the period 32 pixels of the lattice point gp, the area (672 ⁇ 512 pixels) covered by the block is larger than the size of the reference plane DP (656 ⁇ 496 pixels). It is also bigger.
  • the z d coordinate of the pixel Gv on the virtual projection plane VP is obtained by referring to the two-dimensional LUT of the lattice point gp.
  • the zd coordinate of the lattice point gp at the block 4 corner is obtained by referring to the two-dimensional LUT, and the z d coordinate of the obtained lattice point gp is linearly interpolated to obtain the pixel Find the z d coordinate of Gd.
  • the z d coordinate of the virtual projection plane VP corresponding to the lattice points gp1, gp2, gp3, and gp4 at the four corners is obtained with reference to the two-dimensional LUT, and the z
  • the z d coordinate of the pixel Gv on the virtual projection plane VP corresponding to the pixel Gd1 can be obtained.
  • the data size of the two-dimensional LUT can be reduced by providing the two-dimensional LUT for all the pixels on the reference plane DP and using the thinned-out thinned data in the form of lattice points.
  • FIG. 11A is a front view
  • FIG. 11B is a top view
  • FIG. 11C is a side view
  • FIG. 12 is a schematic diagram showing the relationship between the virtual projection plane VP and the reference plane DP.
  • the virtual projection plane VP shown in the figure is a shape formed by a free-form surface.
  • a free-form surface is a curved surface other than a curved surface (cylinder, sphere) that can be expressed by an elementary function.
  • the bowl is cut into half vertical. Even for a complicated shape formed by such a free-form surface, the coordinates on the virtual projection plane VP can be specified by the two-dimensional LUT.
  • FIG. 13 is an example of an output image obtained in the setting of the bowl-shaped virtual projection plane VP shown in FIGS.
  • the bowl-shaped virtual projection plane VP shown as an example of the free shape the display range in the lower vicinity (near side) is wide, and the planar or cylindrical virtual projection plane VP is out of the display range. It becomes possible to recognize the area.
  • Control apparatus 101 Image processing part 102 Setting part 103 Storage part 110 Imaging unit 120 Display part 130 Operation part VP Virtual projection plane DP Reference plane Gd Pixel on reference plane GV Pixel on virtual projection plane LC Lens center plane IA Image sensor surface O Lens center o Image center Gd Pixel on reference plane GV Pixel on virtual projection plane

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Studio Devices (AREA)
  • Geometry (AREA)

Abstract

 比較的小規模な回路で、処理時間の短縮化を図りながら視認性が高い出力画像を得ることが可能な、画像処理方法、画像処理装置及び撮像装置を提供する。仮想投影面VPと一定の位置関係となる基準平面DPを基準とする基準平面系座標xdddが設定され、基準平面DP上のxd座標、yd座標に対する、基準平面に垂直な方向のzd座標を格納した仮想投影面VPの形状に基づく2次元LUTを有し、2次元LUTに基づいて仮想投影面VPの各画素のワールド座標系における座標を算出し、算出した仮想投影面の各画素のワールド座標系における座標を光学系の歪み補正係数を用いてカメラ座標系に変換して、画像データを算出する。

Description

画像処理方法、画像処理装置及び撮像装置
 本発明は、集光レンズを含む光学系を介して撮像素子により撮像された画像の歪み補正処理を行う、画像処理方法、画像処理装置及び撮像装置に関するものである。
 一般に、広角レンズあるいは魚眼レンズのような焦点距離の短いレンズや画角の大きなレンズを備えた光学系により撮影した画像は歪曲を伴うので、歪曲を補正する画像処理を行う。特許文献1には従来技術の補正方法として、焦点距離の短いレンズを使用して撮像された撮像画像に生じる歪曲を、レンズの補正用のパラメータを用いて補正する方法が開示されている。
 特許文献2では、光学ズーム機構のワイド端からテレ端までレンズ位置毎の光学歪み補正パラメータの算出を補間演算により行うことは、外部情報処理機器を必要とし、撮像装置単体では処理能力的に難しいという問題に対して、光学ズームを行う範囲内で離散的なレンズ位置に対する光学歪み補正パラメータを備え、そしてズームを行う際のレンズ位置を光学歪み補正パラメータを備えるレンズ位置に制限し、制限された位置間の光学ズームを電子ズームでつないでいる。
特開2009-140066号公報 特開2009-105546号公報
 特許文献1に開示されたように、レンズで得た撮像画像をリニアに補正すると、中央部にくらべて周辺部では像が拡大されるために形が崩れ見にくい画像となる。これを防ぐための補正として円筒歪補正や球形歪補正があるが、これらの補正を行うために画像処理装置としてハード化した場合には処理時間が長くなり、回路規模が増大してしまい、コストが嵩んでしまう問題があった。
 また、円筒歪補正や球形歪補正よりも更に視認性を向上させるために、円筒や球形のようなモデリングがし易い形状ではなく自由曲面に基づく歪み補正を行ったような場合には、処理時間の増大や回路規模の増大が生じてしまう。
 更に、特許文献1では、入力画像に対して補正用のパラメータを用いて補正しているために、入力画像の中央から外れた端部側の画像を切り出した場合には分解能が低下する虞があり、パン、チルトのような視点変換の対応が不十分である。
 また、特許文献2は、光学ズームや絞りの光学パラメータの変更に対応するように歪補正パラメータを設定したものであり、視点変換を目的としておらず、リアルタイムでの表示には対応していない。
 特に、監視カメラや車載カメラの様に撮像画像をモニターにリアルタイムで表示させるような場合においては、ユーザーにより撮影領域を変更する指示に基づいてズーム、パン、チルト等の処理を追加するたびに新たな画像処理が必要となり、画像処理装置としてハード化した場合に処理時間が長くなり、回路規模が増大してしまい、コストが嵩んでしまう虞があった。
 本発明はこのような問題に鑑み、比較的小規模な回路で、処理時間の短縮化を図りながら視認性が高い出力画像を得ることが可能な、画像処理方法、画像処理装置及び撮像装置を提供することを目的とする。
 上記の目的は、下記に記載する発明により達成される。
 1.レンズを備えた光学系を介して複数の画素を有する撮像素子に受光して得られた複数の画素データを用いて歪み補正処理した画像データを得る画像処理方法において、
 仮想投影面と常に一定の位置関係となる基準平面のワールド座標系における位置及びサイズを、ユーザーの指示に基づいて設定する第1ステップと、
 前記第1ステップで設定された基準平面に基づいて前記仮想投影面の各画素のワールド座標系における座標を算出し、前記算出した座標を前記光学系の歪み補正係数を用いてカメラ座標系に変換する第2ステップと、
 前記複数の画素データと前記第2ステップで変換したカメラ座標系における座標とに基づいて、前記仮想投影面の画像データを算出する第3ステップと、
 を有し、
 前記基準平面を基準とする基準平面系座標xdddが設定され、前記基準平面上のxd座標、yd座標に対する、前記基準平面に垂直な方向のzd座標を格納した前記仮想投影面の形状に基づく2次元LUTを有し、
 前記第2ステップでは、前記2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする画像処理方法。
 2.前記2次元LUTは前記基準平面に所定の周期で配置された格子点に対応するデータであり、前記格子点間のデータの算出は線形補間により行うことを特徴とする前記1に記載の画像処理方法。
 3.前記仮想投影面は自由曲面で形成されていることを特徴とする前記1又は2に記載の画像処理方法。
 4.複数の異なる形状の仮想投影面に対応した複数の2次元LUTから使用する2次元LUTを選択可能であり、
 前記選択した2次元LUTを前記第2ステップで使用することを特徴とする前記1乃至3の何れか一項に記載の画像処理方法。
 5.光学系を介して複数の画素を有する撮像素子に受光して得られた複数の画素データを用いて歪み補正処理した画像データを得る画像処理装置であって、
 位置及びサイズが設定された基準平面であって仮想投影面と常に一定の位置関係となる基準平面に基づいて前記仮想投影面の各画素のワールド座標系における座標を算出し、前記算出した座標を歪み補正係数を用いてカメラ座標系に変換し、前記カメラ座標系に変換した座標及び前記複数の画素データに基づいて、前記仮想投影面の画像データを算出する画像処理部と、
 前記基準平面を基準とする基準平面系座標xdddが設定され、前記基準平面上のxd座標、yd座標に対する、前記基準平面に垂直な方向のzd座標を格納した前記仮想投影面の形状に基づく2次元LUTを記憶する記憶部と、を有し、
 前記画像処理部では、前記2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする画像処理装置。
 6.前記2次元LUTは前記基準平面に所定の周期で配置された格子点に対応するデータであり、前記格子点間のデータの算出は線形補間により行うことを特徴とする前記5に記載の画像処理装置。
 7.前記仮想投影面は自由曲面で形成されていることを特徴とする前記5又は6に記載の画像処理装置。
 8.前記記憶部には、複数の異なる形状の仮想投影面に対応した複数の2次元LUTが記憶されており、
 前記画像処理部では、前記複数の2次元LUTのうちから選択された2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする前記5乃至7の何れか一項に記載の画像処理装置。
 9.光学系と、
 複数の画素を有する撮像素子と、
 仮想投影面と常に一定の位置関係となる基準平面のワールド座標系における位置及びサイズを設定する設定部と、
 前記設定部で設定された基準平面に基づいて前記仮想投影面の各画素のワールド座標系における座標を算出し、前記算出した座標を前記光学系の歪み補正係数を用いてカメラ座標系に変換し、前記カメラ座標系に変換した座標と前記複数の画素から得られた画素データに基づいて、前記仮想投影面での画像データを算出する画像処理部と
 前記基準平面を基準とする基準平面系座標xdddが設定され、前記基準平面上のxd座標、yd座標に対する、前記基準平面に垂直な方向のzd座標を格納した前記仮想投影面の形状に基づく2次元LUTを記憶する記憶部と、を有し、
 前記画像処理部では、前記2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする撮像装置。
 10.前記2次元LUTは前記基準平面に所定の周期で配置された格子点に対応するデータであり、前記格子点間のデータの算出は線形補間により行うことを特徴とする前記9に記載の撮像装置。
 11.前記仮想投影面は自由曲面で形成されていることを特徴とする前記9又は10に記載の撮像装置。
 12.前記記憶部には、複数の異なる形状の仮想投影面に対応した複数の2次元LUTが記憶されており、
 前記画像処理部では、前記複数の2次元LUTのうちから前記設定部により選択された2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする前記9乃至11の何れか一項に記載の撮像装置。
 本発明によれば、自由な形状の仮想投影面に対応した2次元LUTを用いて、前記仮想投影面の各画素のワールド座標系における座標を算出することにより、設定した自由な形状の仮想投影面を用いることが可能となる。そしてこのような仮想投影面に基づいて画像データを作成することにより、比較的小規模な回路で、処理時間の短縮化を図りながら自由な形状に基づく歪み補正処理を行うことにより、視認性が高い出力画像を得ることが可能となる。
本実施形態に係る歪曲補正を説明する模式図である。 図1に示した仮想投影面VPの形状を示す図であり、(a)は正面図、(b)は上面図、(c)は側面図である。 仮想投影面VPの位置を移動させた例を示す図である。 撮像装置の概略構成を示すブロック図である。 本実施形態の制御フローを示す図である。 基準平面DPを説明する模式図である。 仮想投影面VPと基準平面DPとの関係を示す模式図である。 仮想投影面VPの座標を説明する図である。 入力画像及び歪み補正処理後の出力画像の例を示す図であり、(a)は入力画像の例、(b)、(c)、(d)は出力画像の例である。 他の実施形態における基準平面DPと、2次元LUTの格子点データとの対応関係を説明する図である。 仮想投影面VPの形状を示す図であり、(a)は正面図、(b)は上面図、(c)は側面図である。 仮想投影面VPと基準平面DPとの関係を示す模式図である。 補正処理後の出力画像の例を示す図である。
 本発明を実施の形態に基づいて説明するが、本発明は該実施の形態に限られない。
 図1は、本実施形態に係る歪曲補正を説明する模式図である。図1において、X、Y、Zはワールド座標系であり、原点Oはレンズ中心である。Zは光軸、XY平面はレンズ中心Oを通るレンズ中心面LCを含んでいる。点Pはワールド座標系XYZにおける対象物の物点である。θは光軸(Z軸に一致)に対する入射角度である。
 xi、yiはカメラ座標系であり、xii平面は撮像素子面IAに対応する。oは画像中心であり光軸Zと撮像素子面との交点である。点pはカメラ座標系における撮像素子面上の点(結像点に相当)であり、物点Pをレンズ特性に基づくパラメータ(以下、「レンズパラメータ」という)に基づく歪み補正係数を用いてカメラ座標系に変換したものである。
 VPは仮想投影面であり、自由な形状の面からなる。仮想投影面VPは光学系のレンズ位置(レンズ中心面LC)に対して撮像素子(及び撮像素子面IA)とは反対側に設定される。基準平面DPは、ユーザーによる操作部130(図3参照)への指示に基づいてその形状、サイズ、及びワールド座標系における位置の変更を行うことが可能である。
 DPは2次元の基準平面であり、常に仮想投影面VPと一定の位置関係にありその位置関係は後述の2次元LUTに反映されている。基準平面DPのサイズ変更に伴って仮想投影面VPのサイズが変更され、基準平面DPの位置変更に伴い仮想投影面VPの位置が変更される。xd、yd、zdは、基準平面座標系であり、xdd平面は基準平面DPに対応し、zd軸は基準平面に垂直な軸である。基準平面DP及び仮想投影面VPは、初期状態(初期の位置設定のこと、以下同様)においてはその中心は、光軸Zと一致しており、基準平面DPはワールド座標系のXY平面と平行である。
 本願において「位置変更」とは、基準平面DP及び仮想投影面VPをXY平面上で平行移動(並進ベクトルに対応)させる場合のみならず、XY平面に対する角度変更(姿勢変更ともいい、回転ベクトルに対応)をも含む概念である。
 「円筒歪補正」とは円筒を軸方向に平行な平面で裁断した形状の仮想投影面VPを用いて歪補正を行うものであり、仮想投影面VPは、基準平面DPのxd座標(あるいはyd座標)が特定できればzd座標を特定することが可能である。
 「三面鏡歪補正」とは、3つの平面が連続した形状であり、中央に配置した基準平面DPに平行な主鏡部と、主鏡部の両側にこれに所定の角度で連結した2つの側鏡部とからなる形状の仮想投影面VPを用いて歪補正を行うものである。仮想投影面VPは、基準平面DPのxd座標(あるいはyd座標)が特定できればzd座標を特定することが可能である。
 「球形歪補正」とは球の内面を矩形に切り欠いた形状である。仮想投影面VPは、基準平面DPの中心からの距離が特定できれば、zd座標を特定することが可能である。
 「自由形状補正」とは、自由形状の仮想投影面VPを用いて行う歪補正方法である。自由形状とは、初等関数で表せる曲面(円筒、球)、平面(三面鏡、単なる平面)以外の形状のことである。より具体的には、仮想投影面VPは、xd座標とyd座標の一方ではなく双方を特定することによってzd座標を特定できる形状のことである。「自由曲面」とは、自由形状であって、初等関数で表せる曲面(円筒、球)以外の曲面で構成される形状のことである。
 図2は、図1に示した仮想投影面VPの形状を示す図である。図2(a)は正面図、図2(b)は上面図、図2(c)は側面図である。同図において基準平面DPは図示していない。図2に示す自由形状は、仮想投影面VPとして三角柱を底面に平行でない平面で裁断した様な形状である。同図に示す長さlX、lY1、lY2、lZを設定することにより仮想投影面VPの形状の変更が可能である。形状が変更されるに伴い、後述する自由形状を記述した2次元LUTは再計算されて更新される。また仮想投影面の形状としてはこれに限られず、球をこれと交わる平面で切り欠いた半球あるいは球冠の内周面の形状、あるいは球の内周面を矩形に切り取った形状であってもよい。また3枚の連続したパネルからなる三面鏡形状の様な複数の面を連結した形状であってもよく、あるいは後述のようなお椀を縦に裁断した様な形状であってもよい。
 初期状態において仮想投影面VPは、所定の形状及びサイズで仮想投影面VPの中心ov、及び基準平面DPの中心odはZ軸上に位置している。Gvは物点Pが仮想投影面VP上に投影された点であり、物点Pとレンズ中心Oを通る直線と仮想投影面VPとの交点である。Gdは、Gvを基準平面DPに投影した点である。
 図3は、基準平面DP及び仮想投影面VPの位置を後述する操作部130の入力に基づいて移動させた例を示している。仮想投影面VP0、基準平面DP0は移動前、仮想投影面VP1、基準平面DP1は移動後を示しており、同図においてはワールド座標系におけるXZ平面上で回転させている。
 [ブロック図]
 図4は、撮像装置の概略構成を示すブロック図である。撮影装置は、撮像ユニット110、制御装置100、表示部120、操作部130を備えている。
 撮像ユニット110は、短焦点のレンズ、撮像素子等から構成される。本実施形態においては、本実施形態においては、レンズとしては例えば広角レンズ、魚眼レンズがある。
 制御装置100は、画像処理部101、設定部102、記憶部103から構成される。
 設定部102では、操作部130への入力指示に基づいて基準平面DPの形状、位置、サイズの設定を行う。
 画像処理部101では、基準平面DPの形状、位置、サイズの設定及び仮想投影面VPの形状に対応する2次元LUTに基づいて仮想投影面VPの各画素のワールド座標系の座標を算出し、算出した各座標のカメラ座標系への変換テーブルを作成し、当該変換テーブルを用いて撮像ユニット110で撮影した画素データを処理して表示部120に表示させる画像データを作成する。
 記憶部103には、レンズのレンズパラメータにより算出された歪み補正係数や、仮想投影面VPの形状に基づく2次元LUTが記憶されている。また基準平面DPの位置、サイズ及び作成した変換テーブルの記憶も行う。また更に、図2等に示した形状の仮想投影面の他に、後述する他の形状の仮想投影面(図11等)のように複数の異なる形状の仮想投影面を用いる場合であれば、これに対応した複数の2次元LUTを記憶することも可能である。この場合は、設定部により複数の2次元LUTのうちから、用途の種類あるいは操作部130へのユーザーの入力指示により使用する2次元LUTを選択するようにしてもより。用途の種類としては、例えば、監視カメラ、車載バックモニター等がある。
 表示部120は、液晶ディスプレイ等の表示画面を備え、撮像ユニット110で撮影した画素データに基づいて画像処理部101で作成した画像データを逐次、表示画面に表示させる。
 操作部130は、キーボード、マウス、あるいは表示部の液晶ディスプレイに重畳して配置したタッチパネルを備え、ユーザーの入力操作を受け付ける。
 [制御フロー]
 図5は、本実施形態の制御フローを示す図である。ステップS11では、設定された歪み補正条件が入力される。歪み補正条件(視点変換含む)の設定は、前述の様にユーザーによる操作部130への入力指示により、設定部102により基準平面DPのワールド座標系における位置、サイズを設定することにより行われる。ステップS12では、撮像ユニット110から画像信号が入力され、例えばフレームレート60fpsで入力画像が得られる。
 図6は、基準平面DPを説明する模式図である。図7は、仮想投影面VPと基準平面DPとの位置関係を示す模式図である。前述のとおり、基準平面DPは基準平面座標系(xddd)のxdd平面上に位置しており、xdd平面を投影面として仮想投影面VPを垂直投影した投影図の領域を包含するように基準平面DPの領域が設定されている。図6に示すように基準平面座標系における基準平面DPの4隅の点A(0,0,0)、点B(0,495,0)、点C(655,495,0)、点D(655,0,0)で囲まれる平面を等間隔で656×496pixelの画素Gd(総画素数32.5万)に分割する。表1は、座標xd及び座標ydの入力に対してzd座標を出力する2次元LUTの例である。全ての画素Gdから表1に示すようなxd,ydの座標を参照してzdを導き出す2次元LUTを参照して仮想投影面VP上の対応する画素Gvの座標(xd,yd,zd)を算出する。なお総画素数に関してはあくまでも例示でありこれ以外の値に設定しても良い。
Figure JPOXMLDOC01-appb-T000001
 図7に示すように基準平面DP上の画素Gdは、仮想投影面VP上の画素Gvを基準平面DPに投影した関係となるので両者のxdとydは一致する。2次元LUTには、仮想投影面VPの形状に基づいて、座標xd、ydに対する座標zdが格納されており、画素Gdの座標xd、ydに基づいて画素Gvの座標zdが算出されことにより、画素Gvの座標(xd,yd,zd)の位置が導き出せる。これを全ての画素Gdについて行う。以上がステップS13である。
 ステップS14では、ステップS13で算出した画素Gvの座標を、基準平面座標系(xd,yd,zd)からワールド座標系(X,Y,Z)に変換する。これは基準平面DPの位置変更の設定情報に基づいて行う。
 ステップS15では、記憶部103に記憶されている撮像ユニット110のレンズパラメータに基づいて決定された歪み補正係数を読み出す。
 ステップS16では、ステップS15で取得した歪み補正係数を用いて設定された仮想投影面VPの座標をワールド座標系からカメラ座標系への変換(w2c変換)に用いるLUTを生成する。
 LUTの生成は、それぞれの画素Gvのワールド座標系での座標と、ステップS15で取得した歪み補正係数から、撮像素子面IAでの対応するカメラ座標系での画素Gi(x’,y’)を算出することにより行う。図8は像高hと入射角度θとの関係を示す模式図である。被写体(物点P)の撮像素子面IA上の像高(光軸Zからの距離)は、入射角θと歪み補正係数で決定される。piは歪み補正が無いとした場合での撮像素子面IA上の物点Pの結像位置であり、歪み補正後の結像位置はGiとなる。以上により、仮想投影面の各画素の座標を、基準座標系からワールド座標系を経てカメラ座標系に変換されたことになる。つまりレンズデータに基づいて基準座標系の位置がカメラ座標のどの座標位置に対応するかを当てはめる座標変換を行った。この際に歪み補正及び、仮想投影面VPの位置の計算にともなう回転、平行移動、拡大、縮小等の視点変換が併せて行われる。
 ステップS21では、ステップS12で入力された入力画像に対して、ステップS21で参照されたLUTを用いて画像生成が行われる。画像生成の方法としては以下に説明するように4点補間がある。
 図1、図8に示した画素Giのカメラ座標系の座標(xi’,yi’)から参照する撮像素子の画素を決定する。この際に撮像素子の各画素の座標(xi,yi)におけるxi、yiは整数であるが、ステップS16のLUT生成過程で用いられる画素Gi(xi’,yi’)のxi’、yi’は整数とは限らず小数部分を持つ実数値を取り得る。xi’、yi’が整数で、画素Gi(xi’,yi’)と撮像素子の画素の位置とが一致する場合には、対応する撮像素子の画素の画素データを仮想投影面VP上の画素Gv(X,Y,Z)に対応する出力画像の画素データとして用いることが可能である。一方で、xi’、yi’が整数でなくxi’、yi’とxi、yiとが一致しない場合には4点補間として、画素Gvに対応する出力画像の画素データとして、算出された画素Gi(xi’,yi’)周辺の、画素Gi(xi’,yi’)の位置に近接する上位4箇所の画素の画素データを用いて、これらの単純平均値あるいは、画素Gi(xi’,yi’)に対する距離により近接する4箇所の画素に対して重み付けをして算出した画素データを用いる。なお4点補間に限られず、周辺の箇所としては1箇所の単純補間や、16箇所若しくはそれ以上を用いる多点補間であってもよい。
 ステップS22では生成された画像に基づいて出力処理を行う。出力処理としてはデモザイク処理において、周辺画素の信号から各画素のBGRデータの演算を行って出力画像を得ることができる。デモザイク処理とは、例えば撮像素子がベイヤー配列で並んだ画素で構成されることにより各画素が1色分の色情報しか持たない場合に、周辺画素の情報から補間処理することにより3色分の色情報を算出することである。
 ステップS23では、生成された出力画像を表示部120に、例えばフレームレート30fps、あるいは60fpsで出力して終了する。
 なお、本制御フローは、仮想投影面VPを固定の形状としこれに対応した1種類の2次元LUTを用いた例であるが、これに限られず変形例として用途の種類に対応した複数の異なる形状の仮想投影面VPを用いても良い。この場合、複数の仮想投影面それぞれに対応した複数の2次元LUTのうちから使用する2次元LUTをステップS11において選択するようにし、選択した2次元LUTを用いてステップS13の制御を行う。
 図9に入力画像及び歪み補正処理後の出力画像の例を示す。なお同図においては、仮想投影面VPの位置が初期状態の位置に設定されている場合の例を示している。図9(a)は入力画像である。図9(b)は平面形状の仮想投影面VP(図1の基準平面DPと同等)の設定において得られた出力画像の例である。図9(c)は、円筒形状の仮想投影面VPの設定において得られた出力画像の例である。図9(d)は、図1、2に示したような自由形状の仮想投影面VPの設定において得られた出力画像の例である。図1、2に示すような自由形状においては下方近傍(手前側)の表示範囲が広く、平面形状や円筒形状の仮想投影面VPでは表示範囲外となっていた領域の認識を行うことが可能となる。
 [他の実施形態]
 次に、他の実施形態として2次元LUTが格子点データであり、格子点の間のデータは線形補間により算出する例について説明する。図10は、他の実施形態における基準平面DPと、2次元LUTの格子点データとの対応関係を説明する図である。他の実施形態においては、2次元LUTには各格子点gpに関する仮想投影面VPのzd座標のデータが格納されている。格子点gpは画素Gdに対して所定の周期で飛び飛びに配置されるものであり、同図に示す例では、基準平面DPの点A(0,0,0)にある格子点gpを基準としてxd、yd方向それぞれに対して32pixelの周期で配置されている。
 4隅を格子点gpで囲まれた領域をblockといい、同図に示す例では、xd方向で21block、yd方向で16blockが配置されている。なお、blockで覆う領域は基準平面DPと同等かこれよりも大きいサイズとしている。図10に示す例では基準平面DPのサイズは、格子点gpの周期32pixelの整数倍になっていないので、blockで覆う領域(672×512pixel)は、基準平面DPのサイズ(656×496pixel)よりも大きくしている。
 画素Gdは、格子点gpと重なるときは当該格子点gpの2次元LUTを参照することにより仮想投影面VP上の画素Gvのzd座標を求める。画素Gdが格子点gpと重ならないときは、block4隅の格子点gpのzd座標を、2次元LUTを参照することにより求め、求めた格子点gpのzd座標を線形補間することにより、画素Gdのzd座標を求める。例えば、画素Gd1は格子点gpと重なっていないので、4隅の格子点gp1、gp2、gp3、gp4に対応する仮想投影面VPのzd座標を、2次元LUTを参照して求め、当該zd座標の値を線形補間することにより画素Gd1に対応する仮想投影面VP上の画素Gvのzd座標を得ることができる。
 このように2次元LUTを基準平面DPの全画素に対して設けずに、格子点状の離間した間引きのデータとすることにより2次元LUTのデータサイズを小さくすることができる。
 [仮想投影面VPの他の形状の例]
 図11、図12は、お椀形状の仮想投影面VPの例である。図11(a)は正面図、図11(b)は上面図、図11(c)は側面図である。図12は、仮想投影面VPと基準平面DPとの関係を示す模式図である。同図に示す仮想投影面VPは自由曲面によりなる形状である。自由曲面とは、初等関数で表せる曲面(円筒、球)以外の曲面のことである。同図に示す例においては、お椀を縦半分に裁断した様な形状をしている。このような自由曲面で形成された複雑な形状であっても2次元LUTによって仮想投影面VP上の座標を特定することが可能である。
 図13は、図11、図12に示したお椀形状の仮想投影面VPの設定において得られた出力画像の例である。自由形状の一例としてこれらに示すお椀形状の仮想投影面VPを用いることにより、下方近傍(手前側)の表示範囲が広く、平面形状や円筒形状の仮想投影面VPでは表示範囲外となっていた領域の認識を行うことが可能となる。
 本発明は、明細書に記載の実施形態に限定されるものではなく、他の実施形態、変形例を含むことは、本明細書に記載された実施形態や技術的思想から本分野の当業者にとって明らかである。明細書の記載及び実施形態は、あくまでも例証を目的としており、本発明の範囲は後述するクレームによって示されている。
 100 制御装置
 101 画像処理部
 102 設定部
 103 記憶部
 110 撮像ユニット
 120 表示部
 130 操作部
 VP 仮想投影面
 DP 基準平面
 Gd 基準平面上の画素
 GV 仮想投影面上の画素
 LC レンズ中心面
 IA 撮像素子面
 O レンズ中心
 o 画像中心
 Gd 基準平面上の画素
 GV 仮想投影面上の画素

Claims (12)

  1.  レンズを備えた光学系を介して複数の画素を有する撮像素子に受光して得られた複数の画素データを用いて歪み補正処理した画像データを得る画像処理方法において、
     仮想投影面と常に一定の位置関係となる基準平面のワールド座標系における位置及びサイズを、ユーザーの指示に基づいて設定する第1ステップと、
     前記第1ステップで設定された基準平面に基づいて前記仮想投影面の各画素のワールド座標系における座標を算出し、前記算出した座標を前記光学系の歪み補正係数を用いてカメラ座標系に変換する第2ステップと、
     前記複数の画素データと前記第2ステップで変換したカメラ座標系における座標とに基づいて、前記仮想投影面の画像データを算出する第3ステップと、
     を有し、
     前記基準平面を基準とする基準平面系座標xdddが設定され、前記基準平面上のxd座標、yd座標に対する、前記基準平面に垂直な方向のzd座標を格納した前記仮想投影面の形状に基づく2次元LUTを有し、
     前記第2ステップでは、前記2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする画像処理方法。
  2.  前記2次元LUTは前記基準平面に所定の周期で配置された格子点に対応するデータであり、前記格子点間のデータの算出は線形補間により行うことを特徴とする請求項1に記載の画像処理方法。
  3.  前記仮想投影面は自由曲面で形成されていることを特徴とする請求項1又は2に記載の画像処理方法。
  4.  複数の異なる形状の仮想投影面に対応した複数の2次元LUTから使用する2次元LUTを選択可能であり、
     前記選択した2次元LUTを前記第2ステップで使用することを特徴とする請求項1乃至3の何れか一項に記載の画像処理方法。
  5.  光学系を介して複数の画素を有する撮像素子に受光して得られた複数の画素データを用いて歪み補正処理した画像データを得る画像処理装置であって、
     位置及びサイズが設定された基準平面であって仮想投影面と常に一定の位置関係となる基準平面に基づいて前記仮想投影面の各画素のワールド座標系における座標を算出し、前記算出した座標を歪み補正係数を用いてカメラ座標系に変換し、前記カメラ座標系に変換した座標及び前記複数の画素データに基づいて、前記仮想投影面の画像データを算出する画像処理部と、
     前記基準平面を基準とする基準平面系座標xdddが設定され、前記基準平面上のxd座標、yd座標に対する、前記基準平面に垂直な方向のzd座標を格納した前記仮想投影面の形状に基づく2次元LUTを記憶する記憶部と、を有し、
     前記画像処理部では、前記2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする画像処理装置。
  6.  前記2次元LUTは前記基準平面に所定の周期で配置された格子点に対応するデータであり、前記格子点間のデータの算出は線形補間により行うことを特徴とする請求項5に記載の画像処理装置。
  7.  前記仮想投影面は自由曲面で形成されていることを特徴とする請求項5又は6に記載の画像処理装置。
  8.  前記記憶部には、複数の異なる形状の仮想投影面に対応した複数の2次元LUTが記憶されており、
     前記画像処理部では、前記複数の2次元LUTのうちから選択された2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする請求項5乃至7の何れか一項に記載の画像処理装置。
  9.  光学系と、
     複数の画素を有する撮像素子と、
     仮想投影面と常に一定の位置関係となる基準平面のワールド座標系における位置及びサイズを設定する設定部と、
     前記設定部で設定された基準平面に基づいて前記仮想投影面の各画素のワールド座標系における座標を算出し、前記算出した座標を前記光学系の歪み補正係数を用いてカメラ座標系に変換し、前記カメラ座標系に変換した座標と前記複数の画素から得られた画素データに基づいて、前記仮想投影面での画像データを算出する画像処理部と
     前記基準平面を基準とする基準平面系座標xdddが設定され、前記基準平面上のxd座標、yd座標に対する、前記基準平面に垂直な方向のzd座標を格納した前記仮想投影面の形状に基づく2次元LUTを記憶する記憶部と、を有し、
     前記画像処理部では、前記2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする撮像装置。
  10.  前記2次元LUTは前記基準平面に所定の周期で配置された格子点に対応するデータであり、前記格子点間のデータの算出は線形補間により行うことを特徴とする請求項9に記載の撮像装置。
  11.  前記仮想投影面は自由曲面で形成されていることを特徴とする請求項9又は10に記載の撮像装置。
  12.  前記記憶部には、複数の異なる形状の仮想投影面に対応した複数の2次元LUTが記憶されており、
     前記画像処理部では、前記複数の2次元LUTのうちから前記設定部により選択された2次元LUTに基づいて前記仮想投影面の各画素のワールド座標系における座標を算出することを特徴とする請求項9乃至11の何れか一項に記載の撮像装置。
PCT/JP2011/074750 2010-11-04 2011-10-27 画像処理方法、画像処理装置及び撮像装置 Ceased WO2012060269A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/882,552 US8913162B2 (en) 2010-11-04 2011-10-27 Image processing method, image processing apparatus and image capturing apparatus
JP2012541820A JPWO2012060269A1 (ja) 2010-11-04 2011-10-27 画像処理方法、画像処理装置及び撮像装置

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010247261 2010-11-04
JP2010-247261 2010-11-04

Publications (1)

Publication Number Publication Date
WO2012060269A1 true WO2012060269A1 (ja) 2012-05-10

Family

ID=46024384

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/074750 Ceased WO2012060269A1 (ja) 2010-11-04 2011-10-27 画像処理方法、画像処理装置及び撮像装置

Country Status (3)

Country Link
US (1) US8913162B2 (ja)
JP (1) JPWO2012060269A1 (ja)
WO (1) WO2012060269A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015025190A1 (en) * 2013-08-19 2015-02-26 Aselsan Elektronik Sanayi Ve Ticaret Anonim Sirketi Modular element in sintered expanded-polystyrene for building reinforced-concrete floors
CN104427230A (zh) * 2013-08-28 2015-03-18 北京大学 增强现实的方法和增强现实的系统
JP2016195390A (ja) * 2015-04-01 2016-11-17 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング 単眼ビデオカメラを使用した、車両からの目標点の距離および方向の算定

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015075516A (ja) * 2013-10-07 2015-04-20 ソニー株式会社 画像処理装置、画像処理方法、および表示装置
JP2016019194A (ja) * 2014-07-09 2016-02-01 株式会社東芝 画像処理装置、画像処理方法、および画像投影装置
JP2018007062A (ja) * 2016-07-04 2018-01-11 キヤノン株式会社 投影装置、その制御方法、および制御プログラム、並びに投影システム
US20190057180A1 (en) * 2017-08-18 2019-02-21 International Business Machines Corporation System and method for design optimization using augmented reality
EP3480779B1 (en) * 2017-11-01 2026-01-07 Volvo Car Corporation Method and system for handling images
US10684537B2 (en) * 2017-11-14 2020-06-16 Texas Instruments Incorporated Camera-assisted arbitrary surface characterization and correction
EP3748393A1 (en) * 2019-06-04 2020-12-09 Jabil Optics Germany GmbH Surround-view imaging system
CN112241201B (zh) * 2020-09-09 2022-10-25 中国电子科技集团公司第三十八研究所 面向增强/混合现实的远程标注方法和系统
CN112363682B (zh) * 2020-11-19 2024-01-30 北京华建纵横科技有限公司 一种拼接显示屏图像显示处理方法、装置、系统及计算机可读存储介质
CN114612875B (zh) * 2020-11-23 2025-05-06 银河水滴科技(江苏)有限公司 目标检测方法、装置、存储介质及电子设备
US11350066B1 (en) * 2020-12-10 2022-05-31 Texas Instruments Incorporated Camera-assisted projection optics distortion characterization and correction

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000011166A (ja) * 1998-06-24 2000-01-14 Sony Corp 画像処理装置および方法、並びに提供媒体
JP2008227996A (ja) * 2007-03-14 2008-09-25 Sony Corp 画像処理装置、カメラ装置、画像処理方法、およびプログラム
JP2008301052A (ja) * 2007-05-30 2008-12-11 Kyocera Corp 画像処理方法及び装置
JP2008311890A (ja) * 2007-06-14 2008-12-25 Fujitsu General Ltd 画像データ変換装置、及びこれを備えたカメラ装置
JP2010170514A (ja) * 2008-12-24 2010-08-05 Fujitsu General Ltd 画像データ変換装置
JP2010217984A (ja) * 2009-03-13 2010-09-30 Tottori Univ 像検出装置及び像検出方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2714502A1 (fr) * 1993-12-29 1995-06-30 Philips Laboratoire Electroniq Procédé et dispositif de traitement d'image pour construire à partir d'une image source une image cible avec changement de perspective.
JP2009105546A (ja) 2007-10-22 2009-05-14 Canon Inc 撮像装置
JP2009129001A (ja) * 2007-11-20 2009-06-11 Sanyo Electric Co Ltd 運転支援システム、車両、立体物領域推定方法
US8326077B2 (en) * 2008-10-31 2012-12-04 General Instrument Corporation Method and apparatus for transforming a non-linear lens-distorted image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000011166A (ja) * 1998-06-24 2000-01-14 Sony Corp 画像処理装置および方法、並びに提供媒体
JP2008227996A (ja) * 2007-03-14 2008-09-25 Sony Corp 画像処理装置、カメラ装置、画像処理方法、およびプログラム
JP2008301052A (ja) * 2007-05-30 2008-12-11 Kyocera Corp 画像処理方法及び装置
JP2008311890A (ja) * 2007-06-14 2008-12-25 Fujitsu General Ltd 画像データ変換装置、及びこれを備えたカメラ装置
JP2010170514A (ja) * 2008-12-24 2010-08-05 Fujitsu General Ltd 画像データ変換装置
JP2010217984A (ja) * 2009-03-13 2010-09-30 Tottori Univ 像検出装置及び像検出方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015025190A1 (en) * 2013-08-19 2015-02-26 Aselsan Elektronik Sanayi Ve Ticaret Anonim Sirketi Modular element in sintered expanded-polystyrene for building reinforced-concrete floors
CN104427230A (zh) * 2013-08-28 2015-03-18 北京大学 增强现实的方法和增强现实的系统
CN104427230B (zh) * 2013-08-28 2017-08-25 北京大学 增强现实的方法和增强现实的系统
JP2016195390A (ja) * 2015-04-01 2016-11-17 ローベルト ボッシュ ゲゼルシャフト ミット ベシュレンクテル ハフツング 単眼ビデオカメラを使用した、車両からの目標点の距離および方向の算定

Also Published As

Publication number Publication date
US8913162B2 (en) 2014-12-16
JPWO2012060269A1 (ja) 2014-05-12
US20130215298A1 (en) 2013-08-22

Similar Documents

Publication Publication Date Title
WO2012060269A1 (ja) 画像処理方法、画像処理装置及び撮像装置
US8515130B2 (en) Conference system, monitoring system, image processing apparatus, image processing method and a non-transitory computer-readable storage medium
JP6569742B2 (ja) 投影システム、画像処理装置、投影方法およびプログラム
CN103283214B (zh) 摄像机、畸变校正装置以及畸变校正方法
US8379976B2 (en) Image processing apparatus and method and a computer-readable recording medium on which an image processing program is stored
JP4661829B2 (ja) 画像データ変換装置、及びこれを備えたカメラ装置
US9436973B2 (en) Coordinate computation device and method, and an image processing device and method
KR20140090775A (ko) 어안 렌즈를 사용하여 얻은 왜곡영상에 대한 보정방법 및 이를 구현하기 위한 영상 디스플레이 시스템
JP2013005393A (ja) 広角歪補正処理を有する画像処理方法、画像処理装置及び撮像装置
CN104539893B (zh) 实现虚拟云台监控效果的方法、装置及系统
JP5682473B2 (ja) 広角歪補正処理を有する画像処理方法、画像処理装置及び撮像装置
JPWO2012056982A1 (ja) 画像処理方法、画像処理装置及び撮像装置
JP2012191380A (ja) カメラ、画像変換装置、及び画像変換方法
WO2011158344A1 (ja) 画像処理方法、プログラム、画像処理装置及び撮像装置
JP2020092418A (ja) 画像補正方法及びその装置
JPWO2011161746A1 (ja) 画像処理方法、プログラム、画像処理装置及び撮像装置
JP6071364B2 (ja) 画像処理装置、その制御方法、および制御プログラム
JP2004350154A (ja) 画像投射装置、画像処理装置およびその方法
JPWO2012060271A1 (ja) 画像処理方法、画像処理装置及び撮像装置
WO2012081400A1 (ja) 画像処理方法、画像処理装置及び撮像装置
JP2013080998A (ja) 画像処理装置、画像処理方法、及び画像処理プログラム
JP2008033607A (ja) 撮像装置および撮像システム
JPWO2011158343A1 (ja) 画像処理方法、プログラム、画像処理装置及び撮像装置
JPWO2012077544A1 (ja) 画像処理方法及び撮像装置
JP2005033582A (ja) 画像処理装置、画像処理方法および画像投射装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11837919

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2012541820

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 13882552

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11837919

Country of ref document: EP

Kind code of ref document: A1