Morphological Image Library : Smil vs scikit-image

On taurus

Image balls - 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 07:10:39 AM
Image    : balls.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.293
  1.0 -    256  1 -      57.481       0.617      57.009      58.966 - (ms)
   ===> lnb 2 0.335
  2.0 -    512  1 -     163.940       0.491     163.015     164.595 - (ms)
   ===> lnb 1 0.737
  4.0 -   1024  1 -     725.364       4.521     718.643     731.710 - (ms)
   ===> lnb 1 5.138
  8.0 -   2048  1 -    5127.819      12.385    5114.817    5152.697 - (ms)
   ===> lnb 1 37.281
 16.0 -   4096  1 -   37352.156      33.721   37300.966   37419.594 - (ms)
   ===> lnb 1 323.124
 32.0 -   8192  1 -  327207.248    1447.989  324114.623  328918.979 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
   ===> lnb 5 0.446
  1.0 -    256  1 -      89.191       0.030      89.127      89.225 - (ms)
   ===> lnb 1 0.690
  2.0 -    512  1 -     688.465       0.690     687.632     689.985 - (ms)
   ===> lnb 1 5.508
  4.0 -   1024  1 -    5578.020     194.838    5440.156    5894.072 - (ms)
   ===> lnb 1 48.054
  8.0 -   2048  1 -   48219.363     196.338   48056.282   48577.723 - (ms)
   ===> lnb 1 386.120
 16.0 -   4096  1 -  386422.126     631.311  385719.581  387497.143 - (ms)
   ===> lnb 1 3211.585
 32.0 -   8192  1 - 3208754.335    1849.165 3206259.910 3211036.240 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      57.481 |      89.191 |          1.552  0.191
    512 |     163.940 |     688.465 |          4.199  0.623
   1024 |     725.364 |    5578.020 |          7.690  0.886
   2048 |    5127.819 |   48219.363 |          9.403  0.973
   4096 |   37352.156 |  386422.126 |         10.345  1.015
   8192 |  327207.248 | 3208754.335 |          9.806  0.992

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

* Elapsed time : 32169.3 s

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

=> Elapsed time : 32170 secs
   Begin        : 07:10:39
   End          : 16:06:49