Morphological Image Library : Smil vs scikit-image

On taurus

Image metal - 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:42:53 AM
Image    : metal.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 -      17.598       0.307      17.439      18.349 - (ms)
  2.0 -    512  1 -      62.870       0.067      62.818      63.022 - (ms)
  4.0 -   1024  1 -     258.286       0.751     257.460     259.812 - (ms)
  8.0 -   2048  1 -    1002.412       1.222    1000.326    1004.209 - (ms)
 16.0 -   4096  1 -    4303.129      59.581    4171.882    4377.531 - (ms)
 32.0 -   8192  1 -   19523.186     263.702   19264.030   20022.906 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      47.479       0.031      47.443      47.536 - (ms)
  2.0 -    512  1 -     171.645       0.181     171.461     171.971 - (ms)
  4.0 -   1024  1 -     544.932       0.909     544.028     546.490 - (ms)
  8.0 -   2048  1 -    1865.402      22.596    1845.597    1910.282 - (ms)
 16.0 -   4096  1 -    7484.472      42.791    7420.578    7541.910 - (ms)
 32.0 -   8192  1 -   30210.575     122.903   29999.490   30436.658 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      17.598 |      47.479 |          2.698  0.431
    512 |      62.870 |     171.645 |          2.730  0.436
   1024 |     258.286 |     544.932 |          2.110  0.324
   2048 |    1002.412 |    1865.402 |          1.861  0.270
   4096 |    4303.129 |    7484.472 |          1.739  0.240
   8192 |   19523.186 |   30210.575 |          1.547  0.190

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

* Elapsed time : 560.4 s

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

=> Elapsed time : 561 secs
   Begin        : 11:42:53
   End          : 11:52:14