Click or drag to resize

DicomDataset Class

DicomDataset is an object that encapsulates and models the data set structures of a Dicom file. From this object, client code can request images from within the file. The DicomDataset object implements the IDisposable interface because it contains system resources that need to be freed. It should be noted that all DicomDataset objects should be disposed before an application exits. Failure to do so may cause the application to throw an exception.

There are three forms of images that can be retrieved from a DicomDataset:


Raw images have had little or no processing performed on them. If an image is not representable by a DotImage PixelFormat, it will be transformed into the nearest matching Dicom color space.

ModalityTransformed images have been transformed as with Raw images and then with the Modality Look Up Table for the image.

Presentation images have been transformed as with ModalityTransformed images, but if gray have had the implicit window and leveling applied if present, or have had the a derived window and leveling applied.

Inheritance Hierarchy

Namespace:  Atalasoft.Imaging.Codec.Dicom
Assembly:  Atalasoft.dotImage.Dicom (in Atalasoft.dotImage.Dicom.dll) Version: (.NET 4.5.2, x86)
public class DicomDataset : IDisposable

The DicomDataset type exposes the following members.

Public methodDicomDataset
Constructs a new DicomDataset object from the Stream provided.
Public propertyFrameCount
Public method{dtor}
Public methodDispose
Disposes the DicomDataset object.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetModalityTransformedImage
Retrieves a DicomImage for the given frameIndex representing the raw image data transformed through the modality look up table.
Public methodGetPresentationImage
Retrieves a DicomImage for the given frameIndex representing the raw data transformed into a Presentation Image.
Public methodGetRawImage
Retrieves a DicomImage for the given frameIndex representing the raw image data contained in the file.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also