How can I voxelize a medium?

2 次查看(过去 30 天)
Merisa Saber
Merisa Saber 2018-10-26
编辑: Merisa Saber 2018-12-14
Hello I wrote a code to draw lines in a 3D space. there are a lot of lines in different positions. I want to divide this space to find which line goes through which divsion. or find how many lines go through each division. for example lines are in space with dimension of -10 to 10 mm in x,y and z directions. and every division of space which we call voxel is a cube with 0.1 mm of each dinension. could you help me to write a code to voxelize the space and find the number of lines go through each voxel please?
  1 个评论
dpb
dpb 2018-10-26
Way too much presumed knowledge of the problem for anyone else to have a klew of what you're talking about...
Attach some data as a .mat file and show what you would expect the input/output to be for (small) case and how that is known to be the right answer...

请先登录,再进行评论。

回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by