Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_gray - 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     : 05/08/2021 12:45:23 AM
Image    : bubbles_gray.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 -      15.893       0.422      15.657      16.925 - (ms)
  1.0 -    512  1 -      63.399       0.168      63.158      63.661 - (ms)
  2.0 -   1024  1 -     273.055       3.341     268.569     279.244 - (ms)
  4.0 -   2048  1 -    1155.589       4.391    1149.559    1163.432 - (ms)
  8.0 -   4096  1 -    6287.903      24.176    6251.406    6319.758 - (ms)
 16.0 -   8192  1 -   30827.295     161.058   30589.058   31089.232 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      29.312       0.007      29.299      29.321 - (ms)
  1.0 -    512  1 -      89.865       0.620      89.178      90.971 - (ms)
  2.0 -   1024  1 -     715.350       1.291     714.696     718.500 - (ms)
  4.0 -   2048  1 -    4142.112      42.911    4082.598    4218.196 - (ms)
  8.0 -   4096  1 -   16430.553      35.809   16365.539   16457.740 - (ms)
 16.0 -   8192  1 -   75809.692      21.150   75778.461   75842.114 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      15.893 |      29.312 |          1.844  0.266
    512 |      63.399 |      89.865 |          1.417  0.152
   1024 |     273.055 |     715.350 |          2.620  0.418
   2048 |    1155.589 |    4142.112 |          3.584  0.554
   4096 |    6287.903 |   16430.553 |          2.613  0.417
   8192 |   30827.295 |   75809.692 |          2.459  0.391

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

* Elapsed time : 1129.8 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    512  1 -      63.118       0.165      62.966      63.486 - (ms)
  1.0 -    512  2 -      63.168       0.133      63.012      63.442 - (ms)
  1.0 -    512  3 -      63.130       0.123      62.918      63.258 - (ms)
  1.0 -    512  4 -      63.064       0.199      62.820      63.455 - (ms)
  1.0 -    512  5 -      62.975       0.148      62.796      63.210 - (ms)
  1.0 -    512  6 -      62.971       0.125      62.792      63.187 - (ms)
  1.0 -    512  7 -      63.038       0.138      62.894      63.335 - (ms)
  1.0 -    512  8 -      63.101       0.135      62.982      63.313 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  1.0 -    512  1 -      85.095       0.082      85.012      85.261 - (ms)
  1.0 -    512  2 -      98.309       0.042      98.227      98.374 - (ms)
  1.0 -    512  3 -     112.474       0.064     112.411     112.609 - (ms)
  1.0 -    512  4 -     130.377       0.048     130.326     130.441 - (ms)
  1.0 -    512  5 -     152.190       0.096     152.049     152.287 - (ms)
  1.0 -    512  6 -     171.899       0.088     171.838     172.102 - (ms)
  1.0 -    512  7 -     198.417       0.077     198.354     198.575 - (ms)
  1.0 -    512  8 -     225.859       0.192     225.736     226.323 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |      63.118 |      85.095 |          1.348  0.130
      2 |      63.168 |      98.309 |          1.556  0.192
      3 |      63.130 |     112.474 |          1.782  0.251
      4 |      63.064 |     130.377 |          2.067  0.315
      5 |      62.975 |     152.190 |          2.417  0.383
      6 |      62.971 |     171.899 |          2.730  0.436
      7 |      63.038 |     198.417 |          3.148  0.498
      8 |      63.101 |     225.859 |          3.579  0.554

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

* Elapsed time : 124.2 s


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

=> Elapsed time : 1255 secs
   Begin        : 00:45:23
   End          : 01:06:18