Morphological Image Library : Smil vs scikit-image

On taurus

Image coffee - Type bin - Function distance


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     : 05/08/2021 09:40:49 AM
Image    : coffee.png
  width  :   256
  height :   256
  depth  :     1
  type   : binary
Function : distance
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       2.486       0.007       2.480       2.500 - (ms)
  2.0 -    512  1 -       8.296       0.005       8.290       8.307 - (ms)
  4.0 -   1024  1 -      32.546       0.049      32.496      32.655 - (ms)
  8.0 -   2048  1 -     147.616       0.228     147.280     148.033 - (ms)
 16.0 -   4096  1 -    1055.605      59.132     977.209    1122.449 - (ms)
 32.0 -   8192  1 -    5344.930     138.742    5243.485    5674.293 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    256  1 -       4.278       0.006       4.271       4.290 - (ms)
  2.0 -    512  1 -      20.058       0.064      20.001      20.197 - (ms)
  4.0 -   1024  1 -     105.757       0.195     105.525     106.166 - (ms)
  8.0 -   2048  1 -     559.983       3.827     552.805     564.252 - (ms)
 16.0 -   4096  1 -    3630.468      20.621    3589.251    3658.485 - (ms)
 32.0 -   8192  1 -   18222.316     107.730   18090.741   18370.381 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       2.486 |       4.278 |          1.721  0.236
    512 |       8.296 |      20.058 |          2.418  0.383
   1024 |      32.546 |     105.757 |          3.250  0.512
   2048 |     147.616 |     559.983 |          3.793  0.579
   4096 |    1055.605 |    3630.468 |          3.439  0.536
   8192 |    5344.930 |   18222.316 |          3.409  0.533

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

* Elapsed time : 289.2 s

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

=> Elapsed time : 290 secs
   Begin        : 09:40:48
   End          : 09:45:38