public class SpotNeighborhood<T extends RealType<T>> extends Object implements Neighborhood<T>
Modifier and Type | Field and Description |
---|---|
protected double[] |
calibration |
protected long[] |
center |
protected AbstractNeighborhood<T> |
neighborhood |
Constructor and Description |
---|
SpotNeighborhood(Spot spot,
ImgPlus<T> img) |
Modifier and Type | Method and Description |
---|---|
SpotNeighborhoodCursor<T> |
cursor() |
long |
dimension(int d) |
void |
dimensions(long[] dimensions) |
T |
firstElement() |
double |
getDoublePosition(int d) |
float |
getFloatPosition(int d) |
int |
getIntPosition(int d) |
long |
getLongPosition(int d) |
Interval |
getStructuringElementBoundingBox() |
Object |
iterationOrder() |
SpotNeighborhoodCursor<T> |
iterator() |
void |
localize(double[] position) |
void |
localize(float[] position) |
void |
localize(int[] position) |
void |
localize(long[] position) |
SpotNeighborhoodCursor<T> |
localizingCursor() |
long |
max(int d) |
void |
max(long[] max) |
void |
max(Positionable max) |
long |
min(int d) |
void |
min(long[] min) |
void |
min(Positionable min) |
int |
numDimensions() |
void |
realMax(double[] max) |
double |
realMax(int d) |
void |
realMax(RealPositionable max) |
void |
realMin(double[] min) |
double |
realMin(int d) |
void |
realMin(RealPositionable min) |
long |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
maxAsLongArray, maxAsPoint, minAsLongArray, minAsPoint
maxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPoint
allPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositive
localize, positionAsLongArray, positionAsPoint
localize, positionAsDoubleArray, positionAsRealPoint
protected final double[] calibration
protected final AbstractNeighborhood<T extends RealType<T>> neighborhood
protected final long[] center
public final SpotNeighborhoodCursor<T> cursor()
cursor
in interface IterableInterval<T extends RealType<T>>
cursor
in interface IterableRealInterval<T extends RealType<T>>
public SpotNeighborhoodCursor<T> localizingCursor()
localizingCursor
in interface IterableInterval<T extends RealType<T>>
localizingCursor
in interface IterableRealInterval<T extends RealType<T>>
public long size()
size
in interface IterableRealInterval<T extends RealType<T>>
public T firstElement()
firstElement
in interface IterableRealInterval<T extends RealType<T>>
public Object iterationOrder()
iterationOrder
in interface IterableRealInterval<T extends RealType<T>>
public double realMin(int d)
realMin
in interface Interval
realMin
in interface RealInterval
public void realMin(double[] min)
realMin
in interface RealInterval
public void realMin(RealPositionable min)
realMin
in interface RealInterval
public double realMax(int d)
realMax
in interface Interval
realMax
in interface RealInterval
public void realMax(double[] max)
realMax
in interface RealInterval
public void realMax(RealPositionable max)
realMax
in interface RealInterval
public int numDimensions()
numDimensions
in interface EuclideanSpace
public SpotNeighborhoodCursor<T> iterator()
public void min(Positionable min)
public void max(Positionable max)
public void dimensions(long[] dimensions)
dimensions
in interface Dimensions
public long dimension(int d)
dimension
in interface Dimensions
dimension
in interface Interval
public void localize(int[] position)
localize
in interface Localizable
public void localize(long[] position)
localize
in interface Localizable
public int getIntPosition(int d)
getIntPosition
in interface Localizable
public long getLongPosition(int d)
getLongPosition
in interface Localizable
public void localize(float[] position)
localize
in interface RealLocalizable
public void localize(double[] position)
localize
in interface RealLocalizable
public float getFloatPosition(int d)
getFloatPosition
in interface Localizable
getFloatPosition
in interface RealLocalizable
public double getDoublePosition(int d)
getDoublePosition
in interface Localizable
getDoublePosition
in interface RealLocalizable
public Interval getStructuringElementBoundingBox()
getStructuringElementBoundingBox
in interface Neighborhood<T extends RealType<T>>
Copyright © 2015–2021 Fiji. All rights reserved.