Morphological Image Library : Smil vs scikit-image

On taurus

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     : 05/08/2021 10:18:36 AM
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 -       1.616       0.012       1.607       1.645 - (ms)
  1.0 -    512  1 -       4.221       0.007       4.212       4.233 - (ms)
  2.0 -   1024  1 -      13.282       0.036      13.254      13.352 - (ms)
  4.0 -   2048  1 -      48.692       0.253      48.575      49.310 - (ms)
  8.0 -   4096  1 -     196.597       0.099     196.487     196.786 - (ms)
 16.0 -   8192  1 -     716.592       0.727     715.900     718.183 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.862       0.105       0.739       0.979 - (ms)
  1.0 -    512  1 -       2.464       0.063       2.410       2.549 - (ms)
  2.0 -   1024  1 -      12.135       0.001      12.132      12.137 - (ms)
  4.0 -   2048  1 -      71.327       0.058      71.244      71.403 - (ms)
  8.0 -   4096  1 -     290.416       0.448     289.600     290.947 - (ms)
 16.0 -   8192  1 -    1171.415       5.216    1165.316    1180.446 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.616 |       0.862 |          0.534 -0.273
    512 |       4.221 |       2.464 |          0.584 -0.234
   1024 |      13.282 |      12.135 |          0.914 -0.039
   2048 |      48.692 |      71.327 |          1.465  0.166
   4096 |     196.597 |     290.416 |          1.477  0.169
   8192 |     716.592 |    1171.415 |          1.635  0.213

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

* Elapsed time : 99.9 s

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

=> Elapsed time : 101 secs
   Begin        : 10:18:35
   End          : 10:20:16