Morphological Image Library : Smil vs scikit-image

On nestor

Image alumine - 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     : 27/07/2021 11:44:30 PM
Image    : alumine.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 -      25.908       0.033      25.854      25.944 - (ms)
  2.0 -    512  1 -     109.561       0.160     109.348     109.844 - (ms)
  4.0 -   1024  1 -     871.878     162.646     721.429    1174.302 - (ms)
  8.0 -   2048  1 -    7206.587      14.373    7195.439    7231.540 - (ms)
 16.0 -   4096  1 -   59110.812     895.489   58455.562   61081.738 - (ms)
 32.0 -   8192  1 -  469787.142     849.999  468323.553  470702.617 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      79.130       0.014      79.116      79.160 - (ms)
  2.0 -    512  1 -     599.938       0.025     599.900     599.986 - (ms)
  4.0 -   1024  1 -    4775.751       0.519    4775.322    4776.907 - (ms)
  8.0 -   2048  1 -   38840.593      33.654   38823.356   38922.164 - (ms)
 16.0 -   4096  1 -  309773.049      57.501  309701.600  309881.863 - (ms)
 32.0 -   8192  1 - 2613385.149    1432.567 2611885.846 2615626.084 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      25.908 |      79.130 |          3.054  0.485
    512 |     109.561 |     599.938 |          5.476  0.738
   1024 |     871.878 |    4775.751 |          5.478  0.739
   2048 |    7206.587 |   38840.593 |          5.390  0.732
   4096 |   59110.812 |  309773.049 |          5.241  0.719
   8192 |  469787.142 | 2613385.149 |          5.563  0.745

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

* Elapsed time : 28093.8 s

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

=> Elapsed time : 28094 secs
   Begin        : 23:44:30
   End          : 07:32:44