Morphological Image Library : Smil vs scikit-image

On taurus

Image alumine - 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     : 01/08/2021 11:45:28 PM
Image    : alumine.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.324
  1.0 -    256  1 -      49.239       4.601      47.026      60.418 - (ms)
   ===> lnb 2 0.270
  2.0 -    512  1 -     135.925       1.013     134.893     137.873 - (ms)
   ===> lnb 1 0.607
  4.0 -   1024  1 -     609.511       2.112     605.425     612.088 - (ms)
   ===> lnb 1 4.170
  8.0 -   2048  1 -    4197.246      13.786    4178.525    4217.848 - (ms)
   ===> lnb 1 30.179
 16.0 -   4096  1 -   30289.138     139.623   30060.617   30429.323 - (ms)
   ===> lnb 1 258.668
 32.0 -   8192  1 -  264939.933    1939.662  260503.142  266693.451 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 5 0.384
  1.0 -    256  1 -      76.670       0.058      76.606      76.760 - (ms)
   ===> lnb 1 0.584
  2.0 -    512  1 -     583.165       0.344     582.871     583.952 - (ms)
   ===> lnb 1 4.602
  4.0 -   1024  1 -    4581.983       5.431    4573.259    4591.699 - (ms)
   ===> lnb 1 39.952
  8.0 -   2048  1 -   39863.753      55.816   39811.963   39946.650 - (ms)
   ===> lnb 1 322.181
 16.0 -   4096  1 -  321866.044     390.398  321677.235  322820.199 - (ms)
   ===> lnb 1 2672.246
 32.0 -   8192  1 - 2671384.300    1236.882 2669648.583 2672728.542 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      49.239 |      76.670 |          1.557  0.192
    512 |     135.925 |     583.165 |          4.290  0.632
   1024 |     609.511 |    4581.983 |          7.517  0.876
   2048 |    4197.246 |   39863.753 |          9.498  0.978
   4096 |   30289.138 |  321866.044 |         10.626  1.026
   8192 |  264939.933 | 2671384.300 |         10.083  1.004

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

* Elapsed time : 26710.6 s

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

=> Elapsed time : 26712 secs
   Begin        : 23:45:27
   End          : 07:10:39