Superellipsoid Explained
In mathematics, a superellipsoid (or super-ellipsoid) is a solid whose horizontal sections are superellipses (Lamé curves) with the same squareness parameter
, and whose vertical sections through the center are superellipses with the squareness parameter
. It is a generalization of an ellipsoid, which is a special case when
.
Superellipsoids as computer graphics primitives were popularized by Alan H. Barr (who used the name "superquadrics" to refer to both superellipsoids and supertoroids).[1] [2] In modern computer vision and robotics literatures, superquadrics and superellipsoids are used interchangeably, since superellipsoids are the most representative and widely utilized shape among all the superquadrics.[3] [4]
Superellipsoids have an rich shape vocabulary, including cuboids, cylinders, ellipsoids, octahedra and their intermediates.[5] It becomes an important geometric primitive widely used in computer vision,[6] robotics, and physical simulation.[7] The main advantage of describing objects and envirionment with superellipsoids is its conciseness and expressiveness in shape. Furthermore, a closed-form expression of the Minkowski sum between two superellipsoids is available.[8] This makes it a desirable geometric primitive for robot grasping, collision detection, and motion planning.
Special cases
A handful of notable mathematical figures can arise as special cases of superellipsoids given the correct set of values, which are depicted in the above graphic:
Piet Hein's supereggs are also special cases of superellipsoids.
Formulas
Basic (normalized) superellipsoid
The basic superellipsoid is defined by the implicit function
+
| \epsilon2/\epsilon1 |
\right) | |
+
The parameters
and
are positive real numbers that control the squareness of the shape.
The surface of the superellipsoid is defined by the equation:
For any given point
, the point lies inside the superellipsoid if
, and outside if
.
Any "parallel of latitude" of the superellipsoid (a horizontal section at any constant z between -1 and +1) is a Lamé curve with exponent
, scaled by
, which is
Any "meridian of longitude" (a section by any vertical plane through the origin) is a Lamé curve with exponent
, stretched horizontally by a factor
w that depends on the sectioning plane. Namely, if
and
, for a given
, then the section is
where
In particular, if
is 1, the horizontal cross-sections are circles, and the horizontal stretching
of the vertical sections is 1 for all planes. In that case, the superellipsoid is a
solid of revolution, obtained by rotating the Lamé curve with exponent
around the vertical axis.
Superellipsoid
The basic shape above extends from -1 to +1 along each coordinate axis. The general superellipsoid is obtained by scaling the basic shape along each axis by factors
,
,
, the semi-diameters of the resulting solid. The implicit function is
F(x,y,z)=\left(\left(
+\left(
+\left(
.Similarly, the surface of the superellipsoid is defined by the equation
For any given point
, the point lies inside the superellipsoid if
, and outside if
.
Therefore, the implicit function is also called the inside-outside function of the superellipsoid.
The superellipsoid has a parametric representation in terms of surface parameters
,
.
General posed superellipsoid
In computer vision and robotic applications, a superellipsoid with a general pose in the 3D Euclidean space is usually of more interest.
For a given Euclidean transformation of the superellipsoid frame
g=[R\inSO(3),t\inR3]\inSE(3)
relative to the world frame, the implicit function of a general posed superellipsoid surface defined the world frame is
F\left(g-1\circ(x,y,z)\right)=1
where
is the transformation operation that maps the point
in the world frame into the canonical superellipsoid frame.
Volume of superellipsoid
The volume encompassed by the superelllipsoid surface can be expressed in terms of the beta functions
,
[9] V(\epsilon1,\epsilon2,ax,ay,az)=2axayaz\epsilon1\epsilon
)
, since
\beta(m,n)= | \Gamma(m)\Gamma(n) |
\Gamma(m+n) |
Recovery from data
Recoverying the superellipsoid (or superquadrics) representation from raw data (e.g., point cloud, mesh, images, and voxels) is an important task in computer vision,[10] robotics, and physical simulation.
Traditional computational methods model the problem as a least-square problem. The goal is to find out the optimal set of superellipsoid parameters
that minimize an objective function. Other than the shape parameters,
SE(3) is the pose of the superellipsoid frame with respect to the world coordinate.
There are two commonly used objective functions.[11] The first one is constructed directly based on the implicit function
G1(\theta)=axayaz\sum
\left(g-1\circ(xi,yi,z
The minimization of the objective function provides a recovered superellipsoid as close as possible to all the input points
\{(xi,yi,zi)\inR3,i=1,2,...,N\}
. At the mean time, the scalar value
is positively proportional to the volume of the superellipsoid, and thus have the effect of minimizing the volume as well.
The other objective function tries to minimized the radial distance between the points and the superellipsoid. That is[12]
G2(\theta)=\sum
| |
\left(\left|r | |
| i\right|\left|1-F |
\left(g-1\circ(xi,yi,z
, where
A probabilistic method called EMS is designed to deal with noise and outliers. In this method, the superellipsoid recovery is reformulated as a maximum likelihood estimation problem, and an optimization method is proposed to avoid local minima utilizing geometric similarities of the superellipsoids.
The method is further extended by modeling with nonparametric bayesian techniques to recovery multiple superellipsoids simultaneously.[13]
Bibliography
- Barr, "Superquadrics and Angle-Preserving Transformations," in IEEE Computer Graphics and Applications, vol. 1, no. 1, pp. 11–23, Jan. 1981, doi: 10.1109/MCG.1981.1673799.
- Aleš Jaklič, Aleš Leonardis, Franc Solina, Segmentation and Recovery of Superquadrics. Kluwer Academic Publishers, Dordrecht, 2000.
- Aleš Jaklič, Franc Solina (2003) Moments of Superellipsoids and their Application to Range Image Registration. IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS, 33 (4). pp. 648–657
- W. Liu, Y. Wu, S. Ruan and G. S. Chirikjian, "Robust and Accurate Superquadric Recovery: a Probabilistic Approach," 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA, 2022, pp. 2666–2675, doi: 10.1109/CVPR52688.2022.00270.
External links
Notes and References
- Barr . 1981 . Superquadrics and Angle-Preserving Transformations . IEEE Computer Graphics and Applications . 1 . 1 . 11–23 . 10.1109/MCG.1981.1673799 . 9389947 . 1558-1756.
- Barr, A.H. (1992), Rigid Physically Based Superquadrics. Chapter III.8 of Graphics Gems III, edited by D. Kirk, pp. 137 - 159
- Ruan . Sipu . Wang . Xiaoli . Chirikjian . Gregory S. . 2022 . Collision Detection for Unions of Convex Bodies With Smooth Boundaries Using Closed-Form Contact Space Parameterization . IEEE Robotics and Automation Letters . 7 . 4 . 9485–9492 . 10.1109/LRA.2022.3190629 . 250543506 . 2377-3766. free .
- Book: Paschalidou . Despoina . Van Gool . Luc . Geiger . Andreas . 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) . Learning Unsupervised Hierarchical Part Decomposition of 3D Objects from a Single RGB Image . 2020 . https://ieeexplore.ieee.org/document/9157374 . 1057–1067 . 10.1109/CVPR42600.2020.00114. 978-1-7281-7168-5 . 214634317 .
- Book: Liu . Weixiao . Wu . Yuwei . Ruan . Sipu . Chirikjian . Gregory S. . 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) . Robust and Accurate Superquadric Recovery: A Probabilistic Approach . 2022 . https://ieeexplore.ieee.org/document/9878948 . 2666–2675 . 10.1109/CVPR52688.2022.00270. 2111.14517 . 978-1-6654-6946-3 . 244715106 .
- Book: Paschalidou . Despoina . Ulusoy . Ali Osman . Geiger . Andreas . 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) . Superquadrics Revisited: Learning 3D Shape Parsing Beyond Cuboids . 2019 . https://ieeexplore.ieee.org/document/8953499 . 10336–10345 . 10.1109/CVPR.2019.01059. 1904.09970 . 978-1-7281-3293-8 . 128265641 .
- Lu . G. . Third . J. R. . Müller . C. R. . 2012-08-20 . Critical assessment of two approaches for evaluating contacts between super-quadric shaped particles in DEM simulations . Chemical Engineering Science . en . 78 . 226–235 . 10.1016/j.ces.2012.05.041 . 2012ChEnS..78..226L . 0009-2509.
- Ruan . Sipu . Chirikjian . Gregory S. . 2022-02-01 . Closed-form Minkowski sums of convex bodies with smooth positively curved boundaries . Computer-Aided Design . en . 143 . 103133 . 10.1016/j.cad.2021.103133 . 2012.15461 . 229923980 . 0010-4485.
- Web site: SUPERQUADRICS AND THEIR GEOMETRIC PROPERTIES .
- Bajcsy . R. . Solina . F. . 1987 . Three dimensional object representation revisited . Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) . 231–240.
- Zhang . Yan . 2003-10-01 . Experimental comparison of superquadric fitting objective functions . Pattern Recognition Letters . en . 24 . 14 . 2185–2193 . 10.1016/S0167-8655(02)00400-2 . 2003PaReL..24.2185Z . 0167-8655.
- Book: Gross . A.D. . Boult . T.E. . [1988 Proceedings] Second International Conference on Computer Vision . Error of Fit Measures for Recovering Parametric Solids . 1988 . https://ieeexplore.ieee.org/document/590052 . 690–694 . 10.1109/CCV.1988.590052. 0-8186-0883-8 . 43541446 .
- Book: Wu . Yuwei . Liu . Weixiao . Ruan . Sipu . Chirikjian . Gregory S. . Computer Vision – ECCV 2022 . Primitive-Based Shape Abstraction via Nonparametric Bayesian Inference . 2022 . Avidan . Shai . Brostow . Gabriel . Cissé . Moustapha . Farinella . Giovanni Maria . Hassner . Tal . https://link.springer.com/chapter/10.1007/978-3-031-19812-0_28 . Lecture Notes in Computer Science . 13687 . en . Cham . Springer Nature Switzerland . 479–495 . 10.1007/978-3-031-19812-0_28 . 2203.14714 . 978-3-031-19812-0.