Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_bin - Type bin - Function areaThreshold


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     : 05/08/2021 10:09:11 AM
Image    : bubbles_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : areaThreshold
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       3.080       0.012       3.071       3.108 - (ms)
  1.0 -    512  1 -       9.046       0.007       9.036       9.059 - (ms)
  2.0 -   1024  1 -      31.383       0.054      31.325      31.475 - (ms)
  4.0 -   2048  1 -     118.933       0.015     118.917     118.956 - (ms)
  8.0 -   4096  1 -     451.825      11.247     446.493     479.269 - (ms)
 16.0 -   8192  1 -    1680.806       4.756    1674.929    1687.502 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.124       0.001       1.122       1.125 - (ms)
  1.0 -    512  1 -       3.930       0.006       3.925       3.942 - (ms)
  2.0 -   1024  1 -      17.667       0.031      17.647      17.742 - (ms)
  4.0 -   2048  1 -      92.498       0.463      92.158      93.320 - (ms)
  8.0 -   4096  1 -     375.791       0.630     374.894     377.006 - (ms)
 16.0 -   8192  1 -    1508.165       4.116    1503.362    1513.461 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       3.080 |       1.124 |          0.365 -0.438
    512 |       9.046 |       3.930 |          0.434 -0.362
   1024 |      31.383 |      17.667 |          0.563 -0.250
   2048 |     118.933 |      92.498 |          0.778 -0.109
   4096 |     451.825 |     375.791 |          0.832 -0.080
   8192 |    1680.806 |    1508.165 |          0.897 -0.047

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

* Elapsed time : 106.6 s

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

=> Elapsed time : 108 secs
   Begin        : 10:09:10
   End          : 10:10:58