public class Watershed3D_old
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
computeAssociation |
protected boolean |
computeUpdatedLabels |
protected boolean |
computeVolumes |
| Constructor and Description |
|---|
Watershed3D_old(ImageHandler image,
ImageHandler seeds,
int noi,
int seth) |
Watershed3D_old(ImageStack image,
ImageStack seeds,
int noi,
int seth)
Constructor for 3D Watershed
|
| Modifier and Type | Method and Description |
|---|---|
ImageInt |
continueWatershed3D(int threshold)
Compute the watershed image as next iteration from previous watershed ,
only for voxels with value > threshold
|
ImageHandler |
getNonLabelledVoxels(int threshold,
boolean value) |
ImageHandler |
getRawImage()
Get the raw image used
|
ImageHandler |
getSeeds()
Get the seeds image used
|
ImageInt |
getWatershedImage3D()
compute the watershed image
|
ImageInt |
getWatershedImage3D(int threshold)
compute the watershed image, only for voxels with value > threshold
|
ImageStack |
getWatershedImageStack()
compute the watershed image
|
ImageStack |
getWatershedImageStack(int threshold)
compute the watershed image
|
void |
setFastButLessAccurate(boolean fastButLessAccurate) |
void |
setRawImage(ImageHandler image)
Sets the raw image
|
void |
setSeeds(ImageInt seeds)
set the seeds iamge used
|
void |
updateVolumeLabel(int idx,
double vol) |
void |
updateWatershedImage3D(ImageInt wat) |
protected boolean computeAssociation
protected boolean computeUpdatedLabels
protected boolean computeVolumes
public Watershed3D_old(ImageHandler image, ImageHandler seeds, int noi, int seth)
image - raw imageseeds - seeds imagenoi - noise level for rw imageseth - noise level for seedspublic Watershed3D_old(ImageStack image,
ImageStack seeds,
int noi,
int seth)
image - raw imageseeds - seeds imagenoi - noise level for rw imageseth - noise level for seedspublic ImageInt getWatershedImage3D(int threshold)
threshold - public ImageInt getWatershedImage3D()
public void updateWatershedImage3D(ImageInt wat)
public void setFastButLessAccurate(boolean fastButLessAccurate)
public void updateVolumeLabel(int idx,
double vol)
public ImageInt continueWatershed3D(int threshold)
threshold - public ImageStack getWatershedImageStack(int threshold)
public ImageStack getWatershedImageStack()
public ImageHandler getRawImage()
public void setRawImage(ImageHandler image)
image - public ImageHandler getSeeds()
public void setSeeds(ImageInt seeds)
seeds - imagepublic ImageHandler getNonLabelledVoxels(int threshold, boolean value)