public class LegacyStackImgLoaderIJ extends LegacyStackImgLoader
fileNamePattern, layoutAngles, layoutChannels, layoutIllum, layoutTP, numDigitsAngles, numDigitsChannels, numDigitsIlluminations, numDigitsTimepoints, path, replaceAngles, replaceChannels, replaceIlluminations, replaceTimepoints, sequenceDescription
imgFactory
Constructor and Description |
---|
LegacyStackImgLoaderIJ(File path,
String fileNamePattern,
ImgFactory<? extends NativeType<?>> imgFactory,
int layoutTP,
int layoutChannels,
int layoutIllum,
int layoutAngles,
AbstractSequenceDescription<?,?,?> sequenceDescription) |
Modifier and Type | Method and Description |
---|---|
RandomAccessibleInterval<FloatType> |
getFloatImage(ViewId view,
boolean normalize)
Get
FloatType image normalized to the range [0,1]. |
RandomAccessibleInterval<UnsignedShortType> |
getImage(ViewId view)
Get
UnsignedShortType un-normalized image. |
static void |
imagePlus2ImgLib2Img(ij.ImagePlus imp,
Img<FloatType> img,
boolean normalize) |
protected void |
loadMetaData(ViewId view)
Loads only the metadata from the image, should call updateMetaDataCache( ...
|
static ij.ImagePlus |
open(File file) |
protected static Generic_Resave_HDF5.Parameters |
queryParameters() |
String |
toString() |
getFile, getFileNamePattern, getLayoutAngles, getLayoutChannels, getLayoutIlluminations, getLayoutTimePoints, getPath, init, instantiateImg
getImgFactory, setImgFactory
getImageSize, getImageType, getVoxelSize, normalize, updateMetaDataCache, updateXMLMetaData, updateXMLMetaData, updateXMLMetaData
public LegacyStackImgLoaderIJ(File path, String fileNamePattern, ImgFactory<? extends NativeType<?>> imgFactory, int layoutTP, int layoutChannels, int layoutIllum, int layoutAngles, AbstractSequenceDescription<?,?,?> sequenceDescription)
public static ij.ImagePlus open(File file)
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 static void imagePlus2ImgLib2Img(ij.ImagePlus imp, Img<FloatType> img, boolean normalize)
public RandomAccessibleInterval<UnsignedShortType> getImage(ViewId view)
UnsignedShortType
un-normalized image.view
- timepoint and setup for which to retrieve the image.UnsignedShortType
image.protected void loadMetaData(ViewId view)
AbstractImgLoader
loadMetaData
in class AbstractImgLoader
protected static Generic_Resave_HDF5.Parameters queryParameters()
Copyright © 2015–2021 Fiji. All rights reserved.