Morphological Image Library : Smil vs scikit-image

On nestor

Image bubbles_gray - Type gray - 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 03:58:41 PM
Image    : bubbles_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : open
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.030       0.000       0.030       0.030 - (ms)
  1.0 -    512  1 -       0.061       0.000       0.061       0.061 - (ms)
  2.0 -   1024  1 -       0.184       0.000       0.184       0.184 - (ms)
  4.0 -   2048  1 -       0.693       0.000       0.692       0.693 - (ms)
  8.0 -   4096  1 -       4.135       0.001       4.134       4.137 - (ms)
 16.0 -   8192  1 -      17.412       0.216      17.308      17.942 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.689       0.002       1.688       1.692 - (ms)
  1.0 -    512  1 -      10.255       0.004      10.250      10.262 - (ms)
  2.0 -   1024  1 -      26.341       0.002      26.338      26.344 - (ms)
  4.0 -   2048  1 -     110.837       0.007     110.827     110.849 - (ms)
  8.0 -   4096  1 -     437.678       0.188     437.553     438.082 - (ms)
 16.0 -   8192  1 -    1746.707       0.171    1746.559    1747.093 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.030 |       1.689 |         56.096  1.749
    512 |       0.061 |      10.255 |        166.854  2.222
   1024 |       0.184 |      26.341 |        143.467  2.157
   2048 |       0.693 |     110.837 |        160.033  2.204
   4096 |       4.135 |     437.678 |        105.837  2.025
   8192 |      17.412 |    1746.707 |        100.314  2.001

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

* Elapsed time : 102.4 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.694       0.000       0.694       0.695 - (ms)
  4.0 -   2048  2 -       1.330       0.002       1.328       1.333 - (ms)
  4.0 -   2048  3 -       1.945       0.001       1.944       1.946 - (ms)
  4.0 -   2048  4 -       2.573       0.000       2.572       2.573 - (ms)
  4.0 -   2048  5 -       3.201       0.001       3.200       3.203 - (ms)
  4.0 -   2048  6 -       3.826       0.001       3.825       3.828 - (ms)
  4.0 -   2048  7 -       4.489       0.002       4.485       4.491 - (ms)
  4.0 -   2048  8 -       5.082       0.003       5.079       5.087 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     110.746       0.009     110.737     110.762 - (ms)
  4.0 -   2048  2 -     206.592       0.024     206.566     206.638 - (ms)
  4.0 -   2048  3 -     363.440       0.032     363.403     363.504 - (ms)
  4.0 -   2048  4 -     518.493       0.035     518.428     518.538 - (ms)
  4.0 -   2048  5 -     712.855       0.026     712.811     712.905 - (ms)
  4.0 -   2048  6 -     946.258       0.089     946.167     946.459 - (ms)
  4.0 -   2048  7 -    1218.640       0.066    1218.534    1218.743 - (ms)
  4.0 -   2048  8 -    1533.777       7.312    1530.603    1551.679 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.694 |     110.746 |        159.483  2.203
      2 |       1.330 |     206.592 |        155.375  2.191
      3 |       1.945 |     363.440 |        186.833  2.271
      4 |       2.573 |     518.493 |        201.546  2.304
      5 |       3.201 |     712.855 |        222.695  2.348
      6 |       3.826 |     946.258 |        247.320  2.393
      7 |       4.489 |    1218.640 |        271.486  2.434
      8 |       5.082 |    1533.777 |        301.784  2.480

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

* Elapsed time : 138.9 s


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

=> Elapsed time : 242 secs
   Begin        : 15:58:41
   End          : 16:02:43