MedicalHelperDicomAdjustDataRange Method |
Adjust data range based on values in the DICOM file,
i.e. the window center (0028,1050) and window width (0028,1051) values.
If there are multiple slices, values are taken from the first slice.
Volume is needed to get DICOM attributes, but is not modified.
Namespace: OIV.Medical.HelpersAssembly: OIV.Medical (in OIV.Medical.dll) Version: 9.9.13.0.Release.908d87e0180ebfe7287e3e24da18328657f2aef7
Syntaxpublic static bool DicomAdjustDataRange(
SoDataRange rangeNode,
SoVolumeData volume
)
Public Shared Function DicomAdjustDataRange (
rangeNode As SoDataRange,
volume As SoVolumeData
) As Boolean
public:
static bool DicomAdjustDataRange(
SoDataRange^ rangeNode,
SoVolumeData^ volume
)
static member DicomAdjustDataRange :
rangeNode : SoDataRange *
volume : SoVolumeData -> bool
Parameters
- rangeNode
- Type: OIV.LDM.NodesSoDataRange
- volume
- Type: OIV.VolumeViz.NodesSoVolumeData
Return Value
Type:
BooleanReturns true if successful. Assigns default values if necessary.
See Also