Categorize the approximate shape of an array of Points in 3D Space
Posted
by
user1295133
on Stack Overflow
See other posts from Stack Overflow
or by user1295133
Published on 2012-03-27T12:51:01Z
Indexed on
2012/03/27
17:29 UTC
Read the original article
Hit count: 264
I have a set of points in 3d space and I want to be able to categorize the shape that best fits them - cube, sphere, cylinder, planar (flat) etc.
I've looked at supervised/machine learning but since I need first generate a large training data set that's not really suitable.
My dream solution would be a java library with a wonderful magical function something like :
public enum ShapeType {
CUBE,
SPHERE,
CYLINDER,
PLANAR
}
public ShapeType CategorizeShapeFromPoints( 3DPoint[] points )
However, any and all help will be appreciated. Thanks
© Stack Overflow or respective owner