public class LegacyLightSheetZ1ImgLoader extends AbstractImgFactoryImgLoader
imgFactory
Constructor and Description |
---|
LegacyLightSheetZ1ImgLoader(File cziFile,
ImgFactory<? extends NativeType<?>> imgFactory,
AbstractSequenceDescription<?,?,?> sequenceDescription) |
Modifier and Type | Method and Description |
---|---|
static boolean |
createOMEXMLMetadata(IFormatReader r) |
void |
finalize() |
protected static Angle |
getAngle(AbstractSequenceDescription<?,?,?> seqDesc,
ViewId view) |
protected static Angle |
getAngle(BasicViewDescription<?> vd) |
protected static Channel |
getChannel(BasicViewDescription<?> vd) |
File |
getCZIFile() |
RandomAccessibleInterval<FloatType> |
getFloatImage(ViewId view,
boolean normalize)
Get
FloatType image. |
protected static Illumination |
getIllumination(BasicViewDescription<?> vd) |
RandomAccessibleInterval<UnsignedShortType> |
getImage(ViewId view)
Get the un-normalized image of the default
pixel
type of this BasicImgLoader . |
static IFormatReader |
instantiateImageReader() |
protected void |
loadMetaData(ViewId view)
Loads only the metadata from the image, should call updateMetaDataCache( ...
|
protected <T extends RealType<T> & NativeType<T>> |
openCZI(T type,
ViewId view) |
static <T extends RealType<T>> |
readBytes(byte[] b,
Cursor<T> cursor,
int width) |
static <T extends RealType<T>> |
readBytesArray(byte[] b,
Cursor<T> cursor,
int numPx) |
static <T extends RealType<T>> |
readFloats(byte[] b,
Cursor<T> cursor,
int width,
boolean isLittleEndian) |
static <T extends RealType<T>> |
readFloatsArray(byte[] b,
Cursor<T> cursor,
int numPx,
boolean isLittleEndian) |
static <T extends RealType<T>> |
readSignedShorts(byte[] b,
Cursor<T> cursor,
int width,
boolean isLittleEndian) |
static <T extends RealType<T>> |
readSignedShortsArray(byte[] b,
Cursor<T> cursor,
int numPx,
boolean isLittleEndian) |
static <T extends RealType<T>> |
readUnsignedInts(byte[] b,
Cursor<T> cursor,
int width,
boolean isLittleEndian) |
static <T extends RealType<T>> |
readUnsignedIntsArray(byte[] b,
Cursor<T> cursor,
int numPx,
boolean isLittleEndian) |
static <T extends RealType<T>> |
readUnsignedShorts(byte[] b,
Cursor<T> cursor,
int width,
boolean isLittleEndian) |
static <T extends RealType<T>> |
readUnsignedShortsArray(byte[] b,
Cursor<T> cursor,
int numPx,
boolean isLittleEndian) |
String |
toString() |
getImgFactory, setImgFactory
getImageSize, getImageType, getVoxelSize, normalize, updateMetaDataCache, updateXMLMetaData, updateXMLMetaData, updateXMLMetaData
public LegacyLightSheetZ1ImgLoader(File cziFile, ImgFactory<? extends NativeType<?>> imgFactory, AbstractSequenceDescription<?,?,?> sequenceDescription)
public File getCZIFile()
public RandomAccessibleInterval<FloatType> getFloatImage(ViewId view, boolean normalize)
LegacyImgLoader
FloatType
image. If requested, the image is normalized to the
range [0,1].view
- timepoint and setup for which to retrieve the image.normalize
- whether the image should be normalized to [0,1].FloatType
imagepublic RandomAccessibleInterval<UnsignedShortType> getImage(ViewId view)
LegacyBasicImgLoader
pixel
type
of this BasicImgLoader
.view
- timepoint and setup for which to retrieve the image.protected void loadMetaData(ViewId view)
AbstractImgLoader
loadMetaData
in class AbstractImgLoader
protected <T extends RealType<T> & NativeType<T>> Img<T> openCZI(T type, ViewId view) throws Exception
Exception
public static final <T extends RealType<T>> void readBytes(byte[] b, Cursor<T> cursor, int width)
public static final <T extends RealType<T>> void readBytesArray(byte[] b, Cursor<T> cursor, int numPx)
public static final <T extends RealType<T>> void readUnsignedShorts(byte[] b, Cursor<T> cursor, int width, boolean isLittleEndian)
public static final <T extends RealType<T>> void readUnsignedShortsArray(byte[] b, Cursor<T> cursor, int numPx, boolean isLittleEndian)
public static final <T extends RealType<T>> void readSignedShorts(byte[] b, Cursor<T> cursor, int width, boolean isLittleEndian)
public static final <T extends RealType<T>> void readSignedShortsArray(byte[] b, Cursor<T> cursor, int numPx, boolean isLittleEndian)
public static final <T extends RealType<T>> void readUnsignedInts(byte[] b, Cursor<T> cursor, int width, boolean isLittleEndian)
public static final <T extends RealType<T>> void readUnsignedIntsArray(byte[] b, Cursor<T> cursor, int numPx, boolean isLittleEndian)
public static final <T extends RealType<T>> void readFloats(byte[] b, Cursor<T> cursor, int width, boolean isLittleEndian)
public static final <T extends RealType<T>> void readFloatsArray(byte[] b, Cursor<T> cursor, int numPx, boolean isLittleEndian)
public static IFormatReader instantiateImageReader()
public static boolean createOMEXMLMetadata(IFormatReader r)
protected static Angle getAngle(AbstractSequenceDescription<?,?,?> seqDesc, ViewId view)
protected static Angle getAngle(BasicViewDescription<?> vd)
protected static Channel getChannel(BasicViewDescription<?> vd)
protected static Illumination getIllumination(BasicViewDescription<?> vd)
Copyright © 2015–2021 Fiji. All rights reserved.