public abstract class UnitValueExtent extends AnchorBean<UnitValueExtent>
Modifier | Constructor and Description |
---|---|
protected |
UnitValueExtent() |
Modifier and Type | Method and Description |
---|---|
abstract double |
resolveToVoxels(Optional<UnitConverter> unitConverter)
Resolves a measurement of area/volume (in whatever units) to units corresponding to the image
pixels/voxels.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public abstract double resolveToVoxels(Optional<UnitConverter> unitConverter) throws UnitValueException
unitConverter
- converts from voxelized units to different physical measurements of area
/ volume / distance.UnitValueException
- if missing a UnitConverter
, when needed for resolution.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.