Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_bin - Type bin - Function label


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     : 01/09/2021 06:21:30 PM
Image    : bubbles_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : label
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.487       0.002       1.486       1.492 - (ms)
  1.0 -    512  1 -       5.284       0.005       5.279       5.294 - (ms)
  2.0 -   1024  1 -      19.072       0.054      19.011      19.182 - (ms)
  4.0 -   2048  1 -      73.341       0.037      73.296      73.406 - (ms)
  8.0 -   4096  1 -     270.411       0.367     270.206     271.301 - (ms)
 16.0 -   8192  1 -     990.451      14.053     981.600    1022.434 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.593       0.003       0.591       0.601 - (ms)
  1.0 -    512  1 -       1.909       0.003       1.905       1.914 - (ms)
  2.0 -   1024  1 -       9.709       0.019       9.697       9.755 - (ms)
  4.0 -   2048  1 -      50.424       0.011      50.406      50.439 - (ms)
  8.0 -   4096  1 -     196.449       1.330     195.786     199.701 - (ms)
 16.0 -   8192  1 -     781.287       0.474     780.583     781.919 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.487 |       0.593 |          0.399 -0.399
    512 |       5.284 |       1.909 |          0.361 -0.442
   1024 |      19.072 |       9.709 |          0.509 -0.293
   2048 |      73.341 |      50.424 |          0.688 -0.163
   4096 |     270.411 |     196.449 |          0.726 -0.139
   8192 |     990.451 |     781.287 |          0.789 -0.103

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

* Elapsed time : 105.7 s

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

=> Elapsed time : 107 secs
   Begin        : 18:21:29
   End          : 18:23:16