Morphological Image Library : Smil vs scikit-image

On taurus

Image balls - 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:34:57 PM
Image    : balls.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.958       0.007       1.950       1.972 - (ms)
  2.0 -    512  1 -       5.374       0.021       5.355       5.416 - (ms)
  4.0 -   1024  1 -      18.043       0.077      17.994      18.203 - (ms)
  8.0 -   2048  1 -      66.663       1.067      66.190      69.272 - (ms)
 16.0 -   4096  1 -     235.097       0.365     234.902     235.987 - (ms)
 32.0 -   8192  1 -     771.769       8.313     763.734     790.049 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.425       0.000       0.425       0.425 - (ms)
  2.0 -    512  1 -       1.908       0.003       1.901       1.910 - (ms)
  4.0 -   1024  1 -       9.696       0.004       9.690       9.702 - (ms)
  8.0 -   2048  1 -      52.044       0.012      52.022      52.061 - (ms)
 16.0 -   4096  1 -     202.544       0.179     202.362     202.931 - (ms)
 32.0 -   8192  1 -     807.711       0.300     807.385     808.193 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.958 |       0.425 |          0.217 -0.663
    512 |       5.374 |       1.908 |          0.355 -0.450
   1024 |      18.043 |       9.696 |          0.537 -0.270
   2048 |      66.663 |      52.044 |          0.781 -0.108
   4096 |     235.097 |     202.544 |          0.862 -0.065
   8192 |     771.769 |     807.711 |          1.047  0.020

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

* Elapsed time : 102.1 s

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

=> Elapsed time : 103 secs
   Begin        : 12:34:56
   End          : 12:36:39