Morphological Image Library : Smil vs scikit-image

On nestor

Image hubble_EDF_bin - Type bin - Function areaThreshold


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     : 26/07/2021 08:28:11 PM
Image    : hubble_EDF_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : areaThreshold
  repeat :     7


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

                       *** Image size ***                       

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 0.5 -    256  1 -       0.807       0.000       0.807       0.807 - (ms)
 1.0 -    512  1 -       2.357       0.002       2.354       2.361 - (ms)
 2.0 -   1024  1 -       7.282       0.003       7.278       7.289 - (ms)
 4.0 -   2048  1 -      28.016       0.036      27.998      28.103 - (ms)
 8.0 -   4096  1 -     107.950       0.254     107.839     108.571 - (ms)
16.0 -   8192  1 -     418.763       0.129     418.604     419.000 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 0.5 -    256  1 -       0.676       0.000       0.676       0.676 - (ms)
 1.0 -    512  1 -       2.256       0.000       2.255       2.256 - (ms)
 2.0 -   1024  1 -      12.341       0.024      12.330      12.400 - (ms)
 4.0 -   2048  1 -      54.488       0.008      54.474      54.496 - (ms)
 8.0 -   4096  1 -     210.642       0.110     210.512     210.889 - (ms)
16.0 -   8192  1 -     838.277       1.126     837.576     840.945 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.807 |       0.676 |          0.838 -0.077
    512 |       2.357 |       2.256 |          0.957 -0.019
   1024 |       7.282 |      12.341 |          1.695  0.229
   2048 |      28.016 |      54.488 |          1.945  0.289
   4096 |     107.950 |     210.642 |          1.951  0.290
   8192 |     418.763 |     838.277 |          2.002  0.301

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

* Elapsed time : 77.6 s

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

=> Elapsed time : 78 secs
   Begin        : 20:28:10
   End          : 20:29:28