Morphological Image Library : Smil vs scikit-image

On nestor

Image hubble_EDF_gray - 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:43:37 AM
Image    : hubble_EDF_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : watershed
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       4.282       0.007       4.275       4.292 - (ms)
  1.0 -    512  1 -      17.286       0.005      17.278      17.292 - (ms)
  2.0 -   1024  1 -      67.274       0.036      67.218      67.324 - (ms)
  4.0 -   2048  1 -     269.814       0.366     269.614     270.704 - (ms)
  8.0 -   4096  1 -    1015.460       2.315    1011.658    1019.013 - (ms)
 16.0 -   8192  1 -    3798.761      28.738    3751.873    3857.463 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      10.790       0.005      10.784      10.799 - (ms)
  1.0 -    512  1 -      60.172       0.013      60.157      60.190 - (ms)
  2.0 -   1024  1 -     353.798       3.228     346.385     357.155 - (ms)
  4.0 -   2048  1 -    1589.366       0.637    1588.558    1590.613 - (ms)
  8.0 -   4096  1 -    6461.301       1.159    6459.403    6462.897 - (ms)
 16.0 -   8192  1 -   22371.756      41.665   22334.695   22469.219 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       4.282 |      10.790 |          2.520  0.401
    512 |      17.286 |      60.172 |          3.481  0.542
   1024 |      67.274 |     353.798 |          5.259  0.721
   2048 |     269.814 |    1589.366 |          5.891  0.770
   4096 |    1015.460 |    6461.301 |          6.363  0.804
   8192 |    3798.761 |   22371.756 |          5.889  0.770

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

* Elapsed time : 400.6 s

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

=> Elapsed time : 402 secs
   Begin        : 01:43:36
   End          : 01:50:18