Morphological Image Library : Smil vs scikit-image

On taurus

Image lena - 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:03:42 PM
Image    : lena.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 -      44.409       0.290      43.825      44.669 - (ms)
  2.0 -    512  1 -     170.087       0.600     169.335     171.153 - (ms)
  4.0 -   1024  1 -     527.715       4.521     523.256     538.129 - (ms)
  8.0 -   2048  1 -    1672.363     100.392    1546.636    1865.686 - (ms)
 16.0 -   4096  1 -    5842.810      82.866    5711.420    5932.709 - (ms)
 32.0 -   8192  1 -   21917.326     299.189   21432.736   22349.518 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      59.303       0.012      59.289      59.326 - (ms)
  2.0 -    512  1 -     239.705       0.064     239.632     239.805 - (ms)
  4.0 -   1024  1 -    1037.726       0.605    1036.852    1038.649 - (ms)
  8.0 -   2048  1 -    4614.226      17.937    4577.032    4637.327 - (ms)
 16.0 -   4096  1 -   17875.807     215.025   17645.390   18292.329 - (ms)
 32.0 -   8192  1 -   67419.310     670.192   66628.439   68615.304 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      44.409 |      59.303 |          1.335  0.126
    512 |     170.087 |     239.705 |          1.409  0.149
   1024 |     527.715 |    1037.726 |          1.966  0.294
   2048 |    1672.363 |    4614.226 |          2.759  0.441
   4096 |    5842.810 |   17875.807 |          3.059  0.486
   8192 |   21917.326 |   67419.310 |          3.076  0.488

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

* Elapsed time : 1005.2 s

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

=> Elapsed time : 1007 secs
   Begin        : 16:03:41
   End          : 16:20:28