[vtkusers] multiply binary image by scalar

shirani kannangara mangalika673 at gmail.com
Wed Jun 5 06:37:32 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130605/78ba4c7e/attachment.htm>


More information about the vtkusers mailing list