Morphological Image Library : Smil vs scikit-image

On nestor

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 01:50:18 AM
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 -       6.124       0.003       6.117       6.127 - (ms)
  2.0 -    512  1 -      21.067       0.019      21.044      21.099 - (ms)
  4.0 -   1024  1 -      71.832       0.073      71.716      71.967 - (ms)
  8.0 -   2048  1 -     267.795       0.321     267.572     268.569 - (ms)
 16.0 -   4096  1 -     979.798       2.237     978.354     985.200 - (ms)
 32.0 -   8192  1 -    3534.244      18.007    3516.739    3573.188 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      11.181       0.003      11.178      11.186 - (ms)
  2.0 -    512  1 -      58.680       0.006      58.669      58.687 - (ms)
  4.0 -   1024  1 -     340.050       4.901     328.049     342.327 - (ms)
  8.0 -   2048  1 -    1609.122       2.219    1606.857    1613.539 - (ms)
 16.0 -   4096  1 -    6219.045      43.623    6147.378    6267.451 - (ms)
 32.0 -   8192  1 -   21558.834      93.338   21501.501   21785.192 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       6.124 |      11.181 |          1.826  0.261
    512 |      21.067 |      58.680 |          2.785  0.445
   1024 |      71.832 |     340.050 |          4.734  0.675
   2048 |     267.795 |    1609.122 |          6.009  0.779
   4096 |     979.798 |    6219.045 |          6.347  0.803
   8192 |    3534.244 |   21558.834 |          6.100  0.785

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

* Elapsed time : 397.9 s

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

=> Elapsed time : 398 secs
   Begin        : 01:50:18
   End          : 01:56:56