Nils-Tack's repositories
Fish-swimming-masks-pressure-and-forces
Script used to prepare PIV data files, create masks/outlines from images, manually correct outlines (if necessary),compute pressure fields, thrust and drag forces acting on the body, and the Froude efficiency. Please refer to the following publication for details about pressure field calculations from 2D velocity fields: Dabiri, J. O., Bose, S., Gemmell, B. J., Colin, S. P. and Costello, J. H. (2014). An algorithm to estimate unsteady and quasi-steady pressure fields from velocity field measurements. J. Exp. Biol. 217, 331–336.
Compute-centerlines-from-outlines
Script used to produce the centerline of an object. Input file(s) must be n x 2 matrices of the x and y coordinates of the boundary of the object (outline).
Matlab-colorQuiver
MATLAB function replacing 'quiver' to plot colored vector fields.
Bezier-curve-centerline
This manual method of fish centerline extraction was developed to simplify conventional manual data extraction and increase the signal to noise-ratio when extracting centerlines.
Rotate-2D-profile
Rotates a 2D profile around a given point, either defined automatically or manually.
velocityVorticityPlots
This repository contains a suite of Matlab scripts and functions to plot velocity and vorticity fields from PIV data. In addition, the script performs basic image processing to extract black and white masks used to mask data when an object is present in the field of view.