Morphological Image Library : Smil vs scikit-image

On taurus

Image balls - Type bin - Function areaThreshold


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 10:07:21 AM
Image    : balls.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : areaThreshold
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.648       0.011       2.639       2.672 - (ms)
  2.0 -    512  1 -       8.817       0.002       8.815       8.819 - (ms)
  4.0 -   1024  1 -      34.015       1.087      33.550      36.677 - (ms)
  8.0 -   2048  1 -     133.016       0.032     132.980     133.080 - (ms)
 16.0 -   4096  1 -     533.031       2.862     529.695     539.162 - (ms)
 32.0 -   8192  1 -    2066.612       7.796    2057.331    2080.231 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.905       0.000       0.905       0.906 - (ms)
  2.0 -    512  1 -       3.968       0.001       3.967       3.970 - (ms)
  4.0 -   1024  1 -      18.096       0.003      18.093      18.102 - (ms)
  8.0 -   2048  1 -      95.405       0.302      95.220      96.124 - (ms)
 16.0 -   4096  1 -     386.059       0.415     385.112     386.395 - (ms)
 32.0 -   8192  1 -    1547.848       4.086    1543.505    1554.171 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.648 |       0.905 |          0.342 -0.466
    512 |       8.817 |       3.968 |          0.450 -0.347
   1024 |      34.015 |      18.096 |          0.532 -0.274
   2048 |     133.016 |      95.405 |          0.717 -0.144
   4096 |     533.031 |     386.059 |          0.724 -0.140
   8192 |    2066.612 |    1547.848 |          0.749 -0.126

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

* Elapsed time : 108.9 s

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

=> Elapsed time : 110 secs
   Begin        : 10:07:20
   End          : 10:09:10