Supplementary Figure 2: Image-processing pipeline for fish tracking.
From: Pan-neuronal calcium imaging with cellular resolution in freely swimming zebrafish

Each image undergoes background subtraction and image filtering, followed by feature detection to locate the eyes and yolk. The location and orientation of the brain is determined by the position of the eyes and yolk (Methods). Scale bars, 1 mm. All data were collected from an awake and freely swimming 6 dpf larval zebrafish.