Morphological Image Library : Smil vs scikit-image

On nestor

Image balls - 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:04:56 PM
Image    : balls.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.524       0.070       1.480       1.688 - (ms)
  2.0 -    512  1 -       5.573       0.000       5.572       5.573 - (ms)
  4.0 -   1024  1 -      22.417       0.004      22.413      22.425 - (ms)
  8.0 -   2048  1 -     114.007       0.042     113.969     114.106 - (ms)
 16.0 -   4096  1 -     720.910       0.110     720.733     721.081 - (ms)
 32.0 -   8192  1 -    3042.254       0.161    3041.976    3042.492 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.209       0.006       4.204       4.220 - (ms)
  2.0 -    512  1 -      17.448       0.031      17.427      17.522 - (ms)
  4.0 -   1024  1 -      90.483       0.480      89.657      91.107 - (ms)
  8.0 -   2048  1 -     766.930       5.409     755.154     772.992 - (ms)
 16.0 -   4096  1 -    2263.563       3.055    2259.542    2268.716 - (ms)
 32.0 -   8192  1 -   10042.185      12.366   10028.474   10067.564 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.524 |       4.209 |          2.761  0.441
    512 |       5.573 |      17.448 |          3.131  0.496
   1024 |      22.417 |      90.483 |          4.036  0.606
   2048 |     114.007 |     766.930 |          6.727  0.828
   4096 |     720.910 |    2263.563 |          3.140  0.497
   8192 |    3042.254 |   10042.185 |          3.301  0.519

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

* Elapsed time : 247.4 s

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

=> Elapsed time : 248 secs
   Begin        : 15:04:55
   End          : 15:09:03