[Insight-users] multiply binary image by scalar

Nuwan Jayala jayalatn at gmail.com
Wed Jun 5 07:35:09 EDT 2013


Check this out.
http://www.itk.org/Doxygen/html/classitk_1_1MultiplyByConstantImageFilter.html


J


On 5 June 2013 12:37, shirani kannangara <mangalika673 at gmail.com> wrote:

> Hi vtk /itk users
>
> 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.
>
> Thanks in advance
> Shironi
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130605/a1ee6837/attachment.htm>


More information about the Insight-users mailing list