Rigid Motions on 3D Digital Space
by Kacper Pluta, University Paris-Est Marne-la-Vallée, Gaspard Monge Laboratory of Computer Science
Technion 13/05/2018
Framework
Input data
Output data
Rigid Motions on
rotation matrix
translation vector
Interesting properties when
and
integer point
What are Digitized Rigid Motions?
In general, such transformations are neither surjective nor injective.
Agenda
- Introduction to the cubic grid and 3D rigid motions
- Bijectivity of 3D digitized rotations
- Algorithm for characterizing bijective 3D digitized rotations
- Conclusion & Perspectives
Part I: 3D Bijective Digitized Rotations
- Motivation & Framework
- Alteration of digital images under digitized rigid motions
- Problem as a quadrics arrangement
- Algorithm for computing the arrangement
- Conclusion & Perspectives
Part II: Classifying Rigid Motions of 3D Digital Images
In Collaboration With...
- N. Passat of the University of Reims
- G. Moroz of Inria Nancy
- P. Romon of the University Paris-Est Marne-la-Vallée
- Y. Kenmochi of the CNRS (University Paris-Est)
Part I: 3D Bijective Digitized Rotations
Introduction to 3D Digital Geometry
The Cubic Grid
The cubic lattice is then:
Digitization Model
A digitization cell of
denoted by
Digitization Model
The digitization operator is defined as
such that
and
Spatial Rotations and Quaternions
with
Properties:
- Hamilton product is not commutative
- Any rotation can be written as
where
- We can derive a rotation matrix
where
The figure source: http://www.3dgep.com/understanding-quaternions/
Properties
- Non-injective
- Non-surjective
- Do not preserve distances
Digitized Rigid Motions
Remainders
3D digitized rotation is then
bijective when
Bijectivity of 3D Digitized Rotations
Remainders
Equivalently and more computationally friendly (we will see later)
such that
Group Spanned by Values of
Proposition
If all the generators of
have only rational terms, then there exist vectors
which are the
minimal generators of
Group Spanned by Values of
Lemma
If
is dense, then the
corresponding 3D digitized rotation is not bijective.
Group Spanned by Values of
Conjecture
If
has a dense factor, the
corresponding digitized rotation is not bijective.
Lipschitz Quaternions and Rational Rotations
Proposition
There is a two-to-one correspondence between the set of Lipschitz quaternions
such that the
and the set of rational rotations.
where
Bijectivity Characterization Algorithm
Turning into Integers
Since we have
where
and
is rational, we can
multiply by
and obtain an integer lattice.
Reducing the Left Factor
We are allowed to divide on the left by q while keeping integer valued functions.
Characterization Algorithm Step 1
To check if
belongs to values
of
first verify whether
Characterization Algorithm Step 2
Then we solve the following Diophantine system:
where
and
The complexity of reducing
The final complexity is
Some Experimental Results
The question is how to analytically characterize such quaternions?
Bijective Digitized Rotations
Square Lattice
A digitized rotation is bijective if and only if the corresponding Gaussian Integer
is of the form
i.e. it corresponds to a twin primitive Pythagorean triple.
Hexagonal Lattice
A digitized rotation is bijective if and only if the corresponding Eisenstein Integer
has generators of the form
or
Conclusion and Perspectives
- Analytical characterization of bijective 3D digitized rotations
- Proving our conjecture on semi-dense groups
Perspectives
- Existence of bijective non-simple 3D digitized rotations
- Algorithm for characterization of bijectivity of 3D digitized rotations
- Implementation of the algorithm released under a BSD license
Conclusion
Part II: Quadrics Arrangement in Classifying Rigid Motions of a 3D Digital Image
Motivation
Spatial Rotations and Cayley Transform
where
and
Image Patch
In general, we consider a finite set
called an image
patch whose center
and radius
of
are given by
and
respectively.
Definition
Image Patch
For example, let's consider the image patch
where the center is
Alterations Step-by-Step
Alterations Step-by-Step
Alterations Step-by-Step
Critical Rigid Motions
Formulation
where
and
Critical Rigid Motions
Formulation
where
and
The parameter space
Problem as Arrangement of Hypersurfaces
The surfaces are given by
Figure: Visualization 3D parameter space of 2D digitized rigid motions
Problem as Arrangement of Hypersurfaces
In particular, the surfaces are given by
Figure: Visualization 3D parameter space of 2D digitized rigid motions
Problem as Arrangement of Hypersurfaces
Complexity of the arrangement
Overall number of hypersurfaces is
and the complexity of the
arrangement is bounded by number of hypersurfaces to the power of dimensionality of the space
Dimension Reduction
Uncoupling the Parameters
Uncoupling the Parameters
Uncoupling the Parameters
A configuration exists if there are
such that
such that
Uncoupling the Parameters
Thanks to the rational expressions in Cayley Transform we obtain
polynomials of degree 2:
Uncoupling the Parameters
We then study arrangement of quadrics defined as
Using Sylvester's Law of Inertia we can prove that the only real Euclidean types are hyperboloid of one sheet and hyperbolic paraboloid.
Reducing Set of Quadrics
Discarding quadrics
For example, if we consider the image patch
we directly obtain 441 quadrics while only 81 are necessary to consider.
The discarded quadrics are:
- of non-real Euclidean type i.e., empty or complex
- quadrics equivalent up to a multiplication by a constant
What do we want to compute?
At least one sample point for each 3-dimensional connected component of the set
Computing Arrangement of Quadrics
Relations with Previous Studies
B. Mourrain, J. P. Tecourt, and M. Teillaud: On the Computation of an
Arrangement of Quadrics in 3D, Computational Geometry 30(2), Elsevier (2005)
What is different?
- Use of non-generic directions
-
Support for asymptotic critical values
-
We only store 3D sample points
Global Idea of the proposed Algorithm
- Along non-generic direction, detect and sort all the events in which the topology of the arrangement changes
-
Between two consecutive events, place a plane, intersect it with the quadrics, and compute one point in each connected component bounded by conics
Detection of Events
First intersections for an image patch of
respectively.
Detection of Events
Detection of Events
Detection of Events
Detection of Events
An asymptote lives in a quadric.
Detection of Events
A curve given by an intersection of two quadrics is an asymptote.
Recovering the Translational Part
Recovering the Translational Part
Sample points of the translational part can be computed from the
sample points of the previous step from
Implementation
- Maple 2015 and later
- Support for Maple Grid framework
- Computation can be restarted e.g., after a crash
- Partial support for clusters compatible with POSIX
- Support for FGb library written by Jean-Charles Faugère
- We found and reported a few bugs in Maple and a bug in Linux
- Released under Revisited BSD License
https://github.com/copyme/RigidMotionsMapleTools
Conclusion and Perspectives
- Optimization of the implementation by exploring symmetry of the variables
-
Identification of image patches which break connectivity under 3D digitized rigid motions
Perspectives
-
A new algorithm for computing arrangement of quadrics in 3D
-
Use of non-generic directions
-
Taking in to account asymptotic critical values
Conclusion
Thank you for your attention!
Rigid Motions on 3D Digital Space
By Kacper Pluta
Rigid Motions on 3D Digital Space
Slides used for a seminary talk at Technion – Israel Institute of Technology.
- 1,846