Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_bin - Type bin - Function open


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     : 30/09/2021 01:27:08 PM
Image    : bubbles_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : open
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.120       0.002       0.115       0.121 - (ms)
  1.0 -    512  1 -       0.094       0.001       0.093       0.095 - (ms)
  2.0 -   1024  1 -       0.157       0.002       0.153       0.161 - (ms)
  4.0 -   2048  1 -       0.188       0.001       0.187       0.190 - (ms)
  8.0 -   4096  1 -       0.496       0.000       0.495       0.496 - (ms)
 16.0 -   8192  1 -       2.433       0.000       2.432       2.434 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.720       0.032       1.643       1.743 - (ms)
  1.0 -    512  1 -       6.185       0.212       6.077       6.699 - (ms)
  2.0 -   1024  1 -      26.853       0.430      26.432      27.534 - (ms)
  4.0 -   2048  1 -     110.073       0.533     109.381     111.226 - (ms)
  8.0 -   4096  1 -     443.655       4.278     440.682     453.603 - (ms)
 16.0 -   8192  1 -    1767.612       2.496    1763.772    1771.065 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.120 |       1.720 |         14.320  1.156
    512 |       0.094 |       6.185 |         65.752  1.818
   1024 |       0.157 |      26.853 |        171.517  2.234
   2048 |       0.188 |     110.073 |        586.322  2.768
   4096 |       0.496 |     443.655 |        894.932  2.952
   8192 |       2.433 |    1767.612 |        726.623  2.861

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

* Elapsed time : 101.9 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.206       0.004       0.203       0.214 - (ms)
  4.0 -   2048  2 -       0.298       0.000       0.297       0.298 - (ms)
  4.0 -   2048  3 -       0.390       0.002       0.388       0.394 - (ms)
  4.0 -   2048  4 -       0.484       0.002       0.482       0.488 - (ms)
  4.0 -   2048  5 -       0.584       0.006       0.575       0.590 - (ms)
  4.0 -   2048  6 -       0.687       0.002       0.683       0.690 - (ms)
  4.0 -   2048  7 -       0.800       0.007       0.793       0.811 - (ms)
  4.0 -   2048  8 -       0.900       0.006       0.892       0.910 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     109.841       0.153     109.627     110.120 - (ms)
  4.0 -   2048  2 -     231.118       0.194     230.893     231.430 - (ms)
  4.0 -   2048  3 -     417.322       5.581     414.699     430.966 - (ms)
  4.0 -   2048  4 -     735.184       0.190     734.808     735.453 - (ms)
  4.0 -   2048  5 -    1076.196       0.158    1075.985    1076.436 - (ms)
  4.0 -   2048  6 -    1454.300       2.378    1452.388    1458.481 - (ms)
  4.0 -   2048  7 -    1894.795       0.181    1894.581    1895.148 - (ms)
  4.0 -   2048  8 -    2401.103       2.700    2399.660    2407.704 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.206 |     109.841 |        534.014  2.728
      2 |       0.298 |     231.118 |        776.522  2.890
      3 |       0.390 |     417.322 |       1070.134  3.029
      4 |       0.484 |     735.184 |       1517.517  3.181
      5 |       0.584 |    1076.196 |       1842.002  3.265
      6 |       0.687 |    1454.300 |       2118.130  3.326
      7 |       0.800 |    1894.795 |       2369.761  3.375
      8 |       0.900 |    2401.103 |       2669.054  3.426

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

* Elapsed time : 151.0 s


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

=> Elapsed time : 254 secs
   Begin        : 13:27:07
   End          : 13:31:21