L_DicomChannelSetNotchFilterBandwidth

#include "Ltdic.h"

L_LTDIC_API L_BOOL L_DicomChannelSetNotchFilterBandwidth(hDICOMWaveFormChannel, bInclude, dBandwidth)

Sets the notch filter bandwidth for the channel.

Parameters

HDICOMWAVEFORMCHANNEL hDICOMWaveFormChannel

A DICOM waveform channel handle.

L_BOOL bInclude

Boolean flag that specifies whether the function should insert the "Notch Filter Bandwidth" (003A,0223) element or remove it from the dataset. Possible values are:

Value Meaning
TRUE Insert the "Notch Filter Bandwidth" (003A,0223) element (that corresponds to this channel) into the dataset and then set its value.
FALSE Delete the "Notch Filter Bandwidth" (003A,0223) element (that corresponds to this channel) from the dataset.

L_DOUBLE dBandwidth

New notch filter bandwidth.

Returns

Value Meaning
TRUE The notch filter bandwidth was updated successfully.
FALSE An error occurred.

Comments

This function sets the value of the "Notch Filter Bandwidth" (003A,0223) element that corresponds to this channel. Set bInclude to TRUE to force the function to insert the element if it does not already exist in the dataset.

This function can also be used to delete the "Notch Filter Bandwidth" (003A,0223) element that corresponds to this channel by setting bInclude to FALSE. In this case the dBandwidth parameter is ignored.

Required DLLs and Libraries

Platforms

Win32, x64, Linux.

See Also

Functions

Topics

Example

For an example, refer to L_DicomChannelSetSamples8.

Help Version 20.0.2020.6.12
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS DICOM C API Help