Morphological Image Library : Smil vs scikit-image

On taurus

Image gruyere - 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 06:28:27 PM
Image    : gruyere.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.855       0.003       1.852       1.860 - (ms)
  2.0 -    512  1 -       7.090       0.002       7.086       7.094 - (ms)
  4.0 -   1024  1 -      25.651       0.128      25.546      25.931 - (ms)
  8.0 -   2048  1 -     102.352       0.362     102.094     103.222 - (ms)
 16.0 -   4096  1 -     392.848       6.813     386.649     407.178 - (ms)
 32.0 -   8192  1 -    1510.380      22.011    1500.242    1564.251 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       0.510       0.000       0.510       0.511 - (ms)
  2.0 -    512  1 -       2.263       0.004       2.259       2.271 - (ms)
  4.0 -   1024  1 -      11.129       0.004      11.122      11.136 - (ms)
  8.0 -   2048  1 -      55.605       0.220      55.474      56.136 - (ms)
 16.0 -   4096  1 -     221.490       0.167     221.247     221.801 - (ms)
 32.0 -   8192  1 -     881.992       0.232     881.628     882.355 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       1.855 |       0.510 |          0.275 -0.561
    512 |       7.090 |       2.263 |          0.319 -0.496
   1024 |      25.651 |      11.129 |          0.434 -0.363
   2048 |     102.352 |      55.605 |          0.543 -0.265
   4096 |     392.848 |     221.490 |          0.564 -0.249
   8192 |    1510.380 |     881.992 |          0.584 -0.234

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

* Elapsed time : 102.1 s

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

=> Elapsed time : 103 secs
   Begin        : 18:28:26
   End          : 18:30:09