public class ParticleAnalysis extends Object
Constructor and Description |
---|
ParticleAnalysis()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
filterParticles(ij.ImagePlus imp,
int[][] particleLabels,
byte[][] workArray,
int nParticles,
int phase,
boolean doExclude,
double min,
double max)
Remove edge-touching, too small and too big particles.
|
long[] |
getParticleSizes() |
long[] |
getParticleSizes(int[][] particleLabels,
int nParticles)
Run the particle size analysis.
|
public void filterParticles(ij.ImagePlus imp, int[][] particleLabels, byte[][] workArray, int nParticles, int phase, boolean doExclude, double min, double max)
imp
- Input image. Needed for calibrationparticleLabels
- Particle label image arrayworkArray
- Binary work arraynParticles
- Number of particles in the imagephase
- Foreground or backgrounddoExclude
- true to remove all particles touching a sidemin
- minimum volume in calibrated units to includemax
- minimum volume in calibrated units to includepublic long[] getParticleSizes()
public long[] getParticleSizes(int[][] particleLabels, int nParticles)
particleLabels
- particle label image arraynParticles
- number of particlesCopyright © 2018–2022 BoneJ. All rights reserved.