Mobile Device Applications for the Visualization of Functional Connectivity Networks and EEG Electrodes: iBraiN and iBraiNEEG
- 1Laboratory for Advanced Medical Image Processing, Department of Radiology, Clínica las Condes, Santiago, Chile
- 2Advanced Epilepsy Center, Clínica las Condes, Santiago, Chile
- 3Department of Radiology, Clínica las Condes, Santiago, Chile
Multiple functional MRI (fMRI)-based functional connectivity networks were obtained by Yeo et al. (2011), and the visualization of these complex networks is a difficult task. Also, the combination of functional connectivity networks determined by fMRI with electroencephalography (EEG) data could be a very useful tool. Mobile devices are becoming increasingly common among users, and for this reason, we describe here two applications for Android and iOS mobile devices: one that shows in an interactive way the seven Yeo functional connectivity networks, and another application that shows the relative position of 10–20 EEG electrodes with Yeo’s seven functional connectivity networks.
Visualization of the human brain using complex images such as tractography, functional connectivity, functional imaging, brain volume, PET, SPECT, etc. is a significant challenge, and the fusion of such types of images produce an even more complex problem. Also, the increased use of functional connectivity based on functional MRI (fMRI) techniques, and the visualization of the complex networks obtained by this method, creates the need for advanced tools to visualize the various functional connectivity networks for academic purposes and research.
Functional connectivity is defined as the time dependence of neuronal activity between anatomically separate brain regions (Proal et al., 2011). There are multiple functional connectivity networks in a healthy brain. Yeo et al. (2011) with his network-level parcellation determined that there are at least seven standard functional connectivity networks in the healthy human brain. These are visual network, somatomotor, dorsal attention, ventral attention, limbic, frontoparietal and default network (default mode network, DMN). Examples of this are the (consisting of precuneus, medial frontal, inferior parietal cortical regions and medial temporal lobe), which is active during wakeful rest and deactivates during most externally oriented tasks (Raichle et al., 2001; Greicius, 2008; de la Iglesia-Vayá et al., 2013); and the somatomotor network related to sensitive and primary motor processing (de la Iglesia-Vayá et al., 2013).
Different neuroimaging visualization techniques have been proposed. For example, Margulies et al. (2013) describe 2-D and 3-D methods to display anatomical information, tractography and functional connectivity. Rojas et al. (2014) describe a method for displaying stereoscopic 3-D neuroimages by using red-cyan colors. Rojas et al. (2014), show examples of tractography, brain volumetry, and quantification of multiple sclerosis lesions and images of functional connectivity (network visualization).
Another brain test is Electroencephalography (EEG), a well-known electrophysiological diagnosis method that measures the electrical activity of the brain. It is a noninvasive technique in which electrodes are attached over the scalp. There are two systems for the placement of electrodes: 10–20 corresponding to 21 electrodes (Jasper, 1958; Klem et al., 1999), and 10–10 which corresponds to 65 electrodes (Nuwer et al., 1998). EEG is the principal diagnostic tool for diseases such as epilepsy.
Mobile devices (such as smartphones and tablets) are becoming increasingly common among users. In a study published by Scott Wilson on November 6, 2013 (Wilson, 2013), sales of phones and tablets are increasing in an annual growth rate of 21.8% (Table 1), implying a broad base of potential users for each application. Mainly, there are four operating systems for mobile devices: iOS used by Apple devices (13.9% of iPhone and iPad), Android used by Samsung Electronics Co Ltd., LG Electronics Inc., Sony Corporation, Google Inc., HTC Corporation, Motorola Inc., Huawei, Xiaomi, etc. (corresponding to 82.8%), Windows Phone (2.6%), Blackberry OS (0.3%) and others (0.4%; IDC Research, Inc., 2015). In the medical field, 79.0% of medical students and 74.8% of junior doctors in United Kingdom owned a smartphone (Payne et al., 2012), and in USA 87% of medical doctors use a smartphone or tablet device in their workplace (Ventola, 2014).
Table 1. Worldwide annual sales growth of tablets and smartphones (millions of units; Wilson, 2013).
In this article, we describe two applications for iOS and Android-based mobile devices covering 96.7% of the mobile market. One application shows the seven standard functional connectivity networks (Yeo et al., 2011) superimposed on a cerebral cortex (transparent brain) and the other one interactive application shows 21 10–20 EEG electrodes over the Yeo et al. (2011) standard networks.
Materials and Methods
3D Models (Mesh)
MNI152 image is a standard space T1-wieghted average structural template image. It was created by averaging 152 T1-weighted MRI images (normal young adults) linearly transformed to Talairach space (Mazziotta et al., 1995, 2001; Mandal et al., 2012).
Using the template image MNI152 (2 mm isotropic voxel size), a mesh model of the brain cortex was created using Grayscale Model Maker module (marching cubes algorithm [Lorensen and Cline, 1987]; grayscale threshold of isosurface: 5800, number of smoothing iterations: 50, target reduction during decimation: 25% triangles to be removed, split normal, calculate the normal vectors for the points, pad the input volume with zero value voxels) from the 3D Slicer 3.6.3 open-source software (Brigham and Women’s Hospital, Boston, MA, USA1, Gering et al., 1999; Pieper et al., 2004, 2006).
A mask of the network-level parcellation published by Yeo (Yeo et al., 20112) was used to create the mesh model of the seven standard functional networks (Yeo et al., 2011). These mesh models were built using the Model Maker module (marching cubes algorithm [Lorensen and Cline, 1987]; number of smoothing iterations: 10, filter type for smoothing: Sinc, target reduction during decimation: 25% triangles to be removed, split normals, calculate the normal vectors for the points, pad the input volume with zero value voxels) from the 3D Slicer 3.6.3 software.
The HC Laplacian algorithm (MeshLab v 1.3.33, Vollmer et al., 1999; Cignoni et al., 2008a,b) was used to smoothen the 3D meshes of the seven Yeo networks and the brain cortex. Wavefront OBJ geometry definition file format was used to save the meshes.
Design and Application Programming
The iOS and Android apps were created using C# programming language and the following software: Unity 4.6x (development engine to create 2D and 3D graphics applications4), MonoDevelop IDE5, Blender (3D graphics software6), GIMP (GNU Image manipulation program7). Xcode 6x Integrated Development Environment in MAC OSX (Apple Inc., Cupertino, CA, USA8) was used to create iOS-based version of both mobile applications.
MNI coordinates for standard 10–20 EEG electrodes were computed previously (Rojas and Gálvez, 2013). Then using that MNI coordinates, red spheres were positioned over the mesh of the brain cortex and the functional connectivity meshes.
Two applications called iBraiN2 and iBraiNEEG2 were developed for the visualization of Functional connectivity networks.
The application name, iBraiN2, is an acronym that stands for “intrinsic Brain Networks”.
The iBraiN2 application shows a 3-D transparent brain, merged with one of seven standard functional networks (Yeo et al., 2011) that can be selected by the user. The brain can be rotated using the controls on the screen (arrows), and the brain size can be changed by a pinch gesture. From Figures 1–5 the user can see the Graphical User Interface (GUI) of the application and how it is used.
Figure 1. Main window of the iBraiN2 application. By touching “Instructions”, user instructions appear for iBraiN2, by pressing “About” iBraiN2 authoring information appears, and by touching the “Select Network” button the application displays a menu to select a functional connectivity network (see Figure 2).
Figure 2. Window for selecting the functional connectivity network which will be displayed individually, or all networks on a single brain. For example, iBraiN2 will show the window in Figure 3 if the user selects “All Networks”, and the visual connectivity network (Yeo et al., 2011) from Figure 4 will appear if the user touches the “Visual Network” button.
Figure 3. A transparent brain with seven superimposed functional connectivity networks is shown by touching the “All Networks” button (Figure 2). By pressing each network, its name will appear in the upper left-hand corner. The brain can be rotated by pressing the four light blue arrows.
Figure 4. Visual functional connectivity network. In the transparent brain, it can be clearly seen that the visual network is located only in the occipital lobe, and it has no connectivity with other brain regions. The network can be rotated by touching the arrows on the lower right and lower left-hand corners.
Figure 5. Default mode functional connectivity network displayed at different angles (A left hemisphere, and B left frontal). Through the transparent brain, the different regions that make up this wide network can be clearly seen: mainly frontal, parietal and temporal lobe regions.
To install this app on an Android mobile device, users must select Google Play Store (Google Inc.) and search for the app by its name “iBraiN2” (to install it, use QR code in Figure 6A). In iOS, users must enter the App Store (Apple Inc.) and search for “iBraiN2” (to install it use QR code in Figure 6B).
Figure 6. QR code to install iBraiN application in (A) Android-based devices, (B) iOS-based devices.
The application name, iBraiNEEG2, is an acronym standing for “intrinsic Brain Networks EEG”.
The application shows a transparent brain with seven connectivity networks upon it (Yeo et al., 2011) and 21 red spheres on the brain in the standard 10–20 EEG electrode positions as determined in a previous work (Rojas and Gálvez, 2013). The various GUI windows are shown in Figures 7–9. The name of each EEG electrode and functional network is displayed interactively by touching on each red sphere and on the light bulb, respectively Figures 8, 9.
Figure 7. iBraiNEEG2 main window. iBraiNEEG2 user instructions will be shown by touching the “Instructions” button; by pressing “About” the iBraiNEEG2 authoring information appears, and “Start” shows the transparent brain with the seven connectivity networks (Yeo et al., 2011) and red spheres for the 10–20 electroencephalography (EEG) electrodes (Figure 8).
Figure 8. The transparent brain is shown with seven connectivity networks (Yeo et al., 2011) and red spheres on the 10–20 EEG electrode positions. By touching a sphere, the name of the electrode appears on the upper left-hand corner of the screen (for example, T3).
Figure 9. By pressing the bulb on the left of the screen, the name of each of the seven functional connectivity networks (Yeo et al., 2011) appears with a color palette in a window on the right side of the screen.
The application shows 10–20 EEG electrode positions (21 electrodes) because it is difficult for the application user to select on the touchscreen more than 21 electrodes (65 electrodes of 10–10 EEG standard), and also because in clinical use the 10–20 EEG system is the most often used.
To install this application on an Android mobile device, select Google Play Store (Google Inc.) and search for the “iBraiNEEG2” application (use QR code in Figure 10A). In iOS App Store (Apple Inc.), search “iBraiNEEG” (without the number 2) and install (to install it use QR in Figure 10B). More information about both applications can be found at http://www.aribrain.info website.
Figure 10. QR code to install iBraiNEEG application in (A) Android-based devices, (B) iOS-based devices.
Both applications show the advanced uses that iOS and Android-based mobile devices (tablets and smartphones) can be given in the medical field. As far as we know, iBraiN2 and iBraiNEEG2 are the first functional connectivity applications for iOS/Android-based mobile devices. These applications are different from previous work: (i) the atlas in Rojas et al. (2014), which is a functional connectivity anaglyph, based in area-level parcellation (Craddock et al., 2012) for visualization in PC with 3D Slicer software; and (ii) iBraiN2 and iBraiNEEG2, which are mobile based applications with functional connectivity networks, based in network-level parcellation (Yeo et al., 2011).
iBraiN2 is a tool for academic use that shows the three-dimensional position of each functional connectivity network in the cerebral cortex. Using a transparent brain, it is possible to see the position of each region in its connectivity network or the relative position of each network. Although this 3D representation only shows a fixed dataset, is useful for academic purposes for neurologists, neurosurgeons, radiologists, medical students, neuroscientists and researchers in neuroimaging, among other professionals, since it allows them to easily understand in an interactive way the anatomy and distribution of the brain’s functional networks, because it shows the standard functional connectivity networks (Yeo et al., 2011).
iBraiNEEG2 shows the relative position of the 10–20 EEG electrodes with respect to the functional connectivity networks. This application helps the EEG analysis regarding standard functional connectivity networks (Yeo et al., 2011) and combines EEG data and functional connectivity obtained with fMRI to support the analysis of these techniques and research into diseases such as epilepsy. For example, with the EEG data of the epileptic focus of a patient, it could be possible to get the RS-fMRI functional connectivity network that is affected.
Should the scientific community adopt a brain atlas as a functional connectivity gold standard, future updates of the applications would greatly benefit from the use of such atlas. A very relevant candidate for this standard would be a recently published brain atlas (Glasser et al., 2016) that uses multi-modal magnetic resonance images from the Human Connectome Project (HCP).
In conclusion, the applications for mobile devices shown here are useful for education and training purposes (medical professionals) in functional connectivity related topics and EEG analysis regarding standard functional connectivity networks. Also, the advantage of applications for mobile devices is associated with their portability and availability.
GMR: article writing, creation of the figures, mobile applications design, mobile applications testing (Android), creation and optimization of functional connectivity networks mesh. JAF: mobile applications design and programming, mobile applications testing (Android). MG: mobile applications design, mobile applications testing (iOS), article review and correction.
Conflict of Interest Statement
This study was supported by grant “Imágenes complejas de conectividad funcional en estado de reposo y su visualización utilizando modernas técnicas de Realidad Virtual”, Dirección Académica, Clínica las Condes, Chile.
- ^ www.slicer.org
- ^ https://surfer.nmr.mgh.harvard.edu/fswiki/CorticalParcellation_Yeo2011
- ^ http://meshlab.sourceforge.net
- ^ www.unity.com
- ^ www.monodevelop.com
- ^ www.blender.org
- ^ www.gimp.org
- ^ www.apple.com
Cignoni, P., Callieri, M., Corsini, M., Dellepiane, M., Ganovelli, F., and Ranzuglia, G. (2008a). “Meshlab: an open-source mesh processing tool,” in Proceedings of the 6th Eurographics Italian Chapter Conference (Pisa, Italy: Eurographics), 129–136.
Craddock, R. C., James, G. A., Holtzheimer, P. E. III, Hu, X. P., and Mayberg, H. S. (2012). A whole brain fMRI atlas generated via spatially constrained spectral clustering. Hum. Brain Mapp. 33, 1914–1928. doi: 10.1002/hbm.21333
de la Iglesia-Vayá, M., Molina-Mateo, J., Escarti-Fabra, M. J., Kanaan, A. S., and Martí-Bonmatí, L. (2013). “Brain connections—resting state fmri functional connectivity,” in Novel Frontiers of Advanced Neuroimaging ed. K. N. Fountas (InTech). Available online at: http://www.intechopen.com/books/novel-frontiers-of-advanced-neuroimaging/brain-connections-resting-state-fmri-functional-connectivity
Gering, D. T., Nabavi, A., Kikinis, R., Grimson, W. E. L., Hata, N., Everett, P., et al. (1999). An integrated visualization system for surgical planning and guidance using image fusion and interventional imaging. Int. Conf. Med. Image Comput. Comput. Assist. Interv. 2, 809–819. doi: 10.1007/10704282_88
Glasser, M. F., Coalson, T. S., Robinson, E. C., Hacker, C. D., Harwell, J., Yacoub, E., et al. (2016). A multi-modal parcellation of human cerebral cortex. Nature 536, 171–178. doi: 10.1038/nature18933
IDC Research, Inc. (2015). Smartphone OS market share, 2015 Q2. Available online at: http://www.idc.com/prodserv/smartphone-os-market-share.jsp
Klem, G. H., Lüders, H. O., Jasper, H. H., and Elger, C. (1999). The ten-twenty electrode system of the International federation. The International federation of clinical neurophysiology. Electroencephalogr. Clin. Neurophysiol. Suppl. 52, 3–6.
Lorensen, W. E., and Cline, H. E. (1987). “Marching cubes: a high resolution 3D surface construction algorithm,” in SIGGRAPH ’87 Proceedings of the 14th Annual Conference on Computer Graphics and Interactive Techniques (New York, NY: ACM SIGGRAPH Computer Graphics) 21, 163–169.
Mandal, P. K., Mahajan, R., and Dinov, I. D. (2012). Structural brain atlases: design, rationale and applications in normal and pathological cohorts. J. Alzheimers Dis. 31, S169–S188. doi: 10.3233/JAD-2012-120412
Mazziotta, J. C., Toga, A. W., Evans, A., Fox, P., and Lancaster, J. (1995). A probabilistic atlas of the human brain: theory and rationale for its development. The International consortium for brain mapping (ICBM). Neuroimage 2, 89–101. doi: 10.1006/nimg.1995.1012
Mazziotta, J., Toga, A., Evans, A., Fox, P., Lancaster, J., Zilles, K., et al. (2001). A probabilistic atlas and reference system for the human brain: International consortium for brain mapping (ICBM). Philos. Trans. R. Soc. Lond. B Biol. Sci. 356, 1293–1322. doi: 10.1098/rstb.2001.0915
Nuwer, M. R., Comi, G., Emerson, R., Fuglsang-Frederiksen, A., Guérit, J. M., Hinrichs, H., et al. (1998). IFCN standards for digital recording of clinical EEG. International federation of clinical neurophysiology. Electroencephalogr. Clin. Neurophysiol. 106, 259–261. doi: 10.1016/s0013-4694(97)00106-5
Payne, K. B., Wharrad, H., and Watts, K. (2012). Smartphone and medical related App use among medical students and junior doctors in the United Kingdom (UK): a regional survey. BMC Med. Inform. Decis. Mak. 12:121. doi: 10.1186/1472-6947-12-121
Pieper, S., Lorensen, B., Schroeder, W., and Kikinis, R. (2006). “The NA-MIC kit: ITK, VTK, pipelines, grids and 3D slicer as an open platform for the medical image computing community,” in Proceedings of the 3rd IEEE International Symposium on Biomedical Imaging: from Nano to Macro (Arlington, VA), 698–701.
Proal, E., Alvarez-Segura, M., de la Iglesia-Vayá, M., Martí-Bonmatí, L., Castellanos, F. X., and Spanish Resting State Network. (2011). Functional cerebral activity in a state of rest: connectivity networks. Rev. Neurol. 52, S3–S10.
Raichle, M. E., MacLeod, A. M., Snyder, A. Z., Powers, W. J., Gusnard, D. A., and Shulman, G. L. (2001). A default mode of brain function. Proc. Natl. Acad. Sci. U S A 98, 676–682. doi: 10.1073/pnas.98.2.676
Rojas, G. M., and Gálvez, M. (2013). “Functional connectivity networks obtained using 10–20 EEG and 7 standard functional networks,” in 19th Annual Meeting of the Organization for Human Brain Mapping, Seattle, WA.
Rojas, G. M., Gálvez, M., Vega Potler, N., Craddock, R. C., Margulies, D. S., Castellanos, F. X., et al. (2014). Stereoscopic three-dimensional visualization applied to multimodal brain images: clinical applications and a functional connectivity atlas. Front. Neurosci. 8:328. doi: 10.3389/fnins.2014.00328
Wilson, S. (2013). Rising tide. Exploring pathways to growth in the mobile semiconductor industry. Available online at: http://dupress.com/articles/rising-tide-exploring-pathways-to-growth-in-the-mobile-semiconductor-industry
Yeo, B. T., Krienen, F. M., Sepulcre, J., Sabuncu, M. R., Lashkari, D., Hollinshead, M., et al. (2011). The organization of the human cerebral cortex estimated by intrinsic functional connectivity. J. Neurophysiol. 106, 1125–1165. doi: 10.1152/jn.00338.2011
Keywords: functional connectivity, EEG, EEG-fMRI, fMRI, smartphone, mobile application, intrinsic connectivity networks
Citation: Rojas GM, Fuentes JA and Gálvez M (2016) Mobile Device Applications for the Visualization of Functional Connectivity Networks and EEG Electrodes: iBraiN and iBraiNEEG. Front. Neuroinform. 10:40. doi: 10.3389/fninf.2016.00040
Received: 18 May 2016; Accepted: 12 September 2016;
Published: 19 October 2016.
Edited by:Pedro Antonio Valdes-Sosa, Joint China-Cuba Lab for Frontiers Research in Translational Neurotechnology, Cuba
Reviewed by:Xi-Nian Zuo, Chinese Academy of Sciences (CAS), China
Jiaojian Wang, University of Electronic Science and Technology of China, China
Copyright © 2016 Rojas, Fuentes and Gálvez. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution and reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Gonzalo M. Rojas, email@example.com