fbpx
Wikipedia

Bounding sphere

In mathematics, given a non-empty set of objects of finite extension in -dimensional space, for example a set of points, a bounding sphere, enclosing sphere or enclosing ball for that set is an -dimensional solid sphere containing all of these objects.

Some instances of the smallest bounding circle, the case of the bounding sphere in 2 dimensions.

Used in computer graphics and computational geometry, a bounding sphere is a special type of bounding volume. There are several fast and simple bounding sphere construction algorithms with a high practical value in real-time computer graphics applications.[1]

In statistics and operations research, the objects are typically points, and generally the sphere of interest is the minimal bounding sphere, that is, the sphere with minimal radius among all bounding spheres. It may be proven that such a sphere is unique: If there are two of them, then the objects in question lie within their intersection. But an intersection of two non-coinciding spheres of equal radius is contained in a sphere of smaller radius.

The problem of computing the center of a minimal bounding sphere is also known as the "unweighted Euclidean 1-center problem".

Applications

Clustering

Such spheres are useful in clustering, where groups of similar data points are classified together.

In statistical analysis the scattering of data points within a sphere may be attributed to measurement error or natural (usually thermal) processes, in which case the cluster represents a perturbation of an ideal point. In some circumstances this ideal point may be used as a substitute for the points in the cluster, advantageous in reducing calculation time.

In operations research the clustering of values to an ideal point may also be used to reduce the number of inputs in order to obtain approximate values for NP-hard problems in a reasonable time. The point chosen is not usually the center of the sphere, as this can be biased by outliers, but instead some form of average location such as a least squares point is computed to represent the cluster.

Algorithms

There are exact and approximate algorithms for the solving bounding sphere problem.

Linear programming

Nimrod Megiddo studied the 1-center problem extensively and published on it at least five times in the 1980s.[2] In 1983, he proposed a "prune and search" algorithm which finds the optimum bounding sphere and runs in linear time if the dimension is fixed as a constant. When dimension is taken into account, the execution time complexity is  , impractical for high-dimensional applications. Megiddo used this linear programming approach in linear time when dimension is fixed.

In 1991, Emo Welzl proposed a much simpler randomized algorithm based in the extension of a randomized linear programming algorithm by Raimund Seidel. It runs in expected linear time. The paper provides experimental results demonstrating its practicality in higher dimensions.[3]

The open-source Computational Geometry Algorithms Library (CGAL) contains an implementation of this algorithm.[4]

Ritter's bounding sphere

In 1990, Jack Ritter proposed a simple algorithm to find a non-minimal bounding sphere.[5] It is widely used in various applications for its simplicity. The algorithm works in this way:

  1. Pick a point   from  , search a point   in  , which has the largest distance from  ;
  2. Search a point   in  , which has the largest distance from  . Set up an initial ball  , with its centre as the midpoint of   and  , the radius as half of the distance between   and  ;
  3. If all points in   are within ball  , then we get a bounding sphere. Otherwise, let   be a point outside the ball, construct a new ball covering both point   and previous ball. Repeat this step until all points are covered.

Ritter's algorithm runs in time   on inputs consisting of   points in  -dimensional space, which makes it very efficient. However it gives only a coarse result which is usually 5% to 20% larger than the optimum.[citation needed]

Core-set based approximation

Bădoiu et al. presented a   approximation to the bounding sphere problem,[6] where a   approximation means that the constructed sphere has radius at most  , where   is the smallest possible radius of a bounding sphere.

A coreset is a small subset, that a   expansion of the solution on the subset is a bounding sphere of the whole set. The coreset is constructed incrementally by adding the farthest point into the set in each iteration.

Kumar et al. improved this approximation algorithm[7] so that it runs in time  .

Fischer's exact solver

Fischer et al. (2003) proposed an exact solver, though the algorithm does not have a polynomial running time in the worst case.[8] The algorithm is purely combinatorial and implements a pivoting scheme similar to the simplex method for linear programming, used earlier in some heuristics. It starts with a large sphere that covers all points and gradually shrinks it until it cannot be shrunk further. The algorithm features correct termination rules in cases of degeneracies, overlooked by prior authors; and efficient handling of partial solutions, which produces a major speed-up. The authors verified that the algorithm is efficient in practice in low and moderately low (up to 10,000) dimensions and claim it does not exhibit numerical stability problems in its floating-point operations.[8] A C++ implementation of the algorithm is available as an open-source project.[9]

Extremal points optimal sphere

Larsson (2008) proposed the "extremal points optimal sphere" method with controllable speed to accuracy approximation to solve the bounding sphere problem. This method works by taking a set of   direction vectors and projecting all points onto each vector in  ;   serves as a speed-accuracy trade-off variable. An exact solver is applied to the   extremal points of these projections. The algorithm then iterates over the remaining points, if any, growing the sphere if necessary. For large   this method is orders of magnitude faster than exact methods, while giving comparable results. It has a worst case time of  . [1]

See also

References

  1. ^ a b Larsson, Thomas (2008), "Fast and tight fitting bounding spheres", SIGRAD 2008: The Annual SIGRAD Conference, Special Theme: Interaction, November 27-28, 2008, Stockholm, Sweden, Linköping Electronic Conference Proceedings, vol. 34, Linköping, Sweden: Linköping University
  2. ^ "Nimrod Megiddo's resume and publications ( ????? ?????".
  3. ^ Welzl, Emo (1991), "Smallest enclosing disks (balls and ellipsoids)", in Maurer, Hermann (ed.), New Results and New Trends in Computer Science: Graz, Austria, June 20–21, 1991, Proceedings (PDF), Lecture Notes in Computer Science, vol. 555, Berlin, Germany: Springer, pp. 359–370, doi:10.1007/BFb0038202, MR 1254721
  4. ^ CGAL 4.3 - Bounding Volumes - Min_sphere_of_spheres_d, retrieved 2014-03-30.
  5. ^ Ritter, Jack (1990), "An efficient bounding sphere", in Glassner, Andrew S. (ed.), Graphics Gems, San Diego, CA, US: Academic Press Professional, Inc., pp. 301–303, ISBN 0-12-286166-3
  6. ^ Bādoiu, Mihai; Har-Peled, Sariel; Indyk, Piotr (2002), "Approximate clustering via core-sets" (PDF), Proceedings of the Thirty-Fourth Annual ACM Symposium on Theory of Computing, New York, NY, US: ACM, pp. 250–257, doi:10.1145/509907.509947, MR 2121149, S2CID 5409535
  7. ^ Kumar, Piyush; Mitchell, Joseph S. B.; Yıldırım, E. Alper (2003), "Computing core-sets and approximate smallest enclosing hyperspheres in high dimensions", in Ladner, Richard E. (ed.), Proceedings of the Fifth Workshop on Algorithm Engineering and Experiments, Baltimore, MD, USA, January 11, 2003, Philadelphia, PA, US: SIAM, pp. 45–55
  8. ^ a b Fischer, Kaspar; Gärtner, Bernd; Kutz, Martin (2003), "Fast smallest-enclosing-ball computation in high dimensions" (PDF), in Battista, Giuseppe Di; Zwick, Uri (eds.), Algorithms: ESA 2003, 11th Annual European Symposium, Budapest, Hungary, September 16-19, 2003, Proceedings (PDF), Lecture Notes in Computer Science, vol. 2832, Springer, Berlin, pp. 630–641, doi:10.1007/978-3-540-39658-1_57
  9. ^ miniball open-source project

External links

  • Smallest Enclosing Circle Problem – describes several algorithms for enclosing a point set, including Megiddo's linear-time algorithm

bounding, sphere, planar, problem, bounding, circle, mathematics, given, empty, objects, finite, extension, displaystyle, dimensional, space, example, points, bounding, sphere, enclosing, sphere, enclosing, ball, that, displaystyle, dimensional, solid, sphere,. For the planar problem see Bounding circle In mathematics given a non empty set of objects of finite extension in d displaystyle d dimensional space for example a set of points a bounding sphere enclosing sphere or enclosing ball for that set is an d displaystyle d dimensional solid sphere containing all of these objects Some instances of the smallest bounding circle the case of the bounding sphere in 2 dimensions Used in computer graphics and computational geometry a bounding sphere is a special type of bounding volume There are several fast and simple bounding sphere construction algorithms with a high practical value in real time computer graphics applications 1 In statistics and operations research the objects are typically points and generally the sphere of interest is the minimal bounding sphere that is the sphere with minimal radius among all bounding spheres It may be proven that such a sphere is unique If there are two of them then the objects in question lie within their intersection But an intersection of two non coinciding spheres of equal radius is contained in a sphere of smaller radius The problem of computing the center of a minimal bounding sphere is also known as the unweighted Euclidean 1 center problem Contents 1 Applications 1 1 Clustering 2 Algorithms 2 1 Linear programming 2 2 Ritter s bounding sphere 2 3 Core set based approximation 2 4 Fischer s exact solver 2 5 Extremal points optimal sphere 3 See also 4 References 5 External linksApplications EditClustering Edit Such spheres are useful in clustering where groups of similar data points are classified together In statistical analysis the scattering of data points within a sphere may be attributed to measurement error or natural usually thermal processes in which case the cluster represents a perturbation of an ideal point In some circumstances this ideal point may be used as a substitute for the points in the cluster advantageous in reducing calculation time In operations research the clustering of values to an ideal point may also be used to reduce the number of inputs in order to obtain approximate values for NP hard problems in a reasonable time The point chosen is not usually the center of the sphere as this can be biased by outliers but instead some form of average location such as a least squares point is computed to represent the cluster Algorithms EditThere are exact and approximate algorithms for the solving bounding sphere problem Linear programming Edit Nimrod Megiddo studied the 1 center problem extensively and published on it at least five times in the 1980s 2 In 1983 he proposed a prune and search algorithm which finds the optimum bounding sphere and runs in linear time if the dimension is fixed as a constant When dimension is taken into account the execution time complexity is O d 1 d 1 n displaystyle O d 1 d 1 n impractical for high dimensional applications Megiddo used this linear programming approach in linear time when dimension is fixed In 1991 Emo Welzl proposed a much simpler randomized algorithm based in the extension of a randomized linear programming algorithm by Raimund Seidel It runs in expected linear time The paper provides experimental results demonstrating its practicality in higher dimensions 3 The open source Computational Geometry Algorithms Library CGAL contains an implementation of this algorithm 4 Ritter s bounding sphere Edit In 1990 Jack Ritter proposed a simple algorithm to find a non minimal bounding sphere 5 It is widely used in various applications for its simplicity The algorithm works in this way Pick a point x displaystyle x from P displaystyle P search a point y displaystyle y in P displaystyle P which has the largest distance from x displaystyle x Search a point z displaystyle z in P displaystyle P which has the largest distance from y displaystyle y Set up an initial ball B displaystyle B with its centre as the midpoint of y displaystyle y and z displaystyle z the radius as half of the distance between y displaystyle y and z displaystyle z If all points in P displaystyle P are within ball B displaystyle B then we get a bounding sphere Otherwise let p displaystyle p be a point outside the ball construct a new ball covering both point p displaystyle p and previous ball Repeat this step until all points are covered Ritter s algorithm runs in time O n d displaystyle O nd on inputs consisting of n displaystyle n points in d displaystyle d dimensional space which makes it very efficient However it gives only a coarse result which is usually 5 to 20 larger than the optimum citation needed Core set based approximation Edit Bădoiu et al presented a 1 e displaystyle 1 varepsilon approximation to the bounding sphere problem 6 where a 1 e displaystyle 1 varepsilon approximation means that the constructed sphere has radius at most 1 e r displaystyle 1 varepsilon r where r displaystyle r is the smallest possible radius of a bounding sphere A coreset is a small subset that a 1 e displaystyle 1 varepsilon expansion of the solution on the subset is a bounding sphere of the whole set The coreset is constructed incrementally by adding the farthest point into the set in each iteration Kumar et al improved this approximation algorithm 7 so that it runs in time O n d ϵ 1 ϵ 4 5 log 1 ϵ displaystyle O frac nd epsilon frac 1 epsilon 4 5 log frac 1 epsilon Fischer s exact solver Edit Fischer et al 2003 proposed an exact solver though the algorithm does not have a polynomial running time in the worst case 8 The algorithm is purely combinatorial and implements a pivoting scheme similar to the simplex method for linear programming used earlier in some heuristics It starts with a large sphere that covers all points and gradually shrinks it until it cannot be shrunk further The algorithm features correct termination rules in cases of degeneracies overlooked by prior authors and efficient handling of partial solutions which produces a major speed up The authors verified that the algorithm is efficient in practice in low and moderately low up to 10 000 dimensions and claim it does not exhibit numerical stability problems in its floating point operations 8 A C implementation of the algorithm is available as an open source project 9 Extremal points optimal sphere Edit Larsson 2008 proposed the extremal points optimal sphere method with controllable speed to accuracy approximation to solve the bounding sphere problem This method works by taking a set of s displaystyle s direction vectors and projecting all points onto each vector in s displaystyle s s displaystyle s serves as a speed accuracy trade off variable An exact solver is applied to the 2 s displaystyle 2s extremal points of these projections The algorithm then iterates over the remaining points if any growing the sphere if necessary For large n displaystyle n this method is orders of magnitude faster than exact methods while giving comparable results It has a worst case time of O s n displaystyle O sn 1 See also EditBounding volume Circumscribed sphere circumscribed circleReferences Edit a b Larsson Thomas 2008 Fast and tight fitting bounding spheres SIGRAD 2008 The Annual SIGRAD Conference Special Theme Interaction November 27 28 2008 Stockholm Sweden Linkoping Electronic Conference Proceedings vol 34 Linkoping Sweden Linkoping University Nimrod Megiddo s resume and publications Welzl Emo 1991 Smallest enclosing disks balls and ellipsoids in Maurer Hermann ed New Results and New Trends in Computer Science Graz Austria June 20 21 1991 Proceedings PDF Lecture Notes in Computer Science vol 555 Berlin Germany Springer pp 359 370 doi 10 1007 BFb0038202 MR 1254721 CGAL 4 3 Bounding Volumes Min sphere of spheres d retrieved 2014 03 30 Ritter Jack 1990 An efficient bounding sphere in Glassner Andrew S ed Graphics Gems San Diego CA US Academic Press Professional Inc pp 301 303 ISBN 0 12 286166 3 Badoiu Mihai Har Peled Sariel Indyk Piotr 2002 Approximate clustering via core sets PDF Proceedings of the Thirty Fourth Annual ACM Symposium on Theory of Computing New York NY US ACM pp 250 257 doi 10 1145 509907 509947 MR 2121149 S2CID 5409535 Kumar Piyush Mitchell Joseph S B Yildirim E Alper 2003 Computing core sets and approximate smallest enclosing hyperspheres in high dimensions in Ladner Richard E ed Proceedings of the Fifth Workshop on Algorithm Engineering and Experiments Baltimore MD USA January 11 2003 Philadelphia PA US SIAM pp 45 55 a b Fischer Kaspar Gartner Bernd Kutz Martin 2003 Fast smallest enclosing ball computation in high dimensions PDF in Battista Giuseppe Di Zwick Uri eds Algorithms ESA 2003 11th Annual European Symposium Budapest Hungary September 16 19 2003 Proceedings PDF Lecture Notes in Computer Science vol 2832 Springer Berlin pp 630 641 doi 10 1007 978 3 540 39658 1 57 miniball open source projectExternal links EditSmallest Enclosing Circle Problem describes several algorithms for enclosing a point set including Megiddo s linear time algorithm Retrieved from https en wikipedia org w index php title Bounding sphere amp oldid 1069916240, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.