Morphological Image Library : Smil vs scikit-image

On nestor

Image tools - 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:56:57 AM
Image    : tools.png
  width  :   256
  height :   256
  depth  :     1
  type   : gray
Function : watershed
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       3.773       0.003       3.770       3.776 - (ms)
  2.0 -    512  1 -      13.922       0.006      13.918      13.936 - (ms)
  4.0 -   1024  1 -      55.665       0.036      55.616      55.737 - (ms)
  8.0 -   2048  1 -     216.949       1.031     216.295     219.437 - (ms)
 16.0 -   4096  1 -     883.177       0.373     882.795     883.783 - (ms)
 32.0 -   8192  1 -    3426.215       2.501    3424.285    3432.101 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -      10.940       0.008      10.933      10.958 - (ms)
  2.0 -    512  1 -      55.724       0.017      55.710      55.760 - (ms)
  4.0 -   1024  1 -     258.064       1.300     256.591     259.462 - (ms)
  8.0 -   2048  1 -    1144.064       0.536    1143.579    1145.041 - (ms)
 16.0 -   4096  1 -    4216.496       1.985    4213.513    4218.975 - (ms)
 32.0 -   8192  1 -   14637.430      49.810   14578.751   14744.479 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       3.773 |      10.940 |          2.900  0.462
    512 |      13.922 |      55.724 |          4.003  0.602
   1024 |      55.665 |     258.064 |          4.636  0.666
   2048 |     216.949 |    1144.064 |          5.273  0.722
   4096 |     883.177 |    4216.496 |          4.774  0.679
   8192 |    3426.215 |   14637.430 |          4.272  0.631

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

* Elapsed time : 323.4 s

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

=> Elapsed time : 324 secs
   Begin        : 01:56:56
   End          : 02:02:20