Antennae tip detection and marking.
A tracking trial (631 frames) was background subtracted (green), cropped, and aligned. A search window was defined in the area above the head centroid and limited to pixels with values greater than a dynamic threshold (purple). Within the search area, the longest paths from the head point were used to find the antenna tips (crosses). Data were checked for errors and manually corrected.