[vtkusers] How erode or dilate a volume?
Francois Louis LAILLIER
flaillier at eldim.fr
Wed Feb 21 02:45:17 EST 2007
Hi Vtkrusers!
I open binary files, render them, threshold the volume.
Now, I want to erode the noisy data.
After my threshold I erode data like that.
###################CODE##################
Blablabla
threshold.Update
Dim erode As vtkImageDilateErode3D
Set erode = New vtkImageDilateErode3D
erode.SetInput threshold.GetOutput
erode.SetKernelSize 3, 3, 3
erode.SetErodeValue 0
erode.SetDilateValue 0
erode.Update
##################"#######################
It Doesn't work.WHY?
My volume is rendered but without difference between only threshold and
with erodes.
I change kernel size without success, I change seterodevalue without
success to.
Can you explain me the arguments of seterodevalue or setdilatevalue.
Thanks' in advance
Best regards, Francois Louis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070221/8c41a87a/attachment.htm>
More information about the vtkusers
mailing list