@Deprecated
public class Segment3DSpotsOld
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
boolean |
bigLabel
Deprecated.
|
static int |
LOCAL_CONSTANT
Deprecated.
|
static int |
LOCAL_DIFF
Deprecated.
|
static int |
LOCAL_GAUSS
Deprecated.
|
static int |
LOCAL_MEAN
Deprecated.
|
boolean |
multithread
Deprecated.
|
static int |
SEG_BLOCK
Deprecated.
|
static int |
SEG_CLASSICAL
Deprecated.
|
static int |
SEG_MAX
Deprecated.
|
boolean |
show
Deprecated.
|
Constructor and Description |
---|
Segment3DSpotsOld(ImageHandler image,
ImageHandler seeds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double[] |
gaussianFit(int x,
int y,
int z,
boolean plotb)
Deprecated.
|
ImageHandler |
getInternalLabelImage()
Deprecated.
|
ImageHandler |
getLabelImage()
Deprecated.
|
Voxel3D |
getLocalMaximum(int x,
int y,
int z,
float radx,
float rady,
float radz)
Deprecated.
|
int |
getLocalThreshold()
Deprecated.
|
java.util.ArrayList<Object3D> |
getObjects()
Deprecated.
|
ImageHandler |
getRawImage()
Deprecated.
|
ImageHandler |
getSeeds()
Deprecated.
|
int |
getSeedsThreshold()
Deprecated.
|
int |
getVolumeMax()
Deprecated.
|
int |
getVolumeMin()
Deprecated.
|
double |
localMean(int xc,
int yc,
int zc)
Deprecated.
Local mean for segmentation
|
void |
segmentAll()
Deprecated.
|
java.util.LinkedList<Voxel3D> |
segmentOneSpot(int x,
int y,
int z,
int o)
Deprecated.
|
java.util.LinkedList<Voxel3D> |
segmentSpotBlock(int xdep,
int ydep,
int zdep,
int lcThreshold,
int val)
Deprecated.
|
java.util.LinkedList<Voxel3D> |
segmentSpotClassical(int xdep,
int ydep,
int zdep,
int lcThreshold,
int val)
Deprecated.
Segment an object from a seed
|
java.util.LinkedList<Voxel3D> |
segmentSpotMax(int xdep,
int ydep,
int zdep,
int lcThreshold,
int val)
Deprecated.
Segment an object from a seed, keep only max local
|
void |
setGaussMaxr(int gm)
Deprecated.
|
void |
setGaussPc(double pc)
Deprecated.
|
void |
setLabelImage(ImageHandler image)
Deprecated.
|
void |
setLocalDiff(int d)
Deprecated.
|
void |
setLocalThreshold(int localThreshold)
Deprecated.
|
void |
setMethodLocal(int method)
Deprecated.
|
void |
setMethodSeg(int method)
Deprecated.
|
void |
setNoiseWatershed(int noiseWatershed)
Deprecated.
|
void |
setRadiusLocalMean(float r0,
float r1,
float r2)
Deprecated.
|
void |
setRadiusLocalMean(float r0,
float r1,
float r2,
double we)
Deprecated.
|
void |
setRawImage(ImageHandler image)
Deprecated.
|
void |
setSeeds(ImageInt seeds)
Deprecated.
|
void |
setSeedsThreshold(int globalThreshold)
Deprecated.
|
void |
setVolumeMax(int volMax)
Deprecated.
|
void |
setVolumeMin(int volMin)
Deprecated.
|
void |
setWatershed(boolean wa)
Deprecated.
|
static java.util.ArrayList<Voxel3D>[] |
splitSpotProjection(IntImage3D ori,
int val,
Object3D f,
int new1,
int new2,
double dist,
float rad,
int dim)
Deprecated.
NOT USED, see splitSpotWatershed
|
static Object3DVoxels[] |
splitSpotWatershed(Object3D obj,
float rad,
float dist)
Deprecated.
|
public static final int SEG_CLASSICAL
public static final int SEG_MAX
public static final int SEG_BLOCK
public static final int LOCAL_CONSTANT
public static final int LOCAL_MEAN
public static final int LOCAL_GAUSS
public static final int LOCAL_DIFF
public boolean show
public boolean multithread
public boolean bigLabel
public Segment3DSpotsOld(ImageHandler image, ImageHandler seeds)
image
- raw imageseeds
- seeds imagepublic static Object3DVoxels[] splitSpotWatershed(Object3D obj, float rad, float dist)
public static java.util.ArrayList<Voxel3D>[] splitSpotProjection(IntImage3D ori, int val, Object3D f, int new1, int new2, double dist, float rad, int dim)
ori
- val
- f
- new1
- new2
- dist
- rad
- dim
- public int getLocalThreshold()
public void setLocalThreshold(int localThreshold)
localThreshold
- public int getSeedsThreshold()
public void setSeedsThreshold(int globalThreshold)
globalThreshold
- public ImageHandler getRawImage()
public void setRawImage(ImageHandler image)
image
- public ImageHandler getSeeds()
public void setSeeds(ImageInt seeds)
seeds
- imagepublic java.util.ArrayList<Object3D> getObjects()
public ImageHandler getInternalLabelImage()
public ImageHandler getLabelImage()
public void setLabelImage(ImageHandler image)
public void setMethodSeg(int method)
method
- public void setMethodLocal(int method)
method
- public void setWatershed(boolean wa)
wa
- @Deprecated public void setNoiseWatershed(int noiseWatershed)
noiseWatershed
- public void setRadiusLocalMean(float r0, float r1, float r2)
r0
- r1
- r2
- public void setLocalDiff(int d)
public void setRadiusLocalMean(float r0, float r1, float r2, double we)
r0
- r1
- r2
- we
- public void setGaussPc(double pc)
pc
- public void setGaussMaxr(int gm)
gm
- public int getVolumeMax()
public void setVolumeMax(int volMax)
volMax
- public int getVolumeMin()
public void setVolumeMin(int volMin)
volMin
- public double localMean(int xc, int yc, int zc)
xc
- x coordinate of pixelyc
- y coordinate of pixelzc
- z coordinate of pixelpublic double[] gaussianFit(int x, int y, int z, boolean plotb)
x
- y
- z
- plotb
- public void segmentAll()
public java.util.LinkedList<Voxel3D> segmentOneSpot(int x, int y, int z, int o)
public java.util.LinkedList<Voxel3D> segmentSpotBlock(int xdep, int ydep, int zdep, int lcThreshold, int val)
xdep
- ydep
- zdep
- lcThreshold
- val
- public java.util.LinkedList<Voxel3D> segmentSpotClassical(int xdep, int ydep, int zdep, int lcThreshold, int val)
lcThreshold
- Threshold to connect pixelsval
- value of the objectxdep
- x coordinate of the seedydep
- y coordinate of the seedzdep
- z coordinate of the seedpublic java.util.LinkedList<Voxel3D> segmentSpotMax(int xdep, int ydep, int zdep, int lcThreshold, int val)
lcThreshold
- Threshold to connect pixelsval
- value of the objectxdep
- x coordinate of the seedydep
- y coordinate of the seedzdep
- z coordinate of the seedpublic Voxel3D getLocalMaximum(int x, int y, int z, float radx, float rady, float radz)