Uniqueness theorem of reconstruction of preimage by its image under degenerate mapping

Автор: Klyachin Vladimir A., Grigorieva Elena G.

Журнал: Математическая физика и компьютерное моделирование @mpcm-jvolsu

Рубрика: Математика и механика

Статья в выпуске: 2 т.25, 2022 года.

Бесплатный доступ

One of the urgent problems in the construction of computer vision systems is the problem of determining the spatial orientation and spatial position of an object from a photograph. For example, this task is especially important for autonomous driving systems, where the positioning of nearby vehicles is a key issue for autonomous vehicles in an urban environment. In this regard, for example, in 2019, the Baidu Robotics and Autonomous Driving Laboratory together with Peking University, set an appropriate task for the Kaggle community (https://www.kaggle.com/c/pku-autonomous-driving) and provided more than 60,000 copies of three-dimensional cars marked from 5,277 real images. In this article, we formulate some results that are the mathematical basis for substantiating methods for solving the abovementioned reconstruction problems in computer vision systems.

Еще

Central projection, degenerate maps, preimage restoration, transformation groups, computer vision systems

Короткий адрес: https://sciup.org/149140264

IDR: 149140264   |   DOI: 10.15688/mpcm.jvolsu.2022.2.2

Текст научной статьи Uniqueness theorem of reconstruction of preimage by its image under degenerate mapping

DOI:

, Prosp. Universitetsky, 100, 400062 Volgograd, Russian Federation

Abstract. One of the urgent problems in the construction of computer vision systems is the problem of determining the spatial orientation and spatial position of an object from a photograph. For example, this task is especially important for autonomous driving systems, where the positioning of nearby vehicles is a key issue for autonomous vehicles in an urban environment. In this regard, for example, in 2019, the Baidu Robotics and Autonomous Driving Laboratory together with Peking University, set an appropriate task for the Kaggle community and provided more than 60,000 copies of three-dimensional cars marked from 5,277 real images. In this article, we formulate some results that are the mathematical basis for substantiating methods for solving the above-mentioned reconstruction problems in computer vision systems.

We choose the finite subset P C R 3 as a 3D model of objects in space. Let n : R 3 ^ R 2 be central projection which is defined by formulas

n(x,y,z) = (x/z,y/z\ z = 0.

It is clear that the set P can’t be reconstructed by its image P = n(P). But if we introduce some restrictions on the structure of finite set P we can hope that this reconstruction will be possible. Note, that earlier we considered some problems which are closed to the considered here:

  •    the problem of determination the plane of the circle in R 3 by its projection [1];

  •    the problem of determination the spatial triangle with defined angles by plane triangle of its projection [6];

  •    the problem of the surface reconstruction for objects in space by its image [2];

  •    the problem of determination the profile function of the visible part of the rotation surface by its projection [5].

In addition, we developed machine learning models using artificial Convolutional Neural Network (CNN) and performed a series of experiments for determination of the spatial orientations vehicles on the photographs [3; 4].

The goal of this article to give mathematical foundations for explanation of possibility the solving of the reconstruction problem. The key statement to solve this problem is uniqueness theorem. In other words, we propose that structure of the set P is described by the admissible transformations F : R 3 ^ R 3 of this set. Uniqueness theorem presuppose that if n(P) = n(F(P)) then P = F(P ).

Now we give strict mathematical formulations. Let P C R 3 be some finite set. Consider some family Ф of differentiable transformations of R 3 . What the conditions we set for this family which imply the fact: the equality n(P) = n(F (P )) for some transformation F : R 3 ^ R 3 , F E Ф leads to P = P . We shall consider general case of degenerate mappings.

Let / : R ^ R m , 1 < m < n be some differentiable mapping. We consider Lie group G with unit e E G of differentiable transformations of R and let Л о be its Lie algebra. It is well known that for each X E Л о it corresponds vector field X * in R such that exp(tX ) be local 1-parameter of local transformations of the vector field X * (see, for example, Proposition 4.1 in [7]). We define the following set for each X E Л о

M x = { ж E R : X * (ж) E Ker d/ } .

Example. Let G be a group of parallel transformations in R . Then Л о is isomorphic to R . Then if X E Л о , then X * is constant vector field X * (ж) = X.

Hausdorff distance is defined by the formula dn(Л, B) = max{sup inf |a — b\, sup inf |a — b\}.

aE A ^ ^ в        ь е в a E A

1.    Uniqueness theorem

Consider some finite set P C R such that V X E Ag the set P is not subset of M x .

Theorem 1. For all g 0 E G there is some neighborhood U C G of g 0 such that if for some g E U it holds

/ (g(P)) = / (g o (P))

then g = g o .

For the proof of theorem 1 we use the following result.

Lemma 1. Let d H (A, В ) denotes Hausdorff distance between subsets A, В C R m . Consider curve Y t = exp(tX) for X E A G . We put

h(t) = d H (/ (P ),/ (Y t (P))).

Then

dh(t) dt t=o

= max | d/(X * (p)) | .

P E P

Proof. We note that there exists point p E P such that for all sufficient small t > 0 we have dH(/(P),/(Yt(P))) = |/(p) -/(Yt(p))|.

It follows from the fact that the nearest point in the set / (Y t (P ) for P E P is the point / (Y t (p)). We set

q(t) = /(p) - /W,  ^(t) = ША

It is clear that ^(0) = 0 and g‘(0) = lim AX -d/ "„'    )= -d/(X•).

/ > 0 t            d dt t=o)

Therefore

p‘(0) = lim t>o

< 9(tW(t) ) ^(t)

k‘(0) | 2

H z (0) ’

and finitely p (0) = | g/(0) | = | d/(X * ) | .

Proof of Theorem 1. It is obviously that it is sufficient to prove theorem for g 0 = e. We put h x (t) = d H (/(P),/ (Y t (P))).

From lemma 1 it follows that for all X E Ag there exists t x >  0 such that h' x (t) > 0 for t E [0, t x ]. We define

U = {g E G : g = exp(tX), t E [0,t x ] } .

Now we note that if g = exp(sX) E U for some X E A G and s E [0, t x ] such that / (g(P )) = /(P) then h x (0) = h x (s) = 0. Therefore h' x (t * ) = 0 for some t * E [0,t x ]. It contradicts to definition of U . Theorem is proved.

Corollary 1. Let M C R 3 some polyhedron and P = V (M ) is the set of its vertices. Consider some rotation R : R 3 ^ R 3 by sufficiently small angle a 0 . If п о R(P ) = n(P) then a = 0 .

2.    Stability Theorem

In addition to the uniqueness theorem, to substantiate the possibility of reconstructing objects, we formulate and prove a stability theorem. This theorem assumes that with a small deformation of the projection of the object, the result of the reconstruction also undergoes small deformation. Let us move on to the exact wording.

Let / : Rn ^ Rn be some smooth mapping such that detd/ > 0

everywhere. We fix some positive A > 0. Let D = d/ d/ T and 0 < A 1 ... A n , E 1 , ...,E n eigenvalues and eigenvectors of matrix D. Here ( ) T denotes a transposed matrix of d/ . We suppose that it exists 1 к n such that A A k+1 ... A n . We denote by L k -subspace spanned by vectors E 1 , ...,E k .

For each X E Ag and for 0 0 n/2 we define the following set

M x (0) = { ж E R : value of angle Z (X * ,L k ) < 0 } .

For X E Ag we put g = exp(X) and Y t = exp(tX) t E [0,1]. Let r(p) = { y t (p),t E E [0,1] } be integral curve of the vector field X * which joins the points p and g(p). We define the following values

L(g,P) = max |r(p)|, Z(g,p) = max |/(r(p))|, PEP                     PEP where |r(p)| and |/(r(p))| denote the length of the curves.

Theorem 2. Let X E Ag, g = exp(X). We suppose that for some 0 < 0 n/2 and for all t E [0,1] it holds

Y t (P ) H M x (0) = 0 .

Then

L(g,P <7^ .

  • V A sin 0

Lemma 2. If ж E M x (0) then

| d/(X * ) | > | X * |V Asin0.

Proof. Indeed, we have

| d/(X * ) | 2 = ( d/(X * ),d/(X * ) ) = ( d/ T d/ (X * ),X * ) = ( D(X * ),X * ) .

Let a = 1, 2, ...,n be the angles between vector X * and eigenvectors E j . Then

( D(X * ),X * ) = | X * | 2 ^2 A j cos 2 a j .

г=1

We denote by a the angle between vector X* and subspace Lk. It is clear that k cos2 a = 52 cos2 Oj. г=1

Therefore

{D(X * ),X * ) = | X * | 2

(£ i=1

X i cos 2

П a + Xi cos2

i=k+1

O i

> | X * | 2

i=1

(X i A) cos 2 a + A

> | X * | 2 ( 1 A) cos 2 a + A ) > | X * | 2 Asin 2 a > | X * | 2 Asin 2 0.

Proof of Theorem 2. Let p E P be point such that

| Г(р) | = L(g,P ).

Using Lemma 2 we conclude

l(g,P) >\J(Г(р))| = / AlL(p2) dl dt =

j | df (Yt() |

dt > V A sin 0 J

M(p) | dt = VAsin 0 | f (Г(р)) | = VAsin 0L(g,P ).

NOTE

  • 1    This work was supported by the Ministry of Education and Science of Russia (the project “Development of Virtual 3D Reconstruction of Historical Objects Technique”, scientific theme code 2019-0920, project number in the research management system FZUU-0633-2020-0004.

Список литературы Uniqueness theorem of reconstruction of preimage by its image under degenerate mapping

  • Klyachin V.A., Grigoryeva E.G. Algoritm avtomaticheskogo opredeleniya parametrov orientatsii kamery v prostranstve na osnove kharakternykh elementov fotosnimka [Algorithm for Automatic Determination of Camera Orientation Parameters in Space Based on the Characteristic Elements of the Photograph]. Tendentsii razvitiya nauki i obrazovaniya, 2018, vol. 45, no. 6, pp. 10-20. DOI: https://doi.org/10.18411/lj-12-2018-125.
  • Klyachin A.A., Klyachin V.A. Algoritm vosstanovleniya poverkhnosti obyekta po ego izobrazheniyu [Algorithm for Restoring the Object Surface From Its Image]. Matematicheskaya fizika i kompyuternoe modelirovanie [Mathematical Physics and Computer Simulation], 2021, vol. 24, no. 1, pp. 16-24. DOI: https://doi.org/10.15688/mpcm.jvolsu.2021.1.2.
  • Gordeev A.Y., Klyachin V.A., Kurbanov E.R., Driaba A.Y. Autonomous Mobile Robot with AI Based on Jetson Nano. Proceedings of the Future Technologies Conference (FTC- 2020). Cham, Springer, 2021, vol. 1, pp. 190-204. DOI: https://doi.org/10.1007/978-3-030-63128-4_15.
  • Gordeev A.Y., Klyachin V.A. Determination of the Spatial Position of Cars on the Road Using Data from a Camera or DVR. “Smart Technologies” for Society, State and Economy. ISC 2020. Lecture Notes in Networks and Systems. Cham, Springer, 2020, vol. 155, pp. 172-180. DOI: https://doi.org/10.1007/978-3-030-59126-7_20.
  • Klyachin V.A., Grigorieva E.G. A 3D Reconstruction Algorithm of a Surface of Revolution from Its Projection. Journal of Applied and Industrial Mathematics, 2020, vol. 14, no. 1, pp. 85-91.
  • Klyachin A.A., Klyachin V.A. Existence and Uniqueness Theorems for Solutions of Inverse Problems of Projective Geometry for 3D Reconstruction from Photographs. Chebyshevskii sbornik, 2020, vol. 21, no. 4, pp. 117-128.
  • Kobayashi S., Nomizu K. Foundations of Differential Geometry. New York, London, John Wiles and Sons, Inc., 1963. 348 p.
Еще
Статья научная