Morphological Image Library : Smil vs scikit-image

On nestor

Image gruyere - 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:22:20 PM
Image    : gruyere.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 -       1.262       0.001       1.260       1.264 - (ms)
  2.0 -    512  1 -       4.742       0.005       4.738       4.750 - (ms)
  4.0 -   1024  1 -      18.490       0.024      18.473      18.528 - (ms)
  8.0 -   2048  1 -      85.294       0.105      85.194      85.478 - (ms)
 16.0 -   4096  1 -     340.308       0.483     339.923     341.092 - (ms)
 32.0 -   8192  1 -    1431.324       1.531    1429.063    1432.910 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.546       0.001       0.545       0.547 - (ms)
  2.0 -    512  1 -       2.150       0.003       2.146       2.154 - (ms)
  4.0 -   1024  1 -      11.215       0.013      11.203      11.240 - (ms)
  8.0 -   2048  1 -      45.488       0.055      45.415      45.572 - (ms)
 16.0 -   4096  1 -     177.050       0.152     176.886     177.336 - (ms)
 32.0 -   8192  1 -     699.816       0.854     698.869     700.963 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.262 |       0.546 |          0.432 -0.364
    512 |       4.742 |       2.150 |          0.453 -0.343
   1024 |      18.490 |      11.215 |          0.607 -0.217
   2048 |      85.294 |      45.488 |          0.533 -0.273
   4096 |     340.308 |     177.050 |          0.520 -0.284
   8192 |    1431.324 |     699.816 |          0.489 -0.311

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

* Elapsed time : 98.7 s

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

=> Elapsed time : 100 secs
   Begin        : 17:22:19
   End          : 17:23:59