Morphological Image Library : Smil vs scikit-image

On nestor

Image astronaut - Type gray - Function watershed


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     : 04/08/2021 01:28:59 AM
Image    : astronaut.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : watershed
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       5.086       0.026       5.071       5.149 - (ms)
  1.0 -    512  1 -      18.588       0.004      18.584      18.597 - (ms)
  2.0 -   1024  1 -      67.292       0.038      67.245      67.367 - (ms)
  4.0 -   2048  1 -     265.206       0.455     264.579     265.976 - (ms)
  8.0 -   4096  1 -     982.161       2.587     979.107     985.970 - (ms)
 16.0 -   8192  1 -    3652.240       6.221    3646.001    3665.958 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      11.302       0.006      11.296      11.316 - (ms)
  1.0 -    512  1 -      57.778       0.027      57.759      57.842 - (ms)
  2.0 -   1024  1 -     339.025       0.199     338.758     339.341 - (ms)
  4.0 -   2048  1 -    1615.065      11.288    1600.142    1626.648 - (ms)
  8.0 -   4096  1 -    6533.419       7.583    6523.531    6545.577 - (ms)
 16.0 -   8192  1 -   23648.279     119.629   23447.811   23779.393 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       5.086 |      11.302 |          2.222  0.347
    512 |      18.588 |      57.778 |          3.108  0.493
   1024 |      67.292 |     339.025 |          5.038  0.702
   2048 |     265.206 |    1615.065 |          6.090  0.785
   4096 |     982.161 |    6533.419 |          6.652  0.823
   8192 |    3652.240 |   23648.279 |          6.475  0.811

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

* Elapsed time : 424.0 s

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

=> Elapsed time : 425 secs
   Begin        : 01:28:58
   End          : 01:36:03