|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.io.nio.DeltaVisionHeader
public class DeltaVisionHeader
Temporary class implementation of an image file header for the server-side import of a DeltaVision file.
Copyright 2007 Glencoe Software Inc. All rights reserved. Use is subject to license terms supplied in LICENSE.txt
DeltaVision
Field Summary | |
---|---|
static int |
PIXEL_TYPE_2BYTE_COMPLEX
Pixels are of type 4 byte, complex, composed of two 2 byte signed integers. |
static int |
PIXEL_TYPE_4BYTE_COMPLEX
Pixels are of type 8 byte, complex, composed of two 4 byte floating-point numbers. |
static int |
PIXEL_TYPE_BYTE
Pixels are of type 1 byte, unsigned integer. |
static int |
PIXEL_TYPE_FLOAT
Pixels are of type 4 byte, floating-point. |
static int |
PIXEL_TYPE_SIGNED_SHORT
Pixels are of type 2 byte, unsigned integer. |
static int |
PIXEL_TYPE_UNSIGNED_SHORT
Pixels are of type 2 byte, signed integer. |
static short |
WZT_SEQUENCE
The most common sequence of images acquired from a microscope. |
static short |
ZTW_SEQUENCE
A common sequence of processed images. |
static short |
ZWT_SEQUENCE
A new image sequence, as of DeltaVision version 2.10. |
Constructor Summary | |
---|---|
DeltaVisionHeader(ByteBuffer data,
boolean endian)
Constructor |
Method Summary | |
---|---|
int |
getBytesPerPixel()
Returns the number of bytes per pixel. |
int |
getExtendedHeaderSize()
Returns the size in bytes of the extended header |
int |
getImageCount()
Returns the number of plane images |
int |
getImageTypeCode()
Returns the numeric image type |
ome.model.enums.PixelsType |
getOmeroPixelType()
Returns a new OMERO pixels type object which corresponds to the DeltaVision pixels type. |
int |
getPixelBeginOffset()
Returns the number of bytes to the beginning of the Pixels |
int |
getPixelType()
Returns a numeric value for the pixel type |
short |
getSequence()
Returns a numeric value that represents the Z,C, and T ordering |
int |
getSizeC()
Returns the number of channels |
int |
getSizeT()
Returns the number of timepoints taken |
int |
getSizeX()
Returns the width (no. of X pixels) of a single plane image |
int |
getSizeY()
Returns the height (no. of Y pixels) of a single plane image |
int |
getSizeZ()
Returns the number of focal points (Z-dimension) taken |
boolean |
isNative()
Returns true if the DeltaVision file is of native endianness. |
void |
setSequence(short sequence)
Sets the sequence of the file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short ZTW_SEQUENCE
public static final short WZT_SEQUENCE
public static final short ZWT_SEQUENCE
public static final int PIXEL_TYPE_BYTE
public static final int PIXEL_TYPE_SIGNED_SHORT
public static final int PIXEL_TYPE_FLOAT
public static final int PIXEL_TYPE_2BYTE_COMPLEX
public static final int PIXEL_TYPE_4BYTE_COMPLEX
public static final int PIXEL_TYPE_UNSIGNED_SHORT
Constructor Detail |
---|
public DeltaVisionHeader(ByteBuffer data, boolean endian)
data
- endian
- Method Detail |
---|
public int getSizeC()
public int getImageCount()
public int getImageTypeCode()
public int getPixelBeginOffset()
public int getExtendedHeaderSize()
public int getPixelType()
public void setSequence(short sequence)
sequence
- public short getSequence()
public int getSizeT()
public int getSizeX()
public int getSizeY()
public int getSizeZ()
public int getBytesPerPixel()
public ome.model.enums.PixelsType getOmeroPixelType()
public boolean isNative()
RuntimeException
- if there is an error with the DeltaVision file's
DVID.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta4.2.1-r8614-Beta4.2-b41
Copyright © 2009 The University of Dundee. All Rights Reserved.