Drop shape analysis. Fit contact angle by double ellipses or polynomials

Version 1.1.0.0 (703 KB) by Nis
I have cleaned up the scripts and uploaded two examples
1.4K Downloads
Updated 5 Jul 2016

View License

This is my collection of scripts for fitting contact angles of tilted drops. There is two methods, polynomial fitting and double sided elliptical fit. A description of the latter method have been submitted to a peer reviewed journal, i will post proper reference when possible.
When downloading the scripts make sure to add all folders and subfolders to the MATLAB path.
I have included two examples:
Example 1: Calculates the contact angle of a single drop image in a *.Tiff format. This example also plots the result of each step in fitting process.
Example 2: Calculates the contact angle for each frame in an *.avi movie. This includes finding the baseline for all images and averaging to get a accurate baseline positioning and includes the possibility to add calibration functions that compensate for any mechanical shift of the drop image during tilting.

Cite As

Nis (2024). Drop shape analysis. Fit contact angle by double ellipses or polynomials (https://www.mathworks.com/matlabcentral/fileexchange/57919-drop-shape-analysis-fit-contact-angle-by-double-ellipses-or-polynomials), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired by: fit_ellipse, Accurate subpixel edge location

Community Treasure Hunt

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

Start Hunting!

Examples/

Scripts/

Scripts/Subpixel Matlab v2.11/

Scripts/Subpixel Matlab v2.11/EdgeDetector/

Scripts/Subpixel Matlab v2.11/GUI/

Scripts/Subpixel Matlab v2.11/Statistics/

Scripts/Subpixel Matlab v2.11/Synthetic/

Version Published Release Notes
1.1.0.0

I have cleaned up the scripts and uploaded two examples.

1.0.0.0

Updated with all files, including the required "acurate subpixel edge location" and "fit_ellipse"