Morphological Image Library : Smil vs scikit-image

On nestor

Image lena - 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 04:06:48 PM
Image    : lena.png
  width  :   256
  height :   256
  depth  :     1
  type   : gray
Function : open
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.030       0.000       0.030       0.030 - (ms)
  2.0 -    512  1 -       0.061       0.000       0.061       0.061 - (ms)
  4.0 -   1024  1 -       0.183       0.000       0.183       0.183 - (ms)
  8.0 -   2048  1 -       0.689       0.000       0.688       0.689 - (ms)
 16.0 -   4096  1 -       4.144       0.001       4.142       4.146 - (ms)
 32.0 -   8192  1 -      17.324       0.007      17.311      17.333 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.600       0.001       2.598       2.601 - (ms)
  2.0 -    512  1 -       6.557       0.000       6.556       6.557 - (ms)
  4.0 -   1024  1 -      26.334       0.004      26.331      26.344 - (ms)
  8.0 -   2048  1 -     110.758       0.007     110.748     110.771 - (ms)
 16.0 -   4096  1 -     437.454       0.009     437.446     437.472 - (ms)
 32.0 -   8192  1 -    1748.334       1.334    1747.774    1751.601 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.030 |       2.600 |         86.145  1.935
    512 |       0.061 |       6.557 |        107.273  2.030
   1024 |       0.183 |      26.334 |        144.038  2.158
   2048 |       0.689 |     110.758 |        160.859  2.206
   4096 |       4.144 |     437.454 |        105.554  2.023
   8192 |      17.324 |    1748.334 |        100.918  2.004

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

* Elapsed time : 101.4 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  8.0 -   2048  1 -       0.688       0.000       0.688       0.688 - (ms)
  8.0 -   2048  2 -       1.314       0.000       1.314       1.315 - (ms)
  8.0 -   2048  3 -       1.946       0.002       1.944       1.950 - (ms)
  8.0 -   2048  4 -       2.565       0.000       2.564       2.565 - (ms)
  8.0 -   2048  5 -       3.192       0.001       3.191       3.193 - (ms)
  8.0 -   2048  6 -       3.824       0.001       3.823       3.825 - (ms)
  8.0 -   2048  7 -       4.439       0.001       4.438       4.441 - (ms)
  8.0 -   2048  8 -       5.097       0.002       5.095       5.102 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  8.0 -   2048  1 -     110.802       0.125     110.729     111.106 - (ms)
  8.0 -   2048  2 -     206.558       0.011     206.540     206.575 - (ms)
  8.0 -   2048  3 -     363.286       0.013     363.272     363.310 - (ms)
  8.0 -   2048  4 -     518.405       0.024     518.368     518.442 - (ms)
  8.0 -   2048  5 -     713.100       0.639     712.814     714.666 - (ms)
  8.0 -   2048  6 -     946.544       0.761     946.197     948.406 - (ms)
  8.0 -   2048  7 -    1218.645       0.040    1218.586    1218.700 - (ms)
  8.0 -   2048  8 -    1530.857       0.142    1530.756    1531.196 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.688 |     110.802 |        161.052  2.207
      2 |       1.314 |     206.558 |        157.164  2.196
      3 |       1.946 |     363.286 |        186.705  2.271
      4 |       2.565 |     518.405 |        202.105  2.306
      5 |       3.192 |     713.100 |        223.403  2.349
      6 |       3.824 |     946.544 |        247.539  2.394
      7 |       4.439 |    1218.645 |        274.511  2.439
      8 |       5.097 |    1530.857 |        300.344  2.478

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

* Elapsed time : 138.9 s


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

=> Elapsed time : 241 secs
   Begin        : 16:06:47
   End          : 16:10:48