Morphological Image Library : Smil vs scikit-image

On taurus

Image eutectic - 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 08:00:08 AM
Image    : eutectic.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.316
  1.0 -    256  1 -      31.592       0.302      31.378      32.325 - (ms)
   ===> lnb 5 0.432
  2.0 -    512  1 -      86.613       0.268      86.255      87.072 - (ms)
   ===> lnb 1 0.376
  4.0 -   1024  1 -     373.908       1.890     372.137     378.078 - (ms)
   ===> lnb 1 2.648
  8.0 -   2048  1 -    2653.012       3.617    2647.393    2658.293 - (ms)
   ===> lnb 1 19.161
 16.0 -   4096  1 -   19138.348      43.173   19086.680   19191.439 - (ms)
   ===> lnb 1 164.568
 32.0 -   8192  1 -  166953.807     697.727  165321.331  167545.658 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 5 0.211
  1.0 -    256  1 -      42.186       0.017      42.150      42.211 - (ms)
   ===> lnb 1 0.327
  2.0 -    512  1 -     326.218       0.230     325.829     326.514 - (ms)
   ===> lnb 1 2.517
  4.0 -   1024  1 -    2508.917       3.171    2504.063    2512.459 - (ms)
   ===> lnb 1 21.851
  8.0 -   2048  1 -   21932.532     147.852   21841.191   22267.756 - (ms)
   ===> lnb 1 176.716
 16.0 -   4096  1 -  176135.883     511.719  175523.314  177202.730 - (ms)
   ===> lnb 1 1463.360
 32.0 -   8192  1 - 1462217.421    1133.538 1460590.156 1463927.387 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      31.592 |      42.186 |          1.335  0.126
    512 |      86.613 |     326.218 |          3.766  0.576
   1024 |     373.908 |    2508.917 |          6.710  0.827
   2048 |    2653.012 |   21932.532 |          8.267  0.917
   4096 |   19138.348 |  176135.883 |          9.203  0.964
   8192 |  166953.807 | 1462217.421 |          8.758  0.942

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

* Elapsed time : 14826.9 s

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

=> Elapsed time : 14828 secs
   Begin        : 08:00:07
   End          : 12:07:15