Morphological Image Library : Smil vs scikit-image

On nestor

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 03:56:24 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 -      24.816       0.909      23.999      26.570 - (ms)
  2.0 -    512  1 -      90.752       0.530      89.874      91.634 - (ms)
  4.0 -   1024  1 -     321.866       1.258     319.325     323.635 - (ms)
  8.0 -   2048  1 -    1238.682       5.161    1233.822    1250.334 - (ms)
 16.0 -   4096  1 -    4706.652       7.877    4692.463    4719.044 - (ms)
 32.0 -   8192  1 -   17844.924      67.904   17761.616   17959.687 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      48.508       0.051      48.456      48.614 - (ms)
  2.0 -    512  1 -     199.918       0.064     199.832     200.015 - (ms)
  4.0 -   1024  1 -     880.067       0.523     879.412     880.858 - (ms)
  8.0 -   2048  1 -    3767.308      17.913    3725.119    3779.760 - (ms)
 16.0 -   4096  1 -   14767.049       6.324   14754.811   14777.790 - (ms)
 32.0 -   8192  1 -   56170.889     252.637   55766.602   56510.619 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      24.816 |      48.508 |          1.955  0.291
    512 |      90.752 |     199.918 |          2.203  0.343
   1024 |     321.866 |     880.067 |          2.734  0.437
   2048 |    1238.682 |    3767.308 |          3.041  0.483
   4096 |    4706.652 |   14767.049 |          3.137  0.497
   8192 |   17844.924 |   56170.889 |          3.148  0.498

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

* Elapsed time : 843.7 s

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

=> Elapsed time : 844 secs
   Begin        : 15:56:24
   End          : 16:10:28