Morphological Image Library : Smil vs scikit-image

On taurus

Image gruyere - 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 12:07:16 PM
Image    : gruyere.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : thinning
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 5 0.225
  1.0 -    256  1 -      34.555       0.421      34.360      35.586 - (ms)
   ===> lnb 5 0.483
  2.0 -    512  1 -      97.824       0.129      97.641      98.052 - (ms)
   ===> lnb 1 0.448
  4.0 -   1024  1 -     443.478       1.880     441.327     445.804 - (ms)
   ===> lnb 1 3.003
  8.0 -   2048  1 -    2992.188       7.051    2982.687    3000.773 - (ms)
   ===> lnb 1 21.776
 16.0 -   4096  1 -   21868.068     165.954   21484.290   21993.971 - (ms)
   ===> lnb 1 186.356
 32.0 -   8192  1 -  191152.979    1405.470  187888.984  192255.612 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 5 0.296
  1.0 -    256  1 -      59.208       0.037      59.137      59.267 - (ms)
   ===> lnb 1 0.441
  2.0 -    512  1 -     440.090       0.845     439.456     442.129 - (ms)
   ===> lnb 1 3.458
  4.0 -   1024  1 -    3438.469       6.017    3432.867    3448.446 - (ms)
   ===> lnb 1 29.452
  8.0 -   2048  1 -   29448.874       5.219   29441.244   29456.980 - (ms)
   ===> lnb 1 237.298
 16.0 -   4096  1 -  237439.188     272.926  237240.368  237969.882 - (ms)
   ===> lnb 1 1963.976
 32.0 -   8192  1 - 1963959.989     836.672 1962906.473 1965097.595 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      34.555 |      59.208 |          1.713  0.234
    512 |      97.824 |     440.090 |          4.499  0.653
   1024 |     443.478 |    3438.469 |          7.753  0.889
   2048 |    2992.188 |   29448.874 |          9.842  0.993
   4096 |   21868.068 |  237439.188 |         10.858  1.036
   8192 |  191152.979 | 1963959.989 |         10.274  1.012

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

* Elapsed time : 19614.2 s

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

=> Elapsed time : 19616 secs
   Begin        : 12:07:15
   End          : 17:34:11