public class ReaderDicomFileInfo extends Object
It is class for reading header info from DICOM file
Constructor and Description |
---|
ReaderDicomFileInfo()
Initializes a new instance of the
ReaderDicomFileInfo class. |
ReaderDicomFileInfo(InputStream stream)
Initializes a new instance of the
ReaderDicomFileInfo class. |
Modifier and Type | Method and Description |
---|---|
int |
getBitsAllocated()
Gets a value of the "bitsAllocated".
|
byte[] |
getBlues()
Gets the array colors of the blue
|
com.aspose.imaging_internal.fileformats.dicom.decoders.BaseDicomDecoder |
getDecoder_internalized()
Gets the decoder.
|
boolean |
getDicomFound()
Gets a value indicating whether "DICOM".
|
byte[] |
getDicomHeaderInfoByBytes()
Gets the header information by bytes.
|
List<String> |
getDicomInfo()
Gets the header information of the DICOM file.
|
com.aspose.ms.System.Collections.Generic.List<String> |
getDicomInfoInternal_internalized() |
byte[] |
getGreens()
Gets the array colors of the green
|
int |
getHeight()
Gets the height.
|
boolean |
getHeightTagFound()
Gets a value indicating whether [height tag found].
|
int |
getLengthValue()
Gets the length of element.
|
int |
getNumberOfFrames()
Gets the number of frames.
|
int |
getOffset()
Gets the offset.
|
String |
getPhotoInterpretation()
Gets a value of the "PhotoInterpretation".
|
boolean |
getPixelDataTagFound()
Gets a value indicating whether [pixel data tag found].
|
int |
getPixelRepresentation()
Gets a value of the pixel "pixelRepresentation".
|
int |
getPlanarConfiguration()
Gets the planar configuration.
|
int |
getPositionPixelsData()
Gets the position pixels data.
|
byte[] |
getReds()
Gets the array colors of the red
|
double |
getRescaleIntercept()
Gets a value of the "rescaleIntercept".
|
double |
getRescaleSlope()
Gets a value of the "rescaleSlope".
|
int |
getSamplesPerPixel()
Gets a value of the "samplesPerPixel".
|
boolean |
getSignedImage()
Gets or sets a value indicating whether "signedImage".
|
com.aspose.imaging_internal.fileformats.dicom.DicomTransferSyntax |
getTransferSyntax_internalized()
Gets the transfer syntax.
|
int |
getWidth()
Gets the width.
|
boolean |
getWidthTagFound()
Gets a value indicating whether [width tag found].
|
double |
getWindowCentre()
Gets or sets the window centre.
|
double |
getWindowWidth()
Gets or sets the width of the window.
|
boolean |
isLittleEndian()
Gets a value indicating whether this instance is little endian.
|
boolean |
readFileInfo()
Reads the DICOM file header information.
|
boolean |
readHeaderFileInfo()
Reads the header file information.
|
void |
setSignedImage(boolean value)
Gets or sets a value indicating whether "signedImage".
|
void |
setWindowCentre(double value)
Gets or sets the window centre.
|
void |
setWindowWidth(double value)
Gets or sets the width of the window.
|
public ReaderDicomFileInfo(InputStream stream)
Initializes a new instance of the ReaderDicomFileInfo
class.
stream
- The reader of the DICOM file.public ReaderDicomFileInfo()
Initializes a new instance of the ReaderDicomFileInfo
class.
public int getPositionPixelsData()
Gets the position pixels data.
Value: The position pixels data.public int getPlanarConfiguration()
Gets the planar configuration.
Value: The planar configuration.public byte[] getReds()
Gets the array colors of the red
Value: The reds.public byte[] getGreens()
Gets the array colors of the green
Value: The reds color.public byte[] getBlues()
Gets the array colors of the blue
Value: The blues.public byte[] getDicomHeaderInfoByBytes()
Gets the header information by bytes.
Value: The header information by bytes.public boolean getSignedImage()
Gets or sets a value indicating whether "signedImage".
public void setSignedImage(boolean value)
Gets or sets a value indicating whether "signedImage".
public com.aspose.ms.System.Collections.Generic.List<String> getDicomInfoInternal_internalized()
public boolean getDicomFound()
Gets a value indicating whether "DICOM".
public int getSamplesPerPixel()
Gets a value of the "samplesPerPixel".
Value: The value of the "samplesPerPixel".public int getBitsAllocated()
Gets a value of the "bitsAllocated".
Value: The a value of the "bitsAllocated".public String getPhotoInterpretation()
Gets a value of the "PhotoInterpretation".
Value: The a value of the "photointerpretation".public boolean getWidthTagFound()
Gets a value indicating whether [width tag found].
Value:true
if [width tag found]; otherwise, false
.public boolean getHeightTagFound()
Gets a value indicating whether [height tag found].
Value:true
if [height tag found]; otherwise, false
.public int getWidth()
Gets the width.
Value: The a value of the width.public int getHeight()
Gets the height.
Value: The a value of the height.public boolean getPixelDataTagFound()
Gets a value indicating whether [pixel data tag found].
Value:true
if [pixel data tag found]; otherwise, false
.public double getWindowCentre()
Gets or sets the window centre.
Value: The a value of the window centre.public void setWindowCentre(double value)
Gets or sets the window centre.
Value: The a value of the window centre.public double getWindowWidth()
Gets or sets the width of the window.
Value: The width of the window.public void setWindowWidth(double value)
Gets or sets the width of the window.
Value: The width of the window.public int getPixelRepresentation()
Gets a value of the pixel "pixelRepresentation".
Value: The a value of the "pixelRepresentation".public int getOffset()
Gets the offset.
Value: The a value of the offset.public double getRescaleIntercept()
Gets a value of the "rescaleIntercept".
Value: The a value of the "rescaleIntercept".public double getRescaleSlope()
Gets a value of the "rescaleSlope".
Value: The a value of the "rescaleSlope".public int getNumberOfFrames()
Gets the number of frames.
Value: The number of frames.public int getLengthValue()
Gets the length of element.
Value: The length of element.public boolean isLittleEndian()
Gets a value indicating whether this instance is little endian.
Value:true
if this instance is little endian; otherwise, false
.public com.aspose.imaging_internal.fileformats.dicom.DicomTransferSyntax getTransferSyntax_internalized()
Gets the transfer syntax.
Value: The transfer syntax.public com.aspose.imaging_internal.fileformats.dicom.decoders.BaseDicomDecoder getDecoder_internalized()
Gets the decoder.
Value: The decoder.public boolean readHeaderFileInfo()
Reads the header file information.
public boolean readFileInfo()
Reads the DICOM file header information.
Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.