UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_gui/usElastographyQtWrapper.h>
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) |
Qt wrapper for usElastography class.
Definition at line 55 of file usElastographyQtWrapper.h.
usElastographyQtWrapper::usElastographyQtWrapper | ( | ) |
Constructor.
Definition at line 45 of file usElastographyQtWrapper.cpp.
usElastographyQtWrapper::~usElastographyQtWrapper | ( | ) |
Destructor.
Definition at line 50 of file usElastographyQtWrapper.cpp.
|
signal |
Referenced by updateFrame().
void usElastographyQtWrapper::setROI | ( | int | tx, |
int | ty, | ||
int | tw, | ||
int | th | ||
) |
ROI setter, coordinates are set in RF image pixel coordinates.
tx | Top left column of the ROI. |
ty | Top left row of the ROI. |
tw | ROI width in px. |
th | ROI height in px. |
Definition at line 59 of file usElastographyQtWrapper.cpp.
References usElastography::setROI().
Referenced by usImageElastographyCreationWrapper::setROI().
|
slot |
Slot to update the RF frame as input for elastography. The elastography is computed between the previous frame and the new one.
img | New 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().