Image converter and image converting method
First Claim
1. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
- a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center;
a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system;
a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit;
an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user;
an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0 y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere;
an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; and
a transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0 z0) and the planar inclination angle φ
as parameters, determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;
wherein the instruction input unit has a function of entering instructions for defining a reference straight line J drawn on the distorted circular image, andthe angle determining unit determines the planar inclination angle φ
on the basis of an angle θ
formed between the reference straight line J and the X axis (on the condition that θ
=0°
where both of them are parallel).
1 Assignment
0 Petitions
Accused Products
Abstract
On conversion of a distorted circular image photographed by use of a fisheye lens to a planar regular image, parameter setting is performed by a user'"'"'s intuitive manipulation to relieve the operation load. A dome-shaped virtual sphere H is defined on a distorted circular image S on the XY plane, and a user is allowed to designate a cut-out center point P (x0, y0) and an auxiliary point Q (x1, y1) on the distorted circular image S. An intersecting point G (x0, y0, z0) immediately above the point P is determined, and a UV plane is defined on a tangent plane S2 with respect to the virtual sphere H. An angle φ formed between the U axis and the X axis is determined on the basis of an angle θ formed between a reference straight line J passing through two points P, Q and the X axis. Transformation equations based on the orthogonal projection method including the coordinate values x0, y0, z0 and the angle φ as parameters are utilized to allow the coordinates (u, v) to correspond to coordinates (x, y), a distance between the two points P, Q is given as a conversion magnification m, thereby a part in the vicinity of the point P of the distorted circular image S is converted to a plane regular image on the UV plane.
13 Citations
25 Claims
-
1. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0 y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; anda transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0 z0) and the planar inclination angle φ
as parameters, determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the instruction input unit has a function of entering instructions for defining a reference straight line J drawn on the distorted circular image, and the angle determining unit determines the planar inclination angle φ
on the basis of an angle θ
formed between the reference straight line J and the X axis (on the condition that θ
=0°
where both of them are parallel). - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0, y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; anda transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0, z0) and the planar inclination angle φ
as parameters, determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, v), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the image converter has a function to perform image conversion when an image stored in the distorted circular image storage unit is not an orthogonally projected image photographed by use of a fisheye lens based on the orthogonal projection method but a non-orthogonally projected image photographed by use of a fisheye lens based on a non-orthogonal projection method, the image converter includes first coordinate conversion equations for converting coordinates on the non-orthogonally projected image to coordinates on the orthogonally projected image and second coordinate conversion equations for converting coordinates on the orthogonally projected image to coordinates on the non-orthogonally projected image, the intersecting point operation unit converts the coordinates of the cut-out center point P by using the first coordinate conversion equations and determines the position coordinates (x0, y0, z0) of the intersecting point by using coordinates after conversion, and the transformation unit uses a transformation equation based on the orthogonal projection method to determine coordinates (x, y) corresponding to coordinates (u, v), thereafter, the second coordinate conversion equation is used to convert the coordinates (x, y), and the coordinates after conversion are used to identify a position of a reference pixel on the distorted circular image. - View Dependent Claims (12, 13)
-
-
14. A non-transitory computer-readable recording medium storing a program, said program allowing a computer to function as an image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0 y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; anda transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0 z0) and the planar inclination angle as parameters determines a pixel value of a pixel on the planar regular image arranged at as position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the instruction input unit has a function of entering instructions for defining a reference straight line J drawn on the distorted circular image, and the angle determining unit determines the planar inclination angle φ
on the basis of an angle θ
formed between the reference straight line J and the X axis (on the condition that θ
=0°
where both of them are parallel).
-
-
15. A semiconductor integrated circuit in which an electronic circuit functioning as a transformation unit of an image converter is assembled, the image converter being for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0 y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; andthe transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0 z0) and the planar inclination angle as parameters determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the instruction input unit has a function of entering instructions for defining a reference straight line J drawn on the distorted circular image, and the angle determining unit determines the planar inclination angle φ
on the basis of an angle θ
formed between the reference straight line J and the X axis (on the condition that θ
=0°
where both of them are parallel).
-
-
16. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0, y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; anda transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0, z0) and the planar inclination angle φ
as parameters, determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the transformation unit uses the following equations as transformation equations based on the orthogonal projection method,
x=R[(u−
x0)A+(v−
y0)B+(w−
z0)E]/√
((u−
x0)2+(v−
y0)2+(w−
z0)2)
y=R[(u−
x0)C+(v−
y0)D+(w−
z0)F]/√
((u−
x0)2+(v−
y0)2+(w−
z0)2)where A=1−
(1−
cos φ
)(y02+z02)B=−
z0 sin φ
+x0y0(1−
cos φ
)C=z0 sin φ
+x0y0(1−
cos φ
)D=1−
(1−
cos φ
)(z02+x02)E=y0 sin φ
+z0x0(1−
cos φ
)F=−
x0 sin φ
+y0x0(1−
cos φ
)w=m R (m is a predetermined conversion magnification), and the transformation unit has a first function table which allows values of “
function f(c)=1/c”
to correspond to values of various variables c and a second function table which allows values of “
function f(ξ
)=1/√
/ξ
”
to correspond to values of various variables ξ
,the transformation unit makes an operation to determine values of c and ξ
with the following equations,
a=u−
x0, b=v−
y0, c=w−
z0,
ξ
=(a/c)2+(b/c)2+1so that values of the functions f(c) and f(ξ
) which correspond to the thus determined values of c and ξ
are determined by referring to the first function table and the second function table, and a value of √
((u−
x0)2+(v−
y0)2+(w−
z0)2) in the transformation equation based on the orthogonal projection method is determined by operation of f(c)×
(ξ
).
-
-
17. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0, y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; anda transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0, z0) and the planar inclination angle φ
as parameters, determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the transformation unit comprising; an even-number function table in which among variables t giving a discrete value of an interval W according to predetermined effective digits, a value of a predetermined function f(t) is allowed to correspond to an even-number variable t; an odd-number function table in which among variables t giving a discrete value of the interval W according to the effective digits, a value of the function f(t) is allowed to correspond to an odd-number variable t; a T resistor which stores variables t constituted with higher-order bits made up of the effective digits and lower-order bits showing digits lower than the effective digits; an even-number reading unit which reads from the even-number function table a value of the function f(t) allowed to correspond to an even-number variable t shown by the higher-order bits when the higher-order bits show an even-number and reads from the even-number function table a value of the function f(t) allowed to correspond to a minimum even-number variable t greater than an odd-number variable t shown by the higher-order bits when the higher-order bits show an odd-number; an odd-number reading unit which reads from the odd-number function table a value of the function f(t) allowed to correspond to an odd-number variable t shown by the higher-order bits when the higher-order bits show an odd-number and reads from the odd-number function table a value of the function f(t) allowed to correspond to a minimum odd-number variable t greater than an even-number variable t shown by the higher-order bits when the higher-order bits show an even-number; an A resistor which stores a given value of the function f(t) read from the even-number function table or the odd-number function table; a B resistor which stores a given value of the function f(t) read from the even-number function table or the odd-number function table; an even-odd selector which gives a value of the function f(t) read by the even-number reading unit to the A resistor and gives a value of the function f(t) read by the odd-number reading unit to the B resistor when the higher-order bits show an even-number, and which gives a value of the function f(t) read by the odd-number reading unit to the A resistor and gives a value of the function f(t) read by the even-number reading unit to the B resistor when the higher-order bits show an odd-number; and an interpolation operating unit in which a value stored in the A resistor is given as f(A) and a value stored in the B resistor is given as f(B), and a value indicated by the lower-order bit is given as δ
, and a value of the function f(t) after interpolation is determined by the following operation,
f(t)=((W−
δ
)/W)×
f(A)+(δ
/W)×
f(B), andwherein a value of the function f(t) after interpolation which is determined by the interpolation operating unit is utilized to perform the operation.
-
-
18. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0, y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; anda transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0, z0) and the planar inclination angle φ
as parameters, determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the transformation unit uses the following equations as transformation equations based on the orthogonal projection method,
x=R[(u−
x0)A+(v−
y0)B+(w−
z0)E]/√
((u−
x0)2+(v−
y0)2+(w−
z0)2)
y=R[(u−
x0)C+(v−
y0)D+(w−
z0)F]/√
((u−
x0)2+(v−
y0)2+(w−
z0)2)where A=1−
(1−
cos φ
)(y02+z02)B=−
z0 sin φ
+x0y0(1−
cos φ
)C=z0 sin φ
+x0y0(1−
cos φ
)D=1−
(1−
cos φ
)(z02+x02)E=y0 sin φ
+z0x0(1−
cos φ
)F=−
x0 sin φ
+y0x0(1−
cos φ
)w=m R (m is a predetermined conversion magnification), and the transformation unit determines a value of cos φ
by dividing an inner product of the vector U and the vector X by a product of a size of the vector U and that of the vector X.
-
-
19. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x,y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs a position of a cut-out center point P and a cut-out orientation on the distorted circular image displayed on the basis of instructions by a user; an intersecting point operation unit which, when a virtual sphere having a radius R taking the origin O as a center is defined in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system, determines position coordinates (x0, y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and the virtual sphere; an angle determining unit which determines on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing an U axis of the two-dimensional UV orthogonal coordinate system which is defined on a tangent plane in contact with the virtual sphere at the intersecting point G and a vector X facing an X axis of the two-dimensional XY orthogonal coordinate system; anda transformation unit which makes correspondence between coordinates (u, v) and coordinates (x, y) by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0,y0,z0) and the planar inclination angle φ
as parameters, determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y), and forms the planar regular image with regard to a partial image cut out from the distorted circular image in an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit;wherein the transformation unit uses the following equations as transformation equations based on the orthogonal projection method,
x=R[(u−
x0)A+(v−
y0)B+(w−
z0)E]/√
((u−
x0)2+(v−
y0)2+(w−
z0)2)
y=R[(u−
x0)C+(v−
y0)D+(w−
z0)F]/√
((u−
x0)2+(v−
y0)2+(w−
z0)2)where A=1−
(1−
cos φ
) (y02+z02)B=−
z0 sin φ
+x0y0(1−
cos φ
)C=z0 sin φ
+x0y0(1−
cos φ
)D=1−
(1−
cos φ
) (z02+x02)E=y0 sin φ
+z0x0 (1−
cos (φ
)F=−
x0 sin φ
+y0x0(1−
cos φ
)w=m R (m is a predetermined conversion magnification), and the instruction input unit has a function of entering instructions for defining the reference straight line J drawn on the distorted circular image, and the transformation unit defines a vector J facing a direction of the reference straight line J and determines a value of cos φ
by dividing an inner product of the vector J and the vector X by a product of a size of the vector J and that of the vector X.
-
-
20. An image converter for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs positions of two points, a cut-out center point P and an auxiliary point Q on the basis of instructions given by a user on the distorted circular image displayed, and recognizes a straight line connecting the cut-out center point P with the auxiliary point Q as a reference straight line J, and a numerical value given as m=k/d (k is a predetermined proportional constant) as a conversion magnification m on the basis of a distance d between the cut-out center point P and the auxiliary point Q; and a transformation unit which determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y) by utilizing a transformation equation for allowing the coordinates (u, v) to correspond to the coordinates (x, y), and performs an operation for forming a planar regular image subjected to scaling on the basis of the conversion magnification m with regard to a partial image cut out from the distorted circular image to an orientation in accordance with the reference straight line J taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit.
-
-
21. An image converting method for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converter comprising:
-
a distorted circular image storage unit which stores a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system; a planar regular image storage unit which stores a planar regular image constituted with aggregates of pixels arranged at a position indicated by coordinates (u, v) on a two-dimensional UV orthogonal coordinate system; a distorted circular image display unit which displays the distorted circular image stored in the distorted circular image storage unit; an instruction input unit which inputs an angle θ
defined as an angle formed between a reference straight line J and the X axis and a conversion magnification m on the basis of instructions given by a user on a input screen, and a position of a cut-out center point P on the basis of instructions given by the user on the distorted circular image displayed; anda transformation unit which determines a pixel value of a pixel on the planar regular image arranged at a position indicated by coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by corresponding coordinates (x, y) by utilizing a transformation equation for allowing the coordinates (u, v) to correspond to the coordinates (x, y), and performs an operation for forming a planar regular image subjected to scaling on the basis of the conversion magnification m with regard to a partial image cut out from the distorted circular image to an orientation in accordance with the reference straight line J taking the cut-out center point P as a center, so that the thus formed planar regular image is stored in the planar regular image storage unit.
-
-
22. An image converting method for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converting method which allows a computer or an electronic circuit to perform the following steps:
-
storing in a distorted circular image storage unit a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the;
XY coordinate system as a center;displaying on a display the distorted circular image stored in the distorted circular image storage unit; entering position and cut-out orientation of a cut-out center point P on the distorted circular image displayed on the display on the basis of instructions by a user; determining position coordinates (x0, y0, z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and a virtual sphere, by defining a virtual sphere having the radius R taking the origin O as a center in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system; determining on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing a direction of an U axis of a two-dimensional UV orthogonal coordinate system to be defined on a tangent plane in contact with the virtual sphere on the intersecting point G and a vector X facing a direction of an X axis of the two-dimensional XY orthogonal coordinate system; andperforming operation for forming a planar regular image with regard to a partial image cut out from the distorted circular image to an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0, z0) and the planar inclination angle φ
as parameters to allow coordinates (u, v) to correspond to coordinates (x, y), and determining a pixel value of each pixel on the planar regular image constituted with aggregates of pixels arranged at a position indicated by the coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by the corresponding coordinates (x, y);wherein instructions are entered for designating positions of two points, the cut-out center point P and an auxiliary point Q, on the distorted circular image displayed on the display, a straight line connecting the cut-out center point P with the auxiliary point Q is given as a reference straight line J, and a planar inclination angle φ
is determined on the basis of an angle θ
formed between the reference straight line J and the axis (on the condition that θ
is equal to 0°
where they parallel). - View Dependent Claims (23)
-
-
24. An image converting method for performing processes of cutting out a part of a distorted circular image photographed by use of a fisheye lens and converting it into a planar regular image, the image converting method which allows a computer or an electronic circuit to perform the following steps:
-
storing in a distorted circular image storage unit a distorted circular image constituted with aggregates of pixels arranged at a position indicated by coordinates (x, y) on a two-dimensional XY orthogonal coordinate system and having a radius R taking an origin O of the XY coordinate system as a center; displaying on a display the distorted circular image stored in the distorted circular image storage unit; entering position and cut-out orientation of a cut-out center point P on the distorted circular image displayed on the display on the basis of instructions by a user; determining position coordinates (x0,y0,z0) of an intersecting point G between a straight line passing through the cut-out center point P and parallel with a Z axis and a virtual sphere, by defining a virtual sphere having the radius R taking the origin O as a center in a three-dimensional XYZ orthogonal coordinate system including the two-dimensional XY orthogonal coordinate system; determining on the basis of the cut-out orientation a planar inclination angle φ
given as an angle formed between a vector U facing a direction of an U axis of a two-dimensional UV orthogonal coordinate system to be defined on a tangent plane in contact with the virtual sphere on the intersecting point G and a vector X facing a direction of an X axis of the two-dimensional XY orthogonal coordinate system; andperforming operation for forming a planar regular image with regard to a partial image cut out from the distorted circular image to an orientation indicated by the planar inclination angle φ
taking the cut-out center point P as a center by utilizing transformation equations based on an orthogonal projection method including the position coordinates (x0, y0, z0) and the planar inclination angle φ
as parameters to allow coordinates (u, v) to correspond to coordinates (x, v), and determining a pixel value of each pixel on the planar regular image constituted with aggregates of pixels arranged at a position indicated by the coordinates (u, v) on the basis of a pixel value of a reference pixel on the distorted circular image arranged at a position indicated by the corresponding coordinates (x, y);wherein an instruction for designating a position of the cut-out center point P is entered on the distorted circular image displayed on the display, and an instruction for designating an angle θ
between the reference straight line J and the X axis on the distorted circular image is entered on an input screen, and the planar inclination angle φ
is determined on the basis of the angle θ
. - View Dependent Claims (25)
-
Specification