[vtkusers] get range of binary image data

Jonathan Morra jonmorra at gmail.com
Tue Feb 15 14:41:24 EST 2011


I implemented a way which steps in from the end of each axis until it
reaches a value of 1, but this is too slow, is there a faster way?

On Wed, Feb 2, 2011 at 12:12 PM, Jonathan Morra <jonmorra at gmail.com> wrote:

> I have a vtkImageData that is all binary data.  Is there a quick way to get
> the smallest rectangular bounding box that contains all voxels equal to 1?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110215/bdb4e4b5/attachment.htm>


More information about the vtkusers mailing list