[Insight-users] Example: Setting landmarks in 3D using QT/ITK/VTK

Dirk body at nabla.org
Wed Nov 4 04:17:47 EST 2009


On 10/22/2009 12:55:28 AM, David Doria wrote:
> On Tue, Oct 20, 2009 at 9:15 AM, Dirk <body at nabla.org> wrote:
> > Dear listmembers,
> >
> > I programmed an example in which itkImageFileReader is used to load
> a
> > 3D image which is then viewed in a QVTKImage with the help of
> > vtkImageViewer2.
> > Points / landmarks can be set with the mouse and a vtkPointWidget
> > and be saved as a vtkPolyData .vtk file afterwards.
> > Everything in a nice QT GUI.
> >
> > I am new to VTK/ITK and it took some time to put everything
> together.
> > Perhaps this will help anyone who is trying to achieve something
> > similar.
> >
> > Check it out at http://github.com/dirkboye/myImageLandmarker
> >
> > or directly clone it with
> > git clone git://github.com/dirkboye/myImageLandmarker.git
> >
> >
> > Cheers,
> > Dirk
> > __
> 
> Dirk,
> 
> I just started looking into doing this from inside Paraview with
> polydata rather than imagedata. The idea was the to be able to apply
> the landmark filter to manually register two data sets without ever
> leaving paraview. Do you think there is anything that could be taken
> from this for my effort? Or should we leave this in a standalone QT
> app and I'll continue doing it for Paraview?
> 
> Thanks,
> 
> David
> _____________________________________
> 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 ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 

Hi David,

I've never programmed something for Paraview (just using it to
try out filters and view files) so I don't know if there's 
anything you could use but feel free to take any
code you find useful for your project.

Cheers,
Dirk





More information about the Insight-users mailing list