Morphological Image Library : Smil vs scikit-image

On taurus

Image cells - 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:51:31 AM
Image    : cells.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 -      16.620       0.445      16.396      17.708 - (ms)
  2.0 -    512  1 -      60.609       0.089      60.528      60.806 - (ms)
  4.0 -   1024  1 -     244.400       1.021     242.805     246.532 - (ms)
  8.0 -   2048  1 -     938.429       7.306     929.437     949.896 - (ms)
 16.0 -   4096  1 -    4146.738      24.533    4121.541    4196.326 - (ms)
 32.0 -   8192  1 -   18065.900     340.119   17849.698   18879.807 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       7.147       0.012       7.135       7.167 - (ms)
  2.0 -    512  1 -      33.346       0.015      33.318      33.365 - (ms)
  4.0 -   1024  1 -     149.286       2.481     147.647     155.289 - (ms)
  8.0 -   2048  1 -     811.838      14.831     792.016     843.708 - (ms)
 16.0 -   4096  1 -    4632.456      24.949    4604.454    4667.760 - (ms)
 32.0 -   8192  1 -   22168.991     127.992   22005.094   22342.055 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      16.620 |       7.147 |          0.430 -0.366
    512 |      60.609 |      33.346 |          0.550 -0.259
   1024 |     244.400 |     149.286 |          0.611 -0.214
   2048 |     938.429 |     811.838 |          0.865 -0.063
   4096 |    4146.738 |    4632.456 |          1.117  0.048
   8192 |   18065.900 |   22168.991 |          1.227  0.089

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

* Elapsed time : 464.7 s

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

=> Elapsed time : 465 secs
   Begin        : 10:51:31
   End          : 10:59:16