[vtkusers] How erode or dilate a volume?

Francois Louis LAILLIER flaillier at eldim.fr
Tue Feb 20 11:37:30 EST 2007


Hi Vtkrusers!

 

I open binary files, render their, 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?

 

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/20070220/18b0410e/attachment.htm>


More information about the vtkusers mailing list