Detecting a meniscus line in MATLAB images

2 replies · 2K views · last reply
member 428835
Hi PF!

Do any of you know a good way to detect the meniscus of the attached image (in MATLAB)? I have a very ghetto method, and would like something more automated.

Thanks for your help!
 
Attachments
  • Photo of a clear acrylic apparatus with red-dyed liquid in an upper chamber, two blue valves labelled CLOSE VALVE 1 and CLOSE VALVE 2, and a lower cylinder with a graduated scale and a digital timer reading 0:15:28.
    pic.jpg
    63.5 KB · Views: 292
Perhaps detect the steep color gradient of the Red fluid.
 
I actually ended up creating a binary file as the picture and then made a loop to detect the first pixel in a certain region. Seems to work well. Thanks for the reply!