Some example how to do the task in the subject? Preferable in Python.
I suppose that .stl is 3D surface image and .mha are a 3D Volume (3 dimension array of pixels (compressed?)). Some processing must be done in the middle (fill inside the surface).
Thanks,
Luis Gonçalves