UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_core/usImagePreScan3D.h>
Public Types | |
enum | usMotorType { LinearMotor = 0 , TiltingMotor = 1 , RotationalMotor = 2 } |
Public Member Functions | |
usImagePreScan3D () | |
usImagePreScan3D (const usImage3D< Type > &image, const usImagePreScanSettings &preScanSettings, const usMotorSettings &motorSettings) | |
usImagePreScan3D (const usImagePreScan3D &other) | |
virtual | ~usImagePreScan3D () |
unsigned int | getBModeSampleNumber () const |
void | getFrame (usImagePreScan2D< Type > &image, unsigned int index) |
void | insertFrame (const usImagePreScan2D< Type > &frame, unsigned int index) |
usImagePreScan3D< Type > & | operator= (const usImagePreScan3D< Type > &other) |
bool | operator== (const usImagePreScan3D< Type > &other) |
void | setData (const usImage3D< Type > &image) |
void | setFrameNumber (unsigned int frameNumber) |
void | setScanLineNumber (unsigned int scanLineNumber) |
void | resize (unsigned int height, unsigned int width, unsigned int numberOfFrames) |
Inherited functionalities from usImage3D | |
Type * | getConstData () const |
Type * | getData () |
Type * | getData (unsigned int i, unsigned int j, unsigned int k) |
unsigned int | getWidth () const |
unsigned int | getHeight () const |
unsigned int | getNumberOfFrames () const |
unsigned int | getSize () const |
void | initData (Type value) |
bool | operator== (const usImage3D< Type > &other) |
Type | operator() (unsigned int i, unsigned int j, unsigned int k) const |
void | operator() (unsigned int i, unsigned int j, unsigned int k, Type value) |
void | setData (Type *data, int numberOfVoxels) |
Inherited functionalities from usImagePreScanSettings | |
double | getAxialResolution () const |
usImagePreScanSettings | getImagePreScanSettings () const |
bool | operator== (const usImagePreScanSettings &other) |
void | setAxialResolution (const double axialResolution) |
void | setImagePreScanSettings (const usImagePreScanSettings &preScanSettings) |
Inherited functionalities from usTransducerSettings | |
bool | operator== (usTransducerSettings const &other) |
double | getDepth () const |
double | getFieldOfView () const |
std::string | getProbeName () const |
int | getSamplingFrequency () const |
unsigned int | getScanLineNumber () const |
double | getScanLinePitch () const |
double | getTransducerRadius () const |
usTransducerSettings | getTransducerSettings () const |
int | getTransmitFrequency () const |
bool | isTransducerConvex () const |
bool | operator!= (usTransducerSettings const &other) |
bool | scanLineNumberIsSet () const |
void | setDepth (double depth) |
void | setFieldOfView (double fieldOfView) |
void | setProbeName (std::string probeName) |
void | setSamplingFrequency (const int samplingFrequency) |
void | setScanLinePitch (const double scanLinePitch) |
void | setTransducerConvexity (const bool isTransducerConvex) |
void | setTransducerSettings (const usTransducerSettings &other) |
void | setTransducerRadius (const double transducerRadius) |
void | setTransmitFrequency (const int transmitFrequency) |
Inherited functionalities from usMotorSettings | |
unsigned int | getFrameNumber () const |
double | getFramePitch () const |
double | getMotorFieldOfView () const |
double | getMotorRadius () const |
usMotorSettings | getMotorSettings () const |
usMotorType | getMotorType () const |
bool | frameNumberIsSet () const |
bool | operator== (const usMotorSettings &other) |
bool | operator!= (const usMotorSettings &other) |
void | setFramePitch (double framePitch) |
void | setMotorFieldOfView (double motorFieldOfView) |
void | setMotorRadius (double motorRadius) |
void | setMotorSettings (const usMotorSettings &other) |
void | setMotorType (const usMotorType &motorType) |
3D pre-scan ultrasound image.
This class represents a 3D pre-scan ultrasound image. This image is nothing more than an usImage3D that contains 3D pre-scan data and additional settings that give information about the acquisition process.
The settings associated to an usImagePreScan3D image are the:
The following figure summarize these settings and shows the structure of an usImagePreScan3D image:
The following example shows how to build a 3D pre-scan ultrasound image from an usImage3D, and from acquisiton settings.
Definition at line 139 of file usImagePreScan3D.h.
|
inherited |
Enumerator for motor type
Enumerator | |
---|---|
LinearMotor | Case of a linear motor. |
TiltingMotor | Case of a tilting motor (small rotation). |
RotationalMotor | Case of a roatational motor (360° rotation). |
Definition at line 81 of file usMotorSettings.h.
usImagePreScan3D< Type >::usImagePreScan3D |
Basic constructor, all settings set to default values.
Definition at line 176 of file usImagePreScan3D.h.
usImagePreScan3D< Type >::usImagePreScan3D | ( | const usImage3D< Type > & | image, |
const usImagePreScanSettings & | preScanSettings, | ||
const usMotorSettings & | motorSettings | ||
) |
Copy constructor.
image | 3D data you want to copy. |
preScanSettings | Pre-scan settings you want to copy. |
motorSettings | Motor settings you want to copy. |
Definition at line 187 of file usImagePreScan3D.h.
References usMotorSettings::getFrameNumber(), usImage3D< Type >::getNumberOfFrames(), usTransducerSettings::getScanLineNumber(), and usImage3D< Type >::getWidth().
usImagePreScan3D< Type >::usImagePreScan3D | ( | const usImagePreScan3D< Type > & | other | ) |
Copy constructor.
other | 3D pre-scan image you want to copy. |
Definition at line 202 of file usImagePreScan3D.h.
|
virtual |
Destructor.
Definition at line 210 of file usImagePreScan3D.h.
|
inherited |
Getter to know if the scan frame is set (usefull in case of field of view setter call).
Definition at line 200 of file usMotorSettings.cpp.
Referenced by usMotorSettings::operator=(), and usMotorSettings::operator==().
|
inherited |
Axial resolution getter.
Definition at line 120 of file usImagePreScanSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usPreScanToPostScan2DConverter::convert(), usMHDSequenceReader::getImage(), usNetworkGrabberPreScan3D::includeFrameInVolume(), usNetworkGrabberRF3D::includeFrameInVolume(), usPreScanToPostScan3DConverter::init(), usImagePreScanSettings::operator=(), usImagePreScanSettings::operator==(), usImageIo::read(), usImageIo::write(), and usMHDSequenceWriter::write().
unsigned int usImagePreScan3D< Type >::getBModeSampleNumber |
Gets the number of B-mode samples along a scan line. This value corresponds to the 3D image Y-size.
Definition at line 250 of file usImagePreScan3D.h.
References usImage3D< Type >::getHeight().
Referenced by usPreScanToPostScan3DConverter::convert().
|
inlineinherited |
Get the pointer to the const data container.
Definition at line 104 of file usImage3D.h.
Referenced by usVolumeProcessing::absoluteDifference(), usVTKConverter::convert(), usPreScanToPostScan3DConverter::convert(), usVolumeProcessing::difference(), usVolumeProcessing::frangi(), usVolumeProcessing::gradient(), usVolumeProcessing::hessian(), usVolumeProcessing::max(), usVolumeProcessing::min(), usVolumeProcessing::norm(), and usImage3D< Type >::operator==().
|
inlineinherited |
Get the pointer to the data container.
Definition at line 110 of file usImage3D.h.
Referenced by usVolumeProcessing::absoluteDifference(), usPreScanToPostScan3DConverter::convert(), usVolumeProcessing::difference(), usVolumeProcessing::frangi(), usVolumeProcessing::gradient(), usVolumeProcessing::hessian(), and usVolumeProcessing::norm().
|
inlineinherited |
Get the pointer to the data container for specified position in the volume.
i | Index on i-axis to acess |
j | Index on j-axis to acess |
k | Index on k-axis to acess |
Definition at line 119 of file usImage3D.h.
|
inherited |
Setter for depth : distance in meters between first and last pixel in a scan line.
Definition at line 289 of file usTransducerSettings.cpp.
Referenced by usPostScanToPreScan2DConverter::convert(), usPreScanToPostScan2DConverter::convert(), usRFToPreScan3DConverter::convert(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::includeFrameInVolume(), usNetworkGrabberRF3D::includeFrameInVolume(), usPostScanToPreScan2DConverter::init(), usPreScanToPostScan2DConverter::init(), and usTransducerSettings::operator=().
|
inherited |
Getter for the transducer field of view (based on scan line number and pitch).
Definition at line 244 of file usTransducerSettings.cpp.
Referenced by usPostScanToPreScan2DConverter::convert(), usPostScanToPreScan2DConverter::init(), usPreScanToPostScan2DConverter::init(), usImageDisplayWidgetRobotControl::updateConfidenceAngle(), and usImageDisplayWidgetQmlOverlayServoing::updateConfidenceAngle().
void usImagePreScan3D< Type >::getFrame | ( | usImagePreScan2D< Type > & | image, |
unsigned int | index | ||
) |
Returns a 2D slice of the volume at a given index.
[out] | image | The 2D frame to insert. |
[in] | index | Position of the frame to extract in the volume. |
Definition at line 338 of file usImagePreScan3D.h.
References usImagePreScan2D< Type >::resize().
|
inherited |
Getter for frame number.
Definition at line 159 of file usMotorSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usNetworkGrabberPreScan3D::includeFrameInVolume(), usNetworkGrabberRF3D::includeFrameInVolume(), usMotorSettings::operator=(), usMotorSettings::operator==(), usImagePreScan3D< Type >::usImagePreScan3D(), usImageRF3D< Type >::usImageRF3D(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inherited |
Get the frame pitch (radians or meters).
Definition at line 153 of file usMotorSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usMotorSettings::operator=(), usMotorSettings::operator==(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inlineinherited |
Get the volume height.
Definition at line 131 of file usImage3D.h.
Referenced by usVolumeProcessing::absoluteDifference(), usVolumeProcessing::applyFilter(), usVolumeProcessing::computeBarycenter(), usVTKConverter::convert(), usRFToPreScan3DConverter::convert(), usPreScanToPostScan3DConverter::convert(), usVolumeProcessing::derivativeI(), usVolumeProcessing::derivativeJ(), usVolumeProcessing::derivativeK(), usVolumeProcessing::difference(), usVolumeProcessing::frangi(), usImagePreScan3D< Type >::getBModeSampleNumber(), usVolumeProcessing::gradient(), usVolumeProcessing::hessian(), usPreScanToPostScan3DConverter::init(), usVolumeProcessing::norm(), usImage3D< Type >::operator==(), usImage3D< Type >::usImage3D(), usMHDSequenceWriter::write(), and usImageIo::write().
|
inherited |
Definition at line 122 of file usImagePreScanSettings.cpp.
|
inherited |
Getter for the motor field of view (based on frame number and pitch).
Definition at line 206 of file usMotorSettings.cpp.
|
inherited |
Get the motor radius (m).
Definition at line 141 of file usMotorSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usMotorSettings::operator=(), usMotorSettings::operator==(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inherited |
Definition at line 234 of file usMotorSettings.cpp.
|
inherited |
Get the motor type : linear, titling (small rotation angle) or rotational (360° rotation).
Definition at line 178 of file usMotorSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usPreScanToPostScan3DConverter::init(), usMotorSettings::operator=(), usMotorSettings::operator==(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inlineinherited |
Get the volume size along the k-axis (frame nubmer).
Definition at line 137 of file usImage3D.h.
Referenced by usVolumeProcessing::absoluteDifference(), usVolumeProcessing::applyFilter(), usVolumeProcessing::computeBarycenter(), usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usVTKConverter::convert(), usPreScanToPostScan3DConverter::convert(), usVolumeProcessing::derivativeI(), usVolumeProcessing::derivativeJ(), usVolumeProcessing::derivativeK(), usVolumeProcessing::difference(), usVolumeProcessing::frangi(), usVolumeProcessing::gradient(), usVolumeProcessing::hessian(), usPreScanToPostScan3DConverter::init(), usVolumeProcessing::norm(), usImage3D< Type >::operator==(), usImagePreScan3D< Type >::setData(), usImage3D< Type >::usImage3D(), usImagePreScan3D< Type >::usImagePreScan3D(), usMHDSequenceWriter::write(), and usImageIo::write().
|
inherited |
Getter for the probe name.
Definition at line 232 of file usTransducerSettings.cpp.
|
inherited |
Getter for sampling frequency : frequency used to sample the echo of the ultrasound wave.
Definition at line 305 of file usTransducerSettings.cpp.
Referenced by usTransducerSettings::operator=(), usTransducerSettings::operator==(), usImageIo::read(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inherited |
Getter for the scan line number.
Definition at line 216 of file usTransducerSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usPostScanToPreScan2DConverter::convert(), usPreScanToPostScan2DConverter::convert(), usNetworkGrabberPreScan3D::includeFrameInVolume(), usNetworkGrabberRF3D::includeFrameInVolume(), usTransducerSettings::operator=(), usTransducerSettings::operator==(), usImageIo::read(), usImagePreScan2D< Type >::usImagePreScan2D(), usImagePreScan3D< Type >::usImagePreScan3D(), usImageRF2D< Type >::usImageRF2D(), usImageRF3D< Type >::usImageRF3D(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inherited |
Get the scan line pitch (m).
Definition at line 182 of file usTransducerSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usPreScanToPostScan2DConverter::convert(), usNetworkGrabberPreScan3D::includeFrameInVolume(), usNetworkGrabberRF3D::includeFrameInVolume(), usPostScanToPreScan2DConverter::init(), usPreScanToPostScan2DConverter::init(), usTransducerSettings::operator=(), usTransducerSettings::operator==(), usImageIo::read(), usImageDisplayWidgetRobotControl::updateConfidenceAngle(), usImageDisplayWidgetQmlOverlayServoing::updateConfidenceAngle(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inlineinherited |
Get the volume size.
Definition at line 143 of file usImage3D.h.
Referenced by usVolumeProcessing::absoluteDifference(), usVolumeProcessing::difference(), usVolumeProcessing::frangi(), usVolumeProcessing::gradient(), usVolumeProcessing::hessian(), usVolumeProcessing::max(), usVolumeProcessing::min(), and usVolumeProcessing::norm().
|
inherited |
Get the probe transducer radius (m).
Definition at line 163 of file usTransducerSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usPostScanToPreScan2DConverter::convert(), usPreScanToPostScan2DConverter::convert(), usNetworkGrabberPreScan3D::includeFrameInVolume(), usNetworkGrabberRF3D::includeFrameInVolume(), usPostScanToPreScan2DConverter::init(), usPreScanToPostScan2DConverter::init(), usTransducerSettings::operator=(), usTransducerSettings::operator==(), usImageIo::read(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inherited |
Getter for transducer settings : allows heritating classes to get the transducer settings.
Definition at line 295 of file usTransducerSettings.cpp.
|
inherited |
Getter for transmit frequency : frequency of the ultrasound wave used.
Definition at line 311 of file usTransducerSettings.cpp.
Referenced by usTransducerSettings::operator=(), usTransducerSettings::operator==(), usImageIo::read(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inlineinherited |
Get the volume width.
Definition at line 125 of file usImage3D.h.
Referenced by usVolumeProcessing::absoluteDifference(), usVolumeProcessing::applyFilter(), usVolumeProcessing::computeBarycenter(), usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usVTKConverter::convert(), usPreScanToPostScan3DConverter::convert(), usVolumeProcessing::derivativeI(), usVolumeProcessing::derivativeJ(), usVolumeProcessing::derivativeK(), usVolumeProcessing::difference(), usVolumeProcessing::frangi(), usVolumeProcessing::gradient(), usVolumeProcessing::hessian(), usPreScanToPostScan3DConverter::init(), usVolumeProcessing::norm(), usImage3D< Type >::operator==(), usImagePreScan3D< Type >::setData(), usImage3D< Type >::usImage3D(), usImagePreScan3D< Type >::usImagePreScan3D(), usMHDSequenceWriter::write(), and usImageIo::write().
|
inherited |
Initialize the data container with the specified value.
value | The data |
Definition at line 367 of file usImage3D.h.
Referenced by usVolumeProcessing::applyFilter(), usPreScanToPostScan3DConverter::convert(), and usImage3D< Type >::usImage3D().
void usImagePreScan3D< Type >::insertFrame | ( | const usImagePreScan2D< Type > & | frame, |
unsigned int | index | ||
) |
Insert at a given index to update the volume while grabbing successive 2D frames.
frame | The 2D frame to insert. |
index | Position to insert the frame in the volume. |
Definition at line 312 of file usImagePreScan3D.h.
Referenced by usRFToPreScan3DConverter::convert(), and usImageIo::read().
|
inherited |
Returns the probe transducer type.
Definition at line 201 of file usTransducerSettings.cpp.
Referenced by usPixelMeterConversion::convert(), usMeterPixelConversion::convert(), usPostScanToPreScan2DConverter::convert(), usPreScanToPostScan2DConverter::convert(), usPostScanToPreScan2DConverter::init(), usPreScanToPostScan2DConverter::init(), usPreScanToPostScan3DConverter::init(), usTransducerSettings::operator=(), usTransducerSettings::operator==(), usImageIo::read(), usTransducerSettings::setTransducerConvexity(), usImageIo::write(), usMHDSequenceWriter::write(), and usImageSettingsXmlParser::writeMainClass().
|
inherited |
Compare two motor settings.
other | Motor settings to compare. |
Definition at line 116 of file usMotorSettings.cpp.
References usMotorSettings::operator==().
|
inherited |
Compare two probe transducer settings.
Definition at line 125 of file usTransducerSettings.cpp.
References usTransducerSettings::operator==().
|
inlineinherited |
Access operator.
i | Index on i-axis to acess |
j | Index on j-axis to acess |
k | Index on k-axis to acess |
Definition at line 169 of file usImage3D.h.
|
inlineinherited |
Modification operator.
i | Index on i-axis to modify |
j | Index on j-axis to modify |
k | Index on k-axis to modify |
value | Value to insert at the desired index |
Definition at line 181 of file usImage3D.h.
usImagePreScan3D< Type > & usImagePreScan3D< Type >::operator= | ( | const usImagePreScan3D< Type > & | other | ) |
Copy operator.
Definition at line 215 of file usImagePreScan3D.h.
References usImage3D< Type >::operator=(), usImagePreScanSettings::operator=(), and usMotorSettings::operator=().
|
inherited |
Comparison operator.
other | The 3d image to compare. Comparing image parameters, and all volume voxel by voxel. |
Definition at line 332 of file usImage3D.h.
References usImage3D< Type >::getConstData(), usImage3D< Type >::getHeight(), usImage3D< Type >::getNumberOfFrames(), and usImage3D< Type >::getWidth().
Referenced by usImagePostScan3D< Type >::operator==().
bool usImagePreScan3D< Type >::operator== | ( | const usImagePreScan3D< Type > & | other | ) |
Comparison operator.
Definition at line 232 of file usImagePreScan3D.h.
|
inherited |
Comparison operator.
other | usImagePreScanSettings to compare with. |
Definition at line 97 of file usImagePreScanSettings.cpp.
References usImagePreScanSettings::getAxialResolution().
Referenced by usImageRF2D< Type >::operator==().
|
inherited |
Compare two motor settings.
other | Motor settings to compare. |
Definition at line 104 of file usMotorSettings.cpp.
References usMotorSettings::frameNumberIsSet(), usMotorSettings::getFrameNumber(), usMotorSettings::getFramePitch(), usMotorSettings::getMotorRadius(), and usMotorSettings::getMotorType().
Referenced by usMotorSettings::operator!=(), and usImagePostScan3D< Type >::operator==().
|
inherited |
Compare two probe transducer settings.
Definition at line 111 of file usTransducerSettings.cpp.
References usTransducerSettings::getSamplingFrequency(), usTransducerSettings::getScanLineNumber(), usTransducerSettings::getScanLinePitch(), usTransducerSettings::getTransducerRadius(), usTransducerSettings::getTransmitFrequency(), and usTransducerSettings::isTransducerConvex().
Referenced by usTransducerSettings::operator!=(), and usImagePostScan3D< Type >::operator==().
void usImagePreScan3D< Type >::resize | ( | unsigned int | height, |
unsigned int | width, | ||
unsigned int | numberOfFrames | ||
) |
Resize the 3D pre-scan image.
Updates also the transducer scan line number that corresponds to the image X-size and the motor frame number that corresponds to the image Z-size.
height | Image height. |
width | Image width. |
numberOfFrames | Number of frames in the volume. |
Definition at line 300 of file usImagePreScan3D.h.
References usImage3D< Type >::resize(), usMotorSettings::setFrameNumber(), and usTransducerSettings::setScanLineNumber().
Referenced by usSequenceReader3D< ImageType >::acquire(), usMHDSequenceReader::acquire(), usRFToPreScan3DConverter::convert(), usMHDSequenceReader::getImage(), usSequenceReader3D< ImageType >::getVolume(), and usImageIo::read().
|
inherited |
Getter to know if the scan line number is set (usefull in case of field of view setter call).
Definition at line 277 of file usTransducerSettings.cpp.
Referenced by usTransducerSettings::operator=().
|
inherited |
Axial resolution setter.
axialResolution | Axial resloution to assign to the settings. |
Definition at line 115 of file usImagePreScanSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usPostScanToPreScan2DConverter::convert(), usRFToPreScan3DConverter::convert(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), and usImageIo::read().
void usImagePreScan3D< Type >::setData | ( | const usImage3D< Type > & | image | ) |
Setter for the 3D pre-scan image data.
image | Data to set. |
Definition at line 259 of file usImagePreScan3D.h.
References usImage3D< Type >::getNumberOfFrames(), usImage3D< Type >::getWidth(), and usImage3D< Type >::operator=().
|
inherited |
Set the data container.
data | The data container. |
numberOfVoxels | The number of voxels in the image. |
Definition at line 354 of file usImage3D.h.
|
inherited |
Setter for depth : distance in meters between first and last pixel in a scan line.
depth | Distance in meters. |
Definition at line 283 of file usTransducerSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usPreScanToPostScan2DConverter::convert(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), and usImageIo::read().
|
inherited |
Setter for the transducer field of view (updates the scan line pitch).
fieldOfView | The transducer field of view in radians if the transducer is convex, in meters if the transducer is linear. |
Definition at line 265 of file usTransducerSettings.cpp.
Referenced by usPostScanToPreScan2DConverter::convert().
void usImagePreScan3D< Type >::setFrameNumber | ( | unsigned int | frameNumber | ) |
Set the motor frame number.
Resize also the image Z-size that is equal to the frame number.
frameNumber | Number of frames in the 3D volume. |
Definition at line 284 of file usImagePreScan3D.h.
References usImage3D< Type >::resize(), and usMotorSettings::setFrameNumber().
|
inherited |
Set the frame angle (rad).
framePitch | Frame angle of the probe in radians. |
Definition at line 147 of file usMotorSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), and usImageSettingsXmlParser::readMainClass().
|
inherited |
Copy constructor.
preScanSettings | Pre-scan settings to copy. |
Definition at line 71 of file usImagePreScanSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usPostScanToPreScan2DConverter::convert(), usRFToPreScan2DConverter::convert(), usRFToPreScan3DConverter::convert(), usImageRF3D< Type >::getFrame(), usMHDSequenceReader::getImage(), usImageIo::read(), usScanlineConfidence2D::run(), and usImageRF2D< Type >::usImageRF2D().
|
inherited |
Setter for the motor field of view (updates the frame pitch).
motorFieldOfView | The motor field of view in radians if the motor is convex, in meters if the motor is linear. |
Definition at line 226 of file usMotorSettings.cpp.
|
inherited |
Set the motor radius (m).
motorRadius | Motor radius in meters. |
Definition at line 135 of file usMotorSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), usImageSettingsXmlParser::readMainClass(), and usMotorSettings::setMotorType().
|
inherited |
Set the motor settings from other motor settings.
Definition at line 184 of file usMotorSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usRFToPreScan3DConverter::convert(), usPreScanToPostScan3DConverter::convert(), usMHDSequenceReader::getImage(), and usImageIo::read().
|
inherited |
Set the motor type : convex or linear (from probe type used to acquire the image).
motorType | Motor type to specify the motor type : LinearMotor, TiltingMotor (for a rotative motor), RotationalMotor (for a 360° rotative motor). |
Definition at line 166 of file usMotorSettings.cpp.
References usMotorSettings::LinearMotor, and usMotorSettings::setMotorRadius().
Referenced by usMHDSequenceReader::acquire(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), and usImageSettingsXmlParser::readMainClass().
|
inherited |
Setter for the probe name.
probeName | Name of the probe. |
Definition at line 238 of file usTransducerSettings.cpp.
|
inherited |
Setter for sampling frequency : frequency used to sample the echo of the ultrasound wave.
samplingFrequency | Frequency in Hz. |
Definition at line 317 of file usTransducerSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), usImageSettingsXmlParser::readMainClass(), and usImageSettingsXmlParser::setImageSettings().
void usImagePreScan3D< Type >::setScanLineNumber | ( | unsigned int | scanLineNumber | ) |
Set the transducer scan line number.
Resize also the image X-size that is equal to the scan line number.
scanLineNumber | Number of scan lines acquired by the transducer. |
Definition at line 272 of file usImagePreScan3D.h.
References usImage3D< Type >::resize(), and usTransducerSettings::setScanLineNumber().
|
inherited |
Set the scan line pitch.
scanLinePitch | If the probe transducer is convex, this parameters refers to the angle in radians between two successive scan lines acquired by the transducer. If the probe is linear, this parameters refers to the distance in meters between two successive scan lines acquired by the transducer. |
Definition at line 171 of file usTransducerSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usPreScanToPostScan2DConverter::convert(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), usImageSettingsXmlParser::readMainClass(), and usImageSettingsXmlParser::setImageSettings().
|
inherited |
Set the probe transducer type.
isTransducerConvex | True if the transducer is convex, false if the transducer is linear. Sets the probe transducer radius to 0 in case of a linear transducer. |
Definition at line 189 of file usTransducerSettings.cpp.
References usTransducerSettings::isTransducerConvex().
Referenced by usMHDSequenceReader::acquire(), usPostScanToPreScan2DConverter::convert(), usPreScanToPostScan2DConverter::convert(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), usImageSettingsXmlParser::readMainClass(), and usImageSettingsXmlParser::setImageSettings().
|
inherited |
Set the probe transducer radius (m).
transducerRadius | Probe transducer radius in meters. The probe transducer radius is set to 0 in case of a linear probe. See isTransducerConvex() and setProbeConvex(bool) for more information. |
Definition at line 157 of file usTransducerSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usPostScanToPreScan2DConverter::convert(), usPreScanToPostScan2DConverter::convert(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), usImageSettingsXmlParser::readMainClass(), and usImageSettingsXmlParser::setImageSettings().
|
inherited |
Assignment operator.
other | Settings you want to assign. |
Definition at line 210 of file usTransducerSettings.cpp.
Referenced by usPreScanToPostScan3DConverter::convert().
|
inherited |
Setter for transmit frequency : frequency of the ultrasound wave used.
transmitFrequency | Frequency in Hz. |
Definition at line 326 of file usTransducerSettings.cpp.
Referenced by usMHDSequenceReader::acquire(), usNetworkGrabberPreScan2D::dataArrived(), usNetworkGrabberPreScan3D::dataArrived(), usNetworkGrabberRF3D::dataArrived(), usMHDSequenceReader::getImage(), usImageIo::read(), usImageSettingsXmlParser::readMainClass(), and usImageSettingsXmlParser::setImageSettings().