Creation of an automatic polyline
Afficher commentaires plus anciens
My objective is to create an automatic polyline in the attached image, which is a tube with a bubble, so i can aproximate the area of the bubble to any polygon. I don't know which function or command to use. I searched for references on the internet and the only thing i found was the construction of a "manual" polyline (link below). Can anybody help me?
Thanks in advance!
7 commentaires
Turlough Hughes
le 11 Mar 2020
Yea that's very possible. How did you get the green line in the first place?
Turlough Hughes
le 12 Mar 2020
What is your reason for doing this by the way? I assume you want to manually adjust the perimeter once you setup a polyline or something like that.
Can you upload the binary image by saving the variable as a .mat file and attaching it to the question?
Image Analyst
le 14 Mar 2020
This just looks like a big white blob. Can you attach the original gray scale or RGB image also, along with the code you used to segment it and create that binary image?
And I'm not sure what "I need it to make an approach of the bubble area as a semi ellipse, take this area and make a rotation to calculate it's volume." means. Do you just want to fit an ellipse to the white blob? If so calling regionprops() and asking for MajorAxisLength and MinorAxisLength is enough for you to get a volume (assuming rotation symmetry out of the plane). I don't see why rotation is needed.
Rik
le 11 Juin 2020
Why did you edit away all your questions? That is very rude.
Turlough Hughes
le 17 Juin 2020
I second that.
Rik
le 17 Juin 2020
Creation of an automatic polyline
My objective is to create an automatic polyline in the attached image, which is a tube with a bubble, so i can aproximate the area of the bubble to any polygon. I don't know which function or command to use. I searched for references on the internet and the only thing i found was the construction of a "manual" polyline (link below). Can anybody help me?
Thanks in advance!

Rena Berman
le 12 Oct 2020
(Answers Dev) Restored edit
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Lighting, Transparency, and Shading dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!