Morphological Image Library : Smil vs scikit-image

On nestor

Image balls - Type bin - Function thinning


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     : 28/07/2021 07:32:46 AM
Image    : balls.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : thinning
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      31.701       0.002      31.697      31.703 - (ms)
  2.0 -    512  1 -     132.545       0.241     132.233     132.925 - (ms)
  4.0 -   1024  1 -     884.877       1.984     881.949     887.897 - (ms)
  8.0 -   2048  1 -    8670.198       1.117    8668.588    8671.591 - (ms)
 16.0 -   4096  1 -   72681.776     847.691   71778.233   74333.325 - (ms)
 32.0 -   8192  1 -  566319.291     833.786  564702.667  567740.329 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      93.101       0.781      92.619      94.927 - (ms)
  2.0 -    512  1 -     713.443       3.536     711.148     719.463 - (ms)
  4.0 -   1024  1 -    5715.797       3.024    5710.209    5721.461 - (ms)
  8.0 -   2048  1 -   46461.715      28.867   46446.730   46532.141 - (ms)
 16.0 -   4096  1 -  371184.280     102.856  371022.177  371386.079 - (ms)
 32.0 -   8192  1 - 3134902.509    1249.015 3133960.643 3137859.252 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      31.701 |      93.101 |          2.937  0.468
    512 |     132.545 |     713.443 |          5.383  0.731
   1024 |     884.877 |    5715.797 |          6.459  0.810
   2048 |    8670.198 |   46461.715 |          5.359  0.729
   4096 |   72681.776 |  371184.280 |          5.107  0.708
   8192 |  566319.291 | 3134902.509 |          5.536  0.743

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

* Elapsed time : 33716.1 s

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

=> Elapsed time : 33717 secs
   Begin        : 07:32:45
   End          : 16:54:42