draw the missing internal side of points cloud of jug profile

4 views (last 30 days)
Hello,
I have a profile of jug as points cloud.
The profile doesn't contain the internal side of the profile and I want to complete it.
The thickness of the jug should be equal to the thickness of the rim, and the internal side shouldn't be affected by the base or the handle.
does anyone have an idea?
Thanks!
load jug.mat;
plot(xy(:,1),xy(:,2),'.'); axis equal; hold on;
To something like that (illustration that i tried to draw :)...):

Answers (1)

Image Analyst
Image Analyst on 17 Mar 2025
If you write the points into a digital image you could use imdilate (to thicken the wall) then use bwboundaries to get the (x,y) coordinates of the inside wall. Pretty easy but let me know if you can't figure it out. Requires the Image Processing Toolbox.

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!