Superellipsoid: Difference between revisions
No edit summary Tags: Visual edit Mobile edit Mobile web edit |
|||
Line 85: | Line 85: | ||
== Recovery from data == |
== 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,<ref name=":5">{{Cite journal |last=Bajcsy |first=R. |last2=Solina |first2=F. |date=1987 |title=Three dimensional object representation revisited |url=https://www.researchgate.net/publication/33550059_Three_dimensional_object_representation_revisited |journal=Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV |pages=231-240}}</ref><ref name=":3" /><ref name=":2" /><ref name=":1" /> robotics,<ref name=":0" /> and physical simulation.<ref name=":4" /> |
Recoverying the superellipsoid (or superquadrics) representation from raw data (e.g., point cloud, mesh, images, and voxels) is an important task in computer vision,<ref name=":5">{{Cite journal |last=Bajcsy |first=R. |last2=Solina |first2=F. |date=1987 |title=Three dimensional object representation revisited |url=https://www.researchgate.net/publication/33550059_Three_dimensional_object_representation_revisited |journal=Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV) |pages=231-240}}</ref><ref name=":3" /><ref name=":2" /><ref name=":1" /> robotics,<ref name=":0" /> and physical simulation.<ref name=":4" /> |
||
Traditional computational methods model the problem as a least-square problem.<ref name=":5" /> The goal is to find out the optimal set of superellipsoid parameters <math> \theta\doteq[\epsilon_1, \epsilon_2, a_x, a_y, a_z, g]</math> that minizie an objective function. Other than the shape parameters, <math> g\in SE(3)</math> is the pose of the superellipsoid frame with respect to the world coordinate. |
Traditional computational methods model the problem as a least-square problem.<ref name=":5" /> The goal is to find out the optimal set of superellipsoid parameters <math> \theta\doteq[\epsilon_1, \epsilon_2, a_x, a_y, a_z, g]</math> that minizie an objective function. Other than the shape parameters, <math> g\in SE(3)</math> is the pose of the superellipsoid frame with respect to the world coordinate. |
Revision as of 18:49, 11 March 2023
This article includes a list of general references, but it lacks sufficient corresponding inline citations. (February 2014) |
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 .[2]
Superellipsoids as computer graphics primitives were popularized by Alan H. Barr (who used the name "superquadrics" to refer to both superellipsoids and supertoroids).[2][3] 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.[4][5]
Superellipsoids have an rich shape vocabulary, including cuboids, cylinders, ellipsoids, octahedra and their intermediates.[6] It becomes an important geometric primitive widely used in computer vision,[6][5][7] robotics,[4] and physical simulation.[8] The main advantage of describing objects and envirionment with superellipsoids is its conciseness and expressiveness in shape.[6] Furthermore, a closed-form expression of the Minkowski sum between two superellipsoids is available.[9] This makes it a desirable geometric primitive for robot grasping, collision detection, and motion planning.[4] Useful tools and algorithms for superquadric visualization, sampling, and recovery are open-sourced here.
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
- Steinmetz solid
- Bicone
- Regular octahedron
- Cube, 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
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 [2]
- .
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.[2]
The superellipsoid has a parametric representation in terms of surface parameters , .[3]
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.[6][5]
For a given Euclidean transformation of the superellipsoid frame relative to the world frame, the implicit function of a general posed superellipsoid surface defined the world frame is[6]
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 ,[10]
or equivalently with the Gamma function , since
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,[11][7][6][5] robotics,[4] and physical simulation.[8]
Traditional computational methods model the problem as a least-square problem.[11] The goal is to find out the optimal set of superellipsoid parameters that minizie an objective function. Other than the shape parameters, is the pose of the superellipsoid frame with respect to the world coordinate.
There are two commonly used objective functions.[12] The first one is constructed directly based on the implicit function[11]
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 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[13][12]
, where
A probabilistic method called EMS is designed to deal with noise and outliers.[6] 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 simutaneously.[14]
References
- ^ "POV-Ray: Documentation: 2.4.1.11 Superquadric Ellipsoid".
- ^ a b c d Barr (1981). "Superquadrics and Angle-Preserving Transformations". IEEE Computer Graphics and Applications. 1 (1): 11–23. doi:10.1109/MCG.1981.1673799. ISSN 1558-1756.
- ^ a b Barr, A.H. (1992), Rigid Physically Based Superquadrics. Chapter III.8 of Graphics Gems III, edited by D. Kirk, pp. 137–159
- ^ a b c d 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. doi:10.1109/LRA.2022.3190629. ISSN 2377-3766.
- ^ a b c d Paschalidou, Despoina; Van Gool, Luc; Geiger, Andreas (2020). "Learning Unsupervised Hierarchical Part Decomposition of 3D Objects From a Single RGB Image". 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR): 1057–1067. doi:10.1109/CVPR42600.2020.00114.
- ^ a b c d e f g Liu, Weixiao; Wu, Yuwei; Ruan, Sipu; Chirikjian, Gregory S. (2022). "Robust and Accurate Superquadric Recovery: a Probabilistic Approach". 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR): 2666–2675. doi:10.1109/CVPR52688.2022.00270.
- ^ a b Paschalidou, Despoina; Ulusoy, Ali Osman; Geiger, Andreas (2019). "Superquadrics Revisited: Learning 3D Shape Parsing Beyond Cuboids". 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR): 10336–10345. doi:10.1109/CVPR.2019.01059.
- ^ a b 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. 78: 226–235. doi:10.1016/j.ces.2012.05.041. ISSN 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. 143: 103133. doi:10.1016/j.cad.2021.103133. ISSN 0010-4485.
- ^ "SUPERQUADRICS AND THEIR GEOMETRIC PROPERTIES" (PDF).
- ^ a b c Bajcsy, R.; Solina, F. (1987). "Three dimensional object representation revisited". Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV): 231–240.
- ^ a b Zhang, Yan (2003-10-01). "Experimental comparison of superquadric fitting objective functions". Pattern Recognition Letters. 24 (14): 2185–2193. doi:10.1016/S0167-8655(02)00400-2. ISSN 0167-8655.
- ^ Gross, A.D.; Boult, T.E. (1988). "Error Of Fit Measures For Recovering Parametric Solids". [1988 Proceedings] Second International Conference on Computer Vision: 690–694. doi:10.1109/CCV.1988.590052.
- ^ Wu, Yuwei; Liu, Weixiao; Ruan, Sipu; Chirikjian, Gregory S. (2022). Avidan, Shai; Brostow, Gabriel; Cissé, Moustapha; Farinella, Giovanni Maria; Hassner, Tal (eds.). "Primitive-Based Shape Abstraction via Nonparametric Bayesian Inference". Computer Vision – ECCV 2022. Cham: Springer Nature Switzerland: 479–495. doi:10.1007/978-3-031-19812-0_28. ISBN 978-3-031-19812-0.
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.