public class LegacyImgLoaderWrapper.SetupImgLoaderWrapper extends Object implements SetupImgLoader<T>
| Modifier | Constructor and Description |
|---|---|
protected |
SetupImgLoaderWrapper(int setupId) |
| Modifier and Type | Method and Description |
|---|---|
RandomAccessibleInterval<FloatType> |
getFloatImage(int timepointId,
boolean normalize,
ImgLoaderHint... hints)
Get image at the specified timepoint, converted to
FloatType. |
RandomAccessibleInterval<T> |
getImage(int timepointId,
ImgLoaderHint... hints)
Get the image at the specified timepoint.
|
Dimensions |
getImageSize(int timepointId)
Get the size of an image.
|
T |
getImageType() |
VoxelDimensions |
getVoxelSize(int timepointId)
Get the voxel size of an image.
|
public RandomAccessibleInterval<T> getImage(int timepointId, ImgLoaderHint... hints)
BasicSetupImgLoader
The returned image has pixel type T (an instance of T may
be obtained by BasicSetupImgLoader.getImageType()).
getImage in interface BasicSetupImgLoader<T>timepointId - timepoint for which to retrieve the image.hints - optional hints regarding how to load the image.public T getImageType()
getImageType in interface BasicSetupImgLoader<T>public RandomAccessibleInterval<FloatType> getFloatImage(int timepointId, boolean normalize, ImgLoaderHint... hints)
SetupImgLoaderFloatType. If
requested, the image is normalized to the range [0,1].getFloatImage in interface SetupImgLoader<T>timepointId - timepoint for which to retrieve the image.normalize - whether the image should be normalized to [0,1].hints - optional hints regarding how to load the image.FloatType imagepublic Dimensions getImageSize(int timepointId)
SetupImgLoaderSequenceDescription but pull it from the image file.getImageSize in interface SetupImgLoader<T>timepointId - timepoint for which to retrieve the image size.public VoxelDimensions getVoxelSize(int timepointId)
SetupImgLoaderSequenceDescription but pull it from the image
file.getVoxelSize in interface SetupImgLoader<T>timepointId - timepoint for which to retrieve the voxel size.Copyright © 2015–2021 Fiji. All rights reserved.