L_LTDIC_API L_UINT16 L_DicomChannelGetSensitivity(hDICOMWaveFormChannel, pbIncluded, pdChannelSensitivity, pChannelSensitivityUnits, uStructSize, pdChannelSensitivityCF, pdChannelBaseline)
Gets the channel sensitivity.
A DICOM waveform channel handle
Pointer to a flag that indicates whether the channel sensitivity is set for this channel. Possible values are:
Pointer to a variable that will be updated with the channel sensitivity. For more information, refer to the Channel Sensitivity (003A,0210) element in the DICOM standard.
Pointer to a DICOMCODESEQUENCEITEM structure to be updated with the channel sensitivity units. For more information, refer to the "Channel Sensitivity Units Sequence" (003A,0211) element in the DICOM standard.
Size of the DICOMCODESEQUENCEITEM structure. Pass sizeof (DICOMCODESEQUENCEITEM).
Pointer to a variable that will be updated with the channel sensitivity correction factor. For more information, to the "Channel Sensitivity Correction Factor" (003A,0212) element in the DICOM standard.
Pointer to a variable that will be updated with the channel baseline. For more information, refer to the "Channel Baseline" (003A,0213) element in the DICOM standard.
|DICOM_SUCCESS||The function was successful.|
|> 0||An error occurred. Refer to Return Codes.|
Use this function to get the values for all the elements related to the channel sensitivity.
This function fails and returns DICOM_ERROR_NULL_PTR if pdChannelSensitivity is NULL.
The pChannelSensitivityUnits parameter points to a structure that can be filled using the functions offered by the context groups functions (L_DicomxxxContextGroup and L_DicomxxxCodedConcept) . For more information about these functions and the use of Coded Concepts in DICOM, please refer to Working with Context Groups.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_DicomChannelSetSamples8.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries