public class DatasetCalibration extends Object
ImarisDataset
.
Note, that the min coordinate is in ImgLib2 convention: It refers to the
voxel center. This is in contrast to Imaris conventions, where ExtendMinX, ExtendMinY, ExtendMinZ
indicate the min corner of the min voxel.
When reading/writing extents from/to a IDataSetPrx
, the min is
translated appropriately from/to Imaris conventions.
Constructor and Description |
---|
DatasetCalibration(String unit,
double voxelSizeX,
double voxelSizeY,
double voxelSizeZ,
double minX,
double minY,
double minZ) |
Modifier and Type | Method and Description |
---|---|
double |
min(int d)
Get the coordinate (in dimension
d ) of the min corner of the
dataset, where 0 ≤ d < 3 . |
String |
toString() |
String |
unit()
Get units for
voxelSize(int) |
double |
voxelSize(int d)
Get size of a voxel in dimension
d , where 0 ≤ d < 3 . |
public DatasetCalibration(String unit, double voxelSizeX, double voxelSizeY, double voxelSizeZ, double minX, double minY, double minZ)
public String unit()
voxelSize(int)
public double voxelSize(int d)
d
, where 0 ≤ d < 3
.public double min(int d)
d
) of the min corner of the
dataset, where 0 ≤ d < 3
.Copyright © 2019–2021 Imaris. All rights reserved.