- SuppressGradient(m)
-
Removes the best linear fit from m (moments of order 0 and 1) to facilitate image thresholding, and returns the new matrix.
m: a matrix
- SmoothMatrix(m)
-
Smoothes m and returns the smoothed matrix. Use SmoothMatrix to blur the noise in the image and to smooth the boundaries of the particles which will be detected.
m: a matrix
ParticlesLib assumes that you know how to import an image as a matrix. How to do so is described in the two pages below, which belong to the chapter about the scientific environment.
|