- interpretation
- The new waveform sample interpretation
Visual Basic (Declaration) | |
---|---|
Public Function SetSampleInterpretation( _ ByVal interpretation As DicomWaveformSampleInterpretationType _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool SetSampleInterpretation( DicomWaveformSampleInterpretationType interpretation ) |
C++/CLI | |
---|---|
public: bool SetSampleInterpretation( DicomWaveformSampleInterpretationType interpretation ) |
Parameters
- interpretation
- The new waveform sample interpretation
Return Value
true if the waveform sample interpretation was set successfully, false if an error occurred.For an example, refer to DicomDataSet.WaveformGroupCount.
In DICOM all channels within a multiplex group are synchronously digitized at a common sampling frequency and have the same sample interpretation. Use this method to set the waveform sample interpretation, which applies to all channels in the waveform group. For more information about sample interpretation refer to the "Waveform Sample Interpretation" (5400,1006) element in the DICOM standard. The default value for sample interpretation is DicomWaveformSampleInterpretationType.Signed16BitLinear. Make sure to call this method before you call any method that are used to set the data for a channel that is included in the waveform group. Such methods include DicomWaveformChannel.SetChannelSamples8(IntPtr,Int32), DicomWaveformChannel.SetChannelSamples16(IntPtr,Int32) and DicomWaveformChannel.SetChannelSamples32(IntPtr,Int32) If you call this method after setting the data for one or more channels that are included in this group, then the method will convert the data for each of the channels to match the new sample interpretation.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family