Morphological Image Library : Smil vs scikit-image

On nestor

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     : 27/07/2021 10:38:15 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 -      20.000       0.002      19.997      20.004 - (ms)
 2.0 -    512  1 -      32.132       0.005      32.126      32.141 - (ms)
 4.0 -   1024  1 -      83.237       0.017      83.208      83.260 - (ms)
 8.0 -   2048  1 -     304.878       0.274     304.216     305.048 - (ms)
16.0 -   4096  1 -    1346.521       2.365    1342.576    1349.619 - (ms)
32.0 -   8192  1 -    6581.410     107.717    6442.634    6824.988 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -      91.142       0.421      90.878      92.090 - (ms)
 2.0 -    512  1 -     366.356       0.334     365.961     366.910 - (ms)
 4.0 -   1024  1 -    1443.798       0.768    1442.395    1444.927 - (ms)
 8.0 -   2048  1 -    8405.311       9.904    8393.038    8420.979 - (ms)
16.0 -   4096  1 -   47247.902     182.721   47119.156   47676.401 - (ms)
32.0 -   8192  1 -  290137.323     556.872  289519.192  291084.526 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      20.000 |      91.142 |          4.557  0.659
    512 |      32.132 |     366.356 |         11.402  1.057
   1024 |      83.237 |    1443.798 |         17.346  1.239
   2048 |     304.878 |    8405.311 |         27.569  1.440
   4096 |    1346.521 |   47247.902 |         35.089  1.545
   8192 |    6581.410 |  290137.323 |         44.084  1.644

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

* Elapsed time : 2928.3 s

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

=> Elapsed time : 2929 secs
   Begin        : 10:38:14
   End          : 11:27:03