See:<div><br></div><div><a href="http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/IntensityWindowingImageFilter">http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/IntensityWindowingImageFilter</a></div><div><br></div>
<div>and</div><div><br></div><div><a href="http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/RescaleIntensityImageFilter">http://www.vtk.org/Wiki/ITK/Examples/ImageProcessing/RescaleIntensityImageFilter</a><br><br></div>
<div><br><div class="gmail_quote">On Fri, Oct 14, 2011 at 12:12 PM, soheilghafurian <span dir="ltr">&lt;<a href="mailto:soheilghafurian@yahoo.com">soheilghafurian@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi<br>
<br>
I restate my problem with an example:<br>
<br>
I have an image with pixel values between 0 and 255. all my non-zero pixels<br>
are higher than 200. I want to transform it to an image so that my nonzero<br>
pixels start from somewhere near zero and the highest one is 255.<br>
<br>
Could anyone tell me how I should do that please?<br>
<br>
Thanks a lot<br>
<br>
Soheil<br>
<br>
--<br>
View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/How-to-do-contrast-adjustments-tp6893006p6893006.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/How-to-do-contrast-adjustments-tp6893006p6893006.html</a><br>

Sent from the ITK Insight Users mailing list archive at Nabble.com.<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<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
</blockquote></div><br></div>