ChannelSamples property (IDicomWaveformChannel Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long ChannelSamples(long lIndex)

Overview

Refer to Working with DICOM Waveforms.

Remarks

(Read only) The ChannelSamples property is an array that is updated with the samples (data) for this waveform channel object.

Please note that the data is always encapsulated as 32-bit regardless of the bits allocated for the channel (8- or 16-bit). You can tell if the data for the channel is 8- or 16-bit from the waveform sample interpretation. For 8-bit channels the "Waveform Sample Interpretation" (5400,1006) can either be signed 8-bit linear (DICOM_SAMPLE_INTERPRETATION_SB), unsigned 8-bit linear (DICOM_SAMPLE_INTERPRETATION_UB), 8-bit mu-law (DICOM_SAMPLE_INTERPRETATION_MB) or 8-bit A-law(DICOM_SAMPLE_INTERPRETATION_AB). For 16-bit channels the "Waveform Sample Interpretation" can either be signed 16-bit linear (DICOM_SAMPLE_INTERPRETATION_SS) or unsigned 16-bit linear (DICOM_SAMPLE_INTERPRETATION_US). The SampleInterpretation property contains the waveform sample interpretation.

The property cannot be used to set or modify the values of the samples. To set the sample values, call the SetChannelSamples method.

See Also

Elements:

Annotations property, ChannelBaseline property, ChannelLabel property, ChannelMaximumValue property, ChannelMinimumValue property, ChannelOffset property, ChannelSampleSkew property, ChannelSensitivity property, ChannelSensitivityCF property, ChannelSensitivityUnits property, ChannelSource property, ChannelStatus property, ChannelTimeSkew property, FilterHighFrequency property, FilterLowFrequency property, Index property, WaveformGroup property, NotchFilterBandwidth property, NotchFilterFrequency property, NumberOfSamples property, ValueDefined property, WaveformChannelNumber property

Topics:

DICOM Waveform Channels: Setting/Getting Channel Samples