Morphological Image Library : Smil vs scikit-image

On nestor

Image hubble_EDF_bin - Type bin - Function distance


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/07/2021 03:29:45 PM
Image    : hubble_EDF_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : distance
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.334       0.001       1.333       1.336 - (ms)
  1.0 -    512  1 -       5.612       0.436       5.182       6.383 - (ms)
  2.0 -   1024  1 -      21.235       0.001      21.234      21.237 - (ms)
  4.0 -   2048  1 -     109.621       0.088     109.538     109.782 - (ms)
  8.0 -   4096  1 -     709.699       0.097     709.561     709.841 - (ms)
 16.0 -   8192  1 -    3021.953       1.779    3020.885    3026.272 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       4.436       0.002       4.432       4.439 - (ms)
  1.0 -    512  1 -      18.087       0.012      18.069      18.108 - (ms)
  2.0 -   1024  1 -     102.398       0.787     101.609     103.618 - (ms)
  4.0 -   2048  1 -     539.317       6.227     527.548     544.976 - (ms)
  8.0 -   4096  1 -    2482.553       8.335    2473.612    2498.583 - (ms)
 16.0 -   8192  1 -   10792.980      11.625   10771.666   10808.668 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.334 |       4.436 |          3.326  0.522
    512 |       5.612 |      18.087 |          3.223  0.508
   1024 |      21.235 |     102.398 |          4.822  0.683
   2048 |     109.621 |     539.317 |          4.920  0.692
   4096 |     709.699 |    2482.553 |          3.498  0.544
   8192 |    3021.953 |   10792.980 |          3.572  0.553

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

* Elapsed time : 255.4 s

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

=> Elapsed time : 256 secs
   Begin        : 15:29:44
   End          : 15:34:00