UsTK : Ultrasound ToolKit
version 2.0.1 under development (2024-11-21)
|
#include <visp3/ustk_core/usSequenceReader3D.h>
Public Member Functions | |
usSequenceReader3D () | |
virtual | ~usSequenceReader3D () |
void | acquire (ImageType &image) |
void | getVolume (usImagePreScan3D< unsigned char > &preScanImage, int volumeNumberInSequence) |
bool | end () |
long | getImageNumber () const |
void | setSequenceFileName (const std::string &sequenceFileName) |
void | acquire (usImagePreScan3D< unsigned char > &image) |
void | acquire (usImagePostScan3D< unsigned char > &image) |
void | getVolume (usImagePreScan3D< unsigned char > &preScanImage, int volumeNumberInSequence) |
Reading of sequences of ultrasound images.
This class is used to grab ultrasound volumes from a sequence.
Definition at line 63 of file usSequenceReader3D.h.
usSequenceReader3D< ImageType >::usSequenceReader3D |
Default constructor.
Definition at line 125 of file usSequenceReader3D.h.
|
virtual |
Destructor.
Definition at line 133 of file usSequenceReader3D.h.
void usSequenceReader3D< ImageType >::acquire | ( | ImageType & | image | ) |
void usSequenceReader3D< usImagePostScan3D< unsigned char > >::acquire | ( | usImagePostScan3D< unsigned char > & | image | ) |
Sequence image acquisition (grabber-style : an internal counter is incremented to open next image at the next call).
image | Image of the sequence to read. |
Definition at line 323 of file usSequenceReader3D.h.
References usImage3D< Type >::resize().
void usSequenceReader3D< usImagePreScan3D< unsigned char > >::acquire | ( | usImagePreScan3D< unsigned char > & | image | ) |
Sequence image acquisition (grabber-style : an internal counter is incremented to open next image at the next call).
image | Image of the sequence to read. |
Definition at line 298 of file usSequenceReader3D.h.
References usImagePreScan3D< Type >::resize().
|
inline |
Definition at line 100 of file usSequenceReader3D.h.
|
inline |
Definition at line 112 of file usSequenceReader3D.h.
void usSequenceReader3D< ImageType >::getVolume | ( | usImagePreScan3D< unsigned char > & | preScanImage, |
int | volumeNumberInSequence | ||
) |
void usSequenceReader3D< usImagePreScan3D< unsigned char > >::getVolume | ( | usImagePreScan3D< unsigned char > & | preScanImage, |
int | volumeNumberInSequence | ||
) |
Read a 3D unsigned char pre-scan ultrasound image contained in a sequence. Works only for .vol files.
[out] | preScanImage | The pre-scan image to read. |
[in] | volumeNumberInSequence | The image number of the image to read in the sequence (from 0 to total volume Number - 1). |
Definition at line 354 of file usSequenceReader3D.h.
References usImagePreScan3D< Type >::resize().
void usSequenceReader3D< ImageType >::setSequenceFileName | ( | const std::string & | fileName | ) |
FileName setter.
fileName | Name of the .vol file. |
Definition at line 139 of file usSequenceReader3D.h.