Morphological Image Library : Smil vs scikit-image

On nestor

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 03:26:29 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.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.181       0.000       0.181       0.181 - (ms)
  4.0 -   2048  1 -       0.711       0.000       0.711       0.711 - (ms)
  8.0 -   4096  1 -       4.137       0.002       4.135       4.140 - (ms)
 16.0 -   8192  1 -      17.454       0.008      17.444      17.471 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.690       0.000       1.689       1.691 - (ms)
  1.0 -    512  1 -       7.045       0.001       7.045       7.048 - (ms)
  2.0 -   1024  1 -      26.268       0.003      26.265      26.275 - (ms)
  4.0 -   2048  1 -     110.722       0.024     110.688     110.748 - (ms)
  8.0 -   4096  1 -     437.556       0.019     437.531     437.589 - (ms)
 16.0 -   8192  1 -    1746.366       0.075    1746.250    1746.459 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.030 |       1.690 |         56.931  1.755
    512 |       0.061 |       7.045 |        115.752  2.064
   1024 |       0.181 |      26.268 |        145.005  2.161
   2048 |       0.711 |     110.722 |        155.696  2.192
   4096 |       4.137 |     437.556 |        105.762  2.024
   8192 |      17.454 |    1746.366 |        100.057  2.000

  - [*] : 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.679       0.000       0.678       0.679 - (ms)
  4.0 -   2048  2 -       1.312       0.000       1.312       1.313 - (ms)
  4.0 -   2048  3 -       1.939       0.000       1.939       1.940 - (ms)
  4.0 -   2048  4 -       2.567       0.001       2.566       2.568 - (ms)
  4.0 -   2048  5 -       3.192       0.001       3.191       3.193 - (ms)
  4.0 -   2048  6 -       3.818       0.001       3.818       3.820 - (ms)
  4.0 -   2048  7 -       4.444       0.000       4.443       4.444 - (ms)
  4.0 -   2048  8 -       5.073       0.005       5.070       5.085 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     110.741       0.006     110.734     110.751 - (ms)
  4.0 -   2048  2 -     206.692       0.253     206.583     207.311 - (ms)
  4.0 -   2048  3 -     363.565       0.068     363.501     363.716 - (ms)
  4.0 -   2048  4 -     518.418       0.013     518.401     518.442 - (ms)
  4.0 -   2048  5 -     712.934       0.098     712.797     713.078 - (ms)
  4.0 -   2048  6 -     946.514       0.302     946.312     947.196 - (ms)
  4.0 -   2048  7 -    1218.684       0.383    1218.460    1219.617 - (ms)
  4.0 -   2048  8 -    1530.800       0.150    1530.692    1531.131 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.679 |     110.741 |        163.212  2.213
      2 |       1.312 |     206.692 |        157.511  2.197
      3 |       1.939 |     363.565 |        187.477  2.273
      4 |       2.567 |     518.418 |        201.992  2.305
      5 |       3.192 |     712.934 |        223.321  2.349
      6 |       3.818 |     946.514 |        247.883  2.394
      7 |       4.444 |    1218.684 |        274.242  2.438
      8 |       5.073 |    1530.800 |        301.764  2.480

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

* Elapsed time : 138.8 s


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

=> Elapsed time : 241 secs
   Begin        : 15:26:28
   End          : 15:30:29