Morphological Image Library : Smil vs scikit-image

On nestor

Image hubble_EDF_gray - Type gray - Function open


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 04:02:44 PM
Image    : hubble_EDF_gray.png
  width  :   512
  height :   512
  depth  :     1
  type   : gray
Function : open
  repeat :     7


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

                       *** Image size ***                       

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       0.030       0.000       0.029       0.030 - (ms)
  1.0 -    512  1 -       0.061       0.000       0.061       0.061 - (ms)
  2.0 -   1024  1 -       0.182       0.000       0.182       0.182 - (ms)
  4.0 -   2048  1 -       0.708       0.001       0.706       0.709 - (ms)
  8.0 -   4096  1 -       4.134       0.001       4.133       4.137 - (ms)
 16.0 -   8192  1 -      17.280       0.011      17.262      17.294 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  0.5 -    256  1 -       1.689       0.000       1.689       1.690 - (ms)
  1.0 -    512  1 -      10.000       0.002       9.996      10.004 - (ms)
  2.0 -   1024  1 -      26.267       0.001      26.266      26.269 - (ms)
  4.0 -   2048  1 -     110.817       0.009     110.804     110.836 - (ms)
  8.0 -   4096  1 -     437.772       0.030     437.721     437.819 - (ms)
 16.0 -   8192  1 -    1747.918       0.125    1747.770    1748.102 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |       0.030 |       1.689 |         57.262  1.758
    512 |       0.061 |      10.000 |        163.342  2.213
   1024 |       0.182 |      26.267 |        144.180  2.159
   2048 |       0.708 |     110.817 |        156.491  2.194
   4096 |       4.134 |     437.772 |        105.893  2.025
   8192 |      17.280 |    1747.918 |        101.153  2.005

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

* Elapsed time : 102.9 s

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

                *** Structuring element size ***                

* Smil

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -       0.709       0.000       0.709       0.710 - (ms)
  4.0 -   2048  2 -       1.334       0.002       1.332       1.338 - (ms)
  4.0 -   2048  3 -       1.962       0.001       1.961       1.963 - (ms)
  4.0 -   2048  4 -       2.589       0.001       2.587       2.590 - (ms)
  4.0 -   2048  5 -       3.212       0.000       3.211       3.212 - (ms)
  4.0 -   2048  6 -       3.838       0.001       3.837       3.839 - (ms)
  4.0 -   2048  7 -       4.463       0.001       4.462       4.464 - (ms)
  4.0 -   2048  8 -       5.087       0.001       5.086       5.089 - (ms)

* skImage

      -   Side SE -        Mean     Std Dev         Min         Max
-------------------------------------------------------------------
  4.0 -   2048  1 -     111.107       0.004     111.099     111.111 - (ms)
  4.0 -   2048  2 -     206.578       0.010     206.564     206.594 - (ms)
  4.0 -   2048  3 -     363.447       0.061     363.404     363.594 - (ms)
  4.0 -   2048  4 -     518.394       0.020     518.363     518.422 - (ms)
  4.0 -   2048  5 -     712.964       0.013     712.947     712.990 - (ms)
  4.0 -   2048  6 -     946.398       0.060     946.325     946.486 - (ms)
  4.0 -   2048  7 -    1218.722       0.056    1218.625    1218.822 - (ms)
  4.0 -   2048  8 -    1530.900       0.148    1530.772    1531.242 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
      1 |       0.709 |     111.107 |        156.636  2.195
      2 |       1.334 |     206.578 |        154.859  2.190
      3 |       1.962 |     363.447 |        185.213  2.268
      4 |       2.589 |     518.394 |        200.263  2.302
      5 |       3.212 |     712.964 |        221.971  2.346
      6 |       3.838 |     946.398 |        246.616  2.392
      7 |       4.463 |    1218.722 |        273.092  2.436
      8 |       5.087 |    1530.900 |        300.936  2.478

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

* Elapsed time : 139.0 s


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

=> Elapsed time : 242 secs
   Begin        : 16:02:44
   End          : 16:06:46