Morphological Image Library : Smil vs scikit-image

On nestor

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 05:13:55 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 -       0.962       0.001       0.961       0.964 - (ms)
  2.0 -    512  1 -       3.688       0.004       3.683       3.693 - (ms)
  4.0 -   1024  1 -      14.336       0.018      14.323      14.365 - (ms)
  8.0 -   2048  1 -      63.428       0.088      63.340      63.550 - (ms)
 16.0 -   4096  1 -     263.633       0.314     263.391     264.138 - (ms)
 32.0 -   8192  1 -    1105.146       1.389    1103.965    1107.461 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.468       0.002       0.466       0.472 - (ms)
  2.0 -    512  1 -       1.865       0.003       1.858       1.868 - (ms)
  4.0 -   1024  1 -       9.899       0.017       9.865       9.923 - (ms)
  8.0 -   2048  1 -      41.310       0.039      41.262      41.382 - (ms)
 16.0 -   4096  1 -     160.537       0.151     160.303     160.776 - (ms)
 32.0 -   8192  1 -     633.371       0.165     633.116     633.605 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.962 |       0.468 |          0.487 -0.313
    512 |       3.688 |       1.865 |          0.506 -0.296
   1024 |      14.336 |       9.899 |          0.690 -0.161
   2048 |      63.428 |      41.310 |          0.651 -0.186
   4096 |     263.633 |     160.537 |          0.609 -0.215
   8192 |    1105.146 |     633.371 |          0.573 -0.242

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

* Elapsed time : 96.8 s

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

=> Elapsed time : 98 secs
   Begin        : 17:13:54
   End          : 17:15:32