Finding plug contact angle using image processing

I came across lot of codes available for finding contact angle of pendant drops. Can anyone please guide me to find contact angle for the configuration shown below? http://s8.postimage.org/wsvetl75x/Edge1.png
Thanks in advance

Answers (1)

I have no idea what I'm looking at, and have no idea what is supposed to be measured in that image. What is a pendant? Something that hangs around something, like your neck? What is a plug? The blades at the end of a power cable that you plug into the wall? How would these be related to contact angle, like the angle a droplet of liquid has when it meets a surface?

6 Comments

Yes sir, As you told, Contact angle is measured by tangent drawn from the point of contact of liquid on surface and the horizontal. The image I attached is a liquid inside a horizontal tube after edge detection. I am herewith sending the image again indicating what exactly I am trying to find out using MATLAB. Kindly take a look : http://s7.postimage.org/6xpbz2323/Edge1.png
Thanks S.Vyas
And a volume of liquid inside a small diameter tube is usually called as liquid plug.
Is that the best image you can get? It looks like it was binarized with an ineffective algorithm.
Sir, the original image without any edge detection is here: http://s4.postimage.org/sv4c11qod/20ul_adv2_C001_H001_S0001000003.png The image in previous comment is after few trials of edge detection that I tried in ImageJ software. Kindly help me in finding the angle in this situation.
What I would try is to use imfindcircle() to find the circle part. Then find the intersection lines. Then knowing the equation of the circle, you can get the tangent to it where it intersects the top and bottom lines.
Sir, Thanks for your help, I am trying on and it seems to come good. Shall seek your help again if needed. Thanks :)

Sign in to comment.

Asked:

on 30 Jan 2013

Community Treasure Hunt

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

Start Hunting!