Morphological Image Library : Smil vs scikit-image

On taurus

Image tools - 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:57:44 PM
Image    : tools.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.007       0.013       5.997       6.037 - (ms)
  2.0 -    512  1 -      22.510       0.034      22.470      22.586 - (ms)
  4.0 -   1024  1 -      88.245       0.247      88.036      88.738 - (ms)
  8.0 -   2048  1 -     334.927       5.121     329.498     346.445 - (ms)
 16.0 -   4096  1 -    1283.947      34.489    1254.342    1338.904 - (ms)
 32.0 -   8192  1 -    5029.780      47.889    4953.750    5093.408 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      12.330       0.018      12.311      12.352 - (ms)
  2.0 -    512  1 -      55.006       0.099      54.947      55.243 - (ms)
  4.0 -   1024  1 -     288.153       1.194     285.242     288.881 - (ms)
  8.0 -   2048  1 -    1272.469       9.881    1266.038    1296.430 - (ms)
 16.0 -   4096  1 -    4858.197      15.043    4845.075    4892.013 - (ms)
 32.0 -   8192  1 -   17187.111     108.133   17044.731   17327.360 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       6.007 |      12.330 |          2.053  0.312
    512 |      22.510 |      55.006 |          2.444  0.388
   1024 |      88.245 |     288.153 |          3.265  0.514
   2048 |     334.927 |    1272.469 |          3.799  0.580
   4096 |    1283.947 |    4858.197 |          3.784  0.578
   8192 |    5029.780 |   17187.111 |          3.417  0.534

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

* Elapsed time : 374.0 s

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

=> Elapsed time : 375 secs
   Begin        : 22:57:43
   End          : 23:03:58