Creat interactive toolbox for image processing

Hi experts,
I have a sequence of images (hundreds) like one above, I want to build a interactive tool to draw a line (redline in the image) for the first image, and apply for the rest of images, then tracing the object above the line with bwtraceboundary after change image to black-white.
Can anyone suggest the idea or functions to do this?
Thank you!

Answers (1)

Image Analyst
Image Analyst on 20 Mar 2023
Edited: Image Analyst on 20 Mar 2023
See my attached contact angle demo.
Note in the code where I find the black baseline at the bottom of the droplet. Adapt as needed.

Categories

Products

Release

R2022b

Asked:

on 20 Mar 2023

Edited:

on 20 Mar 2023

Community Treasure Hunt

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

Start Hunting!