Morphological Image Library : Smil vs scikit-image

On taurus

Image hubble_EDF_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:48:15 PM
Image    : hubble_EDF_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.107       0.000       0.107       0.108 - (ms)
  1.0 -    512  1 -       0.093       0.000       0.092       0.093 - (ms)
  2.0 -   1024  1 -       0.147       0.000       0.146       0.147 - (ms)
  4.0 -   2048  1 -       0.186       0.000       0.185       0.186 - (ms)
  8.0 -   4096  1 -       0.505       0.001       0.504       0.507 - (ms)
 16.0 -   8192  1 -       2.425       0.000       2.425       2.426 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.617       0.002       1.615       1.620 - (ms)
  1.0 -    512  1 -       6.088       0.013       6.069       6.103 - (ms)
  2.0 -   1024  1 -      24.769       0.105      24.606      24.932 - (ms)
  4.0 -   2048  1 -     110.695       0.069     110.585     110.788 - (ms)
  8.0 -   4096  1 -     441.034       0.880     439.600     442.069 - (ms)
 16.0 -   8192  1 -    1768.818       5.903    1764.456    1782.958 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.107 |       1.617 |         15.087  1.179
    512 |       0.093 |       6.088 |         65.757  1.818
   1024 |       0.147 |      24.769 |        168.924  2.228
   2048 |       0.186 |     110.695 |        596.269  2.775
   4096 |       0.505 |     441.034 |        873.833  2.941
   8192 |       2.425 |    1768.818 |        729.301  2.863

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

* Elapsed time : 100.6 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.191       0.006       0.186       0.201 - (ms)
  4.0 -   2048  2 -       0.294       0.001       0.293       0.295 - (ms)
  4.0 -   2048  3 -       0.390       0.004       0.387       0.399 - (ms)
  4.0 -   2048  4 -       0.483       0.001       0.482       0.484 - (ms)
  4.0 -   2048  5 -       0.581       0.006       0.576       0.596 - (ms)
  4.0 -   2048  6 -       0.673       0.001       0.671       0.674 - (ms)
  4.0 -   2048  7 -       0.677       0.002       0.675       0.681 - (ms)
  4.0 -   2048  8 -       0.848       0.003       0.844       0.853 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     110.530       0.153     110.262     110.733 - (ms)
  4.0 -   2048  2 -     232.369       0.411     231.738     232.982 - (ms)
  4.0 -   2048  3 -     415.751       0.466     415.342     416.560 - (ms)
  4.0 -   2048  4 -     735.819       0.361     735.433     736.602 - (ms)
  4.0 -   2048  5 -    1077.158       0.188    1076.946    1077.573 - (ms)
  4.0 -   2048  6 -    1453.739       0.359    1453.437    1454.498 - (ms)
  4.0 -   2048  7 -    1896.921       3.046    1895.437    1904.348 - (ms)
  4.0 -   2048  8 -    2422.651      51.589    2401.053    2549.010 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.191 |     110.530 |        578.399  2.762
      2 |       0.294 |     232.369 |        790.136  2.898
      3 |       0.390 |     415.751 |       1066.087  3.028
      4 |       0.483 |     735.819 |       1523.258  3.183
      5 |       0.581 |    1077.158 |       1854.059  3.268
      6 |       0.673 |    1453.739 |       2161.451  3.335
      7 |       0.677 |    1896.921 |       2800.766  3.447
      8 |       0.848 |    2422.651 |       2856.537  3.456

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

* Elapsed time : 151.4 s


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

=> Elapsed time : 253 secs
   Begin        : 13:48:14
   End          : 13:52:27