Macro for particle size analysis (for TEM images of nanoparticles)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Macro for particle size analysis (for TEM images of nanoparticles)

ralphspg
Dear list,

I would like to share a macro I've put together for the analysis of TEM images of nanoparticles, maybe others find it useful, too...

http://code.google.com/p/psa-macro/   

The macro helps with setting the scale, background removal and smoothing, pops up the thresholding dialog and runs the particles analyzer, optionally with watershed and/or some other existing plugins for thresholding etc. It saves the settings for the next run.

For the particles not excluded by size and circularity criteria the circle-equivalent diameter is calculated, a histogram is made and all results including the outlined particles are saved.

Together with the droplet plugin it has worked well for me with the routine analysis of TEM images, typically a bunch of similar images for each sample (mostly Au, Ag or Co - good contrast). The saved results tables can then be joined to generate a histogram over all images of one sample with the software of choice.

(There is a (rather experimental) full-auto-mode, however manual thresholding and direct output of the outlined particles for each image is not too bad for checking the results and redoing the analysis if necessary.)

Parts of the macro (e.g. setting the scale) may be somewhat specific to the instruments or TEM software I have been using, but there are also generic ways for setting the scale automatically or manually. Alternatively the expected position of the scale bar found in the image could changed by the user in the macro file.


Cheers,  Ralph.