Class DicomDatasetExtensions
DicomDataset extension methods.
Inherited Members
Namespace: Dicom
Assembly: cs.temp.dll.dll
Syntax
public static class DicomDatasetExtensions
Methods
Clone(DicomDataset)
Clone a dataset.
Declaration
public static DicomDataset Clone(this DicomDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | Dataset to be cloned. |
Returns
Type | Description |
---|---|
DicomDataset | Clone of dataset. |
EnumerateGroup(DicomDataset, UInt16)
Enumerates DICOM items for specified group.
Declaration
public static IEnumerable<DicomItem> EnumerateGroup(this DicomDataset dataset, ushort group)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | Dataset from which group items should be retrieved. |
UInt16 | group | Requested group. |
Returns
Type | Description |
---|---|
IEnumerable<DicomItem> | Enumeration of DICOM items for specified |
EnumerateMasked(DicomDataset, DicomMaskedTag)
Enumerates DICOM items matching mask.
Declaration
public static IEnumerable<DicomItem> EnumerateMasked(this DicomDataset dataset, DicomMaskedTag mask)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | Dataset from which masked items should be retrieved. |
DicomMaskedTag | mask | Requested mask. |
Returns
Type | Description |
---|---|
IEnumerable<DicomItem> | Enumeration of masked DICOM items. |
GetDateTime(DicomDataset, DicomTag, DicomTag)
Get a composite DateTime instance based on date
and time
values.
Declaration
public static DateTime GetDateTime(this DicomDataset dataset, DicomTag date, DicomTag time)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset | Dataset from which data should be retrieved. |
DicomTag | date | Tag associated with date value. |
DicomTag | time | Tag associated with time value. |
Returns
Type | Description |
---|---|
DateTime | Composite DateTime. |
NotValidated(DicomDataset)
Turns off validation on the passed DicomDataset and returns this Dataset
Declaration
public static DicomDataset NotValidated(this DicomDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset |
Returns
Type | Description |
---|---|
DicomDataset |
Validated(DicomDataset)
Turns on validation on the passed DicomDataset and returns this Dataset
Declaration
public static DicomDataset Validated(this DicomDataset dataset)
Parameters
Type | Name | Description |
---|---|---|
DicomDataset | dataset |
Returns
Type | Description |
---|---|
DicomDataset |