←Select platform

SetChannelSensitivity Method

Summary

Sets the channel sensitivity.

Syntax

C#
VB
WinRT C#
C++
public void SetChannelSensitivity(  
   bool include, 
   double channelSensitivity, 
   Leadtools.Dicom.DicomCodeSequenceItem channelSensitivityUnits, 
   double channelSensitivityCF, 
   double channelBaseline 
) 
Public Sub SetChannelSensitivity( _ 
   ByVal include As Boolean, _ 
   ByVal channelSensitivity As Double, _ 
   ByVal channelSensitivityUnits As Leadtools.Dicom.DicomCodeSequenceItem, _ 
   ByVal channelSensitivityCF As Double, _ 
   ByVal channelBaseline As Double _ 
)  
public void SetChannelSensitivity(  
   bool include, 
   double channelSensitivity, 
   Leadtools.Dicom.DicomCodeSequenceItem channelSensitivityUnits, 
   double channelSensitivityCF, 
   double channelBaseline 
) 
 function Leadtools.Dicom.DicomWaveformChannel.SetChannelSensitivity(  
   include , 
   channelSensitivity , 
   channelSensitivityUnits , 
   channelSensitivityCF , 
   channelBaseline  
) 
public: 
void SetChannelSensitivity(  
   bool include, 
   double channelSensitivity, 
   Leadtools.Dicom.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.

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.
Example

For an example, refer to WaveformGroupCount.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Dicom Assembly
Click or drag to resize