Morphological Image Library : Smil vs scikit-image

On taurus

Image balls - 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:19:49 PM
Image    : balls.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.414       0.002       1.412       1.419 - (ms)
  2.0 -    512  1 -       5.458       0.006       5.452       5.471 - (ms)
  4.0 -   1024  1 -      20.482       0.025      20.453      20.529 - (ms)
  8.0 -   2048  1 -      79.679       0.267      79.444      80.310 - (ms)
 16.0 -   4096  1 -     307.011       3.132     304.934     313.820 - (ms)
 32.0 -   8192  1 -    1178.207      29.134    1145.872    1224.000 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.444       0.015       0.425       0.461 - (ms)
  2.0 -    512  1 -       1.945       0.003       1.942       1.952 - (ms)
  4.0 -   1024  1 -       9.639       0.017       9.629       9.680 - (ms)
  8.0 -   2048  1 -      50.544       0.042      50.487      50.612 - (ms)
 16.0 -   4096  1 -     204.424       1.465     203.662     208.002 - (ms)
 32.0 -   8192  1 -     811.688       0.420     811.131     812.450 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.414 |       0.444 |          0.314 -0.503
    512 |       5.458 |       1.945 |          0.356 -0.448
   1024 |      20.482 |       9.639 |          0.471 -0.327
   2048 |      79.679 |      50.544 |          0.634 -0.198
   4096 |     307.011 |     204.424 |          0.666 -0.177
   8192 |    1178.207 |     811.688 |          0.689 -0.162

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

* Elapsed time : 100.5 s

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

=> Elapsed time : 101 secs
   Begin        : 18:19:48
   End          : 18:21:29