Morphological Image Library : Smil vs scikit-image

On taurus

Image cells - 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     : 02/08/2021 05:32:19 PM
Image    : cells.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.339
  1.0 -    256  1 -      59.357       0.681      58.920      60.999 - (ms)
   ===> lnb 2 0.345
  2.0 -    512  1 -     171.457       1.044     169.856     173.271 - (ms)
   ===> lnb 1 0.767
  4.0 -   1024  1 -     766.304       2.234     764.251     770.967 - (ms)
   ===> lnb 1 5.406
  8.0 -   2048  1 -    5398.964      15.494    5387.026    5434.978 - (ms)
   ===> lnb 1 39.110
 16.0 -   4096  1 -   39058.413     104.840   38901.963   39154.025 - (ms)
   ===> lnb 1 337.814
 32.0 -   8192  1 -  340721.118    1426.007  337291.970  341819.856 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 2 0.202
  1.0 -    256  1 -     100.989       0.063     100.909     101.108 - (ms)
   ===> lnb 1 0.782
  2.0 -    512  1 -     781.920       0.275     781.638     782.426 - (ms)
   ===> lnb 1 6.260
  4.0 -   1024  1 -    6230.092       6.543    6222.827    6244.325 - (ms)
   ===> lnb 1 54.585
  8.0 -   2048  1 -   54491.759      10.229   54470.649   54506.906 - (ms)
   ===> lnb 1 442.917
 16.0 -   4096  1 -  442213.751     434.271  441925.702  443261.402 - (ms)
   ===> lnb 1 3669.903
 32.0 -   8192  1 - 3669502.206    1763.962 3667313.112 3672497.923 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      59.357 |     100.989 |          1.701  0.231
    512 |     171.457 |     781.920 |          4.560  0.659
   1024 |     766.304 |    6230.092 |          8.130  0.910
   2048 |    5398.964 |   54491.759 |         10.093  1.004
   4096 |   39058.413 |  442213.751 |         11.322  1.054
   8192 |  340721.118 | 3669502.206 |         10.770  1.032

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

* Elapsed time : 36480.3 s

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

=> Elapsed time : 36482 secs
   Begin        : 17:32:18
   End          : 03:40:20