UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
Public Member Functions | |
usImageElastography () | |
usImageElastography (const vpImage< unsigned char > &ultrasoundImage, const vpImage< unsigned char > &strainMap, unsigned int heightPosition, unsigned int widthPosition) | |
virtual | ~usImageElastography () |
vpImage< vpRGBa > | getElastoImage () |
void | setStrainMap (const vpImage< unsigned char > &strainMap, unsigned int heightPosition, unsigned int widthPosition) |
void | setUltrasoundImage (const vpImage< unsigned char > &ultrasoundImage) |
Elastography image : contains a 2D B-Mode image (pre-scan or post-scan), with an overlaying colored sub-image to display the strain map of the sub-image region.
This class contains in fact 2 images : the ultrasound image (pre-scan or post-scan), and a second image corresponding to the tissue strain map of a region of interest in the ultrasound image. The strain map image is displayed as a colored overlay of the grayscale ultrasound image.
The following figure represents the output of usImageElastography.
Definition at line 67 of file usImageElastography.h.
usImageElastography::usImageElastography | ( | ) |
Constructor.
Definition at line 38 of file usImageElastography.cpp.
usImageElastography::usImageElastography | ( | const vpImage< unsigned char > & | ultrasoundImage, |
const vpImage< unsigned char > & | strainMap, | ||
unsigned int | heightPosition, | ||
unsigned int | widthPosition | ||
) |
Initializing constructor.
ultrasoundImage | Ultrasound image on which elastography was performed. |
strainMap | Resulting image of elastography process. |
heightPosition | Offset (in px) between top-left corner of the strain map and top-left corner of the ultrasound image in height direction. |
widthPosition | Offset (in px) between top-left corner of the strain map and top-left corner of the ultrasound image in width direction. |
Definition at line 52 of file usImageElastography.cpp.
|
virtual |
Destructor.
Definition at line 64 of file usImageElastography.cpp.
vpImage< vpRGBa > usImageElastography::getElastoImage | ( | ) |
Get the resulting image, combinig ultrasound and elastography.
Definition at line 70 of file usImageElastography.cpp.
void usImageElastography::setStrainMap | ( | const vpImage< unsigned char > & | strainMap, |
unsigned int | heightPosition, | ||
unsigned int | widthPosition | ||
) |
Strain map image setter.
strainMap | |
heightPosition | |
widthPosition |
Definition at line 79 of file usImageElastography.cpp.
void usImageElastography::setUltrasoundImage | ( | const vpImage< unsigned char > & | ultrasoundImage | ) |
Ultrasound image setter.
ultrasoundImage | Ultrasound image : base image of elastography. |
Definition at line 100 of file usImageElastography.cpp.
Referenced by usImageElastographyCreationWrapper::updateFrame().