Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_matlab_write.h

Go to the documentation of this file.
00001 #ifndef vnl_matlab_write_h_
00002 #define vnl_matlab_write_h_
00003 // This is vxl/vnl/vnl_matlab_write.h
00004 
00005 //: \file
00006 //  \brief Wriet to a MAT file
00007 //  \author fsm@robots.ox.ac.uk
00008 // Core code stolen from D. Capel's code. These functions are useful
00009 // because they allow one to write, say, an image buffer to a MAT file.
00010 //
00011 // NB. with these functions, the variable name *must* be a non-null and
00012 // point to a zero-terminated string. otherwise the code will segfault.
00013 
00014 //  Modifications
00015 // 09 Mar 2000 fsm@robots. changed order of arguments for consistency
00016 //             with vnl_matlab_read.
00017 // LSB (Manchester) 23/3/01 Tided documentation
00018 
00019 #include <vcl_iosfwd.h>
00020 
00021 template <class T> // scalar
00022 bool vnl_matlab_write(vcl_ostream &, T const &, char const *variable_name);
00023 
00024 template <class T> // 1D array
00025 bool vnl_matlab_write(vcl_ostream &, T const *, unsigned size, char const *variable_name);
00026 
00027 template <class T> // 2D array
00028 bool vnl_matlab_write(vcl_ostream &, T const * const *, unsigned rows, unsigned cols, char const *variable_name);
00029 
00030 #endif // vnl_matlab_write_h_

Generated at Wed Mar 12 01:13:15 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000