PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
Class for receiving images through the BK ProFocus SDK (Grabbie) More...
#include <src/PlusDataCollection/BkProFocus/PlusBkProFocusCameraLinkReceiver.h>
Public Member Functions | |
virtual bool | Cleanup () |
virtual bool | DataAvailable (int lines, int pitch, void const *frameData) |
PlusBkProFocusCameraLinkReceiver () | |
virtual bool | Prepare (int samples, int lines, int pitch) |
virtual void | SetDecimation (int decimation) |
virtual void | SetImagingMode (vtkPlusBkProFocusCameraLinkVideoSource::ImagingModeType imagingMode) |
virtual void | SetPlusVideoSource (vtkPlusBkProFocusCameraLinkVideoSource *videoSource) |
virtual | ~PlusBkProFocusCameraLinkReceiver () |
Protected Attributes | |
vtkPlusBkProFocusCameraLinkVideoSource * | m_CallbackVideoSource |
int | m_Decimation |
unsigned char * | m_Frame |
vtkPlusBkProFocusCameraLinkVideoSource::ImagingModeType | m_ImagingMode |
unsigned int | m_MaxNumberOfLines |
unsigned int | m_NumberOfRfSamplesPerLine |
Class for receiving images through the BK ProFocus SDK (Grabbie)
Definition at line 12 of file PlusBkProFocusCameraLinkReceiver.h.
PlusBkProFocusCameraLinkReceiver::PlusBkProFocusCameraLinkReceiver | ( | ) |
Definition at line 15 of file PlusBkProFocusCameraLinkReceiver.cxx.
|
virtual |
Definition at line 28 of file PlusBkProFocusCameraLinkReceiver.cxx.
|
virtual |
Callback functions called by the BK ProFocus SDK when stopping the acquisition
Definition at line 80 of file PlusBkProFocusCameraLinkReceiver.cxx.
|
virtual |
Callback functions called by the BK ProFocus SDK when a frame is acquired
lines | Number of RF lines |
pitch | Number of bytes between the start of two consecutive lines in frame data |
frameData | Pixel data |
Definition at line 93 of file PlusBkProFocusCameraLinkReceiver.cxx.
Callback functions called by the BK ProFocus SDK when starting the acquisition
samples | Number of bytes of one RF line, including the line header |
lines | Number of RF lines |
pitch | Number of bytes between the start of two consecutive lines in frame data |
Definition at line 33 of file PlusBkProFocusCameraLinkReceiver.cxx.
|
virtual |
Set decimation value to reduce the amount of processed data. Only every N-th RF sample is acquired. Regardelss of the decimation value all the lines are acquired.
Definition at line 219 of file PlusBkProFocusCameraLinkReceiver.cxx.
|
virtual |
Set what kind of images are sent to the video source. The default is RF mode, when the raw RF data is recorded. Applications (e.g., fCal) may still be able to show a B-mode image for monitoring the acquisition by performing the brightness conversion and scan conversion internally. Other imaging modes are not yet supported.
Definition at line 213 of file PlusBkProFocusCameraLinkReceiver.cxx.
|
virtual |
Set the video source that will be notified when a new frame is received
Definition at line 207 of file PlusBkProFocusCameraLinkReceiver.cxx.
|
protected |
Video source that is notified about each new frame
Definition at line 60 of file PlusBkProFocusCameraLinkReceiver.h.
|
protected |
Paramter to reduce the amount of processed and stored data. The receiver uses only 1 out of m_Decimation samples in a line.
Definition at line 69 of file PlusBkProFocusCameraLinkReceiver.h.
|
protected |
Buffer storing the RF lines that can be converted to brightness lines, after decimation
Definition at line 66 of file PlusBkProFocusCameraLinkReceiver.h.
|
protected |
For future use. Now only RF mode is supported.
Definition at line 63 of file PlusBkProFocusCameraLinkReceiver.h.
|
protected |
Number RF lines that can be stored in m_Frame
Definition at line 80 of file PlusBkProFocusCameraLinkReceiver.h.
|
protected |
Number of samples (I or Q value) in one RF line in m_Frame. One sample is a 16-bit integer. The number of RF "sample pairs" = number of RF "samples" / 2. The number does not include the RF line header.
Definition at line 77 of file PlusBkProFocusCameraLinkReceiver.h.