Closed GoogleCodeExporter closed 9 years ago
Never mind..issue solved, sent across histograms matrices, thresh separately,
and it works fine
Original comment by preethu....@gmail.com
on 1 Dec 2013 at 5:52
Ok, sounds good, but I'm not sure I understand how you solved it. If you have
some time, please post some code explaining how you solved that to help the
next person to hit the same problem, thanks!
Original comment by samuel.a...@gmail.com
on 1 Dec 2013 at 12:34
sure.. I wrote all the individual data involved in creating a histogram such as
mat, ranges, uniform, dims, sizes separately to xml file
Writing to XML
cvWrite(cvfile2, "Histogram"+i, eachHistorgram.mat());
Reading from XML
Pointer pointer2 = cvReadByName(cvfile2, null, "Histogram"+dindex);
CvHistogram hist = cvCreateHist(dims, sizes, histType, ranges, uniform);
hist.mat(new CvMatND(pointer2));
Thanks,
Preetham
Original comment by preethu....@gmail.com
on 1 Dec 2013 at 6:39
Original issue reported on code.google.com by
preethu....@gmail.com
on 30 Nov 2013 at 1:01