|
Re: using cvFileStorages: msg#01247lib.opencv
Didnt notice any of your previous mails about filestorages,. I figured it out from the documentation: For storing and retrieving floating point raw data: Storing data onto file: ================================================================== CvFileStorage *fs; fs = cvOpenFileStorage( "Data.xml", 0, CV_STORAGE_WRITE); cvWriteRawData( fs, data_ptr, data_length, "f"); cvReleaseFileStorage (&fs); ================================================================== Retrieving data from file: ================================================================== CvFileStorage *fs; fs = cvOpenFileStorage( "Data.xml", 0, CV_STORAGE_READ); cvReadRawData( fs, cvGetRootFileNode( fs ), data_ptr, "f" ); cvReleaseFileStorage (&fs); ================================================================== Refer docs for more information and option on filestorages. Regards, :D Paramesh. --- In OpenCV@xxxxxxxxxxxxxxx, Indika Bandara Udagedara <indikabandara19@...> wrote: > > hello, > can somebody help me with howto save and retrieve multiple matrices/arrays using cvFileStorage object. posted this couple of times but nobody responded? does nobody saves matrices in files ??? > > TIA > > > indika > > > --------------------------------- > Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less. > > [Non-text portions of this message have been removed] > Change settings: http://www.yahoogroups.com/mygroups, select Get Emails (get all posts) Daily Digest (one summary email per day) Read on the web (read posts on the web only)Or Unsubscribe by mailing OpenCV-unsubscribe@xxxxxxxxxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to smooth histogram..?: 01247, Indika Bandara Udagedara |
|---|---|
| Next by Date: | How to view eigenfaces, Re: Re: Face recognition using eigenfaces: 01247, kirkl_tamworth |
| Previous by Thread: | using cvFileStoragesi: 01247, Indika Bandara Udagedara |
| Next by Thread: | finding a summer internship in computer vision and pattern recognition: 01247, icfirstlight2002 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |