Morphological Image Library : Smil vs scikit-image

On taurus

Image coffee - Type bin - Function label


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     : 01/09/2021 06:24:55 PM
Image    : coffee.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : label
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       1.849       0.005       1.846       1.860 - (ms)
  2.0 -    512  1 -       6.666       0.007       6.658       6.680 - (ms)
  4.0 -   1024  1 -      27.900       3.911      26.267      37.480 - (ms)
  8.0 -   2048  1 -     101.797       0.073     101.704     101.933 - (ms)
 16.0 -   4096  1 -     390.146       5.763     385.757     399.726 - (ms)
 32.0 -   8192  1 -    1517.983       0.810    1517.200    1519.603 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.517       0.003       0.515       0.522 - (ms)
  2.0 -    512  1 -       2.280       0.003       2.276       2.283 - (ms)
  4.0 -   1024  1 -      11.121       0.020      11.084      11.137 - (ms)
  8.0 -   2048  1 -      55.049       0.228      54.852      55.502 - (ms)
 16.0 -   4096  1 -     222.258       1.944     220.882     226.726 - (ms)
 32.0 -   8192  1 -     880.061       0.476     879.250     880.956 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.849 |       0.517 |          0.280 -0.553
    512 |       6.666 |       2.280 |          0.342 -0.466
   1024 |      27.900 |      11.121 |          0.399 -0.399
   2048 |     101.797 |      55.049 |          0.541 -0.267
   4096 |     390.146 |     222.258 |          0.570 -0.244
   8192 |    1517.983 |     880.061 |          0.580 -0.237

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

* Elapsed time : 101.2 s

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

=> Elapsed time : 102 secs
   Begin        : 18:24:54
   End          : 18:26:36