Morphological Image Library : Smil vs scikit-image

On nestor

Image hubble_EDF_bin - 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     : 29/07/2021 07:37:26 PM
Image    : hubble_EDF_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : thinning
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       5.407       0.002       5.404       5.409 - (ms)
  1.0 -    512  1 -      23.395       0.013      23.373      23.416 - (ms)
  2.0 -   1024  1 -     134.022       0.082     133.910     134.148 - (ms)
  4.0 -   2048  1 -    1329.571       4.147    1321.335    1333.472 - (ms)
  8.0 -   4096  1 -   10637.159       1.981   10634.519   10640.738 - (ms)
 16.0 -   8192  1 -   85243.593     779.196   84707.652   86507.007 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      17.747       0.011      17.729      17.760 - (ms)
  1.0 -    512  1 -     127.372       0.105     127.243     127.513 - (ms)
  2.0 -   1024  1 -     949.108       0.395     948.768     950.028 - (ms)
  4.0 -   2048  1 -    7571.787       4.512    7569.433    7582.822 - (ms)
  8.0 -   4096  1 -   59905.064      54.180   59863.869   60017.319 - (ms)
 16.0 -   8192  1 -  503572.524     676.733  502938.217  504896.812 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       5.407 |      17.747 |          3.282  0.516
    512 |      23.395 |     127.372 |          5.444  0.736
   1024 |     134.022 |     949.108 |          7.082  0.850
   2048 |    1329.571 |    7571.787 |          5.695  0.755
   4096 |   10637.159 |   59905.064 |          5.632  0.751
   8192 |   85243.593 |  503572.524 |          5.907  0.771

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

* Elapsed time : 5432.8 s

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

=> Elapsed time : 5433 secs
   Begin        : 19:37:26
   End          : 21:07:59