Skip to content

A MATLAB code which reads numbers in a video, references, and calculates drop dynamics' characteristics

License

Notifications You must be signed in to change notification settings

mashadab/drop-dynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

drop-dynamics, moving-camera video, template-matching, normalized cross-correlation

A MATLAB code which reads numbers in a video, references, and calculates drop dynamics' characteristics

Brief summary:

The MATLAB code reads a number in a video frame using template matching (normalized cross-correlation algorithm). Further, it references the pixels accordingly considering the parallax between the scale and the object (drop). Finally, it calculates the object (drop) characteristics such as height from the free surface, velocity, aspect ratio, etc. In a nutshell, the code can be used where the camera moves with the object but a fixed ruler in the image can be used for referencing.

Enclosed:

Template images, sample .avi color video for analysis, Matlab code file

Input:

Color video .avi (2000X2000 pixels) and associated parameters in the code; Output: Analyzed video and MATLAB data file

After downloading, what to do: Extract the Archive and RUN THE CODE! Comments provided in the code.

Sample_analyzed.mov

Citation:

Shadab, M.A., Divoux, T. and Bischofberger, I., 2018. Drop-dynamics, Zenodo DOI: 10.5281/zenodo.6581760

About

A MATLAB code which reads numbers in a video, references, and calculates drop dynamics' characteristics

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published