public class HyperSphere<T> extends Object implements net.imglib2.IterableInterval<T>
| Constructor and Description |
|---|
HyperSphere(net.imglib2.RandomAccessible<T> source,
net.imglib2.Localizable center,
long radius) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
computeSize()
Compute the number of elements for iteration
|
HyperSphereCursor<T> |
cursor() |
long |
dimension(int d) |
void |
dimensions(long[] dimensions) |
T |
firstElement() |
T |
getType() |
Object |
iterationOrder() |
Iterator<T> |
iterator() |
HyperSphereCursor<T> |
localizingCursor() |
long |
max(int d) |
void |
max(long[] max) |
void |
max(net.imglib2.Positionable max) |
long |
min(int d) |
void |
min(long[] min) |
void |
min(net.imglib2.Positionable min) |
int |
numDimensions() |
void |
realMax(double[] max) |
double |
realMax(int d) |
void |
realMax(net.imglib2.RealPositionable max) |
void |
realMin(double[] min) |
double |
realMin(int d) |
void |
realMin(net.imglib2.RealPositionable min) |
long |
size() |
void |
update(net.imglib2.Localizable center,
long radius) |
void |
update(long[] center,
long radius) |
void |
updateCenter(net.imglib2.Localizable center) |
void |
updateCenter(long[] center) |
void |
updateRadius(long radius) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlocalizingSpliterator, spliteratorparallelStream, streammaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivepublic HyperSphere(net.imglib2.RandomAccessible<T> source, net.imglib2.Localizable center, long radius)
public void updateCenter(long[] center)
public void updateCenter(net.imglib2.Localizable center)
public void updateRadius(long radius)
protected long computeSize()
public void update(net.imglib2.Localizable center, long radius)
public void update(long[] center,
long radius)
public long size()
size in interface net.imglib2.IterableRealInterval<T>public T firstElement()
firstElement in interface net.imglib2.IterableRealInterval<T>public Object iterationOrder()
iterationOrder in interface net.imglib2.IterableRealInterval<T>public double realMin(int d)
realMin in interface net.imglib2.IntervalrealMin in interface net.imglib2.RealIntervalpublic void realMin(double[] min)
realMin in interface net.imglib2.RealIntervalpublic void realMin(net.imglib2.RealPositionable min)
realMin in interface net.imglib2.RealIntervalpublic double realMax(int d)
realMax in interface net.imglib2.IntervalrealMax in interface net.imglib2.RealIntervalpublic void realMax(double[] max)
realMax in interface net.imglib2.RealIntervalpublic void realMax(net.imglib2.RealPositionable max)
realMax in interface net.imglib2.RealIntervalpublic int numDimensions()
numDimensions in interface net.imglib2.EuclideanSpacepublic Iterator<T> iterator()
iterator in interface Iterable<T>iterator in interface net.imglib2.IterableRealInterval<T>public long min(int d)
min in interface net.imglib2.Intervalpublic void min(long[] min)
min in interface net.imglib2.Intervalpublic void min(net.imglib2.Positionable min)
min in interface net.imglib2.Intervalpublic long max(int d)
max in interface net.imglib2.Intervalpublic void max(long[] max)
max in interface net.imglib2.Intervalpublic void max(net.imglib2.Positionable max)
max in interface net.imglib2.Intervalpublic void dimensions(long[] dimensions)
dimensions in interface net.imglib2.Dimensionspublic long dimension(int d)
dimension in interface net.imglib2.Dimensionsdimension in interface net.imglib2.Intervalpublic HyperSphereCursor<T> cursor()
cursor in interface net.imglib2.IterableInterval<T>cursor in interface net.imglib2.IterableRealInterval<T>public HyperSphereCursor<T> localizingCursor()
localizingCursor in interface net.imglib2.IterableInterval<T>localizingCursor in interface net.imglib2.IterableRealInterval<T>public T getType()
getType in interface net.imglib2.IterableRealInterval<T>getType in interface net.imglib2.Typed<T>Copyright © 2009–2025 ImgLib2. All rights reserved.