How to save Matrix<float> to XML file?

daisykinshasa

New Member
I'm trying to use the SURF feature detector of emguCV in C# in order to detect the key points of an image.I'm using this code:\[code\]Image<Gray, Byte> myImage = new Image<Gray, byte>("test.png");SURFDetector surf = new SURFDetector(500, false);VectorOfKeyPoint myKeyPoints = surf.DetectKeyPointsRaw(myImage, null);Matrix<float> myDescriptors = surf.ComputeDescriptorsRaw(myImage, null, myKeyPoints);\[/code\]So I'm having the key points in that Matrix. What I want to do is to save/export these key points in an .xml file.Can someone help me on how to do that? Thanks in advance.
 
Back
Top