UsTK : Ultrasound ToolKit  version 2.0.1 under development (2024-11-21)
usImageElastographyCreationWrapper Class Reference

#include <visp3/ustk_gui/usImageElastographyCreationWrapper.h>

+ Inheritance diagram for usImageElastographyCreationWrapper:

Public Slots

void updateFrame (usImageRF2D< short int > &img)
 
void setROI (unsigned int i, unsigned int j, unsigned int height, unsigned int width)
 

Signals

void elastographyImageReady (vpImage< vpRGBa >)
 

Public Member Functions

 usImageElastographyCreationWrapper ()
 
 ~usImageElastographyCreationWrapper ()
 

Detailed Description

Qt wrapper for colored elastography image creation (pre-scan image with a colored rectangle overlay for elastograpy).

Examples
tutorial-local-grabbing-elastography-display.cpp.

Definition at line 59 of file usImageElastographyCreationWrapper.h.

Constructor & Destructor Documentation

◆ usImageElastographyCreationWrapper()

usImageElastographyCreationWrapper::usImageElastographyCreationWrapper ( )

Constructor.

Definition at line 46 of file usImageElastographyCreationWrapper.cpp.

◆ ~usImageElastographyCreationWrapper()

usImageElastographyCreationWrapper::~usImageElastographyCreationWrapper ( )

Destructor.

Definition at line 57 of file usImageElastographyCreationWrapper.cpp.

Member Function Documentation

◆ elastographyImageReady

void usImageElastographyCreationWrapper::elastographyImageReady ( vpImage< vpRGBa >  )
signal

◆ setROI

void usImageElastographyCreationWrapper::setROI ( unsigned int  i,
unsigned int  j,
unsigned int  height,
unsigned int  width 
)
slot

ROI setter, coordinates are set in RF image pixel coordinates.

Parameters
iTop left row of the ROI.
jTop left column of the ROI.
heightROI height in px.
widthROI width in px.
Examples
tutorial-local-grabbing-elastography-display.cpp.

Definition at line 66 of file usImageElastographyCreationWrapper.cpp.

References usElastographyQtWrapper::setROI().

◆ updateFrame

void usImageElastographyCreationWrapper::updateFrame ( usImageRF2D< short int > &  img)
slot

Slot to update the RF frame. This slot manages RF conversion and elastography process.

Parameters
imgNew RF image input for elastography computation and RF conversion.

Definition at line 77 of file usImageElastographyCreationWrapper.cpp.

References usRFToPreScan2DConverter::convert(), usImageElastography::setUltrasoundImage(), and usElastographyQtWrapper::updateFrame().