0
votes

I would like to ask if anyone knows how to convert/combine x,y,z euler angles into ONE value? Is there any function for this? I've searched but I found the conversion into matrices or quaternions, but these output more than one value (i.e. rotations and vector). Am I correct?

I'm trying to input data to SPSS for statistical analysis for gesture recognition, and I insert for each joint 3 columns (x,y,z rotation) but I want to have ONE column for each joint and hence ONE value in order to analyze and classify them correctly.. Any suggestions?

Thank you very much! With regards

1
If you get no useful answers and you wish to start from somewhere, check out this article: stackoverflow.com/questions/919612/… Try to live with the hashing/bijective mapping cost, and prepare to have a HUGEINT type in a pocket. - Dyin
Mapping nD to 1D, through dovetailing or Hilbert curves or what-have-you, will produce numbers which are utterly useless for classification. - Sneftel

1 Answers

-2
votes

Rotation data is three-dimensional, not one-dimensional. There are certainly ways to boil the data down to one number (take its CRC32, for instance), but they will lose information and lead to poor classification accuracy.

Why do you want only one scalar column for each joint? It's not at all unusual to have multiple "features" associated with a single "thing". Try it out -- euler angles aren't great for classification, but the multidimensionality is intrinsic to your data, and not something to run away from.