Morphological Image Library : Smil vs scikit-image

On nestor

Image astronaut - Type gray - Function segmentation


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     : 25/08/2021 03:14:09 PM
Image    : astronaut.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : segmentation
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      25.442       0.584      24.095      25.988 - (ms)
  1.0 -    512  1 -      82.517       1.266      79.993      84.007 - (ms)
  2.0 -   1024  1 -     308.944       1.373     306.352     310.946 - (ms)
  4.0 -   2048  1 -    1214.976       2.542    1211.458    1219.309 - (ms)
  8.0 -   4096  1 -    4667.025      10.850    4656.441    4685.889 - (ms)
 16.0 -   8192  1 -   17966.444      54.925   17873.994   18050.021 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      48.753       0.052      48.700      48.839 - (ms)
  1.0 -    512  1 -     202.739       0.295     202.495     203.253 - (ms)
  2.0 -   1024  1 -     884.375       3.723     880.693     889.256 - (ms)
  4.0 -   2048  1 -    3738.139      22.463    3721.707    3773.753 - (ms)
  8.0 -   4096  1 -   14929.237      27.017   14865.580   14956.925 - (ms)
 16.0 -   8192  1 -   57367.705      17.168   57344.217   57402.388 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      25.442 |      48.753 |          1.916  0.282
    512 |      82.517 |     202.739 |          2.457  0.390
   1024 |     308.944 |     884.375 |          2.863  0.457
   2048 |    1214.976 |    3738.139 |          3.077  0.488
   4096 |    4667.025 |   14929.237 |          3.199  0.505
   8192 |   17966.444 |   57367.705 |          3.193  0.504

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

* Elapsed time : 854.9 s

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

=> Elapsed time : 855 secs
   Begin        : 15:14:09
   End          : 15:28:24