[vtkusers] WindowLevel Autobalance

Raúl Ferriz raul at torresyvalero.com
Mon Jun 28 10:39:59 EDT 2010


El 28/06/2010 14:47, John Fraser escribió:
> Hi Raul,
> You could try using vtkImageAccumulator like this:
> vtkImageAccumulate acc = new vtkImageAccumulate();
> acc.SetInput(imageReader.GetOutput());
> acc.Update();
> double[] max = acc.GetMax();
> double[] min = acc.GetMin();
> John
>


Many thanks John, that worked like charm!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100628/3510c7ff/attachment.htm>


More information about the vtkusers mailing list