Morphological Image Library : Smil vs scikit-image

On taurus

Image alumine - 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:18:04 PM
Image    : alumine.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 -       2.679       0.004       2.674       2.687 - (ms)
  2.0 -    512  1 -      10.302       0.007      10.292      10.316 - (ms)
  4.0 -   1024  1 -      38.265       0.031      38.223      38.308 - (ms)
  8.0 -   2048  1 -     150.028       0.333     149.716     150.810 - (ms)
 16.0 -   4096  1 -     584.222      19.363     562.792     621.518 - (ms)
 32.0 -   8192  1 -    2198.757       6.804    2195.172    2215.356 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.659       0.001       0.658       0.660 - (ms)
  2.0 -    512  1 -       2.925       0.004       2.923       2.934 - (ms)
  4.0 -   1024  1 -      13.417       0.006      13.409      13.429 - (ms)
  8.0 -   2048  1 -      63.668       0.026      63.637      63.712 - (ms)
 16.0 -   4096  1 -     256.557       0.112     256.415     256.785 - (ms)
 32.0 -   8192  1 -    1023.595       0.466    1022.808    1024.275 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.679 |       0.659 |          0.246 -0.609
    512 |      10.302 |       2.925 |          0.284 -0.547
   1024 |      38.265 |      13.417 |          0.351 -0.455
   2048 |     150.028 |      63.668 |          0.424 -0.372
   4096 |     584.222 |     256.557 |          0.439 -0.357
   8192 |    2198.757 |    1023.595 |          0.466 -0.332

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

* Elapsed time : 104.1 s

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

=> Elapsed time : 105 secs
   Begin        : 18:18:03
   End          : 18:19:48