Posted by
Stoyan Pavlov on
Dec 13, 2013; 8:05am
URL: http://imagej.273.s1.nabble.com/Shadows-leaf-morphology-problem-tp5005891p5005902.html
Since you know the maximum size of the particles you wish to analyse, you
can also try some form of morphological filtering. Give a try to the
"Granulometric filtering plugin" by Dimiter Prodanov (
http://rsbweb.nih.gov/ij/plugins/gran-filter.html). If it doesn't work for
you , you can try Top-Hat opening by reconstruction:
1. Run a small size median filter (2.0) to get rid of the noise
2. Run a Minimum filter on your image with size corresponding to the
biggest particles you want to keep.(this way you get rid of the bigger
particles, but it also degrades the image).
3. Reconstruct the Filtered image (using Greyscale reconstruct from
Landini's Morphological plugins set (
http://www.dentistry.bham.ac.uk/landinig/software/software.html) with mask
the original image and seed the Minimum filtered image. Now you have a
representation of your background. (original picture but just without the
particles)
4. Run if necessary a median filter (2.0) on the reconstructed background
to get rid of noise.
5. Subtract the Reconstructed background image from your original (median
filtered) image.
Now this leaves only the particles of the size you need and a small part of
the ridges. You can get rid off the latter adjusting the conditions of the
Particle analyzer - Size and/or circularity.
If this approach works for you, there is a ready to use macro in Gabriel
Landini's "Morphological Operators for ImageJ" set (Top-Hat opening by
reconstruction) .
---
Dr. Stoyan P. Pavlov, MD, PhD
Departament of Anatomy, Histology and Embryology
Medical University "Prof. Dr. Paraskev Stoyanov", Varna
Prof. Marin Drinov Str.55
9002 Varna
Bulgaria
Tel: +359 (0) 52 - 677 - 052
e-mail:
[hidden email]
[hidden email]
Zentrum für Anatomie
Uniklinik Köln
[hidden email]
Tel: +49221/478-5730
2013/12/12 Adam Hughes <
[hidden email]>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html