Morphological Image Library : Smil vs scikit-image

On taurus

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 02:00:57 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.120       0.003       0.117       0.128 - (ms)
  1.0 -    512  1 -       0.097       0.002       0.095       0.101 - (ms)
  2.0 -   1024  1 -       0.157       0.001       0.155       0.159 - (ms)
  4.0 -   2048  1 -       0.202       0.000       0.201       0.203 - (ms)
  8.0 -   4096  1 -       0.426       0.001       0.425       0.428 - (ms)
 16.0 -   8192  1 -       2.420       0.000       2.419       2.420 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.677       0.048       1.621       1.727 - (ms)
  1.0 -    512  1 -       6.087       0.013       6.071       6.115 - (ms)
  2.0 -   1024  1 -      24.685       0.044      24.621      24.780 - (ms)
  4.0 -   2048  1 -     109.750       0.316     109.060     110.095 - (ms)
  8.0 -   4096  1 -     441.060       0.598     440.387     442.080 - (ms)
 16.0 -   8192  1 -    1765.870       0.695    1764.874    1766.875 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.120 |       1.677 |         13.924  1.144
    512 |       0.097 |       6.087 |         62.485  1.796
   1024 |       0.157 |      24.685 |        157.201  2.196
   2048 |       0.202 |     109.750 |        543.298  2.735
   4096 |       0.426 |     441.060 |       1034.678  3.015
   8192 |       2.420 |    1765.870 |        729.793  2.863

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

* Elapsed time : 101.0 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.209       0.009       0.204       0.230 - (ms)
  4.0 -   2048  2 -       0.304       0.015       0.292       0.331 - (ms)
  4.0 -   2048  3 -       0.390       0.001       0.390       0.392 - (ms)
  4.0 -   2048  4 -       0.483       0.001       0.482       0.485 - (ms)
  4.0 -   2048  5 -       0.578       0.003       0.574       0.582 - (ms)
  4.0 -   2048  6 -       0.673       0.005       0.661       0.677 - (ms)
  4.0 -   2048  7 -       0.749       0.001       0.746       0.752 - (ms)
  4.0 -   2048  8 -       0.842       0.001       0.840       0.843 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     119.713       0.718     118.317     120.379 - (ms)
  4.0 -   2048  2 -     233.999       5.423     230.156     246.240 - (ms)
  4.0 -   2048  3 -     414.590       0.082     414.502     414.705 - (ms)
  4.0 -   2048  4 -     734.751       0.470     734.311     735.821 - (ms)
  4.0 -   2048  5 -    1076.268       0.180    1076.112    1076.560 - (ms)
  4.0 -   2048  6 -    1452.364       0.126    1452.168    1452.573 - (ms)
  4.0 -   2048  7 -    1894.815       0.399    1894.331    1895.395 - (ms)
  4.0 -   2048  8 -    2400.260       0.732    2399.703    2402.015 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.209 |     119.713 |        573.029  2.758
      2 |       0.304 |     233.999 |        769.492  2.886
      3 |       0.390 |     414.590 |       1061.894  3.026
      4 |       0.483 |     734.751 |       1520.268  3.182
      5 |       0.578 |    1076.268 |       1862.891  3.270
      6 |       0.673 |    1452.364 |       2159.101  3.334
      7 |       0.749 |    1894.815 |       2529.726  3.403
      8 |       0.842 |    2400.260 |       2852.107  3.455

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

* Elapsed time : 152.6 s


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

=> Elapsed time : 254 secs
   Begin        : 14:00:56
   End          : 14:05:10