Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Save MAT without header

Hi,

I am using FileStorage to write out Mat object (in my case it's a depthMap from Kinect). FileStorage either saves it as XML or YAML with headers. I tried using 'for loop' to save only the data, but its time consuming. Is there a way where I can save only the data of MAT object directly in a file without the headers?

Thanks.

Save MAT without header

Hi,

I am using FileStorage to write out Mat object (in my case it's a depthMap from Kinect). FileStorage either saves it as XML or YAML with headers. I tried using 'for loop' to save only the data, but its time consuming. Is there a way where I can save only the data of MAT object directly in a file without the headers?

Thanks.

Save MAT without header

Hi,

I am using FileStorage to write out Mat object (in my case it's a depthMap from Kinect). FileStorage either saves it as XML or YAML with headers. I tried using 'for loop' to save only the data, but its time consuming. Is there a way where I can save only the data of MAT object directly in a file without the headers?

Thanks.