Morphological Image Library : Smil vs scikit-image

On taurus

Image eutectic - 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:41:54 PM
Image    : eutectic.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : fastLabel
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.379       0.015       2.363       2.411 - (ms)
  2.0 -    512  1 -       6.544       0.024       6.502       6.571 - (ms)
  4.0 -   1024  1 -      20.750       0.024      20.694      20.769 - (ms)
  8.0 -   2048  1 -      78.188       0.638      76.627      78.528 - (ms)
 16.0 -   4096  1 -     266.229       1.404     263.764     267.631 - (ms)
 32.0 -   8192  1 -     796.793      13.279     784.858     824.376 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.562       0.001       0.561       0.563 - (ms)
  2.0 -    512  1 -       2.500       0.013       2.484       2.514 - (ms)
  4.0 -   1024  1 -      10.967       0.004      10.961      10.972 - (ms)
  8.0 -   2048  1 -      58.624       0.297      58.293      59.124 - (ms)
 16.0 -   4096  1 -     235.885       0.152     235.751     236.213 - (ms)
 32.0 -   8192  1 -     940.609       4.597     938.133     951.808 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.379 |       0.562 |          0.236 -0.627
    512 |       6.544 |       2.500 |          0.382 -0.418
   1024 |      20.750 |      10.967 |          0.529 -0.277
   2048 |      78.188 |      58.624 |          0.750 -0.125
   4096 |     266.229 |     235.885 |          0.886 -0.053
   8192 |     796.793 |     940.609 |          1.180  0.072

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

* Elapsed time : 104.8 s

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

=> Elapsed time : 106 secs
   Begin        : 12:41:53
   End          : 12:43:39