Morphological Image Library : Smil vs scikit-image

On taurus

Image tools - Type gray - Function areaOpen


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     : 04/08/2021 01:47:38 AM
Image    : tools.png
  width  :   256
  height :   256
  depth  :     1
  type   : gray
Function : areaOpen
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      35.348       0.103      35.236      35.503 - (ms)
  2.0 -    512  1 -      48.121       0.129      48.025      48.429 - (ms)
  4.0 -   1024  1 -     101.952       0.302     101.742     102.680 - (ms)
  8.0 -   2048  1 -     322.248       2.113     320.295     327.278 - (ms)
 16.0 -   4096  1 -    1294.988      15.565    1282.191    1320.379 - (ms)
 32.0 -   8192  1 -    5530.225      73.349    5456.024    5688.655 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      69.261       0.225      69.043      69.546 - (ms)
  2.0 -    512  1 -     292.080       0.480     291.754     293.215 - (ms)
  4.0 -   1024  1 -    1267.362       1.019    1266.068    1269.126 - (ms)
  8.0 -   2048  1 -    7426.580      19.216    7401.448    7461.545 - (ms)
 16.0 -   4096  1 -   41855.539     480.090   41474.725   43004.707 - (ms)
 32.0 -   8192  1 -  302727.477     565.815  302095.158  303699.477 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      35.348 |      69.261 |          1.959  0.292
    512 |      48.121 |     292.080 |          6.070  0.783
   1024 |     101.952 |    1267.362 |         12.431  1.095
   2048 |     322.248 |    7426.580 |         23.046  1.363
   4096 |    1294.988 |   41855.539 |         32.321  1.509
   8192 |    5530.225 |  302727.477 |         54.741  1.738

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

* Elapsed time : 2932.2 s

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

=> Elapsed time : 2933 secs
   Begin        : 01:47:38
   End          : 02:36:31