|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <stdlib.h>#include <string.h>#include <math.h>#include <iuf.h>#include <iufFilterPrivate.h>#include <iufIqFileStructure.h>#include <iufDemodulationPrivate.h>#include <iufTGCPrivate.h>Data Structures | |
| struct | IufDemodulation |
Functions | |
| iudm_t | iufDemodulationCreate (IufDemodulationMethod method, float sampleFrequency, float centerFrequency, int numSamplesPerLine, int numTGCentries, int filterKernelSize) |
| int | iufDemodulationDelete (iudm_t demodulation) |
| Deletes the IufDemodulation and also the TGC function that it might contain. More... | |
| int | iufDemodulationCompare (iudm_t reference, iudm_t actual) |
| Compare two demodulation objects with each other, including their TGC function. More... | |
| iutgc_t | iufDemodulationGetTGC (iudm_t demodulation) |
| Gets the TGC object of the demodulation. More... | |
| iuff_t | iufDemodulationGetPreFilter (iudm_t demodulation) |
| Gets the fir filter object of the demodulation. More... | |
| float | iufDemodulationGetCenterFrequency (iudm_t demodulation) |
| Returns the centerFrequency (after demodulation) More... | |
| float | iufDemodulationGetSampleFrequency (iudm_t demodulation) |
| Returns the sampleFrequency setting. More... | |
| int | iufDemodulationGetNumSamplesPerLine (iudm_t demodulation) |
| Returns the number of samples per line. More... | |
| int | iufDemodulationGetNumTGCentries (iudm_t demodulation) |
Gets the number of [time,gain] paira that the TGC has. More... | |
| int | iufDemodulationGetPreFilterKernelSize (iudm_t demodulation) |
| Gets the number of filter coefficients of the preFilter. More... | |
| int | iufDemodulationSetTGC (iudm_t demodulation, iutgc_t tgc) |
| set the TGC of IufDemodulation More... | |
| int | iufDemodulationSetPreFilter (iudm_t demodulation, iuff_t preFilter) |
| set the TGC of IufDemodulation More... | |
| int | iufDemodulationSave (iudm_t demodulation, hid_t handle) |
| iudm_t | iufDemodulationLoad (hid_t handle) |
| struct IufDemodulation |
| Data Fields | ||
|---|---|---|
| float | centerFrequency |
The center frequency that was used |
| int | downSampleFactor |
The reduction factor between original sampling and the data rate (i.e. sampleFrequency) |
| IufDemodulationMethod | method |
How the downsampling has been performed |
| int | numSamplesPerLine |
length of an acquisition line |
| iuff_t | preFilter |
The filter that has been used before downSampling was applied |
| float | sampleFrequency |
The sampling frequency that was used |
| iutgc_t | TGC |
TimeGainControl points (time,gain) |
| iudm_t iufDemodulationCreate | ( | IufDemodulationMethod | method, |
| float | sampleFrequency, | ||
| float | centerFrequency, | ||
| int | numSamplesPerLine, | ||
| int | numTGCentries, | ||
| int | filterKernelSize | ||
| ) |
| method | The downsampling method |
| sampleFrequency | The sampling frequency in Hz |
| centerFrequency | The center frequency in Hz after demodulation |
| numSamplesPerLine | The number of samples per acquired line |
| numTGCentries | The size of the TGC function |
| filterKernelSize | The size of the preFilter |
| int iufDemodulationDelete | ( | iudm_t | demodulation | ) |
Deletes the IufDemodulation and also the TGC function that it might contain.
| demodulation | The receive settings of interest. |
| float iufDemodulationGetCenterFrequency | ( | iudm_t | demodulation | ) |
Returns the centerFrequency (after demodulation)
| demodulation | the demodulation of interest |
| int iufDemodulationGetNumSamplesPerLine | ( | iudm_t | demodulation | ) |
Returns the number of samples per line.
| demodulation | the demodulation of interest |
| int iufDemodulationGetNumTGCentries | ( | iudm_t | demodulation | ) |
Gets the number of [time,gain] paira that the TGC has.
| demodulation | the demodulation of interest |
Gets the fir filter object of the demodulation.
| demodulation | the demodulation of interest |
| int iufDemodulationGetPreFilterKernelSize | ( | iudm_t | demodulation | ) |
Gets the number of filter coefficients of the preFilter.
| demodulation | the demodulation of interest |
| float iufDemodulationGetSampleFrequency | ( | iudm_t | demodulation | ) |
Returns the sampleFrequency setting.
| demodulation | the demodulation of interest |
Gets the TGC object of the demodulation.
| demodulation | the demodulation of interest |
| iudm_t iufDemodulationLoad | ( | hid_t | handle | ) |
| int iufDemodulationSave | ( | iudm_t | demodulation, |
| hid_t | handle | ||
| ) |
set the TGC of IufDemodulation
set the TGC of IufDemodulation