Morphological Image Library : Smil vs scikit-image

On nestor

Image tools - Type gray - Function areaOpen


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     : 27/07/2021 11:27:05 AM
Image    : tools.png
  width  :   256
  height :   256
  depth  :     1
  type   : gray
Function : areaOpen
  repeat :     7


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

                       *** Image size ***                       

* Smil

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -      18.676       0.021      18.650      18.706 - (ms)
 2.0 -    512  1 -      29.778       0.035      29.735      29.844 - (ms)
 4.0 -   1024  1 -      76.673       0.028      76.615      76.714 - (ms)
 8.0 -   2048  1 -     277.394       0.271     276.747     277.604 - (ms)
16.0 -   4096  1 -    1092.126       1.257    1090.395    1094.345 - (ms)
32.0 -   8192  1 -    4922.893      14.789    4899.799    4940.262 - (ms)

* skImage

     -   Side SE -        Mean     Std Dev         Min         Max
------------------------------------------------------------------
 1.0 -    256  1 -      88.564       0.169      88.195      88.704 - (ms)
 2.0 -    512  1 -     336.969       0.205     336.677     337.287 - (ms)
 4.0 -   1024  1 -    1324.395       1.518    1321.827    1326.530 - (ms)
 8.0 -   2048  1 -    7392.009      68.413    7336.775    7530.287 - (ms)
16.0 -   4096  1 -   45673.380     286.079   45425.214   46358.757 - (ms)
32.0 -   8192  1 -  341580.029     740.932  340646.069  342982.737 - (ms)

* Speed-up : (dt_skimage / dt_Smil)

        |     T(Smil) |  T(skImage) | T(skImage)/T(Smil) [*]
---------------------------------------------------------------
    256 |      18.676 |      88.564 |          4.742  0.676
    512 |      29.778 |     336.969 |         11.316  1.054
   1024 |      76.673 |    1324.395 |         17.273  1.237
   2048 |     277.394 |    7392.009 |         26.648  1.426
   4096 |    1092.126 |   45673.380 |         41.821  1.621
   8192 |    4922.893 |  341580.029 |         69.386  1.841

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

* Elapsed time : 3304.0 s

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

=> Elapsed time : 3305 secs
   Begin        : 11:27:04
   End          : 12:22:09