Morphological Image Library : Smil vs scikit-image

On taurus

Image eutectic - 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:26:37 PM
Image    : eutectic.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : label
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.173       0.004       2.170       2.182 - (ms)
  2.0 -    512  1 -       8.271       0.003       8.267       8.276 - (ms)
  4.0 -   1024  1 -      30.659       0.012      30.637      30.681 - (ms)
  8.0 -   2048  1 -     120.085       0.126     119.962     120.371 - (ms)
 16.0 -   4096  1 -     447.145       0.509     446.583     447.946 - (ms)
 32.0 -   8192  1 -    1794.317      59.593    1736.608    1886.521 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.572       0.001       0.572       0.573 - (ms)
  2.0 -    512  1 -       2.515       0.001       2.514       2.516 - (ms)
  4.0 -   1024  1 -      12.040       0.025      12.011      12.084 - (ms)
  8.0 -   2048  1 -      58.509       0.290      58.302      58.983 - (ms)
 16.0 -   4096  1 -     235.448       0.187     235.264     235.817 - (ms)
 32.0 -   8192  1 -     941.347      11.285     935.981     968.945 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.173 |       0.572 |          0.263 -0.580
    512 |       8.271 |       2.515 |          0.304 -0.517
   1024 |      30.659 |      12.040 |          0.393 -0.406
   2048 |     120.085 |      58.509 |          0.487 -0.312
   4096 |     447.145 |     235.448 |          0.527 -0.279
   8192 |    1794.317 |     941.347 |          0.525 -0.280

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

* Elapsed time : 108.4 s

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

=> Elapsed time : 110 secs
   Begin        : 18:26:36
   End          : 18:28:26