SparseMat multiplication

asked 2013-05-29 18:59:04 -0600

alesfranek gravatar image

updated 2013-05-29 19:04:46 -0600

I am doing an image retrieval using Bag of Words. I've constructed the inverted file which is represented by SparseMat. Now I need to multiply the inverted file with the vector of the visual words of the query to get the scores however I'm not really sure how to do it and I didn't find any documentation about it. I've tried to represent the query vector as SparseMat or Mat, but it always says: no operator "*" matches these operands. Does anyone know hot to multiply a SparsaMat without converting it to the dense form? Thanks!

edit retag flag offensive close merge delete