UsTK : Ultrasound ToolKit  version 2.0.1 under development (2023-12-07)

#include <visp3/ustk_gui/usElastographyQtWrapper.h>

+ Inheritance diagram for usElastographyQtWrapper:

Public Slots

void updateFrame (const usImageRF2D< short int > &img)
 

Signals

void elastoReady (vpImage< unsigned char >)
 

Public Member Functions

 usElastographyQtWrapper ()
 
 ~usElastographyQtWrapper ()
 
void setROI (int tx, int ty, int tw, int th)
 

Detailed Description

Qt wrapper for usElastography class.

Definition at line 55 of file usElastographyQtWrapper.h.

Constructor & Destructor Documentation

◆ usElastographyQtWrapper()

usElastographyQtWrapper::usElastographyQtWrapper ( )

Constructor.

Definition at line 45 of file usElastographyQtWrapper.cpp.

◆ ~usElastographyQtWrapper()

usElastographyQtWrapper::~usElastographyQtWrapper ( )

Destructor.

Definition at line 50 of file usElastographyQtWrapper.cpp.

Member Function Documentation

◆ elastoReady

void usElastographyQtWrapper::elastoReady ( vpImage< unsigned char >  )
signal

Referenced by updateFrame().

◆ setROI()

void usElastographyQtWrapper::setROI ( int  tx,
int  ty,
int  tw,
int  th 
)

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

Parameters
txTop left column of the ROI.
tyTop left row of the ROI.
twROI width in px.
thROI height in px.

Definition at line 59 of file usElastographyQtWrapper.cpp.

References usElastography::setROI().

Referenced by usImageElastographyCreationWrapper::setROI().

◆ updateFrame

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

Slot to update the RF frame as input for elastography. The elastography is computed between the previous frame and the new one.

Parameters
imgNew RF image input for elastography computation.

Definition at line 66 of file usElastographyQtWrapper.cpp.

References elastoReady(), usElastography::run(), and usElastography::updateRF().

Referenced by usImageElastographyCreationWrapper::updateFrame().