public class Frame
extends java.lang.Object
| Constructor and Description |
|---|
Frame(java.io.File file,
int iLenght,
int iStartingPoint)
Initializes object of frame.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getFrame()
Returns the DICOM image Frame.
|
boolean |
getFrame(IDicomStream objDicomStream)
Returns the DICOM image Frame.
|
int |
getFrameLength()
Retrieves the length of the frame.
|
public Frame(java.io.File file,
int iLenght,
int iStartingPoint)
file - Object of File.iLenght - integer value for length of a DICOM frame.iStartingPoint - integer value for length of starting pointpublic int getFrameLength()
public byte[] getFrame()
throws java.io.IOException
java.io.IOExceptionpublic boolean getFrame(IDicomStream objDicomStream) throws java.io.IOException
objDicomStream - Object of IDicomStream representing framejava.io.IOException