Defining the eye regions in fish larvae. Six steps (A-G) were programmed in MATLAB to quantify eye movements/eye changes in the videos. A head region image (B) was first outlined and extracted from the original image frame (A). The head region was converted into a grayscale image (C) with inverted color (D). Then, the inverted grayscale image was converted into a black-white image (E) using an arbitrary threshold. This black-white image was simplified by removing extra punctae around the retina to define the eye more clearly (F). The final step was to calculate the parameters used to quantify changes during eye movements. (G) Features calculated from the extracted eye region. θ designates the rotation angle. The red line indicates the long axis, and the blue line the short axis of the eye.
Mo et al. BMC Neuroscience 2010 11:110 doi:10.1186/1471-2202-11-110