How I can measure the time of execution of morphological operators and filters of the plugin 'Fast Morphology'?

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

How I can measure the time of execution of morphological operators and filters of the plugin 'Fast Morphology'?

Isaac Perez
Greetings.

I think my previous post was not he understood correctly.

What I want to know is if there is any way to measure or know the
execution time (how long it takes) morphological operators (erosion,
dilation, opening, etc.). Plugin 'Fast Morphology'
(http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:fast_morphological_filters:start).

As the plugin does not return any information about it, I thought that
maybe there is some other way to know how long it takes to execute
each of the operators. Currently, I am measuring the execution time of
the operators manually (with a timer) ... obviously this is not the
best way.

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
|

Re: How I can measure the time of execution of morphological operators and filters of the plugin 'Fast Morphology'?

Michael Schmid
Hi Isaac,

did you see my suggestion in the following mail?
  https://list.nih.gov/cgi-bin/wa.exe?A2=ind1306&L=IMAGEJ&F=&S=&P=226612

Anyhow, the "Morphological Filters" of the 'Fast Morphology' package do display the processing time, like all other PlugInFilters.

E.g., for dilation of the ImageJ 'particles' sample extended to 3000x2000 pixels, using a square of radius 15, I got approx. 1 second.

Considering that it can do various structuring elements (and I think it is not parallelized), that's not bad at all. (My 'Fast Filters', which are parallelized and do not offer diamond and octagonal shapes, need about 1/3 s for the same operation on a dual core machine with hyperthreading).

Michael
________________________________________________________________
On Jun 26, 2013, at 09:11, Isaac Perez wrote:

> Greetings.
>
> I think my previous post was not he understood correctly.
>
> What I want to know is if there is any way to measure or know the
> execution time (how long it takes) morphological operators (erosion,
> dilation, opening, etc.). Plugin 'Fast Morphology'
> (http://imagejdocu.tudor.lu/doku.php?id=plugin:morphology:fast_morphological_filters:start).
>
> As the plugin does not return any information about it, I thought that
> maybe there is some other way to know how long it takes to execute
> each of the operators. Currently, I am measuring the execution time of
> the operators manually (with a timer) ... obviously this is not the
> best way.
>
> Thanks in advance for any help and / or suggestions.
>
> --
> Isaac Perez
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

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