[vtkusers] Iterating over an image and getting neighbors
David Doria
daviddoria at gmail.com
Thu Sep 23 15:50:49 EDT 2010
On Thu, Sep 23, 2010 at 3:43 PM, Alex <mrapsouthern at gmail.com> wrote:
> David,
>
> Im really interested in this functionality aswell. Currently I do this
> outside of VTK in a pre-processing stage and I do the "interrogation" of
> the validity in a sequential manner. My application is complicated by the
> fact that edges can occur anywhere not just at the edge of the bounding
> container.
>
> What I'd that like is for the interrogation to be done in parallel on the
> GPU using CUDA (it's very parallelizable) and for it to support 3D grids
> (i.e. retrieve 6 neighbours) aswell.
>
> Why do you require this? I think there are alot of applications of this
> function. I need it for setting up complex grids (not just rectangles and
> cuboids) for physical modelling, the visualization provided by VTK is an
> added bonus.
>
> Cheers
> Alex
That is way above and beyond what I am looking for. I just threw
together what I was talking about here:
git at github.com:daviddoria/vtkImageTraversal.git
Of course this isn't "efficient", but many times "easy" is what users
are looking for.
David
More information about the vtkusers
mailing list