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:
RawModalityTransformedPresentationRaw 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.
Namespace: Atalasoft.Imaging.Codec.Dicom
The DicomDataset type exposes the following members.
Name | Description | |
---|---|---|
DicomDataset | Constructs a new DicomDataset object from the Stream provided. |
Name | Description | |
---|---|---|
FrameCount | Returns the total number of frames in the DicomDataset object. |
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the DicomDataset | |
Dispose(Boolean) | Releases the unmanaged resources used by the DicomDataset and optionally releases the managed resources | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetModalityTransformedImage | Retrieves a DicomImage for the given frameIndex representing the raw image data transformed through the
modality look up table. | |
GetPresentationImage | Retrieves a DicomImage for the given frameIndex representing the raw data transformed into a Presentation
Image. | |
GetRawImage | Retrieves a DicomImage for the given frameIndex representing the raw image data contained in the file.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |