39 #ifndef __usImageIo_h_
40 #define __usImageIo_h_
44 #include <visp3/ustk_core/usImagePostScan2D.h>
45 #include <visp3/ustk_core/usImagePostScan3D.h>
46 #include <visp3/ustk_core/usImagePreScan2D.h>
47 #include <visp3/ustk_core/usImagePreScan3D.h>
48 #include <visp3/ustk_core/usImageRF2D.h>
49 #include <visp3/ustk_core/usImageRF3D.h>
50 #include <visp3/ustk_core/usImageSettingsXmlParser.h>
51 #include <visp3/ustk_core/usMetaHeaderParser.h>
62 static std::string getExtension(
const std::string &filename);
70 static void write(
const usImageRF2D<short> &rfImage,
const std::string &headerFileName,
71 const std::string &imageExtension2D);
72 static void write(
const usImageRF2D<short> &rfImage,
const std::string &headerFileName);
73 static void write(
const usImageRF3D<short> &rfImage3D,
const std::string &headerFileName,
74 const std::string &imageExtension2D);
75 static void write(
const usImageRF3D<short> &rfImage3D,
const std::string &headerFileName);
89 const std::string &imageExtension2D);
93 const std::string &imageExtension2D);
98 const std::string &imageExtension2D);
101 const std::string &imageExtension2D);
111 const std::string &imageExtension2D);
114 const std::string &imageExtension2D);
118 #ifndef DOXYGEN_SHOULD_SKIP_THIS
152 typedef enum { FORMAT_XML,
FORMAT_MHD, FORMAT_VOL, FORMAT_RF, HEADER_FORMAT_UNKNOWN } usHeaderFormatType;
154 static usHeaderFormatType getHeaderFormat(
const std::string &headerfilename);
Input/output operations between ultrasound data and files (header + image file).
static void write(const usImagePreScan2D< double > &preScanImage, const std::string &headerFileName)
static void write(const usImagePreScan3D< double > &preScanImage3D, const std::string &headerFileName)
3D Radio Frequence (RF) ultrasound image.
Class containing a set of static methods to compute various processes on RF images (gradients,...