ciliaFA: a research tool for automated, high-throughput measurement of ciliary beat frequency using freely available software
- Claire M Smith†1Email author,
- Jana Djakow†2,
- Robert C Free3,
- Petr Djakow4,
- Rana Lonnen1,
- Gwyneth Williams1,
- Petr Pohunek2,
- Robert A Hirst1,
- Andrew J Easton5,
- Peter W Andrew1 and
- Christopher O’Callaghan1
© Smith et al; licensee BioMed Central Ltd. 2012
Received: 12 September 2011
Accepted: 22 December 2011
Published: 1 August 2012
Analysis of ciliary function for assessment of patients suspected of primary ciliary dyskinesia (PCD) and for research studies of respiratory and ependymal cilia requires assessment of both ciliary beat pattern and beat frequency. While direct measurement of beat frequency from high-speed video recordings is the most accurate and reproducible technique it is extremely time consuming. The aim of this study was to develop a freely available automated method of ciliary beat frequency analysis from digital video (AVI) files that runs on open-source software (ImageJ) coupled to Microsoft Excel, and to validate this by comparison to the direct measuring high-speed video recordings of respiratory and ependymal cilia. These models allowed comparison to cilia beating between 3 and 52 Hz.
Digital video files of motile ciliated ependymal (frequency range 34 to 52 Hz) and respiratory epithelial cells (frequency 3 to 18 Hz) were captured using a high-speed digital video recorder. To cover the range above between 18 and 37 Hz the frequency of ependymal cilia were slowed by the addition of the pneumococcal toxin pneumolysin. Measurements made directly by timing a given number of individual ciliary beat cycles were compared with those obtained using the automated ciliaFA system.
The overall mean difference (± SD) between the ciliaFA and direct measurement high-speed digital imaging methods was −0.05 ± 1.25 Hz, the correlation coefficient was shown to be 0.991 and the Bland-Altman limits of agreement were from −1.99 to 1.49 Hz for respiratory and from −2.55 to 3.25 Hz for ependymal cilia.
A plugin for ImageJ was developed that extracts pixel intensities and performs fast Fourier transformation (FFT) using Microsoft Excel. The ciliaFA software allowed automated, high throughput measurement of respiratory and ependymal ciliary beat frequency (range 3 to 52 Hz) and avoids operator error due to selection bias. We have included free access to the ciliaFA plugin and installation instructions in Additional file 1 accompanying this manuscript that other researchers may use.
In the human respiratory tract cilia beat in a coordinated fashion at a frequency of approximately 10 to 14 Hz, propelling mucus towards the pharynx where it is swallowed . This process is known as mucociliary clearance (MCC). In the brain, ependymal cilia beat at a frequency of around 40 Hz, moving cerebrospinal fluid (CSF) close to the ventricular wall. Many factors, including inherited ciliary defects in primary ciliary dyskinesia (PCD), temperature, pH, viscosity and exposure to bacterial and viral pathogens have been shown affect ciliary function [2–5]. Recent studies have shown that assessment of both ciliary beat pattern and frequency are essential as cilia may beat in a dyskinetic fashion while maintaining their normal beat frequency [5–7]. The most accurate method for determining ciliary beat frequency, particularly at high beat frequencies is by directly timing a given number of individual ciliary beat cycles from slow-motion playback of high-speed video files . However, this is extremely time consuming and automated methods designed to rapidly measure beat frequency from high-speed video recordings are needed [8–10].
Ependyma tissue preparation
Vibratome sections (250 μm thick) of the floor of the fourth ventricle of the brains of infant Wistar rats (between 9 and 15 days of age) were prepared to allow ependymal cilia to be viewed on an inverted microscope using a × 40 objective lens. Each section was submerged under 4 ml of media 199 (M199, Gibco, Invitrogen, Paisley, UK), as described previously .
Human respiratory cilia
Human respiratory epithelium was obtained by brushing the inferior nasal turbinate with a 2-mm cytology brush (Keymed, Southend-on-Sea, UK) as previously described . Cells were dislodged from the brush into M199 medium and grown to a ciliated phenotype at air-liquid interface as previously described . Ethical approval for the collection of nasal epithelial cells was given by the Leicestershire Ethical Review Committee.
Measurement of CBF
To determine ciliary beat frequency, both the brain slices and the respiratory cells in culture were placed in an incubation (37°C) chamber and were observed via an inverted microscope system (Nikon TU1000, Kingston-upon-Thames, UK). Tissue was allowed to equilibrate for 30 minutes before readings. Beating cilia were recorded using a Motion Pro X4 digital high-speed video camera (Lake Image Systems, Henrietta, N.Y. USA) at a rate of 250 to 500 frames per second using an × 40 objective as previously described . At least 512 or 1,024 frames were captured, respectively.
The camera allows video sequences to be recorded and played back at reduced frame rates or frame by frame. CBF is calculated by the observer timing a given number of individual cilia beat cycles using the following equation: Frame rate (number of frames/sec)/5 (frames elapsed for five ciliary beat cycles) × 5 (conversion per beat cycle).
Inhibition of CBF
To evaluate beat frequencies between the upper limit of normal (approximately 16 Hz) for respiratory cilia and the lower limit of normal for ependymal cilia (approximately 36 Hz) we slowed ependymal ciliary beat frequency by the addition of the pneumococcal toxin, pneumolysin. We have previously shown pneumolysin to reduce ependymal ciliary beat frequency . Pneumolysin was purified as previously described . Cells were exposed to 1 ml M199 containing 300 ng of pneumolysin, which was preheated to 37°C. The CBF was measured at intervals of 0, 5, and 15 minutes over the course of the experiment. At each time point, images were captured from four different areas along the ciliated edge of the brain slice.
To develop software to batch-process and calculate CBF, we focused on two core components: the first was to extract the pixel intensities of particular region of interest (ROI) over time and the second to use this data for fast Fourier transformation (FFT). We used the freely available open-source ImageJ software to determine the average pixel intensity of up to 40 × 40 ROI per frame of the AVI file . The ciliaFA plugin exports a dataset of up to 1,600 ROI to Excel 2007 (Microsoft; Redmond, WA, USA) where a visual basic macro is initiated to perform the FFT. The complex number is translated using the Excel function ‘=IMABS(range)’ and the dominant frequency within the range is then established using the function ‘=MAX(range)’. The CBF is determined by multiplying the row number by the frequency resolution (FR) (frame rate of recording/number of frames), which we named the ‘FFT Mag’. In order to more accurately predict the CBF, we averaged the sum of the FFT Mag of the peaks flanking the maximum (see Figure 1B).
We found that excluding data based on the following criteria significantly reduced the effect of background interference that can result from Fourier analysis: (1) the amplitude of the peak must be greater than three times the amplitude of the background (defined as the maximum peak of the first three FFT Mag), (2) the CBF must be within a clinically relevant range (for example between 3 to 20 Hz for respiratory cilia and 3 to 60 Hz for brain ependymal cilia). Data that does not support these criteria was defined as 0 Hz.
Linear regression was used to correlate CBF measurements made by conventional frame by frame counting of individual ciliary beat cycles by slow-motion playback of digital high-speed video sequences to measurements obtained using the ciliaFA system (for the same region of interest). All regions of interest were chosen based on areas where optimal images of moving cilia were visible to the observer. The video sequences were reanalyzed by a second observer. Paired t tests were performed to compare the CBF obtained using the two methods and the Bland-Altman limits of agreement were calculated from the mean difference ± the 95% confidence intervals between the two methods.
For ependymal cilia the mean CBF was 36.3 ± 6.4 Hz for the direct counting and 35.9 ± 7.0 Hz for the ciliaFA method. For respiratory cilia the mean CBF was 11.72 ± 2.8 Hz for the direct counting and 11.97 ± 3.0 Hz for the ciliaFA method. The Bland-Altman limits showed agreement from −2.55 to 3.25 Hz for the ependymal cilia and showed a closer agreement for the respiratory cilia (−1.99 to 1.49 Hz).
The ependymal ciliary beat frequency (CBF) determined by two observers using high-speed digital imaging and the ciliaFA software
Direct counting, observer 1
Direct counting, observer 2
Observer 1 (second count)
We have developed a plugin for ImageJ that calculates CBF from digital AVI files recorded using high-speed video microscopy. As opposed to previous studies we validated the software by comparing the results to frequencies obtained using the most accurate method for CBF calculation, directly counting individual ciliary beat cycles during slow-motion playback. Our data showed that the software was validated for use over a wide range of ciliary beat frequencies up to 52 Hz. Table 1 shows that the limits of agreement between the two methods were within the same range as the natural variation that exists between two different observers. Furthermore, the Bland-Altman limits of agreement for human respiratory cilia between the ciliaFA and direct counting methods were very low. Previous software programs validated their results using indirect, less accurate methods, including the early automated photometry method . Previous studies reported limits of agreement ranging from −1.0 to 1.39 Hz , -2.75 to 5.15 Hz  and from −3.89 to 3.39 Hz  compared to digital high-speed methods. In our system the image capture instrument is not connected to the software, so analysis performed once the experiment is completed. This allows the software to batch process groups of images using the same settings and thus reducing operator input.
This study has clearly demonstrated that ciliaFA is reliable system to analyze CBF. In addition to the accurate measurement of ciliary beat frequency the ciliaFA system has a number of advantages. It has high throughput capabilities allowing significant time savings when processing large datasets, it reduces operator error due to selection bias, and it accurately reports static cilia. The latter is a significant advantage as immotile cilia may not be visible to the observer in multilayered cell cultures. Furthermore, by focusing on particular ciliated areas, ciliaFA can report changes and reductions in ciliary beat frequency.
Limitations of the software depend largely on image quality (pixel size) and the number of frames captured. We have used the ciliaFA software to examine AVI files of different lengths, captured at different frame rates (data not shown). We found that videos captured using high-speed video cameras that capture at rates at least 120 frames per second with a length of 128 frames (to give a frequency resolution of 0.94) will give valid data. These settings capture an appropriate number of ciliary beat cycles to accurately average the CBF; the lower the frequency resolution (that is, the more frames captured), the greater the accuracy of CBF. To allow the videos to be used for beat pattern analysis high-speed video cameras that capture at rates exceeding 250 frames per second should be used. The ciliaFA software has the capability to crop frames from large files to speed up the calculation of frequency without reducing the frequency resolution. For high-frequency analysis, we recommend that the microscope bulb is connected to a stable power source of at least 110 volt AC/60 Hz; lower voltages may cause the bulb to flicker within the CBF range and this will enhance background noise. We also recommend that the image is not subject to downstream processing, such as enhanced pixel gain, as this will also enhance background noise.
The open-source software (ImageJ) and Microsoft Excel platforms were chosen due to their ubiquity, low cost and ease of manipulation. We have included the ciliaFA plugin and installation instructions in Additional file 1 accompanying this manuscript, so it is free to use by other research groups.
We have developed a freely available, automated method of CBF analysis from digital video (AVI) files that runs using open-source software (ImageJ) coupled to Microsoft Excel. The ciliaFA software allowed automated, high throughput measurement of respiratory and ependymal ciliary beat frequency over a wide range of frequencies (range 3 to 52 Hz) and avoids operator error due to selection bias.
This work was supported by a project grant from Action Medical Research. JD was the recipient of a European Respiratory Society Fellowship (STRTF 42–2010) and the recipient of Internal Grant Agency of Ministry of Health Czech Republic (grant No. NT11469-5). We thank Priya Radhakrishnan for her technical support.
- Davis EE, Brueckner M, Katsanis N: The emerging complexity of the vertebrate cilium: new functional roles for an ancient organelle. Dev Cell. 2006, 11: 9-19. 10.1016/j.devcel.2006.06.009.View ArticlePubMed
- O’Callaghan CL, Sikand K, Rutman A, Hirst RA: The effect of viscous loading on brain ependymal cilia. Neurosci Lett. 2008, 439: 56-60. 10.1016/j.neulet.2008.04.095.View ArticlePubMed
- Smith CM, Hirst RA, Bankart MJ, Jones DW, Easton AJ, Andrew PW, O’Callaghan C: Cooling of cilia allows functional analysis of beat pattern for diagnostic testing. Chest. 2011, 140: 186-190. 10.1378/chest.10-1920.View ArticlePubMed
- Hirst RA, Rutman A, Sikand K, Andrew PW, Mitchell TJ, O’Callaghan C: Effect of pneumolysin on rat brain ciliary function: comparison of brain slices with cultured ependymal cells. Pediatr Res. 2000, 47: 381-384. 10.1203/00006450-200003000-00016.View ArticlePubMed
- Chilvers MA, McKean M, Rutman A, Myint BS, Silverman M, O’Callaghan C: The effects of coronavirus on human nasal ciliated respiratory epithelium. Eur Respir J. 2001, 18: 965-970. 10.1183/09031936.01.00093001.View ArticlePubMed
- Stannard WA, Chilvers MA, Rutman AR, Williams CD, O’Callaghan C: Diagnostic testing of patients suspected of primary ciliary dyskinesia. Am J Respir Crit Care Med. 2010, 181: 307-314. 10.1164/rccm.200903-0459OC.View ArticlePubMed
- Chilvers MA, O’Callaghan C: Analysis of ciliary beat pattern and beat frequency using digital high speed imaging: comparison with the photomultiplier and photodiode methods. Thorax. 2000, 55: 314-317. 10.1136/thorax.55.4.314.PubMed CentralView ArticlePubMed
- Sisson JH, Stoner JA, Ammons BA, Wyatt TA: All-digital image capture and whole-field analysis of ciliary beat frequency. J Microsc. 2003, 211: 103-111. 10.1046/j.1365-2818.2003.01209.x.View ArticlePubMed
- Dimova S, Maes F, Brewster ME, Jorissen M, Noppe M, Augustijns P: High-speed digital imaging method for ciliary beat frequency measurement. J Pharm Pharmacol. 2005, 57: 521-526. 10.1211/0022357055777.View ArticlePubMed
- Mantovani G, Pifferi M, Vozzi G: Automated software for analysis of ciliary beat frequency and metachronal wave orientation in primary ciliary dyskinesia. Eur Arch Otorhinolaryngol. 2010, 267: 897-902. 10.1007/s00405-009-1161-y.View ArticlePubMed
- Kennedy JR, Duckett KE: The study of ciliary frequencies with an optical spectrum analysis system. Exp Cell Res. 1981, 135: 147-156. 10.1016/0014-4827(81)90307-4.View ArticlePubMed
- Lee WI, Verdugo P: Ciliary activity by laser light-scattering spectroscopy. Ann Biomed Eng. 1977, 5: 248-259. 10.1007/BF02407872.View ArticlePubMed
- Ballenger JJ, Orr MF: Quantitative measurement of human ciliary activity. Ann Otol Rhinol Laryngol. 1963, 72: 31-39.View ArticlePubMed
- Wilson CW, Nguyen CT, Chen MH, Yang JH, Gacayan R, Huang J, Chen JN, Chuang PT: Fused has evolved divergent roles in vertebrate hedgehog signalling and motile ciliogenesis. Nature. 2009, 459: 98-105. 10.1038/nature07883.PubMed CentralView ArticlePubMed
- Ryser M, Burn A, Wessel T, Frenz M, Ricka J: Functional imaging of mucociliary phenomena. Eur Biophys J. 2007, 37: 35-54. 10.1007/s00249-007-0153-3.View ArticlePubMed
- Hirst RA, Mohammed BJ, Mitchell TJ, Andrew PW, O’Callaghan C: Streptococcus pneumoniae-induced inhibition of rat ependymal cilia is attenuated by antipneumolysin antibody. Infect Immun. 2004, 72: 6694-6698. 10.1128/IAI.72.11.6694-6698.2004.PubMed CentralView ArticlePubMed
- Hirst RA, Rutman A, Williams G, O’Callaghan C: Ciliated air-liquid cultures as an aid to diagnostic testing of primary ciliary dyskinesia. Chest. 2010, 138: 1441-1447. 10.1378/chest.10-0175.View ArticlePubMed
- O’Callaghan C, Rutman A, Williams GM, Hirst RA: Inner dynein arm defects causing primary ciliary dyskinesia: repeat testing required. Eur Respir J. 2011, 38: 603-607. 10.1183/09031936.00108410.View ArticlePubMed
- Mitchell TJ, Walker JA, Saunders FK, Andrew PW, Boulnois GJ: Expression of the pneumolysin gene in Escherichia coli: rapid purification and biological properties. Biochim Biophys Acta. 1989, 1007: 67-72. 10.1016/0167-4781(89)90131-0.View ArticlePubMed
- Rasband WS, Bright DS: NIH Image - a public domain image-processing program for the Macintosh. Microbeam Anal. 1995, 4: 137-149.
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.