Hello Raul,<div><br></div><div>extracted from another thread by Bill Lorensen:<div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><i>itkMinimumMaximumImageFilter - computes </i></span><span class="il" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(255, 255, 204); background-position: initial initial; background-repeat: initial initial; "><i>minimum</i></span><i>/maximum intensity<br>

values of an image</i></div></blockquote><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Frederic Perez<br>

</span></font><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 1:30 PM, Raúl Ferriz <span dir="ltr">&lt;<a href="mailto:raul@torresyvalero.com">raul@torresyvalero.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

El 28/06/2010 12:31, Raúl Ferriz escribió:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there an easy way to autobalance window-level on a dicom image?<br>
<br>
I have searched on vtk samples and google but I have not found how to do this.<br>
<br>
I use an vtkImageViewer2 to display.<br>
<br>
<br>
Many thanks.<br>
</blockquote></div>
What I need exactly is the way to get minimum and maximum value of the input (imagedata). So I can manually compute and apply window level with this two values. But I don&#39;t know to get this two values. Any advice?<div>

<div></div><div class="h5"><br>
<br>
Many thanks.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div></div>