Morphological Image Library : Smil vs scikit-image

On nestor

Image hubble_EDF_bin - Type bin - Function fastLabel


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     : 25/08/2021 12:44:35 PM
Image    : hubble_EDF_bin.png
  width  :   512
  height :   512
  depth  :     1
  type   : binary
Function : fastLabel
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.180       0.007       1.173       1.196 - (ms)
  1.0 -    512  1 -       4.004       0.240       3.734       4.480 - (ms)
  2.0 -   1024  1 -      15.748       0.748      13.939      16.220 - (ms)
  4.0 -   2048  1 -      53.653       1.174      51.993      55.080 - (ms)
  8.0 -   4096  1 -     193.422       0.593     192.267     194.212 - (ms)
 16.0 -   8192  1 -     740.390       1.331     737.984     742.709 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.332       0.000       0.332       0.332 - (ms)
  1.0 -    512  1 -       1.046       0.000       1.046       1.047 - (ms)
  2.0 -   1024  1 -       6.472       0.013       6.463       6.503 - (ms)
  4.0 -   2048  1 -      28.971       0.009      28.960      28.990 - (ms)
  8.0 -   4096  1 -     111.415       0.049     111.384     111.528 - (ms)
 16.0 -   8192  1 -     437.900       0.199     437.631     438.257 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.180 |       0.332 |          0.281 -0.551
    512 |       4.004 |       1.046 |          0.261 -0.583
   1024 |      15.748 |       6.472 |          0.411 -0.386
   2048 |      53.653 |      28.971 |          0.540 -0.268
   4096 |     193.422 |     111.415 |          0.576 -0.240
   8192 |     740.390 |     437.900 |          0.591 -0.228

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

* Elapsed time : 98.8 s

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

=> Elapsed time : 100 secs
   Begin        : 12:44:34
   End          : 12:46:14