Morphological Image Library : Smil vs scikit-image

On nestor

Image tools - 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 04:10:30 PM
Image    : tools.png
  width  :   256
  height :   256
  depth  :     1
  type   : gray
Function : segmentation
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      21.503       0.701      20.350      22.351 - (ms)
  2.0 -    512  1 -      73.697       0.489      73.214      74.810 - (ms)
  4.0 -   1024  1 -     277.825       0.820     276.330     278.710 - (ms)
  8.0 -   2048  1 -    1076.731       2.780    1072.219    1080.007 - (ms)
 16.0 -   4096  1 -    4220.652       7.144    4213.106    4236.326 - (ms)
 32.0 -   8192  1 -   16792.667      38.978   16753.025   16877.346 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      44.428       0.031      44.396      44.496 - (ms)
  2.0 -    512  1 -     185.582       0.362     185.072     186.341 - (ms)
  4.0 -   1024  1 -     775.669       1.125     774.238     777.471 - (ms)
  8.0 -   2048  1 -    3144.336       8.774    3131.889    3157.588 - (ms)
 16.0 -   4096  1 -   12483.706      10.268   12471.264   12503.009 - (ms)
 32.0 -   8192  1 -   47592.621      45.262   47555.221   47699.132 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      21.503 |      44.428 |          2.066  0.315
    512 |      73.697 |     185.582 |          2.518  0.401
   1024 |     277.825 |     775.669 |          2.792  0.446
   2048 |    1076.731 |    3144.336 |          2.920  0.465
   4096 |    4220.652 |   12483.706 |          2.958  0.471
   8192 |   16792.667 |   47592.621 |          2.834  0.452

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

* Elapsed time : 733.8 s

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

=> Elapsed time : 734 secs
   Begin        : 16:10:29
   End          : 16:22:43