Morphological Image Library : Smil vs scikit-image

On nestor

Image coffee - 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     : 26/07/2021 11:00:32 PM
Image    : coffee.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 -      12.016       0.021      12.005      12.067 - (ms)
 2.0 -    512  1 -      44.883       0.006      44.876      44.892 - (ms)
 4.0 -   1024  1 -     187.291       0.431     186.789     187.950 - (ms)
 8.0 -   2048  1 -     809.008       3.743     802.041     813.842 - (ms)
16.0 -   4096  1 -    4142.733       7.046    4134.611    4151.694 - (ms)
32.0 -   8192  1 -   18808.118      14.207   18792.172   18834.875 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -      19.181       0.019      19.156      19.219 - (ms)
 2.0 -    512  1 -     125.677       0.025     125.650     125.723 - (ms)
 4.0 -   1024  1 -     475.615       5.242     470.055     483.451 - (ms)
 8.0 -   2048  1 -    1668.454       1.065    1666.385    1669.872 - (ms)
16.0 -   4096  1 -    5611.959       8.167    5602.276    5624.960 - (ms)
32.0 -   8192  1 -   19702.367      14.032   19687.722   19729.182 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      12.016 |      19.181 |          1.596  0.203
    512 |      44.883 |     125.677 |          2.800  0.447
   1024 |     187.291 |     475.615 |          2.539  0.405
   2048 |     809.008 |    1668.454 |          2.062  0.314
   4096 |    4142.733 |    5611.959 |          1.355  0.132
   8192 |   18808.118 |   19702.367 |          1.048  0.020

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

* Elapsed time : 496.9 s

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

=> Elapsed time : 498 secs
   Begin        : 23:00:31
   End          : 23:08:49