Morphological Image Library : Smil vs scikit-image

On nestor

Image astronaut - Type gray - Function hMinima


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     : 26/07/2021 11:47:43 PM
Image    : astronaut.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : hMinima
  repeat :     7


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

                       *** Image size ***                       

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 0.5 -    256  1 -      11.770       0.022      11.737      11.805 - (ms)
 1.0 -    512  1 -      46.233       0.037      46.178      46.292 - (ms)
 2.0 -   1024  1 -     193.504       0.526     192.735     194.256 - (ms)
 4.0 -   2048  1 -     852.892       1.731     849.267     854.792 - (ms)
 8.0 -   4096  1 -    4261.908      15.921    4236.792    4291.733 - (ms)
16.0 -   8192  1 -   20245.530     141.275   20122.707   20563.499 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 0.5 -    256  1 -      22.858       0.016      22.848      22.896 - (ms)
 1.0 -    512  1 -      78.659       1.329      77.131      79.984 - (ms)
 2.0 -   1024  1 -     584.583       0.397     584.254     585.312 - (ms)
 4.0 -   2048  1 -    2879.618       2.616    2873.479    2882.033 - (ms)
 8.0 -   4096  1 -   12313.145       4.051   12307.785   12322.086 - (ms)
16.0 -   8192  1 -   61827.675     261.068   61609.281   62369.710 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      11.770 |      22.858 |          1.942  0.288
    512 |      46.233 |      78.659 |          1.701  0.231
   1024 |     193.504 |     584.583 |          3.021  0.480
   2048 |     852.892 |    2879.618 |          3.376  0.528
   4096 |    4261.908 |   12313.145 |          2.889  0.461
   8192 |   20245.530 |   61827.675 |          3.054  0.485

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

* Elapsed time : 912.2 s

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

                *** Structuring element size ***                

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    512  1 -      46.388       0.124      46.317      46.690 - (ms)
 1.0 -    512  2 -      46.320       0.025      46.282      46.366 - (ms)
 1.0 -    512  3 -      46.294       0.010      46.275      46.309 - (ms)
 1.0 -    512  4 -      46.324       0.021      46.301      46.355 - (ms)
 1.0 -    512  5 -      46.362       0.029      46.308      46.392 - (ms)
 1.0 -    512  6 -      46.309       0.011      46.290      46.328 - (ms)
 1.0 -    512  7 -      46.337       0.016      46.315      46.362 - (ms)
 1.0 -    512  8 -      46.322       0.030      46.281      46.362 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    512  1 -      75.522       0.629      75.105      76.667 - (ms)
 1.0 -    512  2 -      82.519       0.940      82.014      84.799 - (ms)
 1.0 -    512  3 -      92.351       0.020      92.327      92.390 - (ms)
 1.0 -    512  4 -     104.067       0.055     104.020     104.193 - (ms)
 1.0 -    512  5 -     117.981       0.024     117.958     118.035 - (ms)
 1.0 -    512  6 -     134.028       0.027     133.971     134.063 - (ms)
 1.0 -    512  7 -     151.612       0.023     151.572     151.643 - (ms)
 1.0 -    512  8 -     171.329       0.121     171.250     171.623 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |      46.388 |      75.522 |          1.628  0.212
      2 |      46.320 |      82.519 |          1.782  0.251
      3 |      46.294 |      92.351 |          1.995  0.300
      4 |      46.324 |     104.067 |          2.247  0.352
      5 |      46.362 |     117.981 |          2.545  0.406
      6 |      46.309 |     134.028 |          2.894  0.462
      7 |      46.337 |     151.612 |          3.272  0.515
      8 |      46.322 |     171.329 |          3.699  0.568

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

* Elapsed time : 225.8 s


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

=> Elapsed time : 1139 secs
   Begin        : 23:47:42
   End          : 00:06:41