From: Troy on 27 Jul 2010 15:41 I am attempting to create a logical mask for a volume whose surface models a closed segment of an artery (shaped like an L). Near this volume are many data points, and I would like to know exactly which points are inside the volume and which ones are outside. I have an .stl file that gives me the geometry of the model (composed of many triangles); specifically, I know the coordinates of the vertices of each triangle, the normal vector of each triangle (placed at each centroid), and a connectivity matrix that uses specific vertices to create the correct faces. Am I able to create a mask for this very specific surface with this information? Any and all tips are appreciated!
From: us on 27 Jul 2010 15:51 "Troy " <meal0016(a)umn.edu> wrote in message <i2ncp4$bds$1(a)fred.mathworks.com>... > I am attempting to create a logical mask for a volume whose surface models a closed segment of an artery (shaped like an L). Near this volume are many data points, and I would like to know exactly which points are inside the volume and which ones are outside. > > I have an .stl file that gives me the geometry of the model (composed of many triangles); specifically, I know the coordinates of the vertices of each triangle, the normal vector of each triangle (placed at each centroid), and a connectivity matrix that uses specific vertices to create the correct faces. > > Am I able to create a mask for this very specific surface with this information? Any and all tips are appreciated! a hint: - this FEX submission by john d'errico might be helpful... http://www.mathworks.com/matlabcentral/fileexchange/10226-inhull us
From: Troy on 30 Jul 2010 02:44 > a hint: > - this FEX submission by john d'errico might be helpful... > > http://www.mathworks.com/matlabcentral/fileexchange/10226-inhull > > us It appears to be working thus far, although I have yet to verify its accuracy. Thank you very much!
From: Troy on 2 Aug 2010 16:45 "Troy " <meal0016(a)umn.edu> wrote in message <i2tsbm$6t9$1(a)fred.mathworks.com>... > > a hint: > > - this FEX submission by john d'errico might be helpful... > > > > http://www.mathworks.com/matlabcentral/fileexchange/10226-inhull > > > > us > > It appears to be working thus far, although I have yet to verify its accuracy. Thank you very much! I am afraid I spoke too soon. This will not quite work for me because the "hull" functions cannot accurately capture the geometry of my model. However, it may be of use if I can divide the model into several volumes and then apply the function. I will give it a shot. In the mean time, if anyone has a suggestion regarding my original post please let me know. Thank you.
|
Pages: 1 Prev: error while executing datenum Next: counting multiple values in matrix |