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?<br><br><div class="gmail_quote">On Wed, Feb 2, 2011 at 12:12 PM, Jonathan Morra <span dir="ltr"><<a href="mailto:jonmorra@gmail.com">jonmorra@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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?
</blockquote></div><br>