Run time of the morphological filters of the plugin 'Fast Morphology'

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

Run time of the morphological filters of the plugin 'Fast Morphology'

Isaac Perez
Greetings.

I download and install the plugin 'Fast Morphology'
(http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:fast_morphological_filters:start).
Certainly this is faster (or at least seems to be) that the
mathematical morphology plugin I was using initially
(http://rsbweb.nih.gov/ij/plugins/gray-morphology.html).

The problem is that, unlike morphology functionality built into ImageJ
and mathematical morphology plugin I mentioned before, the plugin
'Fast Morphology' does not return any information about the time of
execution of the various morphological filters. For morphology
functionality built into ImageJ and mathematical morphology plugin I
was using initially, this information appears in the status bar after
the filter is applied.

As I need to compare the times of this plugin (Fast Morphology)
against the time of a small mathematical morphology tool that I'm
developing, I need to measure accurately (as far as possible) the time
of execution of this plugin morphological filters.

then

How I can realistically measure the execution time of morphological
filters of the plugin 'fast-morphology'? ... Any ideas?

Again, thanks in advance for any help and/or suggestions.

--
Isaac Perez

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Run time of the morphological filters of the plugin 'Fast Morphology'

Isaac Perez
Greetings.

I download and install the plugin 'Fast Morphology'
(http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:fast_morphological_filters:start).
Certainly this is faster (or at least seems to be) that the
mathematical morphology plugin I was using initially
(http://rsbweb.nih.gov/ij/plugins/gray-morphology.html).

The problem is that, unlike morphology functionality built into ImageJ
and mathematical morphology plugin I mentioned before, the plugin
'Fast Morphology' does not return any information about the time of
execution of the various morphological filters. For morphology
functionality built into ImageJ and mathematical morphology plugin I
was using initially, this information appears in the status bar after
the filter is applied.

As I need to compare the times of this plugin (Fast Morphology)
against the time of a small mathematical morphology tool that I'm
developing, I need to measure accurately (as far as possible) the time
of execution of this plugin morphological filters.

then

How I can realistically measure the execution time of morphological
filters of the plugin 'fast-morphology'? ... Any ideas?

Again, thanks in advance for any help and/or suggestions.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Run time of the morphological filters of the plugin 'Fast Morphology'

Thomas Boudier
Hi,

Some ideas about morphological filters, I assume here we are talking
about minimum and maximum filters for simplicity.

1/ in the 3D filters
http://imagejdocu.tudor.lu/doku.php?id=plugin:filter:3d_filters:start M.
Labschütz proposed an improved version for spherical kernel, using the
concept of updating only the pixels that enter or exit the kernel from
processing one pixel to the next one. I tried to paralellize this idea
but went into some complex behaviours so I gave up, you may work on that
idea again.

2/ You may also think of distance maps, because (maybe I'm wrong) a
dilatation can also be seen as a threshold in the distance map.
Computing a distance map is quite fast, so for large radius that can be
an idea. Our plugin BinaryCloseLabels implements this idea
http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:3d_mathematical_morphology_:start

best,

Thomas


Le 24/06/2013 06:52, Isaac Perez a écrit :

> Greetings.
>
> I download and install the plugin 'Fast Morphology'
> (http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:fast_morphological_filters:start).
> Certainly this is faster (or at least seems to be) that the
> mathematical morphology plugin I was using initially
> (http://rsbweb.nih.gov/ij/plugins/gray-morphology.html).
>
> The problem is that, unlike morphology functionality built into ImageJ
> and mathematical morphology plugin I mentioned before, the plugin
> 'Fast Morphology' does not return any information about the time of
> execution of the various morphological filters. For morphology
> functionality built into ImageJ and mathematical morphology plugin I
> was using initially, this information appears in the status bar after
> the filter is applied.
>
> As I need to compare the times of this plugin (Fast Morphology)
> against the time of a small mathematical morphology tool that I'm
> developing, I need to measure accurately (as far as possible) the time
> of execution of this plugin morphological filters.
>
> then
>
> How I can realistically measure the execution time of morphological
> filters of the plugin 'fast-morphology'? ... Any ideas?
>
> Again, thanks in advance for any help and/or suggestions.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
   /**********************************************************/
      Thomas Boudier, MCU Université Pierre et Marie Curie,
      Modélisation Cellulaire et Imagerie Biologique (EE1),
      IFR 83, Bat B 7ème étage, porte 723, Campus Jussieu.
      Tel : 01 44 27 46 92   Fax : 01 44 27 22 91
/*******************************************************/

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html