#include <iostream>
#include <visp3/ustk_core/usConfig.h>
#if defined(USTK_HAVE_FFTW)
#include <visp3/ustk_core/usImageIo.h>
#include <visp3/ustk_elastography/usElastography3D.h>
int main()
{
std::cout << "You should set USTK_DATASET_PATH environment var to access to ustk dataset containing RF volumes for "
"elastography"
<< std::endl;
return 0;
}
elsastoProcess.
setROI(40, 2500, 4, 50, 500, 5);
std::cout << "output written in elastResult.mhd" << std::endl;
return 0;
}
#else
int main()
{
std::cout << "You should intall FFTW to run this tutorial" << std::endl;
return 0;
}
#endif
Computation of a strain map using two sucessive RF volulmes acquired at different compressions of the...
void setPreCompression(const usImageRF3D< short > &Pre)
usImage3D< unsigned char > run()
void setPostCompression(const usImageRF3D< short > &Post)
void setROI(int tx, int ty, int tz, int tw, int th, int tf)
static void read(usImageRF2D< short int > &imageRf2D, const std::string &headerFileName)
static void write(const usImageRF2D< short > &rfImage, const std::string &headerFileName, const std::string &imageExtension2D)
void setData(const usImage3D< Type > &image)
void setImagePreScanSettings(const usImagePreScanSettings &preScanSettings)
VISP_EXPORT std::string getDataSetPath()