Morphological Image Library : Smil vs scikit-image

On nestor

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     : 30/07/2021 03:21:33 PM
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 -       1.701       0.032       1.687       1.780 - (ms)
  2.0 -    512  1 -       6.146       0.006       6.140       6.154 - (ms)
  4.0 -   1024  1 -      24.189       0.040      24.171      24.288 - (ms)
  8.0 -   2048  1 -     125.114       0.403     124.836     125.925 - (ms)
 16.0 -   4096  1 -     740.685       1.458     737.847     742.995 - (ms)
 32.0 -   8192  1 -    3083.868       1.215    3082.777    3085.882 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.317       0.005       4.311       4.324 - (ms)
  2.0 -    512  1 -      17.377       0.007      17.366      17.388 - (ms)
  4.0 -   1024  1 -      87.110       0.181      86.848      87.300 - (ms)
  8.0 -   2048  1 -     466.706       4.494     459.609     470.777 - (ms)
 16.0 -   4096  1 -    2117.823       8.556    2108.214    2133.740 - (ms)
 32.0 -   8192  1 -    9409.221      42.165    9373.166    9508.000 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.701 |       4.317 |          2.539  0.405
    512 |       6.146 |      17.377 |          2.827  0.451
   1024 |      24.189 |      87.110 |          3.601  0.556
   2048 |     125.114 |     466.706 |          3.730  0.572
   4096 |     740.685 |    2117.823 |          2.859  0.456
   8192 |    3083.868 |    9409.221 |          3.051  0.484

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

* Elapsed time : 242.8 s

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

=> Elapsed time : 244 secs
   Begin        : 15:21:32
   End          : 15:25:36