Simplex Mesh Deformable Model 3D wtih texture images

Hi itk-developers,

I’m using the itkDeformableSimplexMesh3DFilter to make a local adjustment of a simplex mesh. I was inserting a gradient image in the deform filter, however I want to insert a texture image instead of a gradiente image. I’m reading the mesh from a vtk file and the imagem from a NIfTI file. Do you have any suggestions how can I do this? Let me know if you need any further information, please.

Every help or idea is helpful.
Thank you,

As DeformableSimplexMesh3DFilter only works with gradient images, you will need to convert your texture image into a gradient image. I assume you are not after a simple gradient, so conversion from a texture to a gradient should be problem-dependent.