@Deprecated public class BinaryMaskRegionOfInterest<T extends BitType,I extends RandomAccessibleInterval<T>> extends AbstractRegionOfInterest implements IterableRegionOfInterest
Modifier and Type | Class and Description |
---|---|
protected class |
BinaryMaskRegionOfInterest.BMROIIterableInterval<TT extends Type<TT>>
Deprecated.
|
protected class |
BinaryMaskRegionOfInterest.BMROIIterationOrder
Deprecated.
|
AbstractRegionOfInterest.AROIRandomAccess
nDimensions
Constructor and Description |
---|
BinaryMaskRegionOfInterest(I img)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(double[] position)
Deprecated.
Determine whether a point is a member of the region of interest
|
protected long |
getCachedSize()
Deprecated.
Scan the image, counting bits once, then return the cached value.
|
protected long[] |
getFirstPosition()
Deprecated.
|
protected long[] |
getFirstRelativePosition()
Deprecated.
|
I |
getImg()
Deprecated.
|
<TT extends Type<TT>> |
getIterableIntervalOverROI(RandomAccessible<TT> src)
Deprecated.
Given a sampler in the ROI's space, provide an iterable that can make
iterators over the space, sampling pixels from the sampler.
|
double[] |
getOrigin()
Deprecated.
|
protected void |
getRealExtrema(double[] min,
double[] max)
Deprecated.
Get the minimum and maximum corners of a bounding hypercube using real
coordinates (which might have fractional components)
|
void |
move(double displacement,
int d)
Deprecated.
|
protected void |
validate()
Deprecated.
|
invalidateCachedState, move, numDimensions, realMax, realMax, realMax, realMin, realMin, realMin, realRandomAccess, realRandomAccess, validateRealExtremaCache
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
move
getAt, getAt, getAt, realRandomAccess, realRandomAccess
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint, realMax, realMax, realMax, realMin, realMin, realMin
numDimensions
public BinaryMaskRegionOfInterest(I img)
public <TT extends Type<TT>> IterableInterval<TT> getIterableIntervalOverROI(RandomAccessible<TT> src)
IterableRegionOfInterest
getIterableIntervalOverROI
in interface IterableRegionOfInterest
src
- - a RandomAccessible that can generate RandomAccess objects.
The cursors that IterableInterval generates will use "src" to
generate a RandomAccess to sample the space.public boolean contains(double[] position)
RegionOfInterest
contains
in interface RegionOfInterest
position
- position in questionprotected void getRealExtrema(double[] min, double[] max)
AbstractRegionOfInterest
getRealExtrema
in class AbstractRegionOfInterest
protected long getCachedSize()
protected long[] getFirstPosition()
protected long[] getFirstRelativePosition()
protected void validate()
public void move(double displacement, int d)
move
in interface RegionOfInterest
public I getImg()
public double[] getOrigin()
Copyright © 2015–2022 ImgLib2. All rights reserved.