[vtk-developers] vtkImageContinuousDilate3D: documentation
Mathieu Malaterre
Mathieu.Malaterre at creatis.insa-lyon.fr
Fri May 30 10:27:11 EDT 2003
Hi all,
After trying to use vtkImageContinuousDilate3D with SetKernelSize(2, 2,
1). I discover that this class doesn't like even number.
For instance in that case, here is what it would do:
0 0 0 0 1 1
0 1 0 -> 0 1 1
0 0 0 0 0 0
And for kernel = 3, 3, 1
0 0 0 1 1 1
0 1 0 -> 1 1 1
0 0 0 1 1 1
Which is what I was willing from a kernel = 2, 2, 1
Is it a feature? or could someone add a comment in the doc saying that
user should use a kernel = kernel + 1.
Thanks,
mathieu
--
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
More information about the vtk-developers
mailing list