Morphological Image Library : Smil vs scikit-image

On taurus

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:13:44 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 -      42.131       0.254      41.866      42.641 - (ms)
  1.0 -    512  1 -     155.580       0.972     154.069     156.759 - (ms)
  2.0 -   1024  1 -     516.332      22.613     495.915     568.642 - (ms)
  4.0 -   2048  1 -    1631.474      42.788    1581.647    1719.698 - (ms)
  8.0 -   4096  1 -    5876.367      45.927    5800.546    5925.431 - (ms)
 16.0 -   8192  1 -   21993.672     332.840   21356.524   22431.646 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      58.539       0.071      58.453      58.633 - (ms)
  1.0 -    512  1 -     238.988       0.506     238.628     239.990 - (ms)
  2.0 -   1024  1 -    1020.803       2.572    1018.588    1026.918 - (ms)
  4.0 -   2048  1 -    4330.433      28.483    4294.110    4379.611 - (ms)
  8.0 -   4096  1 -   17759.696      45.440   17696.563   17837.342 - (ms)
 16.0 -   8192  1 -   67912.830     277.089   67610.480   68327.688 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      42.131 |      58.539 |          1.389  0.143
    512 |     155.580 |     238.988 |          1.536  0.186
   1024 |     516.332 |    1020.803 |          1.977  0.296
   2048 |    1631.474 |    4330.433 |          2.654  0.424
   4096 |    5876.367 |   17759.696 |          3.022  0.480
   8192 |   21993.672 |   67912.830 |          3.088  0.490

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

* Elapsed time : 1008.0 s

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

=> Elapsed time : 1009 secs
   Begin        : 15:13:43
   End          : 15:30:32