Morphological Image Library : Smil vs scikit-image

On nestor

Image astronaut - 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 03:54:40 PM
Image    : astronaut.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.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.183       0.000       0.183       0.183 - (ms)
  4.0 -   2048  1 -       0.688       0.000       0.687       0.688 - (ms)
  8.0 -   4096  1 -       4.343       0.001       4.342       4.346 - (ms)
 16.0 -   8192  1 -      17.302       0.006      17.291      17.308 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.688       0.000       1.688       1.689 - (ms)
  1.0 -    512  1 -       9.403       0.002       9.399       9.405 - (ms)
  2.0 -   1024  1 -      26.269       0.004      26.265      26.278 - (ms)
  4.0 -   2048  1 -     110.775       0.007     110.764     110.785 - (ms)
  8.0 -   4096  1 -     437.595       0.068     437.546     437.756 - (ms)
 16.0 -   8192  1 -    1747.362       1.346    1746.636    1750.637 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.030 |       1.688 |         57.043  1.756
    512 |       0.061 |       9.403 |        154.174  2.188
   1024 |       0.183 |      26.269 |        143.797  2.158
   2048 |       0.688 |     110.775 |        161.124  2.207
   4096 |       4.343 |     437.595 |        100.748  2.003
   8192 |      17.302 |    1747.362 |        100.991  2.004

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

* Elapsed time : 101.9 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.686       0.000       0.686       0.687 - (ms)
  4.0 -   2048  2 -       1.319       0.000       1.319       1.320 - (ms)
  4.0 -   2048  3 -       1.947       0.000       1.947       1.947 - (ms)
  4.0 -   2048  4 -       2.576       0.004       2.572       2.584 - (ms)
  4.0 -   2048  5 -       3.213       0.007       3.199       3.224 - (ms)
  4.0 -   2048  6 -       3.827       0.004       3.824       3.836 - (ms)
  4.0 -   2048  7 -       4.452       0.002       4.449       4.456 - (ms)
  4.0 -   2048  8 -       5.088       0.007       5.076       5.096 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     110.753       0.021     110.732     110.795 - (ms)
  4.0 -   2048  2 -     206.589       0.028     206.562     206.653 - (ms)
  4.0 -   2048  3 -     363.445       0.036     363.413     363.518 - (ms)
  4.0 -   2048  4 -     518.281       0.016     518.260     518.307 - (ms)
  4.0 -   2048  5 -     712.877       0.115     712.791     713.120 - (ms)
  4.0 -   2048  6 -     946.423       0.054     946.353     946.541 - (ms)
  4.0 -   2048  7 -    1218.549       0.059    1218.479    1218.660 - (ms)
  4.0 -   2048  8 -    1530.920       0.181    1530.743    1531.216 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.686 |     110.753 |        161.330  2.208
      2 |       1.319 |     206.589 |        156.607  2.195
      3 |       1.947 |     363.445 |        186.679  2.271
      4 |       2.576 |     518.281 |        201.203  2.304
      5 |       3.213 |     712.877 |        221.868  2.346
      6 |       3.827 |     946.423 |        247.307  2.393
      7 |       4.452 |    1218.549 |        273.734  2.437
      8 |       5.088 |    1530.920 |        300.866  2.478

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

* Elapsed time : 138.2 s


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

=> Elapsed time : 241 secs
   Begin        : 15:54:39
   End          : 15:58:40