Morphological Image Library : Smil vs scikit-image

On taurus

Image astronaut - 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 09:35:04 AM
Image    : astronaut.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : areaOpen
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      35.342       0.064      35.276      35.470 - (ms)
  1.0 -    512  1 -      52.180       0.091      52.124      52.381 - (ms)
  2.0 -   1024  1 -     108.643       0.339     108.395     109.447 - (ms)
  4.0 -   2048  1 -     351.438       0.838     349.421     351.992 - (ms)
  8.0 -   4096  1 -    1381.896       2.938    1378.981    1387.236 - (ms)
 16.0 -   8192  1 -    6072.573      85.529    5990.792    6186.259 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      75.026       0.033      74.979      75.092 - (ms)
  1.0 -    512  1 -     296.224       0.475     295.912     297.368 - (ms)
  2.0 -   1024  1 -    1353.972       2.690    1347.514    1355.742 - (ms)
  4.0 -   2048  1 -    8412.125      18.681    8380.035    8445.652 - (ms)
  8.0 -   4096  1 -   45482.870      78.562   45357.765   45621.588 - (ms)
 16.0 -   8192  1 -  268877.186     817.222  268107.751  270602.976 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      35.342 |      75.026 |          2.123  0.327
    512 |      52.180 |     296.224 |          5.677  0.754
   1024 |     108.643 |    1353.972 |         12.463  1.096
   2048 |     351.438 |    8412.125 |         23.936  1.379
   4096 |    1381.896 |   45482.870 |         32.913  1.517
   8192 |    6072.573 |  268877.186 |         44.277  1.646

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

* Elapsed time : 2703.9 s

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

=> Elapsed time : 2705 secs
   Begin        : 09:35:03
   End          : 10:20:08