2016-06-29 07:08:16 -0600 | commented question | ML::EM with multiple Features @berak I consider this 33 featuers per point similar to something like rgb. While it is not color information it is addtional non spatial information. As OpenCV is for picture anaylsis I just assumend setting up mat[33,row s] with 1 channel would result in 33xrows 1 dimensinoal observations put into the EM algorithm. Will try though as suggested. |
2016-06-28 10:52:19 -0600 | asked a question | ML::EM with multiple Features Hello I have a float[33] sized feature vector derived from pcl (Point Cloud Library). I would like to perform a Gaussian Mixture Model on this and found that OpenCV has this implemented in ML::EM. I use OpenCV 3.0. Now unfortunately the EM model needs a one channel matrix. Does this mean I can only calculate a one dimensional Model? I have 33 features, not only one. Here is my class where I convert my pcl feature PointCloud to OpenCV: And here how I try to run the GMM on the OpenCV matrix. It does not work of course, as there is more than one channel. |