Morphological Image Library : Smil vs scikit-image

On taurus

Image alumine - 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:33:18 PM
Image    : alumine.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.459       0.014       2.442       2.484 - (ms)
  2.0 -    512  1 -       6.553       0.029       6.525       6.614 - (ms)
  4.0 -   1024  1 -      20.541       0.037      20.511      20.617 - (ms)
  8.0 -   2048  1 -      78.043       0.344      77.885      78.884 - (ms)
 16.0 -   4096  1 -     245.378       1.108     244.683     248.004 - (ms)
 32.0 -   8192  1 -     797.948       5.826     791.200     808.843 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.659       0.002       0.658       0.664 - (ms)
  2.0 -    512  1 -       2.928       0.001       2.925       2.930 - (ms)
  4.0 -   1024  1 -      13.449       0.003      13.443      13.454 - (ms)
  8.0 -   2048  1 -      68.331       0.024      68.300      68.374 - (ms)
 16.0 -   4096  1 -     257.524       0.098     257.337     257.628 - (ms)
 32.0 -   8192  1 -    1028.258       0.626    1027.272    1029.243 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.459 |       0.659 |          0.268 -0.572
    512 |       6.553 |       2.928 |          0.447 -0.350
   1024 |      20.541 |      13.449 |          0.655 -0.184
   2048 |      78.043 |      68.331 |          0.876 -0.058
   4096 |     245.378 |     257.524 |          1.050  0.021
   8192 |     797.948 |    1028.258 |          1.289  0.110

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

* Elapsed time : 97.8 s

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

=> Elapsed time : 99 secs
   Begin        : 12:33:17
   End          : 12:34:56