Morphological Image Library : Smil vs scikit-image

On nestor

Image bubbles_bin - 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 04:54:44 PM
Image    : bubbles_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : thinning
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       6.343       0.001       6.341       6.344 - (ms)
  1.0 -    512  1 -      24.140       4.123      21.331      33.233 - (ms)
  2.0 -   1024  1 -     134.556       0.039     134.513     134.637 - (ms)
  4.0 -   2048  1 -    1335.385       2.375    1333.948    1341.081 - (ms)
  8.0 -   4096  1 -   10664.940       3.005   10660.174   10668.427 - (ms)
 16.0 -   8192  1 -   84155.484     929.892   83539.909   85956.155 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      18.255       0.003      18.251      18.262 - (ms)
  1.0 -    512  1 -     129.667       0.012     129.656     129.687 - (ms)
  2.0 -   1024  1 -     960.029       1.060     958.305     961.141 - (ms)
  4.0 -   2048  1 -    7616.943       0.287    7616.521    7617.516 - (ms)
  8.0 -   4096  1 -   60022.046      35.254   59999.820   60107.422 - (ms)
 16.0 -   8192  1 -  503684.474      70.782  503588.387  503792.327 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       6.343 |      18.255 |          2.878  0.459
    512 |      24.140 |     129.667 |          5.371  0.730
   1024 |     134.556 |     960.029 |          7.135  0.853
   2048 |    1335.385 |    7616.943 |          5.704  0.756
   4096 |   10664.940 |   60022.046 |          5.628  0.750
   8192 |   84155.484 |  503684.474 |          5.985  0.777

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

* Elapsed time : 5427.6 s

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

=> Elapsed time : 5428 secs
   Begin        : 16:54:43
   End          : 18:25:11