Convert from itk.Mesh[itk.F,3] to itk.Mesh[itk.SS,3]

Hi!

itk.MeshFileReader and itk.TriangleMeshToBinaryImageFilter don’t share a common mesh type.
So I need to load a itk.F/itk.D mesh and convert it to a itk.SS/itk.UC/itk.US mesh.

Does anyone know how to do that?

Problem example: MeshToImage.zip (58.7 KB)
vtk version 8.1.2
itk version 5.0.1

Anyone? :pleading_face:

Perhaps @matt.mccormick. But probably TriangleMeshToBinaryImageFilter need itk.F mesh specified instead of int mesh in its Python wrapping definition.