Ask Your Question

Multidimensional Random Tree

asked 2014-02-06 15:30:15 -0600

Alex13 gravatar image

updated 2014-02-07 08:16:40 -0600

berak gravatar image


is it possible to use the OpenCV Random Tree implementation for multidimensional object classification?

A short example for clarification:

I detect a set of keypoints for objects. For each keypoint a feature is calculated (33 to 1980 floats). Thus, I have a matrix of features for every object.

Can I use these matrices as input for random tree?

Cheers, Alex

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-02-07 15:13:46 -0600

Guanta gravatar image

I am not quite sure if I understand the question correctly, so first some general thoughts:

Any classifier I am aware of needs the same dimensionality of feature vectors, for each feature vector a class is predicted, i.e. having n features with dimension d, you'll get n results, this is the reason why the features will often be encoded via Bag of Words (BoW). For example in the case of instance recognition the number of features is fixed as well as the image size or image window (then the features can be reshaped to have dimensionality 1, e.g. one HoG-descriptor, or via BoW encoded).

Coming back to the other part of your question: yes random forests can be used for multiple class classification.

edit flag offensive delete link more

Question Tools


Asked: 2014-02-06 15:30:15 -0600

Seen: 170 times

Last updated: Feb 07 '14