[prev in list] [next in list] [prev in thread] [next in thread]
List: vtkusers
Subject: Re: [vtkusers] Help accessing results from Sobel3D
From: David Doria <daviddoria () gmail ! com>
Date: 2012-03-30 11:29:50
Message-ID: CABDpjTmNHs31ULcj1X7rc8G+Ei7SBs0mhP7VHefsSW+-PE9ynQ () mail ! gmail ! com
[Download RAW message or body]
On Fri, Mar 30, 2012 at 6:48 AM, Paulo Neves <paulo.alex.neves@gmail.com> w=
rote:
> Dear all,
>
> I am trying to obtain results of Sobel 3D over a 3D dataset of DICOM imag=
es.
>
> DICOM images are correctly imported through GDCM, and a Ray Casting Volume
> Rendering shows that everything is ok with this part.
>
> I am using vtkSobel3D to calculate sobel filter by setting the input
> connection to the output of the reader.
>
> Up to this everything seems to be fine. However, now I needed to get to t=
he
> values themselves, which I hope results in a 3 (Gx, Gy and Gz) sober
> components, each with 3 coordinates (x, y, z). This comes from my analogy
> that Sobel 2D produces Gx and Gy, both 2D "images".
>
> I found out an example with Sobel3D in
> here:=A0http://www.vtk.org/Wiki/VTK/Examples/Cxx/Broken/Images/ImageSobel=
3D
>
> However, I only obtain a planar image from the x and y components (no z
> component in the example, since it is only a 2D image as source).
>
> My question is, since I have 3D Gx, Gy and Gz components, how can I access
> them?
>
> Any help would be much appreciated.
>
> Best regards,
That example is in the "Broken" category, so I wouldn't trust it :).
However, it is creating a 3D image as input. It looks to me like you'd
just need to add a new extract filter with:
extractZFilter->SetComponents(2);
It would be great if you could fix this example along the way!
David
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at http://www.kitware.com/opensour=
ce/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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic