public class LegacyStackImgLoaderLOCI extends LegacyStackImgLoader
fileNamePattern, layoutAngles, layoutChannels, layoutIllum, layoutTP, numDigitsAngles, numDigitsChannels, numDigitsIlluminations, numDigitsTimepoints, path, replaceAngles, replaceChannels, replaceIlluminations, replaceTimepoints, sequenceDescription
imgFactory
Constructor and Description |
---|
LegacyStackImgLoaderLOCI(File path,
String fileNamePattern,
ImgFactory<? extends NativeType<?>> imgFactory,
int layoutTP,
int layoutChannels,
int layoutIllum,
int layoutAngles,
AbstractSequenceDescription<?,?,?> sequenceDescription) |
Modifier and Type | Method and Description |
---|---|
protected static String |
checkPath(String path) |
static boolean |
createOMEXMLMetadata(IFormatReader r) |
RandomAccessibleInterval<FloatType> |
getFloatImage(ViewId view,
boolean normalize)
Get
FloatType image normalized to the range [0,1]. |
protected static float |
getFloatValue(byte[] b,
int i,
boolean isLittleEndian) |
RandomAccessibleInterval<UnsignedShortType> |
getImage(ViewId view)
Get
UnsignedShortType un-normalized image. |
protected static int |
getIntValue(byte[] b,
int i,
boolean isLittleEndian) |
protected static short |
getShortValue(byte[] b,
int i,
boolean isLittleEndian) |
protected static int |
getShortValueInt(byte[] b,
int i,
boolean isLittleEndian) |
static Calibration |
loadMetaData(File file) |
protected void |
loadMetaData(ViewId view)
Loads only the metadata from the image, should call updateMetaDataCache( ...
|
protected <T extends RealType<T> & NativeType<T>> |
openLOCI(File path,
T type,
ViewId view) |
String |
toString() |
getFile, getFileNamePattern, getLayoutAngles, getLayoutChannels, getLayoutIlluminations, getLayoutTimePoints, getPath, init, instantiateImg
getImgFactory, setImgFactory
getImageSize, getImageType, getVoxelSize, normalize, updateMetaDataCache, updateXMLMetaData, updateXMLMetaData, updateXMLMetaData
public LegacyStackImgLoaderLOCI(File path, String fileNamePattern, ImgFactory<? extends NativeType<?>> imgFactory, int layoutTP, int layoutChannels, int layoutIllum, int layoutAngles, AbstractSequenceDescription<?,?,?> sequenceDescription)
public RandomAccessibleInterval<FloatType> getFloatImage(ViewId view, boolean normalize)
FloatType
image normalized to the range [0,1].view
- timepoint and setup for which to retrieve the image.normalize
- if the image should be normalized to [0,1] or notFloatType
image normalized to range [0,1]public RandomAccessibleInterval<UnsignedShortType> getImage(ViewId view)
UnsignedShortType
un-normalized image.view
- timepoint and setup for which to retrieve the image.UnsignedShortType
image.protected <T extends RealType<T> & NativeType<T>> CalibratedImg<T> openLOCI(File path, T type, ViewId view) throws Exception
Exception
protected static final float getFloatValue(byte[] b, int i, boolean isLittleEndian)
protected static final int getIntValue(byte[] b, int i, boolean isLittleEndian)
protected static final short getShortValue(byte[] b, int i, boolean isLittleEndian)
protected static final int getShortValueInt(byte[] b, int i, boolean isLittleEndian)
public static boolean createOMEXMLMetadata(IFormatReader r)
protected void loadMetaData(ViewId view)
AbstractImgLoader
loadMetaData
in class AbstractImgLoader
public static Calibration loadMetaData(File file)
Copyright © 2015–2021 Fiji. All rights reserved.