Morphological Image Library : Smil vs scikit-image

On taurus

Image gruyere - Type bin - Function distance


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     : 05/08/2021 09:50:27 AM
Image    : gruyere.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : distance
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.441       0.008       2.433       2.455 - (ms)
  2.0 -    512  1 -       8.121       0.003       8.115       8.127 - (ms)
  4.0 -   1024  1 -      31.904       0.046      31.833      31.961 - (ms)
  8.0 -   2048  1 -     147.242       0.042     147.192     147.314 - (ms)
 16.0 -   4096  1 -    1101.194      34.497    1046.026    1147.902 - (ms)
 32.0 -   8192  1 -    5374.890      25.157    5322.515    5403.303 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.239       0.060       4.202       4.374 - (ms)
  2.0 -    512  1 -      20.217       0.006      20.209      20.229 - (ms)
  4.0 -   1024  1 -     104.581       0.107     104.428     104.710 - (ms)
  8.0 -   2048  1 -     565.110       4.260     558.186     573.296 - (ms)
 16.0 -   4096  1 -    3588.354      14.429    3561.115    3604.635 - (ms)
 32.0 -   8192  1 -   17864.110     151.118   17570.488   17992.785 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.441 |       4.239 |          1.736  0.240
    512 |       8.121 |      20.217 |          2.490  0.396
   1024 |      31.904 |     104.581 |          3.278  0.516
   2048 |     147.242 |     565.110 |          3.838  0.584
   4096 |    1101.194 |    3588.354 |          3.259  0.513
   8192 |    5374.890 |   17864.110 |          3.324  0.522

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

* Elapsed time : 285.3 s

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

=> Elapsed time : 286 secs
   Begin        : 09:50:26
   End          : 09:55:12