Morphological Image Library : Smil vs scikit-image

On taurus

Image coffee - Type bin - Function fastLabel


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     : 25/08/2021 12:40:09 PM
Image    : coffee.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : fastLabel
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.376       0.015       2.357       2.396 - (ms)
  2.0 -    512  1 -       6.320       0.020       6.309       6.370 - (ms)
  4.0 -   1024  1 -      20.523       0.554      20.118      21.762 - (ms)
  8.0 -   2048  1 -      71.467       0.992      70.931      73.796 - (ms)
 16.0 -   4096  1 -     244.171       2.373     241.697     249.031 - (ms)
 32.0 -   8192  1 -     792.464      16.582     780.244     832.080 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.516       0.002       0.515       0.520 - (ms)
  2.0 -    512  1 -       2.255       0.002       2.252       2.257 - (ms)
  4.0 -   1024  1 -      11.085       0.009      11.074      11.103 - (ms)
  8.0 -   2048  1 -      55.032       0.199      54.908      55.515 - (ms)
 16.0 -   4096  1 -     219.220       0.061     219.109     219.280 - (ms)
 32.0 -   8192  1 -     873.406       0.354     872.697     873.783 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.376 |       0.516 |          0.217 -0.663
    512 |       6.320 |       2.255 |          0.357 -0.448
   1024 |      20.523 |      11.085 |          0.540 -0.268
   2048 |      71.467 |      55.032 |          0.770 -0.113
   4096 |     244.171 |     219.220 |          0.898 -0.047
   8192 |     792.464 |     873.406 |          1.102  0.042

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

* Elapsed time : 103.4 s

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

=> Elapsed time : 104 secs
   Begin        : 12:40:08
   End          : 12:41:52