[Insight-users] erosion performance for binary images

Dan Mueller dan.muel at gmail.com
Fri Jun 5 15:32:37 EDT 2009


Hi Marius,

Thanks for providing your code. I ran it with the following:
    ITK 3.12
    CMake 2.6.2
    Visual Studio 8.0.50727.867
    Windows Vista SP1
    2 x 2 GHz, 3 GB RAM
    Release build

The results were as follows:

Box radius: 1
  Elapsed time erosion_binary: 6.558s.
  Elapsed time erosion VHGW: 6.177s.
  Elapsed time erosion Anchor: 44.742s.
Box radius: 2
  Elapsed time erosion_binary: 7.068s.
  Elapsed time erosion VHGW: 6.114s.
  Elapsed time erosion Anchor: 42.208s.
Box radius: 4
  Elapsed time erosion_binary: 8.595s.
  Elapsed time erosion VHGW: 6.199s.
  Elapsed time erosion Anchor: 44.865s.
Box radius: 8
  Elapsed time erosion_binary: 14.707s.
  Elapsed time erosion VHGW: 6.46s.
  Elapsed time erosion Anchor: 44.666s.
Box radius: 16
  Elapsed time erosion_binary: 38.651s.
  Elapsed time erosion VHGW: 7.117s.
  Elapsed time erosion Anchor: 46.104s.
Box radius: 32
  Elapsed time erosion_binary: 125.506s.
  Elapsed time erosion VHGW: 7.656s.
  Elapsed time erosion Anchor: 49.61s.

These results match with my previous experience with the VHGW filter:
constant time, very fast. Thanks again Richard and Gaëtan!!

Marius: I hope this helps.

Regards, Dan

2009/6/5 Bill Lorensen <bill.lorensen at gmail.com>:
> Marius,
>
> On what platform are you running the tests? And did you build it Release?
>
> Bill


More information about the Insight-users mailing list