[vtkusers] test if vtkImageData is blank
Sebastien Jourdain
sebastien.jourdain at kitware.com
Sun Dec 26 11:47:50 EST 2010
If you have a scalar range on the data array and if the min/max are
equal to 0, you are done...
Seb
On Mon, Dec 20, 2010 at 6:15 PM, Jonathan Morra <jonmorra at gmail.com> wrote:
> Is there a way to quickly tell if a vtkImageData is blank (contains all
> 0's)? I can't iterate the pixels cause I'm in Java and that's too slow.
> _______________________________________________
> 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