public class LegacyDHMImgLoader extends AbstractImgLoader
Constructor and Description |
---|
LegacyDHMImgLoader(File directory,
String stackDir,
String amplitudeDir,
String phaseDir,
List<String> timepoints,
List<String> zPlanes,
String extension,
int ampChannelId,
int phaseChannelId,
AbstractSequenceDescription<? extends BasicViewSetup,? extends BasicViewDescription<?>,?> sd) |
Modifier and Type | Method and Description |
---|---|
int |
getAmpChannelId() |
String |
getAmplitudeDir() |
String |
getExt() |
RandomAccessibleInterval<FloatType> |
getFloatImage(ViewId view,
boolean normalize)
Get
FloatType image. |
RandomAccessibleInterval<UnsignedShortType> |
getImage(ViewId view)
Get the un-normalized image of the default
pixel
type of this BasicImgLoader . |
int |
getPhaseChannelId() |
String |
getPhaseDir() |
String |
getStackDir() |
List<String> |
getTimepoints() |
List<String> |
getZPlanes() |
protected void |
loadMetaData(ViewId view)
Loads only the metadata from the image, should call updateMetaDataCache( ...
|
static <T extends RealType<T> & NativeType<T>> |
populateImage(ArrayImg<T,?> img,
File directory,
String stackDir,
String ampOrPhaseDirectory,
List<String> zPlanes,
String timepoint,
String extension) |
getImageSize, getImageType, getVoxelSize, normalize, updateMetaDataCache, updateXMLMetaData, updateXMLMetaData, updateXMLMetaData
public LegacyDHMImgLoader(File directory, String stackDir, String amplitudeDir, String phaseDir, List<String> timepoints, List<String> zPlanes, String extension, int ampChannelId, int phaseChannelId, AbstractSequenceDescription<? extends BasicViewSetup,? extends BasicViewDescription<?>,?> sd)
public String getStackDir()
public String getAmplitudeDir()
public String getPhaseDir()
public int getAmpChannelId()
public int getPhaseChannelId()
public String getExt()
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
Copyright © 2015–2021 Fiji. All rights reserved.