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:

RawModalityTransformedPresentation

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
SystemObject
  Atalasoft.Imaging.Codec.DicomDicomDataset

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

The DicomDataset type exposes the following members.

Constructors
  NameDescription
Public methodDicomDataset
Constructs a new DicomDataset object from the Stream provided.
Top
Properties
  NameDescription
Public propertyFrameCount
Returns the total number of frames in the DicomDataset object.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the DicomDataset
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the DicomDataset and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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.)
Top
See Also