Superellipsoid Collection
   HOME

TheInfoList



OR:

In
mathematics Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, a superellipsoid (or super-ellipsoid) is a
solid Solid is a state of matter where molecules are closely packed and can not slide past each other. Solids resist compression, expansion, or external forces that would alter its shape, with the degree to which they are resisted dependent upon the ...
whose horizontal sections are
superellipse A superellipse, also known as a Lamé curve after Gabriel Lamé, is a closed curve resembling the ellipse, retaining the geometric features of semi-major axis and semi-minor axis, and symmetry about them, but defined by an equation that allows ...
s (Lamé curves) with the same squareness parameter \epsilon_2, and whose vertical sections through the center are superellipses with the squareness parameter \epsilon_1. It is a generalization of an ellipsoid, which is a special case when \epsilon_1=\epsilon_2=1. Superellipsoids as
computer graphics Computer graphics deals with generating images and art with the aid of computers. Computer graphics is a core technology in digital photography, film, video games, digital art, cell phone and computer displays, and many specialized applications. ...
primitives were popularized by Alan H. Barr (who used the name " superquadrics" to refer to both superellipsoids and supertoroids).Barr, A.H. (1992), ''Rigid Physically Based Superquadrics''. Chapter III.8 of ''Graphics Gems III'', edited by D. Kirk, pp. 137–159 In modern
computer vision Computer vision tasks include methods for image sensor, acquiring, Image processing, processing, Image analysis, analyzing, and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical ...
and
robotics Robotics is the interdisciplinary study and practice of the design, construction, operation, and use of robots. Within mechanical engineering, robotics is the design and construction of the physical structures of robots, while in computer s ...
literatures, superquadrics and superellipsoids are used interchangeably, since superellipsoids are the most representative and widely utilized shape among all the superquadrics. Superellipsoids have a rich shape vocabulary, including cuboids, cylinders, ellipsoids, octahedra and their intermediates. It becomes an important geometric primitive widely used in computer vision, robotics, and physical simulation. 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. 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: * Cylinder *
Sphere A sphere (from Ancient Greek, Greek , ) is a surface (mathematics), surface analogous to the circle, a curve. In solid geometry, a sphere is the Locus (mathematics), set of points that are all at the same distance from a given point in three ...
* Steinmetz solid *
Bicone In geometry, a bicone or dicone (from , and Greek: ''di-'', both meaning "two") is the three-dimensional surface of revolution of a rhombus around one of its axes of symmetry. Equivalently, a bicone is the surface created by joining two con ...
* Regular
octahedron In geometry, an octahedron (: octahedra or octahedrons) is any polyhedron with eight faces. One special case is the regular octahedron, a Platonic solid composed of eight equilateral triangles, four of which meet at each vertex. Many types of i ...
*
Cube A cube or regular hexahedron is a three-dimensional space, three-dimensional solid object in geometry, which is bounded by six congruent square (geometry), square faces, a type of polyhedron. It has twelve congruent edges and eight vertices. It i ...
, as a limiting case where the exponents tend to infinity Piet Hein's supereggs are also special cases of superellipsoids.


Formulas


Basic (normalized) superellipsoid

The basic superellipsoid is defined by the
implicit function In mathematics, an implicit equation is a relation of the form R(x_1, \dots, x_n) = 0, where is a function of several variables (often a polynomial). For example, the implicit equation of the unit circle is x^2 + y^2 - 1 = 0. An implicit func ...
: f(x,y,z)=\left(x^ + y^ \right)^ + z^ The parameters \epsilon_1 and \epsilon_2 are positive real numbers that control the squareness of the shape. The surface of the superellipsoid is defined by the equation: f(x,y,z)=1 For any given point (x,y,z)\in\mathbb^3, the point lies inside the superellipsoid if f(x,y,z)<1, and outside if f(x,y,z)>1. Any " parallel of latitude" of the superellipsoid (a horizontal section at any constant ''z'' between -1 and +1) is a Lamé curve with exponent 2/\epsilon_2, scaled by a = (1 - z^)^, which is : \left(\frac\right)^ + \left(\frac\right)^ = 1. Any " meridian of longitude" (a section by any vertical plane through the origin) is a Lamé curve with exponent 2/\epsilon_1, stretched horizontally by a factor ''w'' that depends on the sectioning plane. Namely, if x=u\cos\theta and y=u\sin\theta, for a given \theta, then the section is : \left(\frac\right)^ + z^ = 1, where :w = (\cos^\theta + \sin^\theta)^. In particular, if \epsilon_2 is 1, the horizontal cross-sections are circles, and the horizontal stretching w of the vertical sections is 1 for all planes. In that case, the superellipsoid is a
solid of revolution In geometry, a solid of revolution is a Solid geometry, solid figure obtained by rotating a plane figure around some straight line (the ''axis of revolution''), which may not Intersection (geometry), intersect the generatrix (except at its bound ...
, obtained by rotating the Lamé curve with exponent 2/\epsilon_1 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 a_x, a_y, a_z, the semi-diameters of the resulting solid. The implicit function is : F(x,y,z)=\left( \left(\frac\right)^ + \left(\frac\right)^ \right)^ + \left(\frac\right)^. Similarly, the surface of the superellipsoid is defined by the equation F(x,y,z)=1 For any given point (x,y,z)\in\mathbb^3, the point lies inside the superellipsoid if f(x,y,z)<1, and outside if f(x,y,z)>1. 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 \eta\in[-\pi/2,\pi/2), \omega\in[-\pi,\pi). :x(\eta,\omega) = a_x \cos^\eta\cos^\omega :y(\eta,\omega) = a_y \cos^\eta\sin^\omega :z(\eta,\omega) = a_z \sin^\eta


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=[\mathbf\in SO(3), \mathbf\in\mathbb^3]\in SE(3) relative to the world frame, the implicit function of a general posed superellipsoid surface defined the world frame is F\left(g^\circ(x,y,z)\right)=1 where \circ is the transformation operation that maps the point (x,y,z)\in\mathbb^3 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 function In mathematics, the beta function, also called the Euler integral of the first kind, is a special function that is closely related to the gamma function and to binomial coefficients. It is defined by the integral : \Beta(z_1,z_2) = \int_0^1 t^ ...
s \beta(\cdot,\cdot), V(\epsilon_1,\epsilon_2,a_x,a_y,a_z)=2a_xa_ya_z\epsilon_1\epsilon_2\beta(\frac,\epsilon_1+1)\beta(\frac,\frac) or equivalently with the
Gamma function In mathematics, the gamma function (represented by Γ, capital Greek alphabet, Greek letter gamma) is the most common extension of the factorial function to complex numbers. Derived by Daniel Bernoulli, the gamma function \Gamma(z) is defined ...
\Gamma(\cdot), since \beta(m,n)=\frac


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, 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 \theta\doteq epsilon_1, \epsilon_2, a_x, a_y, a_z, g/math> that minimize an objective function. Other than the shape parameters, g\in SE(3) is the pose of the superellipsoid frame with respect to the world coordinate. There are two commonly used objective functions. The first one is constructed directly based on the implicit function G_1(\theta)=a_xa_ya_z\sum_^\left(F^\left(g^\circ(x_i,y_i,z_i)\right)-1\right)^2 The minimization of the objective function provides a recovered superellipsoid as close as possible to all the input points \. At the mean time, the scalar value a_x,a_y,a_z 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 G_2(\theta)=\sum_^\left(\left, r_i\\left, 1-F^\left(g^\circ (x_i,y_i,z_i)\right)\\right)^2, where r_i=\, (x_i,y_i,z_i)\, _2 A probabilistic method called EMS is designed to deal with noise and
outlier In statistics, an outlier is a data point that differs significantly from other observations. An outlier may be due to a variability in the measurement, an indication of novel data, or it may be the result of experimental error; the latter are ...
s. In this method, the superellipsoid recovery is reformulated as a
maximum likelihood estimation In statistics, maximum likelihood estimation (MLE) is a method of estimation theory, estimating the Statistical parameter, parameters of an assumed probability distribution, given some observed data. This is achieved by Mathematical optimization, ...
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.


References

{{Reflist


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


Bibliography: SuperQuadric Representations

Superquadric Tensor Glyphs

SuperQuadric Ellipsoids and Toroids, OpenGL Lighting, and Timing

Superquadratics
by Robert Kragler,
The Wolfram Demonstrations Project The Wolfram Demonstrations Project is an open-source collection of interactive programmes called Demonstrations. It is hosted by Wolfram Research. At its launch, it contained 1300 demonstrations but has grown to over 10,000. The site won a Pa ...
.
Superquadrics Recovery Algorithm
in Python and MATLAB Computer graphics Computer vision Geometry Geometry in computer vision Robotics engineering Ellipsoids