Morphological Image Library : Smil vs scikit-image

On nestor

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     : 27/07/2021 01:29:38 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 -      19.034       0.004      19.030      19.042 - (ms)
 1.0 -    512  1 -      33.193       0.318      32.964      33.928 - (ms)
 2.0 -   1024  1 -      81.376       0.154      81.293      81.752 - (ms)
 4.0 -   2048  1 -     296.561       0.294     295.965     296.995 - (ms)
 8.0 -   4096  1 -    1236.277       0.597    1235.412    1237.099 - (ms)
16.0 -   8192  1 -    6043.969       6.197    6032.137    6054.041 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 0.5 -    256  1 -      93.957       0.040      93.881      94.028 - (ms)
 1.0 -    512  1 -     322.554       0.136     322.341     322.743 - (ms)
 2.0 -   1024  1 -    1368.835       1.482    1366.499    1370.993 - (ms)
 4.0 -   2048  1 -    7997.761       4.193    7990.478    8005.399 - (ms)
 8.0 -   4096  1 -   48575.540     160.544   48449.772   48956.604 - (ms)
16.0 -   8192  1 -  295091.421     513.429  294353.863  295863.455 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      19.034 |      93.957 |          4.936  0.693
    512 |      33.193 |     322.554 |          9.718  0.988
   1024 |      81.376 |    1368.835 |         16.821  1.226
   2048 |     296.561 |    7997.761 |         26.968  1.431
   4096 |    1236.277 |   48575.540 |         39.292  1.594
   8192 |    6043.969 |  295091.421 |         48.824  1.689

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

* Elapsed time : 2973.8 s

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

=> Elapsed time : 2974 secs
   Begin        : 01:29:38
   End          : 02:19:12