MyFunctions¶
-
class
MyFunctions
¶
Fields¶
Methods¶
clearRegion¶
-
void
clearRegion
(double thrsh, ImageProcessor ip, boolean[][] mask, int xstart, int xend, int ystart, int yend)¶
detectParticles¶
getNextImage¶
getParticle¶
-
boolean
getParticle
(ImageProcessor ip, boolean[][] mask, int[] maxs, MyDialogs dg, ResultsTable ptable, int nframe)¶ Particle analysis method, called for each particle candidate found by detectParticles.
Parameters: - ip – image to search for particles on
- dg – dialog manager
- nframe – the frame index corresponding to this image
getParticleForCalibration¶
getZ¶
-
double
getZ
(double wmh)¶ Given a calculated width-minus-height (wmh) converts this value into the corresponding coordinate in Z by comparing against the loaded Z-calibration table. Only used it the particle is disturbed by astigmatism.
Parameters: - wmh – the width-minus-height of a particle
Returns: corresponding z-position value, will return 9999 if wmh is out of limits