How can I voxelize a medium?

2 vues (au cours des 30 derniers jours)
Merisa Saber
Merisa Saber le 26 Oct 2018
Modifié(e) : Merisa Saber le 14 Déc 2018
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 commentaire
dpb
dpb le 26 Oct 2018
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...

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Lighting, Transparency, and Shading dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by