InverseLight / ValoMC

Monte Carlo software for simulating light propagation
https://inverselight.github.io/ValoMC/
Other
43 stars 14 forks source link

missing surface or volume elements #18

Open ogruhn opened 2 years ago

ogruhn commented 2 years ago

Dear ValoMC Team, dear github community,

I am working on a monte carlo simulation on soft tissue analysis including ValoMC and 3D-Slicer. For the last week I tried to find a solution for the upcoming issue that I hope you can help me with.

As far as I can see ValoMC needs *.vol data, including volume elements, point data AND surface elements for running the analysis via importNetGen command.

The segment data exported by 3D-Slicer is saved as *.vtk (unstructured ascii grid). The meshgrid can be created by Cleaver, including volume and points, or TetGen, including surface and points. Combining single handedly isn't possible as well, because the data doesn't have relatable bounds.

The conversion from .vtk to .vol is no problem, but with either the surface elements or volume data missing ValoMC refuses to work. Sadly the given examples of sphere_in_box and digimouse are not really of help, because these example data are totally different from the exported Slicer format.

Is this an already known problem you already know a workaround for, or would you have any suggestions that could help?

Thank you very much in advance!

greetings

Oliver Gruhn