Morphological Image Library : Smil vs scikit-image

On taurus

Image astronaut - 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:25:41 PM
Image    : astronaut.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 -       8.007       0.011       7.996       8.027 - (ms)
  1.0 -    512  1 -      29.642       0.047      29.593      29.710 - (ms)
  2.0 -   1024  1 -     105.944       0.078     105.845     106.068 - (ms)
  4.0 -   2048  1 -     379.455       1.833     377.930     383.558 - (ms)
  8.0 -   4096  1 -    1355.543       7.564    1345.165    1369.944 - (ms)
 16.0 -   8192  1 -    5109.369      26.343    5066.715    5149.337 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      12.925       0.009      12.919      12.945 - (ms)
  1.0 -    512  1 -      62.208       0.017      62.187      62.233 - (ms)
  2.0 -   1024  1 -     336.872       3.533     331.435     343.991 - (ms)
  4.0 -   2048  1 -    1678.427       2.767    1674.808    1681.009 - (ms)
  8.0 -   4096  1 -    6928.636      10.861    6910.286    6946.849 - (ms)
 16.0 -   8192  1 -   26208.470     119.573   26110.040   26478.491 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       8.007 |      12.925 |          1.614  0.208
    512 |      29.642 |      62.208 |          2.099  0.322
   1024 |     105.944 |     336.872 |          3.180  0.502
   2048 |     379.455 |    1678.427 |          4.423  0.646
   4096 |    1355.543 |    6928.636 |          5.111  0.709
   8192 |    5109.369 |   26208.470 |          5.129  0.710

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

* Elapsed time : 472.1 s

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

=> Elapsed time : 473 secs
   Begin        : 22:25:40
   End          : 22:33:33