public class FeatureStack3D extends Object
Modifier and Type | Field and Description |
---|---|
static String[] |
availableFeatures
names of available filters
|
static int |
DERIVATIVES
Derivatives filter flag index
|
static int |
DOG
difference of Gaussian filter flag index
|
static int |
EDGES
edge filter flag index
|
static int |
GAUSSIAN
Gaussian filter flag index
|
static int |
HESSIAN
Hessian filter flag index
|
static boolean[] |
IMAGESCIENCE_FEATURES
Features only available if the ImageScience library is present.
|
static int |
LAPLACIAN
Laplacian filter flag index
|
static int |
MAXIMUM
Maximum flag index
|
static int |
MEAN
Mean flag index
|
static int |
MEDIAN
Median flag index
|
static int |
MINIMUM
Minimum flag index
|
static int |
STRUCTURE
structure tensor filter flag index
|
static int |
VARIANCE
Variance flag index
|
Constructor and Description |
---|
FeatureStack3D(ij.ImagePlus image)
Construct object to store stack of image features
|
Modifier and Type | Method and Description |
---|---|
static boolean[] |
getDefaultEnabledFeatures()
Get the list of flags for the default features
|
Callable<ArrayList<ij.ImagePlus>> |
getDerivatives(ij.ImagePlus originalImage,
double sigma,
int xOrder,
int yOrder,
int zOrder)
Get derivatives features (to be submitted in an ExecutorService)
|
Callable<ArrayList<ij.ImagePlus>> |
getDoG(ij.ImagePlus originalImage,
double sigma1,
double sigma2)
Get difference of Gaussian features (to be submitted in
an ExecutorService).
|
Callable<ArrayList<ij.ImagePlus>> |
getEdges(ij.ImagePlus originalImage,
double sigma)
Get Edges features (to be submitted in an ExecutorService)
|
boolean[] |
getEnabledFeatures()
Get the boolean flags of enabled features
|
FeatureStackArray |
getFeatureStackArray()
Convert FeatureStack3D into a feature stack array (for 2D stacks).
|
Callable<ArrayList<ij.ImagePlus>> |
getGaussian(ij.ImagePlus originalImage,
double sigma)
Get Gaussian features (to be submitted to an ExecutorService).
|
Callable<ArrayList<ij.ImagePlus>> |
getHessian(ij.ImagePlus originalImage,
double sigma,
boolean absolute)
Get Hessian features (to be submitted in an ExecutorService)
|
Callable<ArrayList<ij.ImagePlus>> |
getLaplacian(ij.ImagePlus originalImage,
double sigma)
Get Laplacian features (to be submitted in an ExecutorService)
|
Callable<ArrayList<ij.ImagePlus>> |
getMaximum(ij.ImagePlus originalImage,
double sigma)
Get Maximum features (to be submitted to an ExecutorService).
|
Callable<ArrayList<ij.ImagePlus>> |
getMean(ij.ImagePlus originalImage,
double sigma)
Get Mean features (to be submitted to an ExecutorService).
|
Callable<ArrayList<ij.ImagePlus>> |
getMedian(ij.ImagePlus originalImage,
double sigma)
Get Median features (to be submitted to an ExecutorService).
|
Callable<ArrayList<ij.ImagePlus>> |
getMinimum(ij.ImagePlus originalImage,
double sigma)
Get Minimum features (to be submitted to an ExecutorService).
|
Callable<ArrayList<ij.ImagePlus>> |
getStructure(ij.ImagePlus originalImage,
double sigma,
double integrationScale)
Get structure tensor features (to be submitted in an ExecutorService).
|
Callable<ArrayList<ij.ImagePlus>> |
getVariance(ij.ImagePlus originalImage,
double sigma)
Get Variance features (to be submitted to an ExecutorService).
|
void |
setEnableFeatures(boolean[] enableFeatures)
Set the boolean flags to enable/disable features
|
void |
setMaximumSigma(float maximumSigma)
Set the maximum sigma (or filter radius) of the features
|
void |
setMinimumSigma(float minimumSigma)
Set the minimum sigma (or filter radius) of the features
|
boolean |
updateFeaturesMT()
Update features with current list in a multi-thread fashion
|
public static final int GAUSSIAN
public static final int HESSIAN
public static final int DERIVATIVES
public static final int LAPLACIAN
public static final int STRUCTURE
public static final int EDGES
public static final int DOG
public static final int MINIMUM
public static final int MAXIMUM
public static final int MEAN
public static final int MEDIAN
public static final int VARIANCE
public static final String[] availableFeatures
public static final boolean[] IMAGESCIENCE_FEATURES
public FeatureStack3D(ij.ImagePlus image)
image
- original imagepublic static boolean[] getDefaultEnabledFeatures()
public Callable<ArrayList<ij.ImagePlus>> getDerivatives(ij.ImagePlus originalImage, double sigma, int xOrder, int yOrder, int zOrder)
originalImage
- input imagesigma
- isotropic smoothing scalexOrder
- x-order of differentiationyOrder
- y-order of differentiationzOrder
- z-order of differentiationpublic Callable<ArrayList<ij.ImagePlus>> getDoG(ij.ImagePlus originalImage, double sigma1, double sigma2)
originalImage
- input imagesigma1
- sigma of the smaller Gaussiansigma2
- sigma of the larger Gaussianpublic Callable<ArrayList<ij.ImagePlus>> getHessian(ij.ImagePlus originalImage, double sigma, boolean absolute)
originalImage
- input imagesigma
- isotropic smoothing scaleabsolute
- determines whether eigenvalues are compared in absolute sensepublic Callable<ArrayList<ij.ImagePlus>> getLaplacian(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- isotropic smoothing scalepublic Callable<ArrayList<ij.ImagePlus>> getEdges(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- isotropic smoothing scalepublic Callable<ArrayList<ij.ImagePlus>> getMinimum(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- filter radiuspublic Callable<ArrayList<ij.ImagePlus>> getGaussian(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- filter radiuspublic Callable<ArrayList<ij.ImagePlus>> getMaximum(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- filter radiuspublic Callable<ArrayList<ij.ImagePlus>> getMean(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- filter radiuspublic Callable<ArrayList<ij.ImagePlus>> getMedian(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- filter radiuspublic Callable<ArrayList<ij.ImagePlus>> getVariance(ij.ImagePlus originalImage, double sigma)
originalImage
- input imagesigma
- filter radiuspublic Callable<ArrayList<ij.ImagePlus>> getStructure(ij.ImagePlus originalImage, double sigma, double integrationScale)
originalImage
- input imagesigma
- isotropic smoothing scaleintegrationScale
- integration scale (standard deviation of the Gaussian
kernel used for smoothing the elements of the structure tensor, must be larger than zero)public boolean updateFeaturesMT()
public FeatureStackArray getFeatureStackArray()
public void setMinimumSigma(float minimumSigma)
minimumSigma
- minimum sigma to usepublic void setMaximumSigma(float maximumSigma)
maximumSigma
- maximum sigma to usepublic void setEnableFeatures(boolean[] enableFeatures)
enableFeatures
- array of flagspublic boolean[] getEnabledFeatures()
Copyright © 2015–2021 Fiji. All rights reserved.