Morphological Image Library : Smil vs scikit-image

On taurus

Image eutectic - 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:45:40 AM
Image    : eutectic.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.574       0.012       2.562       2.599 - (ms)
  2.0 -    512  1 -       8.516       0.007       8.507       8.532 - (ms)
  4.0 -   1024  1 -      32.985       0.065      32.924      33.132 - (ms)
  8.0 -   2048  1 -     150.072       0.050     149.996     150.142 - (ms)
 16.0 -   4096  1 -    1082.119      48.021    1035.492    1150.117 - (ms)
 32.0 -   8192  1 -    5633.685     103.704    5414.314    5734.296 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.355       0.006       4.346       4.365 - (ms)
  2.0 -    512  1 -      20.075       0.039      20.044      20.167 - (ms)
  4.0 -   1024  1 -     104.865       0.181     104.694     105.284 - (ms)
  8.0 -   2048  1 -     572.253      10.737     555.519     590.007 - (ms)
 16.0 -   4096  1 -    3554.500      23.045    3507.475    3582.887 - (ms)
 32.0 -   8192  1 -   17546.389      68.137   17478.105   17680.665 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.574 |       4.355 |          1.692  0.228
    512 |       8.516 |      20.075 |          2.357  0.372
   1024 |      32.985 |     104.865 |          3.179  0.502
   2048 |     150.072 |     572.253 |          3.813  0.581
   4096 |    1082.119 |    3554.500 |          3.285  0.517
   8192 |    5633.685 |   17546.389 |          3.115  0.493

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

* Elapsed time : 285.4 s

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

=> Elapsed time : 286 secs
   Begin        : 09:45:39
   End          : 09:50:25