public class MaximaFinder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ImageHandler |
imagePeaks
The image with the final peaks
|
protected ImageHandler |
img
The raw image to analyze
|
protected java.util.ArrayList<Voxel3D> |
maxima
The list of peaks
|
protected int |
nbCpus
The number of cpus to use, 0 = all
|
protected float |
noiseTolerance
The noise tolerance around each peak
|
protected float |
radXY
The radius XY to find local maxima
|
protected float |
radZ
The radius Z to find local maxima
|
protected boolean |
verbose
Do we display information ?
|
| Constructor and Description |
|---|
MaximaFinder(ImageHandler ima)
Constructor with default values
|
MaximaFinder(ImageHandler ima,
float noiseTolerance)
Constructor with default values for radii
|
MaximaFinder(ImageHandler img,
float radXY,
float radZ,
float noiseTolerance)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
ImageHandler |
getImagePeaks()
Do the computation and returns the result
|
java.util.ArrayList<Voxel3D> |
getListPeaks() |
void |
setImage(ImageHandler img)
A new image to process
|
void |
setNbCpus(int nbCpus)
Number of Cpus
|
void |
setNoiseTolerance(float noiseTolerance)
The noise tolerance
|
void |
setRadii(float rxy,
float rz)
The radii to compute local maxima
|
void |
setShow(boolean show)
Deprecated.
|
void |
setVerbose(boolean show)
Display information
|
protected ImageHandler img
protected ImageHandler imagePeaks
protected float noiseTolerance
protected java.util.ArrayList<Voxel3D> maxima
protected float radXY
protected float radZ
protected int nbCpus
protected boolean verbose
public MaximaFinder(ImageHandler ima, float noiseTolerance)
ima - The raw imagenoiseTolerance - The noise tolerancepublic MaximaFinder(ImageHandler img, float radXY, float radZ, float noiseTolerance)
img - The raw imageradXY - The radius XY to find local maximaradZ - The radius Z to find local maximanoiseTolerance - The noise tolerancepublic MaximaFinder(ImageHandler ima)
ima - The raw imagepublic ImageHandler getImagePeaks()
public java.util.ArrayList<Voxel3D> getListPeaks()
public void setImage(ImageHandler img)
img - The imagepublic void setNoiseTolerance(float noiseTolerance)
noiseTolerance - The noise tolerancepublic void setRadii(float rxy,
float rz)
rxy - The radius XY to find local maximarz - The radius Z to find local maximapublic void setNbCpus(int nbCpus)
nbCpus - Number of cpuspublic void setVerbose(boolean show)
show - Display information@Deprecated public void setShow(boolean show)