public class AreaPixels extends UnitValueArea
Constructor and Description |
---|
AreaPixels() |
AreaPixels(double value)
Creates with a particular area value.
|
Modifier and Type | Method and Description |
---|---|
double |
getValue()
The volume in pixels.
|
double |
resolveToVoxels(Optional<UnitConverter> unitConverter)
Resolves a measurement of area/volume (in whatever units) to units corresponding to the image
pixels/voxels.
|
void |
setValue(double value)
The volume in pixels.
|
String |
toString()
By default, we use
AnchorBean.describeBean() as the string representation of the bean. |
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public AreaPixels(double value)
value
- the area, as square pixels.public AreaPixels()
public double resolveToVoxels(Optional<UnitConverter> unitConverter)
UnitValueExtent
resolveToVoxels
in class UnitValueExtent
unitConverter
- converts from voxelized units to different physical measurements of area
/ volume / distance.public String toString()
AnchorBean
AnchorBean.describeBean()
as the string representation of the bean.toString
in class AnchorBean<UnitValueExtent>
public double getValue()
public void setValue(double value)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.