00001 #ifndef vnl_matlab_header_h_ 00002 #define vnl_matlab_header_h_ 00003 // This is vxl/vnl/vnl_matlab_header.h 00004 00005 //: \file 00006 // \brief MATLAB header structure 00007 // \author fsm@robots.ox.ac.uk 00008 00009 00010 struct vnl_matlab_header 00011 { 00012 long type; // sum of one byte order, one storage specifier and one precision specifier 00013 long rows; 00014 long cols; 00015 long imag; 00016 long namlen; 00017 00018 enum type_t { 00019 // precision specifier 00020 vnl_DOUBLE_PRECISION = 0, 00021 vnl_SINGLE_PRECISION = 10, 00022 // storage specifier 00023 vnl_COLUMN_WISE = 0, 00024 vnl_ROW_WISE = 100, 00025 // byte order 00026 vnl_LITTLE_ENDIAN = 0, 00027 vnl_BIG_ENDIAN = 1000, 00028 // 00029 vnl_none = 0 00030 }; 00031 }; 00032 00033 #endif // vnl_matlab_header_h_