Morphological Image Library : Smil vs scikit-image

On taurus

Image alumine - Type bin - 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     : 05/08/2021 10:22:00 AM
Image    : alumine.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : segmentation
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      18.902       0.280      18.720      19.577 - (ms)
  2.0 -    512  1 -      67.600       0.121      67.455      67.844 - (ms)
  4.0 -   1024  1 -     278.922       0.286     278.525     279.442 - (ms)
  8.0 -   2048  1 -    1128.103       9.164    1119.202    1148.178 - (ms)
 16.0 -   4096  1 -    5007.172     136.941    4840.198    5304.778 - (ms)
 32.0 -   8192  1 -   24202.729     431.656   23646.033   24996.248 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      41.192       0.101      41.122      41.432 - (ms)
  2.0 -    512  1 -     121.080       0.451     120.762     122.056 - (ms)
  4.0 -   1024  1 -     394.678       1.814     393.265     397.645 - (ms)
  8.0 -   2048  1 -    1429.210      37.051    1403.306    1501.103 - (ms)
 16.0 -   4096  1 -    6306.218      57.516    6219.545    6384.770 - (ms)
 32.0 -   8192  1 -   27610.704      97.468   27467.691   27742.513 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      18.902 |      41.192 |          2.179  0.338
    512 |      67.600 |     121.080 |          1.791  0.253
   1024 |     278.922 |     394.678 |          1.415  0.151
   2048 |    1128.103 |    1429.210 |          1.267  0.103
   4096 |    5007.172 |    6306.218 |          1.259  0.100
   8192 |   24202.729 |   27610.704 |          1.141  0.057

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

* Elapsed time : 572.0 s

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

=> Elapsed time : 573 secs
   Begin        : 10:21:59
   End          : 10:31:32