How can I make a trace or curve around a set of points to signify region?
Show older comments
Hi everyone,
So I have a figure that contains 3 sets of data. For each of the sets of data, there are points that cluttered in a certain region of the 3D plot. I was wondering how I could possibly trace or put a curve *around* the points. So in theory I want to include just a *region* where the points were found and not the points themselves. Thank you in advance for your help.
Casey
Accepted Answer
More Answers (1)
Image Analyst
on 31 Mar 2013
0 votes
MATLAB does not have ways to "carve out" some irregular region in 3D space - not that I'm aware of anyway. I would certainly be using it for color segmentation if they had something.
Your best bet is to make projections along the 3 directions and use something like imfreehand(), imrect(), rbbox(), roipoly(), or roipolyold() to outline regions in each of the three projections. From there, you could just use those, or you could build a 3D lookup table (3D mask).
1 Comment
You could also possibly use these FEX files to draw the convex polyhedral hull of the groups of points
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!