Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_bin - Type bin - Function distance


SMIL (Simple Morphological Image Library) 1.0.0-dev
Copyright (c) 2011-2016, Matthieu FAESSEL and ARMINES
Copyright (c) 2017-2021, CMM - Centre de Morphologie Mathematique
All rights reserved.

Date     : 05/08/2021 09:30:57 AM
Image    : bubbles_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : distance
  repeat :     7


-*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       2.439       0.026       2.423       2.503 - (ms)
  1.0 -    512  1 -       8.460       0.003       8.455       8.466 - (ms)
  2.0 -   1024  1 -      32.781       0.033      32.756      32.856 - (ms)
  4.0 -   2048  1 -     145.987       0.264     145.784     146.578 - (ms)
  8.0 -   4096  1 -    1021.790       1.647    1019.614    1024.441 - (ms)
 16.0 -   8192  1 -    5749.292      24.019    5704.116    5784.687 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       4.571       0.010       4.560       4.585 - (ms)
  1.0 -    512  1 -      20.699       0.027      20.648      20.732 - (ms)
  2.0 -   1024  1 -     108.916       0.049     108.833     108.986 - (ms)
  4.0 -   2048  1 -     612.024       5.413     604.903     618.488 - (ms)
  8.0 -   4096  1 -    3596.300      44.882    3514.192    3651.443 - (ms)
 16.0 -   8192  1 -   18066.827      53.141   17985.724   18133.645 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.439 |       4.571 |          1.875  0.273
    512 |       8.460 |      20.699 |          2.447  0.389
   1024 |      32.781 |     108.916 |          3.322  0.521
   2048 |     145.987 |     612.024 |          4.192  0.622
   4096 |    1021.790 |    3596.300 |          3.520  0.546
   8192 |    5749.292 |   18066.827 |          3.142  0.497

  - [*] : ratio and log10(ratio) in columns

* Elapsed time : 290.2 s

-*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*-

=> Elapsed time : 291 secs
   Begin        : 09:30:56
   End          : 09:35:47