Morphological Image Library : Smil vs scikit-image

On nestor

Image coffee - Type bin - Function label


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     : 01/09/2021 05:18:54 PM
Image    : coffee.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : label
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       1.274       0.000       1.274       1.274 - (ms)
  2.0 -    512  1 -       4.751       0.000       4.750       4.752 - (ms)
  4.0 -   1024  1 -      18.433       0.005      18.426      18.444 - (ms)
  8.0 -   2048  1 -      84.399       0.051      84.347      84.507 - (ms)
 16.0 -   4096  1 -     340.935       0.081     340.834     341.065 - (ms)
 32.0 -   8192  1 -    1446.448       0.342    1446.158    1447.147 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.559       0.000       0.558       0.559 - (ms)
  2.0 -    512  1 -       2.171       0.001       2.170       2.173 - (ms)
  4.0 -   1024  1 -      11.299       0.010      11.285      11.314 - (ms)
  8.0 -   2048  1 -      45.954       0.072      45.870      46.074 - (ms)
 16.0 -   4096  1 -     178.198       0.357     177.850     178.945 - (ms)
 32.0 -   8192  1 -     703.331       0.691     702.242     703.839 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.274 |       0.559 |          0.439 -0.358
    512 |       4.751 |       2.171 |          0.457 -0.340
   1024 |      18.433 |      11.299 |          0.613 -0.213
   2048 |      84.399 |      45.954 |          0.544 -0.264
   4096 |     340.935 |     178.198 |          0.523 -0.282
   8192 |    1446.448 |     703.331 |          0.486 -0.313

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

* Elapsed time : 99.0 s

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

=> Elapsed time : 100 secs
   Begin        : 17:18:53
   End          : 17:20:33