Morphological Image Library : Smil vs scikit-image

On nestor

Image hubble_EDF_bin - 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:24:00 PM
Image    : hubble_EDF_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : label
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.230       0.000       0.230       0.231 - (ms)
  1.0 -    512  1 -       0.854       0.001       0.853       0.856 - (ms)
  2.0 -   1024  1 -       3.078       0.003       3.075       3.084 - (ms)
  4.0 -   2048  1 -      13.532       0.019      13.515      13.561 - (ms)
  8.0 -   4096  1 -      53.762       0.063      53.699      53.856 - (ms)
 16.0 -   8192  1 -     213.881       0.637     213.311     215.317 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.333       0.000       0.333       0.334 - (ms)
  1.0 -    512  1 -       1.039       0.000       1.039       1.040 - (ms)
  2.0 -   1024  1 -       7.190       0.078       7.101       7.306 - (ms)
  4.0 -   2048  1 -      28.906       0.007      28.894      28.912 - (ms)
  8.0 -   4096  1 -     111.228       0.029     111.192     111.270 - (ms)
 16.0 -   8192  1 -     437.630       0.092     437.522     437.799 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.230 |       0.333 |          1.447  0.160
    512 |       0.854 |       1.039 |          1.217  0.085
   1024 |       3.078 |       7.190 |          2.336  0.368
   2048 |      13.532 |      28.906 |          2.136  0.330
   4096 |      53.762 |     111.228 |          2.069  0.316
   8192 |     213.881 |     437.630 |          2.046  0.311

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

* Elapsed time : 94.0 s

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

=> Elapsed time : 94 secs
   Begin        : 17:24:00
   End          : 17:25:34