Here is code to write matrices to MATLAB (Patch #1342)


Added by Ug Lee over 13 years ago. Updated almost 11 years ago.


Status:Open Start date:
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:matlab bindings
Target version:3.0
Affected version:branch '2.4' (2.4-dev) Operating System:Any
Difficulty: HW Platform:Any
Pull request:

Description

I have provided code to write any cv::Mat in uncompressed .mat format (Level 5 MATLAB) for Matlab. I would like to see this incorporated into OpenCV please, because this is a very common stumbling block for many people I work with. I hereby disclaim any Copyright that I might hold by default.


writeMat.cpp - Code to write cv::Mat to uncompressed level 5 Matlab format. (6.5 kB) Ug Lee, 2011-08-29 05:30 pm


Associated revisions

Revision 10cb9a0c
Added by Roman Donchenko over 11 years ago

Merge pull request #1342 from nevion:master

History

Updated by Alexander Shishkov about 13 years ago

  • Description changed from I have provided code to write any cv::Mat in uncompressed .mat format (Level ... to I have provided code to write any cv::Mat in uncompressed .mat format (Level ... More

Updated by Alexander Shishkov almost 13 years ago

  • Target version deleted ()

Updated by Alexander Shishkov almost 13 years ago

  • Tracker changed from Feature to Patch
  • Target version deleted ()

Updated by Vadim Pisarevsky over 12 years ago

I think, it could be highgui reader/writer created, so that imread and imwrite could be used.

  • Target version set to 3.0
  • Assignee deleted (Vadim Pisarevsky)

Updated by Vincent Rabaud almost 12 years ago

That implementation is from one of our interns at Willow and it seems more complete as it deals with more types:
https://github.com/hbristow/cvmatio
(we used it to load Deva Ramanan's matrices for parts based detection)

  • Affected version set to branch 'master' (2.4.9)

Updated by Alexander Smorkalov almost 11 years ago

  • HW Platform set to Any
  • Operating System set to Any
  • Affected version changed from branch 'master' (2.4.9) to branch '2.4' (2.4-dev)
  • Category changed from core to matlab bindings

Also available in: Atom PDF