Morphological Image Library : Smil vs scikit-image

On taurus

Image coffee - 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     : 03/08/2021 03:40:20 AM
Image    : coffee.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : thinning
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 10 0.364
  1.0 -    256  1 -      27.233       0.214      27.088      27.745 - (ms)
   ===> lnb 5 0.382
  2.0 -    512  1 -      75.963       0.414      75.387      76.671 - (ms)
   ===> lnb 1 0.345
  4.0 -   1024  1 -     347.816       2.572     344.848     353.567 - (ms)
   ===> lnb 1 2.411
  8.0 -   2048  1 -    2409.010       1.675    2407.122    2412.354 - (ms)
   ===> lnb 1 17.205
 16.0 -   4096  1 -   17283.264     175.106   17086.446   17544.471 - (ms)
   ===> lnb 1 148.198
 32.0 -   8192  1 -  151064.168    1485.511  148732.703  153256.638 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 5 0.235
  1.0 -    256  1 -      47.080       0.040      47.046      47.173 - (ms)
   ===> lnb 1 0.356
  2.0 -    512  1 -     354.362       0.195     354.134     354.651 - (ms)
   ===> lnb 1 2.744
  4.0 -   1024  1 -    2727.516       6.018    2721.366    2735.789 - (ms)
   ===> lnb 1 23.465
  8.0 -   2048  1 -   23448.500       1.882   23444.329   23450.296 - (ms)
   ===> lnb 1 188.681
 16.0 -   4096  1 -  188647.241     213.694  188511.742  189166.601 - (ms)
   ===> lnb 1 1560.679
 32.0 -   8192  1 - 1561385.867     833.050 1559740.204 1562684.925 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      27.233 |      47.080 |          1.729  0.238
    512 |      75.963 |     354.362 |          4.665  0.669
   1024 |     347.816 |    2727.516 |          7.842  0.894
   2048 |    2409.010 |   23448.500 |          9.734  0.988
   4096 |   17283.264 |  188647.241 |         10.915  1.038
   8192 |  151064.168 | 1561385.867 |         10.336  1.014

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

* Elapsed time : 15587.0 s

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

=> Elapsed time : 15587 secs
   Begin        : 03:40:20
   End          : 08:00:07