[Insight-users] read/write vnl_matrix from/to a file

Evelyne Balteau e . balteau at ulg . ac . be
Wed, 1 Oct 2003 17:55:47 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_007C_01C38845.3E689C70
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi all...

I am using a vnl_matrix to save some data resulting from image =
processing...
I would like to write this matrix into a file, and then be able to load =
it to use it in another application...
I have seen there is a "vnl_file_matrix" to load matrix from a file, but =
I did not find anything for writing the file...
Is there some tricks for this ?
Thanks in advance !!

Evelyne
------=_NextPart_000_007C_01C38845.3E689C70
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am using a vnl_matrix to save =
</FONT><FONT=20
face=3DArial size=3D2>some data resulting from image =
processing...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I would like to write this matrix into =
a file, and=20
then be able to load it to use it in another application...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have seen there is a =
"vnl_file_matrix" to load=20
matrix from a file, but I did not find anything for writing the=20
file...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>Is there some tricks for this =
?</FONT></DIV>Thanks=20
in advance !!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Evelyne</FONT></DIV></BODY></HTML>

------=_NextPart_000_007C_01C38845.3E689C70--