Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SetChannelSensitivity Method
See Also 
Leadtools.Dicom Namespace > DicomWaveformChannel Class : SetChannelSensitivity Method



include
true to insert the elements related to channel sensitivity (that correspond to this channel) into the dataset and then set their value., false to delete the channel sensitivity-related elements (that correspond to this channel) from the dataset.
channelSensitivity
New channel sensitivity. For more information, refer to the Channel Sensitivity (003A,0210) element in the DICOM standard.
channelSensitivityUnits
The channel sensitivity units. For more information, refer to "Channel Sensitivity Units Sequence" (003A,0211) in the DICOM standard.
channelSensitivityCF
New channel sensitivity correction factor. For more information, refer to the "Channel Sensitivity Correction Factor" (003A,0212) element in the DICOM standard.
channelBaseline
New channel baseline. For more information, refer to the "Channel Baseline" (003A,0213) element in the DICOM standard.
include
true to insert the elements related to channel sensitivity (that correspond to this channel) into the dataset and then set their value., false to delete the channel sensitivity-related elements (that correspond to this channel) from the dataset.
channelSensitivity
New channel sensitivity. For more information, refer to the Channel Sensitivity (003A,0210) element in the DICOM standard.
channelSensitivityUnits
The channel sensitivity units. For more information, refer to "Channel Sensitivity Units Sequence" (003A,0211) in the DICOM standard.
channelSensitivityCF
New channel sensitivity correction factor. For more information, refer to the "Channel Sensitivity Correction Factor" (003A,0212) element in the DICOM standard.
channelBaseline
New channel baseline. For more information, refer to the "Channel Baseline" (003A,0213) element in the DICOM standard.
Sets the channel sensitivity.

Syntax

Visual Basic (Declaration) 
Public Sub SetChannelSensitivity( _
   ByVal include As Boolean, _
   ByVal channelSensitivity As Double, _
   ByVal channelSensitivityUnits As DicomCodeSequenceItem, _
   ByVal channelSensitivityCF As Double, _
   ByVal channelBaseline As Double _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomWaveformChannel
Dim include As Boolean
Dim channelSensitivity As Double
Dim channelSensitivityUnits As DicomCodeSequenceItem
Dim channelSensitivityCF As Double
Dim channelBaseline As Double
 
instance.SetChannelSensitivity(include, channelSensitivity, channelSensitivityUnits, channelSensitivityCF, channelBaseline)
C# 
public void SetChannelSensitivity( 
   bool include,
   double channelSensitivity,
   DicomCodeSequenceItem channelSensitivityUnits,
   double channelSensitivityCF,
   double channelBaseline
)
C++/CLI 
public:
void SetChannelSensitivity( 
   bool include,
   double channelSensitivity,
   DicomCodeSequenceItem^ channelSensitivityUnits,
   double channelSensitivityCF,
   double channelBaseline
) 

Parameters

include
true to insert the elements related to channel sensitivity (that correspond to this channel) into the dataset and then set their value., false to delete the channel sensitivity-related elements (that correspond to this channel) from the dataset.
channelSensitivity
New channel sensitivity. For more information, refer to the Channel Sensitivity (003A,0210) element in the DICOM standard.
channelSensitivityUnits
The channel sensitivity units. For more information, refer to "Channel Sensitivity Units Sequence" (003A,0211) in the DICOM standard.
channelSensitivityCF
New channel sensitivity correction factor. For more information, refer to the "Channel Sensitivity Correction Factor" (003A,0212) element in the DICOM standard.
channelBaseline
New channel baseline. For more information, refer to the "Channel Baseline" (003A,0213) element in the DICOM standard.

Example

For an example, refer to DicomDataSet.WaveformGroupCount.

Remarks

  • Use this method to insert and set the values for all the elements related to channel sensitivity.
  • In DICOM, it is mandatory to specify the channel sensitivity if the channel samples represent defined (not arbitrary) units. Since this is almost always the case, it is important to call this method to create a proper waveform channel.
  • To fill the members of the channelSensitivityUnits class, you can use the methods offered by the DicomContextGroup class. For more information about this class and the use of Coded Concepts in DICOM, please refer to Working with Context Groups.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features