[vtkusers] vtkImageErode3D
Marco Nawijn
nawijn at gmail.com
Wed Nov 27 07:29:58 EST 2013
Hi Elena,
Although I probably cannot help you directly, I would advise you
isolate your problem to the smallest compilable piece of code
and post this so experts can take a look at it. One thing that
bit me in the past is that ones you apply a filter, you have to
a.) call Update() on it and b.) call GetOutput() to get the result
you are looking for. Without seeing your code however it is
difficult to judge.
Kind regards,
Marco
P.S. There is nothing wrong with your english!
On Wed, Nov 27, 2013 at 12:24 PM, elena bresciani <
elena.bresciani87 at gmail.com> wrote:
> I'm getting started with vtk and I'm still unable to solve a lot of
> problems.
>
> I'm trying to apply the vtk filter vtkImageDilateErode3D to a CT image but
> I
> can't obtain the result I'm looking for.
> In fact I expect the result to be a at least slightly different image but
> the output is instead an image identical to the one given as input (I even
> checked subtracting the two images with vtkImageMathematics and after the
> operation there's really nothing left!).
> I don't understand if the problem is in the setting of the Erode and Dilate
> values and in the kernel size or maybe in the function of the filter
> itself,
> i.e. I expect that the output image has something less compared to the
> original one after erosion and dilatation (what has been eroded "to the
> ground" canot be dilated back - is this correct?)
>
> Thank you in advance
> Sorry for the bad english
>
> Elena
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20131127/8ab94102/attachment.htm>
More information about the vtkusers
mailing list