Morphological Image Library : Smil vs scikit-image

On nestor

Image cells - 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:37:52 PM
Image    : cells.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 -       1.124       0.010       1.109       1.135 - (ms)
  2.0 -    512  1 -       4.051       0.149       3.696       4.162 - (ms)
  4.0 -   1024  1 -      13.359       0.619      12.605      14.202 - (ms)
  8.0 -   2048  1 -      50.434       0.424      49.922      51.250 - (ms)
 16.0 -   4096  1 -     181.450       0.878     180.164     182.845 - (ms)
 32.0 -   8192  1 -     717.988       0.123     717.858     718.177 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.357       0.000       0.356       0.357 - (ms)
  2.0 -    512  1 -       1.426       0.003       1.423       1.431 - (ms)
  4.0 -   1024  1 -       7.586       0.009       7.581       7.607 - (ms)
  8.0 -   2048  1 -      34.469       0.011      34.450      34.482 - (ms)
 16.0 -   4096  1 -     134.204       0.037     134.154     134.255 - (ms)
 32.0 -   8192  1 -     530.691       0.445     530.347     531.745 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.124 |       0.357 |          0.317 -0.499
    512 |       4.051 |       1.426 |          0.352 -0.453
   1024 |      13.359 |       7.586 |          0.568 -0.246
   2048 |      50.434 |      34.469 |          0.683 -0.165
   4096 |     181.450 |     134.204 |          0.740 -0.131
   8192 |     717.988 |     530.691 |          0.739 -0.131

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

* Elapsed time : 96.9 s

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

=> Elapsed time : 97 secs
   Begin        : 12:37:52
   End          : 12:39:29