Morphological Image Library : Smil vs scikit-image

On nestor

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 03:46:36 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.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.185       0.000       0.185       0.185 - (ms)
  4.0 -   2048  1 -       0.702       0.000       0.702       0.703 - (ms)
  8.0 -   4096  1 -       4.343       0.001       4.341       4.345 - (ms)
 16.0 -   8192  1 -      17.361       0.006      17.356      17.373 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.690       0.000       1.690       1.691 - (ms)
  1.0 -    512  1 -       6.871       0.001       6.871       6.873 - (ms)
  2.0 -   1024  1 -      26.344       0.002      26.342      26.348 - (ms)
  4.0 -   2048  1 -     110.690       0.008     110.673     110.697 - (ms)
  8.0 -   4096  1 -     437.533       0.029     437.489     437.592 - (ms)
 16.0 -   8192  1 -    1746.635       0.154    1746.453    1746.977 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.030 |       1.690 |         55.931  1.748
    512 |       0.061 |       6.871 |        112.445  2.051
   1024 |       0.185 |      26.344 |        142.622  2.154
   2048 |       0.702 |     110.690 |        157.628  2.198
   4096 |       4.343 |     437.533 |        100.739  2.003
   8192 |      17.361 |    1746.635 |        100.605  2.003

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

* Elapsed time : 101.0 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.693       0.000       0.693       0.693 - (ms)
  4.0 -   2048  2 -       1.318       0.000       1.317       1.318 - (ms)
  4.0 -   2048  3 -       1.943       0.002       1.942       1.948 - (ms)
  4.0 -   2048  4 -       2.569       0.001       2.568       2.570 - (ms)
  4.0 -   2048  5 -       3.193       0.000       3.192       3.193 - (ms)
  4.0 -   2048  6 -       3.818       0.000       3.817       3.819 - (ms)
  4.0 -   2048  7 -       4.444       0.000       4.443       4.444 - (ms)
  4.0 -   2048  8 -       5.068       0.001       5.067       5.070 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     110.764       0.022     110.731     110.796 - (ms)
  4.0 -   2048  2 -     206.553       0.015     206.540     206.577 - (ms)
  4.0 -   2048  3 -     363.447       0.057     363.395     363.579 - (ms)
  4.0 -   2048  4 -     518.251       0.029     518.210     518.297 - (ms)
  4.0 -   2048  5 -     712.789       0.025     712.756     712.825 - (ms)
  4.0 -   2048  6 -     946.588       0.669     946.288     948.227 - (ms)
  4.0 -   2048  7 -    1218.613       0.222    1218.468    1219.147 - (ms)
  4.0 -   2048  8 -    1530.688       0.117    1530.588    1530.938 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.693 |     110.764 |        159.828  2.204
      2 |       1.318 |     206.553 |        156.771  2.195
      3 |       1.943 |     363.447 |        187.072  2.272
      4 |       2.569 |     518.251 |        201.732  2.305
      5 |       3.193 |     712.789 |        223.248  2.349
      6 |       3.818 |     946.588 |        247.928  2.394
      7 |       4.444 |    1218.613 |        274.235  2.438
      8 |       5.068 |    1530.688 |        302.053  2.480

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

* Elapsed time : 138.9 s


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

=> Elapsed time : 241 secs
   Begin        : 15:46:35
   End          : 15:50:36