Morphological Image Library : Smil vs scikit-image

On nestor

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     : 25/08/2021 05:16:15 PM
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 -      12.444       0.009      12.433      12.462 - (ms)
  2.0 -    512  1 -      46.912       0.021      46.882      46.948 - (ms)
  4.0 -   1024  1 -     195.628       0.166     195.299     195.867 - (ms)
  8.0 -   2048  1 -     849.547       1.490     846.626     851.216 - (ms)
 16.0 -   4096  1 -    4353.503      12.976    4328.167    4367.206 - (ms)
 32.0 -   8192  1 -   19534.289      23.784   19501.686   19569.333 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      48.043       0.076      47.978      48.215 - (ms)
  2.0 -    512  1 -     137.344       0.137     137.213     137.647 - (ms)
  4.0 -   1024  1 -     447.725       0.224     447.445     448.127 - (ms)
  8.0 -   2048  1 -    1400.874       1.022    1399.620    1402.709 - (ms)
 16.0 -   4096  1 -    4826.190       4.359    4819.146    4830.750 - (ms)
 32.0 -   8192  1 -   17593.508      14.662   17575.259   17622.459 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      12.444 |      48.043 |          3.861  0.587
    512 |      46.912 |     137.344 |          2.928  0.467
   1024 |     195.628 |     447.725 |          2.289  0.360
   2048 |     849.547 |    1400.874 |          1.649  0.217
   4096 |    4353.503 |    4826.190 |          1.109  0.045
   8192 |   19534.289 |   17593.508 |          0.901 -0.045

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

* Elapsed time : 444.8 s

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

=> Elapsed time : 445 secs
   Begin        : 17:16:15
   End          : 17:23:40