Morphological Image Library : Smil vs scikit-image

On taurus

Image metal - 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 07:00:00 PM
Image    : metal.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.266
  1.0 -    256  1 -      24.613       0.281      24.406      25.065 - (ms)
   ===> lnb 5 0.344
  2.0 -    512  1 -      69.170       0.268      68.741      69.385 - (ms)
   ===> lnb 1 0.322
  4.0 -   1024  1 -     297.960       1.252     296.512     300.490 - (ms)
   ===> lnb 1 2.140
  8.0 -   2048  1 -    2138.097       4.626    2129.783    2145.224 - (ms)
   ===> lnb 1 15.520
 16.0 -   4096  1 -   15594.976     104.278   15469.082   15712.999 - (ms)
   ===> lnb 1 130.339
 32.0 -   8192  1 -  132614.174    1607.444  130521.715  134037.412 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 5 0.232
  1.0 -    256  1 -      46.439       0.045      46.377      46.516 - (ms)
   ===> lnb 1 0.353
  2.0 -    512  1 -     351.486       0.241     351.161     351.777 - (ms)
   ===> lnb 1 2.800
  4.0 -   1024  1 -    2798.630       4.777    2792.125    2805.143 - (ms)
   ===> lnb 1 24.428
  8.0 -   2048  1 -   24428.097       1.372   24425.073   24429.813 - (ms)
   ===> lnb 1 195.977
 16.0 -   4096  1 -  196151.261     440.055  195890.990  197225.231 - (ms)
   ===> lnb 1 1624.462
 32.0 -   8192  1 - 1625018.104     892.066 1623832.294 1626373.204 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      24.613 |      46.439 |          1.887  0.276
    512 |      69.170 |     351.486 |          5.081  0.706
   1024 |     297.960 |    2798.630 |          9.393  0.973
   2048 |    2138.097 |   24428.097 |         11.425  1.058
   4096 |   15594.976 |  196151.261 |         12.578  1.100
   8192 |  132614.174 | 1625018.104 |         12.254  1.088

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

* Elapsed time : 16000.7 s

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

=> Elapsed time : 16002 secs
   Begin        : 18:59:59
   End          : 23:26:41