public class DifferenceOfGaussianPeak<T extends NumericType<T>> extends Object implements Localizable, Leaf<DifferenceOfGaussianPeak<T>>
Modifier and Type | Field and Description |
---|---|
protected T |
fitValue |
protected int[] |
pixelLocation |
protected float[] |
subPixelLocationOffset |
protected T |
sumValue |
protected T |
value |
Constructor and Description |
---|
DifferenceOfGaussianPeak(int[] pixelLocation,
T value,
DifferenceOfGaussian.SpecialPoint specialPoint) |
Modifier and Type | Method and Description |
---|---|
DifferenceOfGaussianPeak<T> |
copy() |
DifferenceOfGaussianPeak<T>[] |
createArray(int n) |
float |
distanceTo(DifferenceOfGaussianPeak<T> other) |
void |
fwd() |
void |
fwd(long steps) |
float |
get(int k) |
DifferenceOfGaussianPeak<T> |
getEntry() |
String |
getErrorMessage() |
T |
getFitValue() |
T |
getImgValue() |
int |
getNumDimensions() |
DifferenceOfGaussian.SpecialPoint |
getPeakType() |
int[] |
getPosition()
Return a copy of the current position.
|
int |
getPosition(int dim)
Return the current position in a given dimension.
|
void |
getPosition(int[] position)
Write the current position into the passed array.
|
String |
getPositionAsString()
Create a human-readable
String representation of the current
position. |
float[] |
getSubPixelPosition() |
void |
getSubPixelPosition(float[] loc) |
float |
getSubPixelPosition(int dim) |
float[] |
getSubPixelPositionOffset() |
float |
getSubPixelPositionOffset(int dim) |
T |
getValue() |
boolean |
isLeaf() |
boolean |
isMax() |
boolean |
isMin() |
boolean |
isValid() |
void |
setErrorMessage(String errorMessage) |
void |
setFitValue(T value) |
void |
setImgValue(T value) |
void |
setPeakType(DifferenceOfGaussian.SpecialPoint specialPoint) |
void |
setPixelLocation(int[] pixelLocation) |
void |
setPixelLocation(int location,
int dim) |
void |
setSubPixelLocationOffset(float[] subPixelLocationOffset) |
void |
setSubPixelLocationOffset(float subPixelLocationOffset,
int dim) |
protected final int[] pixelLocation
protected final float[] subPixelLocationOffset
protected final T extends NumericType<T> value
protected final T extends NumericType<T> fitValue
protected final T extends NumericType<T> sumValue
public DifferenceOfGaussianPeak(int[] pixelLocation, T value, DifferenceOfGaussian.SpecialPoint specialPoint)
public DifferenceOfGaussianPeak<T> copy()
public boolean isMin()
public boolean isMax()
public boolean isValid()
public DifferenceOfGaussian.SpecialPoint getPeakType()
public float[] getSubPixelPositionOffset()
public float getSubPixelPositionOffset(int dim)
public float[] getSubPixelPosition()
public void getSubPixelPosition(float[] loc)
public float getSubPixelPosition(int dim)
public T getValue()
public T getImgValue()
public T getFitValue()
public String getErrorMessage()
public void setPeakType(DifferenceOfGaussian.SpecialPoint specialPoint)
public void setSubPixelLocationOffset(float subPixelLocationOffset, int dim)
public void setSubPixelLocationOffset(float[] subPixelLocationOffset)
public void setPixelLocation(int location, int dim)
public void setPixelLocation(int[] pixelLocation)
public void setImgValue(T value)
public void setFitValue(T value)
public void setErrorMessage(String errorMessage)
public void getPosition(int[] position)
Localizable
getPosition
in interface Localizable
public int[] getPosition()
Localizable
getPosition
in interface Localizable
public int getPosition(int dim)
Localizable
getPosition
in interface Localizable
public String getPositionAsString()
Localizable
String
representation of the current
position.getPositionAsString
in interface Localizable
public boolean isLeaf()
isLeaf
in interface Node<DifferenceOfGaussianPeak<T extends NumericType<T>>>
public float get(int k)
get
in interface Leaf<DifferenceOfGaussianPeak<T extends NumericType<T>>>
public float distanceTo(DifferenceOfGaussianPeak<T> other)
distanceTo
in interface Leaf<DifferenceOfGaussianPeak<T extends NumericType<T>>>
public int getNumDimensions()
getNumDimensions
in interface Leaf<DifferenceOfGaussianPeak<T extends NumericType<T>>>
public DifferenceOfGaussianPeak<T>[] createArray(int n)
createArray
in interface Leaf<DifferenceOfGaussianPeak<T extends NumericType<T>>>
public DifferenceOfGaussianPeak<T> getEntry()
getEntry
in interface Leaf<DifferenceOfGaussianPeak<T extends NumericType<T>>>
Copyright © 2015–2021 Fiji. All rights reserved.