[vtkusers] extracting a ROI in vtkImageData

Daniel Haehn haehn at bwh.harvard.edu
Fri Jul 9 09:34:23 EDT 2010


Hi martin,

You could use a pipeline of vtkimagereslice and vtkimagethreshold.

Hth,
Daniel

mloepp <mloepp at bwh.harvard.edu> wrote:

>Hello vtk-users,
>
>I'm new in developing in vtk and having some trouble to extract a region of
>interest.
>
>I've got a medical image (*.nrrd) which I've cropped to extract just one
>axial layer.
>Now I'd like to set a point inside the ROI and extract all voxels in this
>layer which have a specific intensity value.
>
>I can't find any vtk class in which I can set as an input a vtkImageData,
>and extract my ROI by setting an intensity condition. The output should
>also be a vtkImageDate.
>
>Any ideas how I can do this?
>
>Thanks in advance,
>Martin
>
>_______________________________________________
>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


More information about the vtkusers mailing list