Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_gray - Type gray - Function watershed


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     : 04/08/2021 10:33:34 PM
Image    : bubbles_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : watershed
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       6.812       0.022       6.787       6.855 - (ms)
  1.0 -    512  1 -      27.682       0.029      27.649      27.738 - (ms)
  2.0 -   1024  1 -     101.144       0.085     101.029     101.287 - (ms)
  4.0 -   2048  1 -     369.023       3.005     366.080     375.790 - (ms)
  8.0 -   4096  1 -    1268.937       5.662    1258.794    1276.349 - (ms)
 16.0 -   8192  1 -    5120.523     126.033    5054.769    5425.118 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      14.417       0.077      14.375      14.605 - (ms)
  1.0 -    512  1 -      74.077       0.018      74.048      74.097 - (ms)
  2.0 -   1024  1 -     471.961       2.551     467.975     477.301 - (ms)
  4.0 -   2048  1 -    2321.420       2.604    2318.670    2326.302 - (ms)
  8.0 -   4096  1 -    8659.477      31.202    8627.313    8713.848 - (ms)
 16.0 -   8192  1 -   29910.860     145.114   29712.994   30205.205 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       6.812 |      14.417 |          2.116  0.326
    512 |      27.682 |      74.077 |          2.676  0.427
   1024 |     101.144 |     471.961 |          4.666  0.669
   2048 |     369.023 |    2321.420 |          6.291  0.799
   4096 |    1268.937 |    8659.477 |          6.824  0.834
   8192 |    5120.523 |   29910.860 |          5.841  0.767

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

* Elapsed time : 519.3 s

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

=> Elapsed time : 521 secs
   Begin        : 22:33:33
   End          : 22:42:14