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, waitforEach, spliteratormaxAsLongArray, maxAsPoint, minAsLongArray, minAsPointmaxAsDoubleArray, maxAsRealPoint, minAsDoubleArray, minAsRealPointallPositive, allPositive, dimensions, dimensionsAsLongArray, dimensionsAsPoint, verify, verify, verifyAllPositive, verifyAllPositivelocalize, positionAsLongArray, positionAsPointlocalize, positionAsDoubleArray, positionAsRealPointprotected 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 IntervalrealMin in interface RealIntervalpublic void realMin(double[] min)
realMin in interface RealIntervalpublic void realMin(RealPositionable min)
realMin in interface RealIntervalpublic double realMax(int d)
realMax in interface IntervalrealMax in interface RealIntervalpublic void realMax(double[] max)
realMax in interface RealIntervalpublic void realMax(RealPositionable max)
realMax in interface RealIntervalpublic int numDimensions()
numDimensions in interface EuclideanSpacepublic SpotNeighborhoodCursor<T> iterator()
public void min(Positionable min)
public void max(Positionable max)
public void dimensions(long[] dimensions)
dimensions in interface Dimensionspublic long dimension(int d)
dimension in interface Dimensionsdimension in interface Intervalpublic void localize(int[] position)
localize in interface Localizablepublic void localize(long[] position)
localize in interface Localizablepublic int getIntPosition(int d)
getIntPosition in interface Localizablepublic long getLongPosition(int d)
getLongPosition in interface Localizablepublic void localize(float[] position)
localize in interface RealLocalizablepublic void localize(double[] position)
localize in interface RealLocalizablepublic float getFloatPosition(int d)
getFloatPosition in interface LocalizablegetFloatPosition in interface RealLocalizablepublic double getDoublePosition(int d)
getDoublePosition in interface LocalizablegetDoublePosition in interface RealLocalizablepublic Interval getStructuringElementBoundingBox()
getStructuringElementBoundingBox in interface Neighborhood<T extends RealType<T>>Copyright © 2015–2021 Fiji. All rights reserved.