@Deprecated public abstract class AbstractRegionOfInterest extends Object implements RegionOfInterest
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractRegionOfInterest.AROIRandomAccess
Deprecated.
The AROIRandomAccess inner class implements the random access part of the
ROI, allowing random sampling of pixel membership in the ROI.
|
Modifier and Type | Field and Description |
---|---|
protected int |
nDimensions
Deprecated.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractRegionOfInterest(int nDimensions)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
getRealExtrema(double[] minima,
double[] maxima)
Deprecated.
Get the minimum and maximum corners of a bounding hypercube using real
coordinates (which might have fractional components)
|
protected void |
invalidateCachedState()
Deprecated.
|
void |
move(double[] displacement)
Deprecated.
|
int |
numDimensions()
Deprecated.
Gets the space's number of dimensions.
|
void |
realMax(double[] max)
Deprecated.
Write the maximum of each dimension into double[].
|
double |
realMax(int d)
Deprecated.
Get the maximum in dimension d.
|
void |
realMax(RealPositionable max)
Deprecated.
Sets a
RealPositionable to the maximum of this Interval |
void |
realMin(double[] min)
Deprecated.
Write the minimum of each dimension into double[].
|
double |
realMin(int d)
Deprecated.
Get the minimum in dimension d.
|
void |
realMin(RealPositionable min)
Deprecated.
Sets a
RealPositionable to the minimum of this Interval |
RealRandomAccess<BitType> |
realRandomAccess()
Deprecated.
Create a random access sampler for real coordinates.
|
RealRandomAccess<BitType> |
realRandomAccess(RealInterval interval)
Deprecated.
TODO Check if constraining real random access to an interval could be
exploited for a more efficient solution.
|
protected void |
validateRealExtremaCache()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
contains, move
getAt, getAt, getAt
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
protected AbstractRegionOfInterest(int nDimensions)
protected abstract void getRealExtrema(double[] minima, double[] maxima)
minima
- maxima
- protected void validateRealExtremaCache()
protected void invalidateCachedState()
public double realMin(int d)
RealInterval
realMin
in interface RealInterval
d
- dimensionpublic void realMin(double[] min)
RealInterval
realMin
in interface RealInterval
public void realMin(RealPositionable min)
RealInterval
RealPositionable
to the minimum of this Interval
realMin
in interface RealInterval
public double realMax(int d)
RealInterval
realMax
in interface RealInterval
d
- dimensionpublic void realMax(double[] max)
RealInterval
realMax
in interface RealInterval
public void realMax(RealPositionable max)
RealInterval
RealPositionable
to the maximum of this Interval
realMax
in interface RealInterval
public int numDimensions()
EuclideanSpace
numDimensions
in interface EuclideanSpace
public RealRandomAccess<BitType> realRandomAccess()
RealRandomAccessible
realRandomAccess
in interface RealRandomAccessible<BitType>
public RealRandomAccess<BitType> realRandomAccess(RealInterval interval)
realRandomAccess
in interface RealRandomAccessible<BitType>
public void move(double[] displacement)
move
in interface RegionOfInterest
Copyright © 2015–2022 ImgLib2. All rights reserved.