Morphological Image Library : Smil vs scikit-image

On taurus

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     : 05/08/2021 09:26:09 AM
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 -       2.323       0.007       2.315       2.338 - (ms)
  2.0 -    512  1 -       7.822       0.005       7.815       7.830 - (ms)
  4.0 -   1024  1 -      31.100       0.037      31.062      31.185 - (ms)
  8.0 -   2048  1 -     143.783       0.039     143.734     143.842 - (ms)
 16.0 -   4096  1 -    1099.549      16.800    1082.657    1122.076 - (ms)
 32.0 -   8192  1 -    5307.846      94.722    5163.815    5452.819 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.181       0.010       4.171       4.197 - (ms)
  2.0 -    512  1 -      19.783       0.031      19.758      19.857 - (ms)
  4.0 -   1024  1 -     104.024       0.149     103.761     104.224 - (ms)
  8.0 -   2048  1 -     578.576       4.620     572.408     587.061 - (ms)
 16.0 -   4096  1 -    3649.516      23.725    3620.827    3683.711 - (ms)
 32.0 -   8192  1 -   17952.697     105.659   17776.169   18104.506 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.323 |       4.181 |          1.800  0.255
    512 |       7.822 |      19.783 |          2.529  0.403
   1024 |      31.100 |     104.024 |          3.345  0.524
   2048 |     143.783 |     578.576 |          4.024  0.605
   4096 |    1099.549 |    3649.516 |          3.319  0.521
   8192 |    5307.846 |   17952.697 |          3.382  0.529

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

* Elapsed time : 286.2 s

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

=> Elapsed time : 287 secs
   Begin        : 09:26:08
   End          : 09:30:55