Morphological Image Library : Smil vs scikit-image

On taurus

Image bubbles_gray - Type gray - Function gradient


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     : 30/09/2021 03:01:13 PM
Image    : bubbles_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : gradient
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.254       0.001       0.254       0.255 - (ms)
  1.0 -    512  1 -       0.238       0.001       0.237       0.239 - (ms)
  2.0 -   1024  1 -       0.310       0.001       0.310       0.312 - (ms)
  4.0 -   2048  1 -       1.525       0.000       1.525       1.525 - (ms)
  8.0 -   4096  1 -       5.165       0.014       5.145       5.181 - (ms)
 16.0 -   8192  1 -      18.525       0.036      18.476      18.593 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -      12.605       0.375      12.192      13.032 - (ms)
  1.0 -    512  1 -      48.089       0.059      47.969      48.176 - (ms)
  2.0 -   1024  1 -     199.785       0.332     199.243     200.320 - (ms)
  4.0 -   2048  1 -     808.628       1.041     807.534     810.703 - (ms)
  8.0 -   4096  1 -    3259.698       3.760    3254.822    3267.159 - (ms)
 16.0 -   8192  1 -   13077.827       2.964   13073.746   13082.586 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.254 |      12.605 |         49.578  1.695
    512 |       0.238 |      48.089 |        202.269  2.306
   1024 |       0.310 |     199.785 |        643.689  2.809
   2048 |       1.525 |     808.628 |        530.262  2.724
   4096 |       5.165 |    3259.698 |        631.125  2.800
   8192 |      18.525 |   13077.827 |        705.945  2.849

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

* Elapsed time : 211.8 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.411       0.001       0.411       0.413 - (ms)
  4.0 -   2048  2 -       0.548       0.000       0.547       0.548 - (ms)
  4.0 -   2048  3 -       0.625       0.001       0.624       0.627 - (ms)
  4.0 -   2048  4 -       0.779       0.001       0.777       0.782 - (ms)
  4.0 -   2048  5 -       0.885       0.003       0.881       0.890 - (ms)
  4.0 -   2048  6 -       0.976       0.002       0.974       0.980 - (ms)
  4.0 -   2048  7 -       1.084       0.001       1.084       1.086 - (ms)
  4.0 -   2048  8 -       1.180       0.000       1.179       1.180 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     808.434       0.515     807.520     808.966 - (ms)
  4.0 -   2048  2 -     851.579       0.515     850.830     852.360 - (ms)
  4.0 -   2048  3 -     896.575       0.220     896.296     896.852 - (ms)
  4.0 -   2048  4 -     942.419       0.351     941.791     942.864 - (ms)
  4.0 -   2048  5 -     988.861       0.303     988.381     989.443 - (ms)
  4.0 -   2048  6 -    1038.798       1.476    1037.584    1042.212 - (ms)
  4.0 -   2048  7 -    1104.815       0.244    1104.521    1105.303 - (ms)
  4.0 -   2048  8 -    1140.815       0.389    1140.355    1141.338 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.411 |     808.434 |       1964.948  3.293
      2 |       0.548 |     851.579 |       1554.794  3.192
      3 |       0.625 |     896.575 |       1433.375  3.156
      4 |       0.779 |     942.419 |       1209.201  3.082
      5 |       0.885 |     988.861 |       1117.953  3.048
      6 |       0.976 |    1038.798 |       1064.179  3.027
      7 |       1.084 |    1104.815 |       1019.007  3.008
      8 |       1.180 |    1140.815 |        967.134  2.985

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

* Elapsed time : 154.1 s


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

=> Elapsed time : 367 secs
   Begin        : 15:01:12
   End          : 15:07:19