public final class DICOMFormat extends ImageFormat
Represents DICOM image format.
filePath, stream
Constructor and Description |
---|
DICOMFormat(InputStream input)
Initializes a new instance of the
ImageFormat class. |
DICOMFormat(String fileName)
Initializes a new instance of the
ImageFormat class. |
Modifier and Type | Method and Description |
---|---|
void |
cleanMetadata()
Removes all metadata presented in image.
|
DicomMetadata |
getInfo()
Gets the native metadata.
|
int |
getType()
Gets document type.
|
fromFile, fromFile, fromStream, getByteOrder, getHeight, getWidth
dispose, getMetadata, getMIMEType, readByMetadataKey, save, save, save
public DICOMFormat(String fileName)
Initializes a new instance of the ImageFormat
class.
fileName
- Absolute path to the file.public DICOMFormat(InputStream input)
Initializes a new instance of the ImageFormat
class.
input
- File stream.public int getType()
Gets document type.
Value: Document type.getType
in class FormatBase
public final DicomMetadata getInfo()
Gets the native metadata.
Value: The DICOM metadata.public void cleanMetadata()
Removes all metadata presented in image. This method is yet supported.
cleanMetadata
in class ImageFormat
Copyright © 2017. All rights reserved.