Morphological Image Library : Smil vs scikit-image

On taurus

Image coffee - 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     : 05/08/2021 10:59:18 AM
Image    : coffee.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 -      18.197       0.107      18.109      18.436 - (ms)
  2.0 -    512  1 -      65.042       0.086      64.992      65.244 - (ms)
  4.0 -   1024  1 -     268.470       1.443     266.342     270.277 - (ms)
  8.0 -   2048  1 -    1056.446       2.752    1052.434    1060.138 - (ms)
 16.0 -   4096  1 -    4700.712      61.770    4633.142    4831.643 - (ms)
 32.0 -   8192  1 -   23146.213     406.542   22561.657   23618.015 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      17.843       0.528      17.296      18.444 - (ms)
  2.0 -    512  1 -     110.665       0.045     110.592     110.716 - (ms)
  4.0 -   1024  1 -     441.761       4.009     438.674     448.993 - (ms)
  8.0 -   2048  1 -    1659.554      10.710    1648.267    1682.193 - (ms)
 16.0 -   4096  1 -    7018.117      68.055    6960.677    7176.446 - (ms)
 32.0 -   8192  1 -   28923.040     184.040   28633.748   29138.219 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      18.197 |      17.843 |          0.981 -0.009
    512 |      65.042 |     110.665 |          1.701  0.231
   1024 |     268.470 |     441.761 |          1.645  0.216
   2048 |    1056.446 |    1659.554 |          1.571  0.196
   4096 |    4700.712 |    7018.117 |          1.493  0.174
   8192 |   23146.213 |   28923.040 |          1.250  0.097

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

* Elapsed time : 581.9 s

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

=> Elapsed time : 583 secs
   Begin        : 10:59:17
   End          : 11:09:00