[vtkusers] How erode or dilate a volume?

Amy Squillacote amy.squillacote at kitware.com
Tue Feb 20 12:04:03 EST 2007


Hi Francois,

Please provide more information that just "it doesn't work". What kind 
of failure are you seeing? What did you expect the result to be, and how 
was that different from what happened?

- Amy

Francois Louis LAILLIER wrote:
>
> 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.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>   

-- 
Amy Squillacote
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
Phone: (518) 371-3971 x106




More information about the vtkusers mailing list