|
IUF-SDK-3
Interventional Ultrasound Library
|
#include <iufAcquisition.h>#include <iufPatternListDict.h>#include <iufPulseDict.h>#include <iufReceiveChannelMapDict.h>#include <iufTransmitApodizationDict.h>#include <iufFrameList.h>#include "iufSourceDict.h"#include "iufReceiveSettingsDict.h"#include "iufTransducer.h"#include "iufData.h"#include "iufOffset.h"Go to the source code of this file.
Macros | |
| #define | IUIF_INVALID (iuif_t) NULL |
| #define | IUF_DEFAULT_NUM_FRAMES 1 |
Typedefs | |
| typedef IufInputFile * | iuif_t |
Functions | |
| iuif_t | iufInputFileCreate (const char *filename) |
| Create an empty file instance with a filename. More... | |
| iud_t | iufInputFileFrameCreate (iuif_t inputFile, char *label) |
Creates a datablock for a frame for the acquisition with the name label. More... | |
| iud_t | iufInputFileResponseCreate (iuif_t inputFile, char *label) |
Creates a datablock for a response (numSamplesPerLine * numChannels) for the acquisition with the name label. More... | |
| iud_t | iufInputFileChannelCreate (iuif_t inputFile, char *label) |
Creates a datablock for a single channel (i.e. numSamplesPerLine floats) for the acquisition with the name label. More... | |
| int | iufInputFileDelete (iuif_t inputFile) |
Creates a datablock for a single channel (i.e. numSamplesPerLine floats) for the acquisition with the name label. More... | |
| iuif_t | iufInputFileNodeLoad (const char *pFilename) |
| Load an inputFile instance from a file. More... | |
| int | iufInputFileNodeSave (iuif_t inputFile) |
| Save (serialize) the inputFile instance to file. More... | |
| int | iufInputFileClose (iuif_t inputFile) |
| Closes access to the inputFile. More... | |
| int | iufInputFileCompare (iuif_t reference, iuif_t actual) |
| Compares two inputFile instances with each other. More... | |
| iufl_t | iufInputFileGetFrameList (iuif_t inputFile) |
| Gets the IufFrameList object from an inputFile. More... | |
| iupald_t | iufInputFileGetPatternListDict (iuif_t inputFile) |
| Gets the IufPatternListDict object from an inputFile. More... | |
| iupd_t | iufInputFileGetPulseDict (iuif_t inputFile) |
| Gets the IufPulseDict object from an inputFile. More... | |
| iusd_t | iufInputFileGetSourceDict (iuif_t inputFile) |
| Gets the IufSourceDict object from an inputFile. More... | |
| iurcmd_t | iufInputFileGetReceiveChannelMapDict (iuif_t inputFile) |
| Gets the IufReceiveChannelMapDict object from an inputFile. More... | |
| iutad_t | iufInputFileGetTransmitApodizationDict (iuif_t inputFile) |
| Gets the IufTransmitApodizationDict object from an inputFile. More... | |
| iursd_t | iufInputFileGetReceiveSettingsDict (iuif_t inputFile) |
| Gets the IufReceiveSettingsDict object from an inputFile. More... | |
| iua_t | iufInputFileGetAcquisition (iuif_t inputFile) |
| Gets the IufAcquisition object from an inputFile. More... | |
| iut_t | iufInputFileGetTransducer (iuif_t inputFile) |
| Gets the IufTransducer object from an inputFile. More... | |
| int | iufInputFileGetNumFrames (iuif_t inputFile) |
| Returns the number of frames an inputFile has. More... | |
| int | iufInputFileGetNumResponses (iuif_t inputFile, char *label) |
Gets the number of responses for the patternList type label. More... | |
| int | iufInputFileGetNumChannels (iuif_t inputFile, char *label) |
Gets the number of channels for the patternList type label. More... | |
| int | iufInputFileGetSamplesPerLine (iuif_t inputFile, char *label) |
Gets the number of samples per line for this label. More... | |
| int | iufInputFileSetFrameList (iuif_t inputFile, iufl_t frameList) |
| Sets the frameList of an inputFile. More... | |
| int | iufInputFileSetPatternListDict (iuif_t inputFile, iupald_t patternListDict) |
| Sets the patternListDict of an inputFile. More... | |
| int | iufInputFileSetPulseDict (iuif_t inputFile, iupd_t pulseDict) |
| Sets the pulseDict of an inputFile. More... | |
| int | iufInputFileSetSourceDict (iuif_t inputFile, iusd_t sourceDict) |
| Sets the sourceDict of an inputFile. More... | |
| int | iufInputFileSetReceiveChannelMapDict (iuif_t inputFile, iurcmd_t receiveChannelMapDict) |
| Sets the receiveChannelMap of an inputFile. More... | |
| int | iufInputFileSetTransmitApodizationDict (iuif_t inputFile, iutad_t transmitApodizationDict) |
| Sets the transmitApodizationDict of an inputFile. More... | |
| int | iufInputFileSetReceiveSettingsDict (iuif_t inputFile, iursd_t receiveSettingsDict) |
| Sets the receiveSettingsDict of an inputFile. More... | |
| int | iufInputFileSetAcquisition (iuif_t inputFile, iua_t acquisition) |
| Sets the acquisition info of an inputFile. More... | |
| int | iufInputFileSetTransducer (iuif_t inputFile, iut_t transducer) |
| Sets the transducer of an inputFile. More... | |
| int | iufInputFileChannelSave (iuif_t inputFile, char *label, iud_t channel, iuo_t channel_offset) |
| Saves a channel of data to an inputFile. More... | |
| int | iufInputFileChannelLoad (iuif_t inputFile, char *label, iud_t channel, iuo_t channel_offset) |
| Loads a single channel of data from an inputFile. More... | |
| int | iufInputFileResponseSave (iuif_t inputFile, char *label, iud_t response, iuo_t response_offset) |
| Saves a channel of data to an inputFile. More... | |
| int | iufInputFileResponseLoad (iuif_t inputFile, char *label, iud_t response, iuo_t response_offset) |
| Loads a single response of data from an inputFile. More... | |
| int | iufInputFileFrameSave (iuif_t inputFile, char *label, iud_t frame, iuo_t frame_offset) |
| Saves a frame of data to an inputFile. More... | |
| int | iufInputFileFrameLoad (iuif_t inputFile, char *label, iud_t frame, iuo_t frame_offset) |
| Loads a frame of data to an inputFile. More... | |
| #define IUF_DEFAULT_NUM_FRAMES 1 |
| #define IUIF_INVALID (iuif_t) NULL |
| typedef IufInputFile* iuif_t |
The input file is the instance for the "raw" file format. It contains the unprocessed ultrasound aquisition. The instance contains a IufFrameList, a IufTransducer definition, IufAcquisition information and one or more data blocks referering to a patternList. In addition, node history can be added.
Creates a datablock for a single channel (i.e. numSamplesPerLine floats) for the acquisition with the name label.
| inputFile | The IufInputFile of interest |
| label | The acquisition type |
Loads a single channel of data from an inputFile.
| inputFile | The IufInputFile of interest |
| label | The label of the patternList |
| channel | The channel data block to be filled |
| channel_offset | The offset in the datablock |
Saves a channel of data to an inputFile.
| inputFile | The IufInputFile of interest |
| label | The label of the patternList |
| channel | The channel data to save |
| channel_offset | The offsets in the datablock |
| int iufInputFileClose | ( | iuif_t | inputFile | ) |
Closes access to the inputFile.
| inputFile | The IufInputFile of interest |
Compares two inputFile instances with each other.
| reference | The IufInputFile to compare to |
| actual | The IufInputFile to compare with |
| iuif_t iufInputFileCreate | ( | const char * | filename | ) |
Create an empty file instance with a filename.
| filename | The filename for the file instance. |
| int iufInputFileDelete | ( | iuif_t | inputFile | ) |
Creates a datablock for a single channel (i.e. numSamplesPerLine floats) for the acquisition with the name label.
| inputFile | The IufInputFile of interest |
Creates a datablock for a frame for the acquisition with the name label.
| inputFile | The IufInputFile of interest |
| label | The acquisition type |
Loads a frame of data to an inputFile.
| inputFile | The IufInputFile of interest |
| label | The label of the patternList |
| frame | The frame of data |
| frame_offset | The offset in the datablock |
Saves a frame of data to an inputFile.
| inputFile | The IufInputFile of interest |
| label | The label of the patternList |
| frame | The frame of data |
| frame_offset | The offset in the datablock |
Gets the IufAcquisition object from an inputFile.
| inputFile | The IufInputFile of interest |
Gets the IufFrameList object from an inputFile.
| inputFile | The IufInputFile of interest |
| int iufInputFileGetNumChannels | ( | iuif_t | inputFile, |
| char * | label | ||
| ) |
Gets the number of channels for the patternList type label.
| inputFile | The IufInputFile of interest |
| label | the patternList type |
| int iufInputFileGetNumFrames | ( | iuif_t | inputFile | ) |
Returns the number of frames an inputFile has.
| inputFile | The IufInputFile of interest |
| int iufInputFileGetNumResponses | ( | iuif_t | inputFile, |
| char * | label | ||
| ) |
Gets the number of responses for the patternList type label.
| inputFile | The IufInputFile of interest |
| label | the patternList type |
Gets the IufPatternListDict object from an inputFile.
| inputFile | The IufInputFile of interest |
Gets the IufPulseDict object from an inputFile.
| inputFile | The IufInputFile of interest |
Gets the IufReceiveChannelMapDict object from an inputFile.
| inputFile | The IufInputFile of interest |
Gets the IufReceiveSettingsDict object from an inputFile.
| inputFile | The IufInputFile of interest |
| int iufInputFileGetSamplesPerLine | ( | iuif_t | inputFile, |
| char * | label | ||
| ) |
Gets the number of samples per line for this label.
| inputFile | The IufInputFile of interest |
| label | the patternList type |
Gets the IufSourceDict object from an inputFile.
| inputFile | The IufInputFile of interest |
Gets the IufTransducer object from an inputFile.
| inputFile | The IufInputFile of interest |
Gets the IufTransmitApodizationDict object from an inputFile.
| inputFile | The IufInputFile of interest |
| iuif_t iufInputFileNodeLoad | ( | const char * | pFilename | ) |
Load an inputFile instance from a file.
| pFilename | The filename of the inputFile |
| int iufInputFileNodeSave | ( | iuif_t | inputFile | ) |
Save (serialize) the inputFile instance to file.
| inputFile | The IufInputFile of interest |
Creates a datablock for a response (numSamplesPerLine * numChannels) for the acquisition with the name label.
| inputFile | The IufInputFile of interest |
| label | The acquisition type |
| int iufInputFileResponseLoad | ( | iuif_t | inputFile, |
| char * | label, | ||
| iud_t | response, | ||
| iuo_t | response_offset | ||
| ) |
Loads a single response of data from an inputFile.
| inputFile | The IufInputFile of interest |
| label | The label of the patternList |
| response | The response data to load |
| response_offset | The offset in the datablock |
| int iufInputFileResponseSave | ( | iuif_t | inputFile, |
| char * | label, | ||
| iud_t | response, | ||
| iuo_t | response_offset | ||
| ) |
Saves a channel of data to an inputFile.
| inputFile | The IufInputFile of interest |
| label | The label of the patternList |
| response | the response data to save |
| response_offset | The offset in the datablock |
Sets the acquisition info of an inputFile.
| inputFile | The IufInputFile of interest |
| acquisition | The IufAcquisition to set |
Sets the frameList of an inputFile.
| inputFile | The IufInputFile of interest |
| frameList | The IufFrameList to set |
Sets the patternListDict of an inputFile.
| inputFile | The IufInputFile of interest |
| patternListDict | The IufPatternListDict to set |
Sets the pulseDict of an inputFile.
| inputFile | The IufInputFile of interest |
| pulseDict | The IufPulseDict to set |
Sets the receiveChannelMap of an inputFile.
| inputFile | The IufInputFile of interest |
| receiveChannelMapDict | The IufReceiveChannelMapDict to set |
Sets the receiveSettingsDict of an inputFile.
| inputFile | The IufInputFile of interest |
| receiveSettingsDict | The IufTransmitApodizationDict to set |
Sets the sourceDict of an inputFile.
| inputFile | The IufInputFile of interest |
| sourceDict | The IufSourceDict to set |
Sets the transducer of an inputFile.
| inputFile | The IufInputFile of interest |
| transducer | The IufTransducer to set |
Sets the transmitApodizationDict of an inputFile.
| inputFile | The IufInputFile of interest |
| transmitApodizationDict | The IufTransmitApodizationDict to set |