|
|
| Background (ScanProcessor *scanProcessor) |
| |
|
bool | GetUseBackgroundSubtract () const |
| |
|
bool | GetUseAverageBG () const |
| |
|
bool | GetUseAutoDC () const |
| |
|
bool | GetAutoSaveBG () const |
| |
|
void | SetUseBackgroundSubtract (bool value) |
| |
|
void | SetUseAverageBG (bool value) |
| |
|
void | SetUseAutoDC (bool value) |
| |
|
void | SetAutoSaveBG (bool value) |
| |
|
bool | GetBackgroundImage (float *buffer, int size) |
| | Gets the one A-scan wide background image and places it in the buffer.
|
| |
| bool | UpdateImage (float *buffer=nullptr, int size=0) |
| | Update the background image. More...
|
| |
|
void | AdjustForBackground (const U16 *raw, SGL *&inputData) |
| |
| template<typename T , typename F > |
| void | BackgroundAverageAutoDCMethod (const T *raw, F *&inputData) |
| | Pre-processing methods to move raw data to input data. More...
|
| |
| template<typename T , typename F > |
| void | BackgroundAverageMethod (const T *raw, F *&inputData) |
| | For the averaged background, create a single a-scan by averaging the background image. More...
|
| |
| template<typename T , typename F > |
| void | BackgroundImageMethod (const T *raw, F *&inputData) |
| | Use the entire background image frame and do a line by line subtraction with raw to get inputData. More...
|
| |
| template<typename T , typename F > |
| void | NoImageMethod (const T *raw, F *&inputData) |
| | Just copy raw to indata. More...
|
| |
|
virtual void | InitGPUMethods (int programIndex) |
| |
|
virtual void | OnWidthHeightChanged (int width, int height) |
| |
|
virtual int | Subtract (const unsigned short *raw) |
| |
template<typename T , typename F >
| void Background::BackgroundAverageMethod |
( |
const T * |
raw, |
|
|
F *& |
inputData |
|
) |
| |
|
inline |
For the averaged background, create a single a-scan by averaging the background image.
Apply this averaged background line for each line in frame.
If using apodization,
- use raw to create the background : rawBg
- use: indata = _maxIntensity * (raw - rawBg) / rawBg
- otherwise, use: indata = raw-bg
- Parameters
-
| raw | raw data |
| [out] | inputData | background subtracted raw data for use in processing |
- Returns
- none