Morphological Image Library : Smil vs scikit-image

On nestor

Image gruyere - Type bin - Function segmentation


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     : 26/07/2021 11:16:38 PM
Image    : gruyere.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : segmentation
  repeat :     7


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

                       *** Image size ***                       

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -      12.053       0.008      12.045      12.071 - (ms)
 2.0 -    512  1 -      44.852       0.038      44.780      44.886 - (ms)
 4.0 -   1024  1 -     187.263       0.063     187.144     187.354 - (ms)
 8.0 -   2048  1 -     783.469       2.849     781.134     789.448 - (ms)
16.0 -   4096  1 -    3822.869       7.466    3808.879    3831.009 - (ms)
32.0 -   8192  1 -   17548.223     174.169   17457.463   17971.726 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -      98.240       0.213      97.977      98.540 - (ms)
 2.0 -    512  1 -     329.838       0.325     329.306     330.265 - (ms)
 4.0 -   1024  1 -     963.617       7.275     958.820     975.450 - (ms)
 8.0 -   2048  1 -    2785.378       1.762    2781.110    2786.535 - (ms)
16.0 -   4096  1 -    8188.821      10.185    8166.354    8199.135 - (ms)
32.0 -   8192  1 -   25718.259      41.270   25669.800   25792.905 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      12.053 |      98.240 |          8.151  0.911
    512 |      44.852 |     329.838 |          7.354  0.867
   1024 |     187.263 |     963.617 |          5.146  0.711
   2048 |     783.469 |    2785.378 |          3.555  0.551
   4096 |    3822.869 |    8188.821 |          2.142  0.331
   8192 |   17548.223 |   25718.259 |          1.466  0.166

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

* Elapsed time : 560.3 s

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

=> Elapsed time : 562 secs
   Begin        : 23:16:37
   End          : 23:25:59