jdber1 / opendrop

OpenDrop pendant drop tensiometry software
GNU General Public License v3.0
30 stars 18 forks source link

Drop image background Contrast #36

Open Wizy2021 opened 2 years ago

Wizy2021 commented 2 years ago

I'm setting up a pendant drop tensiometer . Which background color should I use when acquiring the the drop image which is suitable for Opendrop.

eugenhu commented 2 years ago

The software just does some simple thresholding on the gradient of the image to decide which pixels are edge pixels, so as long as there is a clear contrast between the drop and the background, anything is fine.

That said, I'm not super familiar with tensiometry setups, I'm mainly just responsible for writing code. However I think usually you'd have the drop sitting in front of a diffused white light source, such as (image source):

image