Morphological Image Library : Smil vs scikit-image

On nestor

Image coffee - 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 04:59:59 AM
Image    : coffee.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : thinning
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      18.159       3.546      15.276      23.909 - (ms)
  2.0 -    512  1 -      62.067       0.031      62.013      62.100 - (ms)
  4.0 -   1024  1 -     407.070       0.479     406.548     407.795 - (ms)
  8.0 -   2048  1 -    4152.262       2.475    4149.297    4155.523 - (ms)
 16.0 -   4096  1 -   33774.851     630.234   33482.073   35317.849 - (ms)
 32.0 -   8192  1 -  264212.070     712.151  262624.519  265179.251 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      48.542       0.009      48.536      48.563 - (ms)
  2.0 -    512  1 -     365.457       0.282     365.307     366.143 - (ms)
  4.0 -   1024  1 -    2857.591       0.961    2856.205    2859.524 - (ms)
  8.0 -   2048  1 -   22890.958       1.381   22889.203   22893.690 - (ms)
 16.0 -   4096  1 -  181666.510      71.789  181534.183  181767.155 - (ms)
 32.0 -   8192  1 - 1529233.141     984.332 1528514.607 1531607.265 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      18.159 |      48.542 |          2.673  0.427
    512 |      62.067 |     365.457 |          5.888  0.770
   1024 |     407.070 |    2857.591 |          7.020  0.846
   2048 |    4152.262 |   22890.958 |          5.513  0.741
   4096 |   33774.851 |  181666.510 |          5.379  0.731
   8192 |  264212.070 | 1529233.141 |          5.788  0.763

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

* Elapsed time : 16381.7 s

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

=> Elapsed time : 16383 secs
   Begin        : 04:59:58
   End          : 09:33:01