<div dir="ltr"><div>Check this out.<br><a href="http://www.itk.org/Doxygen/html/classitk_1_1MultiplyByConstantImageFilter.html">http://www.itk.org/Doxygen/html/classitk_1_1MultiplyByConstantImageFilter.html</a><br><br><br>
</div>J<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 June 2013 12:37, shirani kannangara <span dir="ltr">&lt;<a href="mailto:mangalika673@gmail.com" target="_blank">mangalika673@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi vtk /itk users<div><br></div><div>I converted vtk mesh to binary image.using itkTriangleMeshToBinaryImageFilte and wrote to a file as.mhd image.Now I want to mulyiply this binary image by a scalar for eg.7. How can I do this?Do I have to cast it into int.I am not sure.Can any body please help me to do it.</div>

<div><br></div><div>Thanks in advance</div><div>Shironi</div></div>
<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.php" target="_blank">http://www.kitware.com/products/protraining.php</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>
<br></blockquote></div><br></div>