public class SEQProjectionSource extends FileProjectionSource
Constructor and Description |
---|
SEQProjectionSource() |
Modifier and Type | Method and Description |
---|---|
byte[] |
convertInt2Bytes(int value) |
byte[] |
convertInt2UnShort(int value) |
ij.io.FileInfo |
getHeaderInfo(java.lang.String filename)
Reads the header information from the file into a fileinfo object
|
Grid2D |
getNextProjection()
Returns the next projection.
|
void |
initStream(java.lang.String filename)
Initializes the the ProjectionSource.
|
void |
saveViva(ij.ImagePlus imp,
java.lang.String path) |
close, convertToUnsignedInt, convertToUnsignedShort, getCurrentProjectionNumber, getNextProjection, getProjectionSources, isShowProgress, openProjectionStream, setShowProgress
public void initStream(java.lang.String filename) throws java.io.IOException
ProjectionSource
filename
- the name of the file to readjava.io.IOException
- may happenpublic ij.io.FileInfo getHeaderInfo(java.lang.String filename) throws java.io.IOException
filename
- the filenamejava.io.IOException
public Grid2D getNextProjection()
ProjectionSource
getNextProjection
in interface ProjectionSource
getNextProjection
in class FileProjectionSource
ProjectionSource.getCurrentProjectionNumber()
,
ProjectionSource.getNextProjection(IndividualImagePipelineFilteringTool tool)
public void saveViva(ij.ImagePlus imp, java.lang.String path)
public byte[] convertInt2Bytes(int value)
public byte[] convertInt2UnShort(int value)