Morphological Image Library : Smil vs scikit-image

On taurus

Image hubble_EDF_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:05:12 PM
Image    : hubble_EDF_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.118       0.001       0.114       0.119 - (ms)
  1.0 -    512  1 -       0.094       0.000       0.093       0.095 - (ms)
  2.0 -   1024  1 -       0.155       0.001       0.153       0.156 - (ms)
  4.0 -   2048  1 -       0.216       0.003       0.213       0.223 - (ms)
  8.0 -   4096  1 -       0.497       0.020       0.486       0.545 - (ms)
 16.0 -   8192  1 -       2.436       0.002       2.435       2.440 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.683       0.052       1.635       1.750 - (ms)
  1.0 -    512  1 -       6.138       0.025       6.103       6.166 - (ms)
  2.0 -   1024  1 -      24.725       0.060      24.659      24.848 - (ms)
  4.0 -   2048  1 -     109.989       0.389     109.467     110.680 - (ms)
  8.0 -   4096  1 -     440.250       0.765     439.211     441.163 - (ms)
 16.0 -   8192  1 -    1765.233       2.978    1760.345    1770.372 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.118 |       1.683 |         14.275  1.155
    512 |       0.094 |       6.138 |         65.254  1.815
   1024 |       0.155 |      24.725 |        159.966  2.204
   2048 |       0.216 |     109.989 |        509.041  2.707
   4096 |       0.497 |     440.250 |        886.113  2.947
   8192 |       2.436 |    1765.233 |        724.726  2.860

  - [*] : 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.235       0.015       0.222       0.267 - (ms)
  4.0 -   2048  2 -       0.324       0.004       0.318       0.331 - (ms)
  4.0 -   2048  3 -       0.425       0.007       0.418       0.435 - (ms)
  4.0 -   2048  4 -       0.526       0.004       0.519       0.531 - (ms)
  4.0 -   2048  5 -       0.629       0.002       0.626       0.632 - (ms)
  4.0 -   2048  6 -       0.731       0.002       0.728       0.733 - (ms)
  4.0 -   2048  7 -       0.783       0.003       0.780       0.789 - (ms)
  4.0 -   2048  8 -       0.878       0.003       0.875       0.886 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     109.702       0.232     109.302     109.945 - (ms)
  4.0 -   2048  2 -     230.396       0.226     230.035     230.725 - (ms)
  4.0 -   2048  3 -     414.992       0.302     414.805     415.720 - (ms)
  4.0 -   2048  4 -     735.594       0.823     734.921     737.449 - (ms)
  4.0 -   2048  5 -    1077.885       2.905    1076.135    1084.590 - (ms)
  4.0 -   2048  6 -    1454.031       2.655    1452.104    1459.709 - (ms)
  4.0 -   2048  7 -    1895.719       2.620    1893.999    1901.014 - (ms)
  4.0 -   2048  8 -    2400.018       0.066    2399.879    2400.078 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.235 |     109.702 |        467.013  2.669
      2 |       0.324 |     230.396 |        711.169  2.852
      3 |       0.425 |     414.992 |        976.325  2.990
      4 |       0.526 |     735.594 |       1398.695  3.146
      5 |       0.629 |    1077.885 |       1714.370  3.234
      6 |       0.731 |    1454.031 |       1990.382  3.299
      7 |       0.783 |    1895.719 |       2421.532  3.384
      8 |       0.878 |    2400.018 |       2732.566  3.437

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

* Elapsed time : 151.5 s


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

=> Elapsed time : 255 secs
   Begin        : 14:05:11
   End          : 14:09:26