On Fri, Aug 19, 2011 at 5:52 PM, David Brayford <dbrayford at gmail.com> wrote: > Hi, > > How do I crop a 2D image in vtk and also how do I set the black pixels > to colourless? > > David Cropping: http://www.vtk.org/Wiki/VTK/Examples/Cxx/ImageData/ExtractVOI Transparency: http://www.vtk.org/Wiki/VTK/Examples/Cxx/Images/Transparency David