Morphological Image Library : Smil vs scikit-image

On taurus

Image lena - 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:01:02 AM
Image    : lena.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 -      36.824       0.089      36.733      36.994 - (ms)
  2.0 -    512  1 -      51.236       0.042      51.179      51.327 - (ms)
  4.0 -   1024  1 -     111.853       0.392     111.608     112.790 - (ms)
  8.0 -   2048  1 -     365.630       2.231     362.690     370.568 - (ms)
 16.0 -   4096  1 -    1489.982      17.760    1469.171    1531.007 - (ms)
 32.0 -   8192  1 -    6732.390      49.178    6670.020    6809.026 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      79.380       0.942      78.466      80.497 - (ms)
  2.0 -    512  1 -     348.218       0.173     348.112     348.634 - (ms)
  4.0 -   1024  1 -    1505.332       1.242    1502.790    1506.882 - (ms)
  8.0 -   2048  1 -    8994.020      34.539    8945.959    9070.048 - (ms)
 16.0 -   4096  1 -   46425.980     127.465   46288.622   46596.405 - (ms)
 32.0 -   8192  1 -  277873.364    1976.743  274281.823  279823.165 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      36.824 |      79.380 |          2.156  0.334
    512 |      51.236 |     348.218 |          6.796  0.832
   1024 |     111.853 |    1505.332 |         13.458  1.129
   2048 |     365.630 |    8994.020 |         24.599  1.391
   4096 |    1489.982 |   46425.980 |         31.159  1.494
   8192 |    6732.390 |  277873.364 |         41.274  1.616

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

* Elapsed time : 2795.2 s

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

=> Elapsed time : 2797 secs
   Begin        : 01:01:01
   End          : 01:47:38