Morphological Image Library : Smil vs scikit-image

On taurus

Image lena - Type gray - Function watershed


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     : 04/08/2021 10:50:03 PM
Image    : lena.png
  width  :   256
  height :   256
  depth  :     1
  type   : gray
Function : watershed
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       9.692       0.183       9.606      10.139 - (ms)
  2.0 -    512  1 -      33.571       0.037      33.541      33.652 - (ms)
  4.0 -   1024  1 -     115.105       0.225     114.846     115.480 - (ms)
  8.0 -   2048  1 -     388.977       2.591     386.266     394.681 - (ms)
 16.0 -   4096  1 -    1358.576      12.547    1342.027    1377.724 - (ms)
 32.0 -   8192  1 -    5163.352     192.067    4938.356    5465.067 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      12.642       0.017      12.619      12.662 - (ms)
  2.0 -    512  1 -      61.638       0.091      61.572      61.832 - (ms)
  4.0 -   1024  1 -     344.065       1.499     342.948     346.717 - (ms)
  8.0 -   2048  1 -    1723.003      15.592    1705.211    1753.824 - (ms)
 16.0 -   4096  1 -    6880.628      31.665    6834.920    6929.753 - (ms)
 32.0 -   8192  1 -   24795.663     179.959   24617.143   25183.964 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       9.692 |      12.642 |          1.304  0.115
    512 |      33.571 |      61.638 |          1.836  0.264
   1024 |     115.105 |     344.065 |          2.989  0.476
   2048 |     388.977 |    1723.003 |          4.430  0.646
   4096 |    1358.576 |    6880.628 |          5.065  0.705
   8192 |    5163.352 |   24795.663 |          4.802  0.681

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

* Elapsed time : 460.5 s

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

=> Elapsed time : 461 secs
   Begin        : 22:50:02
   End          : 22:57:43