UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-12-17)
|
#include <visp3/ustk_core/usRFToPreScan3DConverter.h>
Public Member Functions | |
usRFToPreScan3DConverter () | |
~usRFToPreScan3DConverter () | |
void | convert (const usImageRF3D< short int > &rfImage, usImagePreScan3D< unsigned char > &preScanImage) |
int | getDecimationFactor () |
void | setDecimationFactor (int decimationFactor) |
Protected Member Functions | |
void | init (int heightRF, int widthRF, int frameNumber) |
3D conversion from RF signal to pre-scan image
This class allows to convert 3D RF ultrasound images to pre-scan. Here is an example to show how to use it :
Definition at line 109 of file usRFToPreScan3DConverter.h.
usRFToPreScan3DConverter::usRFToPreScan3DConverter | ( | ) |
Constructor.
Definition at line 50 of file usRFToPreScan3DConverter.cpp.
usRFToPreScan3DConverter::~usRFToPreScan3DConverter | ( | ) |
Destructor.
Definition at line 55 of file usRFToPreScan3DConverter.cpp.
void usRFToPreScan3DConverter::convert | ( | const usImageRF3D< short int > & | rfImage, |
usImagePreScan3D< unsigned char > & | preScanImage | ||
) |
Convert method : performs the conversion from RF frame to a pre-scan frame using the following processes :
rfImage | RF frame to convert |
preScanImage | pre-scan image : result of convertion |
Definition at line 66 of file usRFToPreScan3DConverter.cpp.
References usRFToPreScan2DConverter::convert(), getDecimationFactor(), usTransducerSettings::getDepth(), usImageRF3D< Type >::getFrame(), usImage3D< Type >::getHeight(), usImageRF3D< Type >::getHeight(), usImageRF3D< Type >::getNumberOfFrames(), usImageRF3D< Type >::getWidth(), init(), usImagePreScan3D< Type >::insertFrame(), usImagePreScan3D< Type >::resize(), usImagePreScanSettings::setAxialResolution(), usImagePreScanSettings::setImagePreScanSettings(), and usMotorSettings::setMotorSettings().
Referenced by usRFToPostScan3DConverter::convert().
int usRFToPreScan3DConverter::getDecimationFactor | ( | ) |
Decimation factor getter.
Definition at line 108 of file usRFToPreScan3DConverter.cpp.
Referenced by convert().
|
protected |
Initialisation of the converter.
Definition at line 124 of file usRFToPreScan3DConverter.cpp.
References usRFToPreScan2DConverter::setDecimationFactor().
Referenced by convert().
void usRFToPreScan3DConverter::setDecimationFactor | ( | int | decimationFactor | ) |
Decimation factor setter.
decimationFactor | : keep only 1 pre-scan sample every N sample (N = decimationFactor) |
Definition at line 114 of file usRFToPreScan3DConverter.cpp.
Referenced by usRFToPostScan3DConverter::usRFToPostScan3DConverter().