39 #ifndef __usImageElastography_h_
40 #define __usImageElastography_h_
42 #include <visp3/core/vpRGBa.h>
43 #include <visp3/ustk_core/usImagePostScan2D.h>
44 #include <visp3/ustk_core/usImagePreScan2D.h>
46 #ifdef VISP_HAVE_OPENMP
72 usImageElastography(
const vpImage<unsigned char> &ultrasoundImage,
const vpImage<unsigned char> &strainMap,
73 unsigned int heightPosition,
unsigned int widthPosition);
76 vpImage<vpRGBa> getElastoImage();
78 void setStrainMap(
const vpImage<unsigned char> &strainMap,
unsigned int heightPosition,
unsigned int widthPosition);
79 void setUltrasoundImage(
const vpImage<unsigned char> &ultrasoundImage);
82 void computeElastographyImage();
84 vpImage<unsigned char> m_ultrasoundImage;
85 vpImage<unsigned char> m_strainMap;
86 vpImage<vpRGBa> m_elastoImage;
88 unsigned int m_heigthPosition;
89 unsigned int m_widthPosition;
Elastography image : contains a 2D B-Mode image (pre-scan or post-scan), with an overlaying colored s...