Morphological Image Library : Smil vs scikit-image

On taurus

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     : 02/08/2021 04:06:50 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
-------------------------------------------------------------------
   ===> lnb 20 0.228
  0.5 -    256  1 -      11.351       0.112      11.274      11.618 - (ms)
   ===> lnb 10 0.257
  1.0 -    512  1 -      25.629       0.085      25.538      25.766 - (ms)
   ===> lnb 2 0.228
  2.0 -   1024  1 -     113.652       0.356     113.139     114.089 - (ms)
   ===> lnb 1 0.792
  4.0 -   2048  1 -     777.936       0.585     777.245     779.062 - (ms)
   ===> lnb 1 5.563
  8.0 -   4096  1 -    5606.733      44.023    5544.711    5680.711 - (ms)
   ===> lnb 1 47.369
 16.0 -   8192  1 -   47802.987     453.103   47356.125   48345.354 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 10 0.203
  0.5 -    256  1 -      20.283       0.006      20.274      20.294 - (ms)
   ===> lnb 2 0.253
  1.0 -    512  1 -     126.754       0.205     126.598     127.219 - (ms)
   ===> lnb 1 0.941
  2.0 -   1024  1 -     933.852       0.849     932.681     935.225 - (ms)
   ===> lnb 1 7.819
  4.0 -   2048  1 -    7821.915       2.073    7819.323    7825.007 - (ms)
   ===> lnb 1 62.436
  8.0 -   4096  1 -   62586.834     352.671   62345.232   63397.761 - (ms)
   ===> lnb 1 513.461
 16.0 -   8192  1 -  514235.990     776.504  513457.630  515329.439 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      11.351 |      20.283 |          1.787  0.252
    512 |      25.629 |     126.754 |          4.946  0.694
   1024 |     113.652 |     933.852 |          8.217  0.915
   2048 |     777.936 |    7821.915 |         10.055  1.002
   4096 |    5606.733 |   62586.834 |         11.163  1.048
   8192 |   47802.987 |  514235.990 |         10.757  1.032

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

* Elapsed time : 5128.3 s

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

=> Elapsed time : 5129 secs
   Begin        : 16:06:49
   End          : 17:32:18