Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_bin - 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:36:41 PM
Image    : bubbles_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : fastLabel
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       3.108       0.029       3.079       3.163 - (ms)
  1.0 -    512  1 -       8.361       0.019       8.338       8.390 - (ms)
  2.0 -   1024  1 -      25.062       0.086      24.991      25.198 - (ms)
  4.0 -   2048  1 -      86.870       1.880      84.513      90.639 - (ms)
  8.0 -   4096  1 -     283.115       3.977     273.672     285.997 - (ms)
 16.0 -   8192  1 -     829.683       6.747     825.936     846.072 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.601       0.000       0.601       0.601 - (ms)
  1.0 -    512  1 -       1.790       0.001       1.788       1.791 - (ms)
  2.0 -   1024  1 -       9.461       0.004       9.456       9.467 - (ms)
  4.0 -   2048  1 -      49.967       0.016      49.944      49.997 - (ms)
  8.0 -   4096  1 -     194.401       0.156     194.174     194.607 - (ms)
 16.0 -   8192  1 -     773.960       0.093     773.863     774.106 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       3.108 |       0.601 |          0.193 -0.713
    512 |       8.361 |       1.790 |          0.214 -0.670
   1024 |      25.062 |       9.461 |          0.378 -0.423
   2048 |      86.870 |      49.967 |          0.575 -0.240
   4096 |     283.115 |     194.401 |          0.687 -0.163
   8192 |     829.683 |     773.960 |          0.933 -0.030

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

* Elapsed time : 104.0 s

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

=> Elapsed time : 105 secs
   Begin        : 12:36:40
   End          : 12:38:25