Imaging animal behavior, rather than relying on direct observation, is not only convenient but also has the advantage of leaving visual documentation. This allows for blind analysis by an objective third person, or could even be used for automated analysis using image recognition techniques. Despite the advantages, the standard equipment usually offered is high in cost, so one is committed to the setup once purchased.
Using smartphones to collect video recordings of simple C. elegans behavior offers several advantages. It requires minimal familiarity with tech knowledge and is extremely easy to set up, using items that can be procured easily and cheaply. Another advantage is the portability of a smartphone-it can fit in small spaces, and since it has its own storage, it does not need to be connected back to a computer. This allows the setup to be placed anywhere, even when space is extremely limited. Moving the recorded video files to the computer is convenient-the files are not that big since they are encoded in a compressed MPEG-4 format. Moving files is especially convenient when wireless options of file transfer are available.
Because the worms are imaged without any magnification, the worms captured in the videos consist of only a few pixels. L4 worms are just big enough to be captured without magnification, but the small pixel size limits its use for high-quality image recognition and movement tracking. Using the zoom lens offered by more recent models or attaching a zoom lens adaptor may help obtain more detailed images, although we have not tried this ourselves. However, this would also reduce the field of view and the number of plates that can be imaged simultaneously.
To make counting easier, the videos are cropped to show individual plates, and trimmed to 10 s videos corresponding to every hour of the assay. This is also important as converting the videos into AVI format significantly increases the file size, and cropping and trimming the videos ensure that the file sizes are more manageable. The cropped AVI files could also potentially be used to count the worms automatically with an image recognition algorithm. For the wild-type strain, we found that a crude form of automated counting is possible in ImageJ, using simple thresholding. However, when mutants with a smaller body size are used, automated counts produce more errors.
There have been many efforts to image worms and automate analyses. Traditionally, worms were recorded through a camera attached to a dissecting microscope, which usually only allows the imaging of a few worms at once due to its limited field of view. The need to image more worms simultaneously for higher throughput analyses pushed researchers to develop creative imaging approaches. One way was to use modified flatbed scanners to image lifespan assays, such as WormScan or the Lifespan Machine12,13. A high-resolution scanner can image worms so that moving live worms can be distinguished from unmoving dead worms.
For tracking worm movements at a higher fps rate, a camera is attached to a lens, and worms are imaged without a microscope14,15. Churgin et al., who developed WorMotel14, a method for long term imaging of individual worms grown in a polydimethylsiloxane (PDMS) multi-well plate, provide detailed explanations on factors to consider when choosing the right camera and lens16. This method also has the added advantage of being relatively modest in cost.
Capturing worms without a microscope inevitably results in images that lack the resolution for detailed analysis on the locomotion or gait of worms. To remedy this, Barlow et al. employed a strategy of using six cameras arranged in a three by two array to capture a single 96-well plate17. Each camera is set up to image only four x four wells of the 96-well plate, resulting in a much higher size and resolution of the imaged worms.
Because C. elegans has a clear body, lighting also has to be adjusted to provide contrast from the background. Our method used illumination from a flat LED light box, passed through a narrow tunnel to focus the light. The dimensions were determined by the size of the plate imaged; the 5.5 cm width fit the 35 mm plate used for the avoidance assay. To image a larger area, the tunnel will have to be wider, but we found that the height also needs to be increased as well to obtain the same focusing effect. The downside is that, with higher tunnels, more of the walls can be seen through the plate, obstructing the view at the edge of the plate. Another strategy that could be employed is to use LED string lights arranged in a circular ring (LED ring). The light, coming from many directions, scatters on the surface of the worm's body, creating light worms against a dark background14,16,18. This could work not only for bigger plates, but for imaging in smaller spaces that cannot fit a LED light box.
With many available imaging strategies developed by the worm community, researchers may want to try out a few options to find the right one that fits their need. The imaging method described here is cheap and approachable enough that it can easily be used in undergraduate classrooms, or as a temporary solution before investing in a long-term setup.