Edit page History

Granulometric Filtering


    Granulometric Filtering




    Dimiter Prodanov


    in .jar file





    This plugin can be used to identify and select structure of a certain size in a B&W image. It allows e.g. to get all circular structure of a certain radius within an image.


    The figure is sieved with a structuring element of increasing size. Each sieving step removes structures with sizes that matches or are smaller that the structuring element size. Individual size disks are obtained by subtracting derived images (e.g. to obtain 10 px radius size, one subtract the image obtained after sieving by a structuring element of size 10 by the image sieved with size 9).

    Plugin parameters

    • Type of structure element: select between circle, diamond, square, and lines to identify corresponding shape
    • Radius of structure element: the minimal size (radius in pixel) of the structuring element to apply
    • Step: the maximal size of the structuring element will be the previous value plus this one

    For example, to detect all circular shapes whose radii are between 10 and 12 pixels, one would select circle, 10, 2 respectively as parameters.

    The plugin also works on grayscale images, tough it gives difficult to interpret results.

    This plugin and technique is described by its author (and colleagues) in the following paper, where more documentation can be found:

    Prodanov D., Heeroma J., Marani E., “Automatic morphometry of synaptic boutons of cultured cells using granulometric analysis of digital images”, Journal of Neuroscience Methods 151: 168-177 .