Morphological Image Library : Smil vs scikit-image

On nestor

Image eutectic - 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:08:50 PM
Image    : eutectic.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.169       0.018      12.144      12.188 - (ms)
 2.0 -    512  1 -      46.115       0.024      46.083      46.154 - (ms)
 4.0 -   1024  1 -     189.910       0.268     189.364     190.220 - (ms)
 8.0 -   2048  1 -     835.245       1.710     833.702     839.169 - (ms)
16.0 -   4096  1 -    4493.111     168.030    4391.841    4868.881 - (ms)
32.0 -   8192  1 -   20214.940      10.822   20196.722   20232.195 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -     101.450       0.234     101.114     101.728 - (ms)
 2.0 -    512  1 -     229.196       0.185     228.750     229.304 - (ms)
 4.0 -   1024  1 -     482.262       3.346     479.518     487.483 - (ms)
 8.0 -   2048  1 -    1259.366       0.459    1258.718    1259.921 - (ms)
16.0 -   4096  1 -    4333.928       3.067    4328.903    4336.866 - (ms)
32.0 -   8192  1 -   16055.231      43.633   16016.333   16150.762 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      12.169 |     101.450 |          8.337  0.921
    512 |      46.115 |     229.196 |          4.970  0.696
   1024 |     189.910 |     482.262 |          2.539  0.405
   2048 |     835.245 |    1259.366 |          1.508  0.178
   4096 |    4493.111 |    4333.928 |          0.965 -0.016
   8192 |   20214.940 |   16055.231 |          0.794 -0.100

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

* Elapsed time : 466.3 s

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

=> Elapsed time : 467 secs
   Begin        : 23:08:50
   End          : 23:16:37