Morphological Image Library : Smil vs scikit-image

On nestor

Image eutectic - 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:20:35 PM
Image    : eutectic.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.501       0.002       1.500       1.504 - (ms)
  2.0 -    512  1 -       5.548       0.006       5.543       5.558 - (ms)
  4.0 -   1024  1 -      21.608       0.029      21.587      21.656 - (ms)
  8.0 -   2048  1 -      95.326       0.116      95.215      95.480 - (ms)
 16.0 -   4096  1 -     395.440       0.497     395.080     396.392 - (ms)
 32.0 -   8192  1 -    1620.297       1.571    1618.159    1621.731 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.619       0.001       0.618       0.622 - (ms)
  2.0 -    512  1 -       2.413       0.003       2.410       2.419 - (ms)
  4.0 -   1024  1 -      12.232       0.023      12.210      12.271 - (ms)
  8.0 -   2048  1 -      49.644       0.054      49.551      49.716 - (ms)
 16.0 -   4096  1 -     192.995       0.222     192.736     193.348 - (ms)
 32.0 -   8192  1 -     762.561       0.524     762.186     763.816 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.501 |       0.619 |          0.413 -0.384
    512 |       5.548 |       2.413 |          0.435 -0.362
   1024 |      21.608 |      12.232 |          0.566 -0.247
   2048 |      95.326 |      49.644 |          0.521 -0.283
   4096 |     395.440 |     192.995 |          0.488 -0.312
   8192 |    1620.297 |     762.561 |          0.471 -0.327

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

* Elapsed time : 103.5 s

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

=> Elapsed time : 104 secs
   Begin        : 17:20:34
   End          : 17:22:18