[Insight-users] crop tool with ITK VTK Qt

David Doria daviddoria at gmail.com
Tue May 14 10:50:04 EDT 2013


On Tue, May 14, 2013 at 10:44 AM, Cary lorey
<developement.unity at gmail.com> wrote:
> Hello,
>
> I was able to draw on an image frame using vtkBorderWidget (here the image
> below), now I want when I click the crop button, there remain only the
> selected region. is the class
> http://www.vtk.org/doc/nightly/html/classvtkImageCroppingRegionsWidget.html
> do the trick or not, well I have not found an example for even its
> usefulness, if not exist there any method that meets my needs?
>
> Thank you.

Please keep the discussion on the emailing list.

Why do you not want to do the cropping in ITK (the beginning of your pipeline)?

This is the way to do the cropping in VTK:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/ExtractVOI

David


More information about the Insight-users mailing list