Morphological Image Library : Smil vs scikit-image

On taurus

Image gruyere - 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 11:18:05 AM
Image    : gruyere.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.282       0.040      18.227      18.355 - (ms)
  2.0 -    512  1 -      65.098       0.106      64.987      65.321 - (ms)
  4.0 -   1024  1 -     267.966       0.530     267.263     268.997 - (ms)
  8.0 -   2048  1 -    1085.401      36.387    1037.301    1138.639 - (ms)
 16.0 -   4096  1 -    4686.243      55.860    4600.551    4768.106 - (ms)
 32.0 -   8192  1 -   22089.728     572.229   21537.731   22997.630 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      84.725       0.308      84.487      85.437 - (ms)
  2.0 -    512  1 -     281.775       1.229     280.831     284.664 - (ms)
  4.0 -   1024  1 -     830.876       4.093     825.673     839.595 - (ms)
  8.0 -   2048  1 -    2996.770      25.977    2961.372    3053.695 - (ms)
 16.0 -   4096  1 -    8990.899      28.032    8936.528    9024.308 - (ms)
 32.0 -   8192  1 -   33437.221     238.751   32892.087   33641.811 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      18.282 |      84.725 |          4.634  0.666
    512 |      65.098 |     281.775 |          4.328  0.636
   1024 |     267.966 |     830.876 |          3.101  0.491
   2048 |    1085.401 |    2996.770 |          2.761  0.441
   4096 |    4686.243 |    8990.899 |          1.919  0.283
   8192 |   22089.728 |   33437.221 |          1.514  0.180

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

* Elapsed time : 637.8 s

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

=> Elapsed time : 639 secs
   Begin        : 11:18:04
   End          : 11:28:43