public abstract class AbstractCalibratedRealInterval<A extends CalibratedAxis> extends AbstractCalibratedSpace<A> implements CalibratedRealInterval<A>
CalibratedRealInterval
.Constructor and Description |
---|
AbstractCalibratedRealInterval(double[] extents) |
AbstractCalibratedRealInterval(double[] extents,
A... axes) |
AbstractCalibratedRealInterval(double[] min,
double[] max) |
AbstractCalibratedRealInterval(double[] min,
double[] max,
A... axes) |
AbstractCalibratedRealInterval(double[] min,
double[] max,
List<A> axes) |
AbstractCalibratedRealInterval(double[] extents,
List<A> axes) |
AbstractCalibratedRealInterval(RealInterval interval) |
AbstractCalibratedRealInterval(RealInterval interval,
A... axes) |
AbstractCalibratedRealInterval(RealInterval interval,
List<A> axes) |
Modifier and Type | Method and Description |
---|---|
double |
averageScale(int d)
Returns the average scale along the given axis, for some reasonable
interval.
|
void |
realMax(double[] dest) |
double |
realMax(int d) |
void |
realMax(RealPositionable dest) |
void |
realMin(double[] dest) |
double |
realMin(int d) |
void |
realMin(RealPositionable dest) |
axes, axis, numDimensions, setAxis
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
dimensionIndex
axes, axis, setAxis
numDimensions
public AbstractCalibratedRealInterval(RealInterval interval)
public AbstractCalibratedRealInterval(RealInterval interval, A... axes)
public AbstractCalibratedRealInterval(RealInterval interval, List<A> axes)
public AbstractCalibratedRealInterval(double[] extents)
public AbstractCalibratedRealInterval(double[] extents, A... axes)
public AbstractCalibratedRealInterval(double[] extents, List<A> axes)
public AbstractCalibratedRealInterval(double[] min, double[] max)
public AbstractCalibratedRealInterval(double[] min, double[] max, A... axes)
public double averageScale(int d)
CalibratedSpace
The exact interval used is implementation dependent, but reasonable effort
will be made to use the largest in-bounds range for the space; e.g., for
RealInterval
s, the range used is RealInterval.realMin(int)
to RealInterval.realMax(int)
. For spaces in general, the default
range is [0, 1]
.
averageScale
in interface CalibratedSpace<A extends CalibratedAxis>
public double realMax(int d)
realMax
in interface RealInterval
public void realMax(double[] dest)
realMax
in interface RealInterval
public void realMax(RealPositionable dest)
realMax
in interface RealInterval
public double realMin(int d)
realMin
in interface RealInterval
public void realMin(double[] dest)
realMin
in interface RealInterval
public void realMin(RealPositionable dest)
realMin
in interface RealInterval
Copyright © 2014–2022 ImageJ. All rights reserved.