Morphological Image Library : Smil vs scikit-image

On nestor

Image bubbles_gray - 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:36:04 AM
Image    : bubbles_gray.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 -       4.248       0.010       4.238       4.264 - (ms)
  1.0 -    512  1 -      17.080       0.005      17.073      17.089 - (ms)
  2.0 -   1024  1 -      63.524       0.048      63.471      63.628 - (ms)
  4.0 -   2048  1 -     251.986       0.415     251.599     252.650 - (ms)
  8.0 -   4096  1 -     906.576       1.913     904.095     909.774 - (ms)
 16.0 -   8192  1 -    3598.757      19.622    3587.750    3646.359 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      12.503       0.004      12.496      12.509 - (ms)
  1.0 -    512  1 -      70.954       0.043      70.908      71.025 - (ms)
  2.0 -   1024  1 -     477.150       7.852     470.216     487.916 - (ms)
  4.0 -   2048  1 -    2162.323       9.584    2151.627    2181.875 - (ms)
  8.0 -   4096  1 -    7396.429      10.545    7385.419    7420.326 - (ms)
 16.0 -   8192  1 -   25476.709      14.784   25456.127   25493.668 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       4.248 |      12.503 |          2.943  0.469
    512 |      17.080 |      70.954 |          4.154  0.618
   1024 |      63.524 |     477.150 |          7.511  0.876
   2048 |     251.986 |    2162.323 |          8.581  0.934
   4096 |     906.576 |    7396.429 |          8.159  0.912
   8192 |    3598.757 |   25476.709 |          7.079  0.850

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

* Elapsed time : 452.4 s

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

=> Elapsed time : 453 secs
   Begin        : 01:36:03
   End          : 01:43:36