Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# Trans-illumination intestine projection imaging of intestinal motility in mice

## Abstract

Functional intestinal imaging holds importance for the diagnosis and evaluation of treatment of gastrointestinal diseases. Currently, preclinical imaging of intestinal motility in animal models is performed either invasively with excised intestines or noninvasively under anesthesia, and cannot reveal intestinal dynamics in the awake condition. Capitalizing on near-infrared optics and a high-absorbing contrast agent, we report the Trans-illumination Intestine Projection (TIP) imaging system for free-moving mice. After a complete system evaluation, we performed in vivo studies, and obtained peristalsis and segmentation motor patterns of free-moving mice. We show the in vivo typical segmentation motor pattern, that was previously shown in ex vivo studies to be controlled by intestinal pacemaker cells. We also show the effects of anesthesia on motor patterns, highlighting the possibility to study the role of the extrinsic nervous system in controlling motor patterns, which requires unanesthetized live animals. Combining with light-field technologies, we further demonstrated 3D imaging of intestine in vivo (3D-TIP). Importantly, the added depth information allows us to extract intestines located away from the abdominal wall, and to quantify intestinal motor patterns along different directions. The TIP system should open up avenues for functional imaging of the GI tract in conscious animals in natural physiological states.

## Introduction

Gastrointestinal (GI) diseases affect more than 50 million people and account for millions of clinical visits annually in the United States1,2, resulting in a serious economic impact and significant social cost. Irritable bowel syndrome (IBS) and inflammatory bowel disease are two GI diseases that cause motility dysfunction in the intestines. Diarrhea-predominant IBS (IBS-D) and constipation-predominant IBS (IBS-C) are associated with abnormal motility that has an imbalance between propulsion and segmentation. Motor dysfunction is found in chronic refractory constipation and intestinal pseudo-obstruction. Because abnormal motility is linked to severe symptoms and is the primary target for therapy, motility has been investigated extensively3,4, but mostly invasively in preclinical studies in animal models. In particular, mouse models are widely used for intestinal imaging studies, because many established disease models have been developed and many knock-out and knock-in models of genetic subtypes are available5. Many studies also used mice to uncover the mechanims underlying intestinal motility involving the nervous systems and intestinal pacemaker activities6,7,8.

Invasive methods, such as in vitro imaging modalities of intestine9,10, have been extensively used. While they have played an important role in pharmacological experiments on intestinal motility, the terminal nature of these imaging methods prevents the longitudinal assessment of disease progression and therapeutic responses. It is uncertain that the motor patterns observed in vitro identically represent the patterns that happen in vivo since all in vitro studies require the intestines to be disconnected from the central nervous system, which plays a crucial role in all motor activities. Hence, critically important investigations of brain-gut-communication require free-moving unanesthetized animal studies. In vivo techniques using X-ray11 or magnetic resonance imaging (MRI)12 are also problematic because of the need for anesthesia or movement restraint.

This study introduces Trans-illumination Intestine Projection (TIP) imaging, which we have developed the intestinal imaging system for free-moving mice (2D-TIP, Fig. 1a; left and Supplementary Fig. 1) and the 3D light-field-based intestinal imaging system (3D-TIP, Fig. 1a; right). Capitalizing on near-infrared (NIR) optics and a novel contrast agent, TIP identified features located in deep tissue with high imaging contrast. Specifically, 2D-TIP enables the visualization of peristalsis and segmentation motor patterns of free-moving mice, which has never been reported before. This unique imaging ability of 2D-TIP allows the in vivo demonstration that the anesthetized mice exhibited a much slower intestinal motility rate than the awake mice, highlighting its ability to study central nervous system regulation. Equipped with the emerging light-field technique, 3D-TIP can visualize the volumetric distribution of intestine in one snapshot. The volume imaging capability of 3D-TIP permits the extraction of intestines located far away from the abdomen wall, and allows the quantification of intestinal motility along different directions. We anticipate that TIP method will open up more avenues for functional imaging of the GI tract in animal models.

## Results

### TIP imaging system

Figure 1a shows a schematic of the TIP imaging system. During free-moving mouse imaging, the mouse moves on the imaging platform. A tracking camera identifies the position of the free-moving mouse by detecting two painted markers on the back of the mouse (Fig. 1b). The tracking camera then sends the mouse’s position to a Raspberry PI unit, which controls an x–y motor system to move the laser spots to the intestine region. To precisely track the movement of the mouse and control light illumination, all components operate in a closed-loop as shown in Fig. 1d. The NIR camera detects transillumination images through a set of filters and polarizers (Fig. 1c). The imaging contrast originates from a highly optical absorbing material [butyl-2,3-naphthalocyanine (BNc) micelles]3, which was gavaged into the mouse. Due to weak absorption of biological tissue in the NIR region, the 808 nm light penetrates through the intestinal region of the mouse, where no endogenous absorption at that wavelength exists, resulting in a bright area in the NIR image. As for intestines filled with BNc, the 808 nm light will be absorbed, resulting in a shadow in the NIR image (Fig. 1c). To ensure that the intestine is filled with contrast, our experiment followed the timeline shown in Fig. 1e.

To verify the imaging resolution of TIP in scattering-free medium, we imaged a United States Air Force (USAF) resolution target in air and quantified a resolution of 99.2 µm (Supplementary Fig. 2). To verify the imaging depth of TIP, we imaged BNc-filled tubes embedded in agar gels, which mimic both absorption and scattering of biological tissue (Supplementary Figs. 3 and 4 and “Methods”). The results indicate that TIP can visualize the 0.5-mm-inner-diameter tube at up to 8 mm depth. This imaging depth covers the majority of intestines underneath the abdomen wall13. The mouse intestine has an average diameter of 4 mm14 in the resting condition, but the diameter dramatically decreases during contraction. We experimentally validated this by quantifying the diameter of a contracted intestine which is 25% of the 4 mm averaged intestine diameter (Supplementary Fig. 5). This observation suggested a 75% change (3 mm) in intestine diameter, which is large enough for TIP to capture.

### 2D-TIP imaging of free-moving mouse

2D-TIP was further validated through in vivo imaging of mice at 21 min, 70 min, and 2.5 h post gavage of contrast agent (Fig. 2a). The data preprocessing procedures are listed in the “Methods” section and Supplementary Figs. 6 and 7. Twenty-one minutes post gavage, 2D-TIP showed that the intestine started to be filled with contrast (Fig. 2a: top). At this stage, the dominant intestinal motility is peristalsis-driven slow wave, which originates from the pacemaker cells and the interstitial cells of Cajal15,16. The peristaltic activity is a wavelike movement that pushes the contrast agent forward and is shown as propagating bands in the spatial-temporal map (Fig. 2b: top)17,18.

Thirty minutes post gavage, 2D-TIP showed that more sections of intestine became filled with contrast (Supplementary Fig. 8), consistent with previous study19. Seventy minutes post-administration (Fig. 2a: middle), more regions of the intestine showed up and motor patterns indicated a mixture of peristalsis and segmentation (Fig. 2b: middle). Two hours and thirty minutes post gavage (Fig. 2a: bottom), the spatial-temporal map showed the classic Cannon-type segmentation pattern (Fig. 2b: bottom, and Supplementary Fig. 9), which is similar to that obtained in ex vivo experiments20. For comparison, a mouse was also imaged under anesthesia (Fig. 2c). The segmentation pattern of the anesthetized mouse was similar to that of the awake mouse, but the contraction frequency was much lower (Fig. 2d and Supplementary Fig. 10). To better reveal the difference, we extracted the average pixel value of one intestinal cross-section for both the anesthetized and free-moving mice (2.5 h post gavage). Within a 15 s time window, the anesthetized mouse exhibited a significantly slower contraction rate when compared to that of the free-moving mouse (Fig. 2e). The frequency analysis of segmentation rates is shown in Fig. 2f and Supplementary Fig. 11. The peak frequency for the anesthetized mouse was 0.380 ± 0.085 Hz, which agrees with values reported in other studies21. For the free-moving mice, the peak frequency was 0.772 ± 0.089 Hz, which was two times the rate of anesthetized mice.

To better reveal the movement of the intestine, we show its activity at different times, which clearly represents the movement of contrast agent in the intestine. Within a time window of 120 s, we observed pacemaker-driven peristalsis, which causes propulsion to move content towards the anal direction20. Due to peristalsis, the contrast agent moved rapidly over a distance of more than 20 mm, filling most sections of the intestine shown in Fig. 3a. Within a shorter time window (1.2 s), we observed a detailed process of segmentation (Fig. 3b). Due to simultaneous transient contractions in the left and right of the orange circled intestine regions (t = 0 s), contrast agents are pushed to move towards each other. Then, a contraction appears in between the original contractions (Fig. 3b, t = 0.67 s) and segments the contrast agent, completing one cycle of segmentation.

### Assessment of TIP for long-duration imaging

Long-duration imaging is important for continuous monitoring of intestinal motility and changing motor patterns, however, there are challenges. A potential concern is that long-time illumination of a mouse with the light intensity required by TIP might cause a temperature rise in the mouse body and affect mouse behavior, which could prevent long-time recording. Another challenge is that the distribution of the intestine inside the abdominal cavity will change while the mouse is moving freely. These changes might affect the extraction of the intestine for spatial-temporal map calculation. To assess whether TIP can overcome these challenges, we performed two tests. In our first test, we illuminated a piece of chicken breast tissue for 2 h at a laser intensity of 14 mW/cm2 (the same intensity used in the imaging experiment) and continuously monitored the surface temperature using a thermal camera (FLIR one). As a control, we also imaged another piece of chicken breast tissue without laser illumination. The result indicated that there was no temperature rise in the exposed tissue and no difference between the exposed and control tissues (Supplementary Fig. 12), proving that long-time illumination is not a concern for TIP, at least from a photothermal hyperthermia perspective. Our second test was to extract the intestine profiles from TIP images involving different intestine distributions (Fig. 4a). Although the entire intestine moves in response to different animal behaviors, TIP could clearly capture the intestine due to the high absorbance of the contrast agent. To digitally extract the intestine, we first calculated the similarity of all frames to separate different behaviors (Fig. 4b, Supplementary Fig. 13a). We then extracted the intestine under each behavior and computed the spatial-temporal map. We combined all spatial-temporal maps to form a long-time map (Fig. 4c and Supplementary Fig. 13b), which proves that TIP is capable of long-duration imaging. The calculation of long-duration motor pattern for anesthetized mice is easier and does not require tracking of the moving intestine (Fig. 4d and Supplementary Fig. 13c).

Once we obtained the motor patterns, we compared the intestinal motility between free-moving mice and anesthetized mice. For better comparison, we also projected intestines imaged at different time points together to form a map of all the visualized intestines over a time window of 5 h. We identified intestines using the stomach and cecum as landmarks—the duodenum is closer to the stomach, the ileum is connected to the cecum, and the intestine in the middle is jejunum (Fig. 5a). For either the anesthetized or the free-moving mice, we compared the dominant contraction frequency for the same intestine section (Fig. 5b). The duodenum appeared ~30 min post gavage for both the free-moving mice and the anesthetized mice, and the jejunum showed up 1.5 h post gavage. We continued imaging the mice up to 5 h post gavage. Over the imaged time window, both the free-moving mice and the anesthetized mice showed a gradually decreased motility frequency over time, as the contrast moved from duodenum to ileum. This exhibited the intrinsic frequency gradient of the pacemaker activity, which is essential for anal propagation. Compared to the free-moving mice, the anesthetized mice exhibited a lower motility frequency for the same intestinal section (Fig. 5c)20. For both the free-moving mice and the anesthetized mice, TIP visualized the intestine filled by the contrast agent at different time points (Fig. 5d, e), providing a panoramic view of the intestine.

### Dual-contrast imaging with TIP

TIP is also capable of multicolor imaging, by using contrast agents that are spectrally separated in absorbance wavelengths. With the matched illumination wavelength, separate contrast agent can be imaged. This would not be straightforward or even possible using other modalities such as X-ray or MRI. A major advantage of multicolor TIP is the accurate localization of contrast agents at different sections of intestine, thereby eliminating the problem of overlapping sections of the intestine. As an example, we performed dual-color TIP imaging (setup as described in the “Methods”). We sequentially gavaged two contrast agents with a 30-min interval (Fig. 6a), and imaged the mouse with two wavelengths, semi-simultaneously (Fig. 6b). Within 2.5 h, each contrast agent revealed different intestine sections which clearly represented the upper and the downstream sections of the intestine (Fig. 6c). As the contrast agents propagated inside the intestine, they eventually reached the same section of intestine and mixed with each other at the 5 h time point (Fig. 6c). The system can be further modified to enable three-color or four-color imaging, which will offer more possibilities in studying intestine movement. This solves a major problem with MRI or ultrasound imaging that suffers from the inability to visualize or measure motor patterns from overlapping segments of the intestine or colon.

### TIP resolved overlapped intestines

The small intestine of the mouse always has overlapping segments that prevent proper in vivo studies of propulsive movements using current techniques. We demonstrate here that TIP resolved overlapped intestines in single-color and dual-color imaging. We classified the overlap of intestine into two cases. One case showed “low overlap” where the two sections of intestine formed a cross with one on top of the other. In this case, we show that the two intestines can be visualized with our TIP (Fig. 7a). The other case showed “high overlap” where one intestine was right above the other and was fully covered during imaging. In this case, our dual-color TIP imaging easily differentiated the highly overlapped two sections of intestines (Fig. 7b). Overlapping intestinal segments are one major reason why in vivo studies have not been widely explored, but this problem is now solved by our TIP.

### 3D-TIP imaging of intestine

The 3D-TIP system uses the same imaging camera and excitation light as the 2D system, but utilizes a different imaging lens set (Fig. 1a: right) for light-field detection. There is a trade-off between the field of view (FOV) and resolution. To achieve a reasonable axial resolution for intestine imaging, the lateral FOV of 3D-TIP was limited to 33 × 33 mm2. Therefore, as a proof of concept, we demonstrated 3D-TIP with anesthetized mice. A larger microlens array and a larger camera sensor will enable imaging of free-moving mice in the future. We first validated the axial and lateral resolution of the system by imaging black hair of human. At 3-mm depth, the lateral resolution was 0.5 mm and the axial resolution was 4 mm (Supplementary Fig. 14). The axial resolution at this depth was comparable to the 4 mm diameter of mice intestine14. The spatial resolution varied at different depths and the axial resolution degraded to 6 mm at 5-mm depth (Supplementary Fig. 14). To test the 3D imaging performance of the system, we imaged three hairs located at depths of −2, 1, and 5 mm, respectively. All three hairs were clearly resolved by 3D-TIP (Fig. 8a).

We then tested 3D-TIP through volumetric intestine imaging in vivo 1 h post gavage. Owing to the depth information provided by light-field imaging, 3D-TIP allowed us to better extract intestines located far away from the abdomen wall (Fig. 8b). For instance, the depth index image clearly identified one section of intestine (labeled with the red box) that was not visible neither in the 0 mm depth image nor in the minimal amplitude projection (MAP) image. By stacking 2D images over different depths, we obtained a 3D image of two intestines (Fig. 8c), and quantified the spatial-temporal map along both the lateral and axial directions (Fig. 8d–g and Supplementary Fig. 15). We found that the same intestine produced different spatial-temporal maps along these two directions, as the cross-section of the intestine is not perfectly circular inside the body and the contraction is not happening evenly along different directions22. Supplementary Video 5 shows the dynamic changes of two intestines in 3D. We also showed the reconstructed intestine image at depths of 4, 0, and −4 mm (Fig. 8h), and the spatial-temporal map in Fig. 8i clearly captures the segmentation pattern. The segmentation pattern shows that the short segment activity (blue) propagates relatively slowly (compared to the peristaltic activity). We have previously provided evidence for the hypothesis that the segmentation pattern is generated by the ICC slow waves in the myenteric plexus that interact with a stimulus-induced, much slower propagating slow wave, to generate the segmentation pattern20,23.

To image movements along the entire length of the intestine, we imaged the mice over 5 h and acquired data at different time points post gavage of contrast agent (Supplementary Fig. 16). Similar to 2D imaging, 3D-TIP visualized sections of intestine over time. To display the depth information, we overlaid the depth index of intestine on top of the intestine image at the principal focal plane (Supplementary Fig. 16). Similar to 2D imaging, we observed more and more intestine sections as the contrast agent moved inside the intestine.

## Discussion

In this study, we developed a TIP system for intestinal 2D imaging of free-moving mice and 3D imaging of anesthetized mice. Capitalizing on novel NIR contrast agents and optics, our system offers high-contrast and deep-tissue imaging. Our tracking device automatically tracks the mouse movement while the registration algorithm facilitates the data analysis of a moving animal. At different time points post gavage, spatial-temporal maps of the intestine clearly showed the transition of motor patterns over time after filling of the stomach, from peristalsis in the proximal intestine followed by segmentation in the remainder of the intestine to facilitate absorption. We showed that the first motor pattern after gavage is the slow-wave-driven peristalsis. Our experiments represent the demonstration of this phenomenon in freely moving mice and it is similar to that observed in restrained mice using X-rays18. Slow-wave-driven peristalsis in the small intestine is orchestrated by pacemaker cells, the interstitial cells of Cajal (ICC) associated with the myenteric plexus15,16. Most studies focus on neurally driven motor patterns derived from in vitro studies24, but here we show that in free-moving mice peristalsis in the proximal intestine occurs at the frequency of ICC pacemaker activity as proven previously18. This is followed by segmentation motor patterns, a very characteristic motor pattern shown to be controlled by two pacemakers that interact with each other20,23. In the numerous studies on intestinal motor activity, ex vivo, this motor pattern is almost never observed, a testament to the essential nature of developing methodology with unrestrained mice. We have also demonstrated that an awake mouse exhibits intestinal motility at a higher frequency compared to an anesthetized mouse, highlighting the possibility to study control mechanisms involving the extrinsic nervous system. This study represents the first intestinal imaging in free-moving mice. Future studies will involve the study of motor patterns in the presence of natural content that will induce various neurally driven peristaltic motor patterns24,25.

Through dual-color TIP imaging, we also demonstrate the feasibility of TIP in differentiating different sections of the intestine. With 3D-TIP, we visualized the volumetric intestine profile and identified an intestine that could be barely seen in 2D imaging, and demonstrated the 3D optical intestine imaging in anesthetized mice. Again, we were able to visualize the segmentation motor pattern, that has not been observed in live animals since Cannon showed it with X-rays in the cat, published in 1902, while holding the cat on his lap, with devastating consequences for his health26. This study takes away doubt about the importance of slow-wave-driven motor patterns in the small intestine. There is no doubt about the significance of neurally driven peristalsis24,25, the myogenic, pacemaker-driven activities have received less attention, although they were emphasized by pioneers in intestinal motility research, notably Alvarez in 192427. This may have been in part because low-resolution techniques do not allow fine detail needed to discern patterns such as the Cannon-type segmentation motor pattern26. The present study was executed with a non-nutritious meal that will result in a cyclic fasting motor pattern, also termed the migrating motor complex28,29. This consists of phase I, which is a quiet phase, and phase II with an “erratic” or fed-state-like activity, followed by phase III that is propulsive in nature. The segmentation motor pattern observed in the present study is likely part of phase II. It can be readily observed in the excised intestine, ex vivo20. Strong rhythmic propulsive activity is also observed in the mouse intestine ex vivo, where it has been called migrating motor complex29 or minute rhythm30,31; it is a neurogenic motor activity that can be observed in mutant mice that do not have ICC-MP29,31. The minute rhythm occurs both in fasting rats as part of phase II and in fed rats32. It will be exciting to apply the technique developed here to mutant mice with selective deletions in classes of enteric neurons33, deletions in subtypes of ICC assessing primary and stimulus-dependent pacemaker activities6,23,34, or deletions in glia35, to determine the role of the various cell types in control of intestinal transit and segmentation.

TIP shows significant advantages over existing modalities. Our system overcomes the invasive nature of an ex vivo study and the requirement of anesthesia in most in vivo modalities, including X-ray imaging, MRI, and photoacoustic imaging13,36. The use of two, distinguishable contrast agents is trivial with TIP and can assist in understanding transit, but would be difficult or impossible with X-ray or MRI contrast agents. While fluorescence imaging can potentially be performed on awake animals, it requires a dark environment and in practicality cannot achieve sufficient depth to provide useful measurements. In contrast, our method can be performed under bright conditions, as we rely on the strong transilluminated NIR light instead of the weak fluorescence emission.

TIP will enable intestinal studies that are limited by current pharmacological methods. Pharmacological approaches to gut dysmotilities have had limited success, to a large part because of their serious side effects on the cardiac system. Currently, there is a research emphasis on non-invasive, non-pharmacological techniques37. This is accompanied by a strong interest in the initiation and orchestration of gut motor patterns by the autonomic nervous system (ANS)38. Although the role of the ANS has been known for a long time, it still does not play a significant role in diagnosis and treatment, largely because animal research over the last 30 years has almost entirely focused on the muscle and enteric nervous system with in vitro experimentation. In addition, certain motor patterns, such as the high-amplitude propagating pressure waves in the human colon39, do not occur in vitro because they are primarily directed by the autonomic nervous system40. Our TIP will be an essential tool to explore studies in vivo. Our TIP is also ideal for translational research into treatment as it has potential to boost research related to non-invasive modulation of the autonomic nervous system at the spinal and vagal level37.

Unrestrained in vivo imaging of the mouse gastrointestinal system will open up more research possibilities into the role of the central and autonomic nervous systems in gastrointestinal motility physiology and pathophysiology in concert with the myogenically-controlled motor patterns shown in the present study34. We hope that our study will spark interest in gut motility research in free-moving animals. In the early 1900s, before the realization of the health risks of exposure to X-rays, several critical studies on live animals came to fruition, but that research soon stopped, never to be fully replaced. We believe that the TIP system has potential to re-vitalize this type of research to better understand the mechanisms of motility control and to discover the pathophysiology of motility disorders.

## Methods

### TIP imaging system

TIP’s excitation and tracking components include a liquid optical fiber bundle (Cone diameter: 5.1 mm, Model: 77636, Newport), a tracking camera (CMUcam5), and an xy motorized translational stage with a 25 cm traveling distance. Through a 3D-printed holder, we mounted the output end of the optical fiber and the tracking camera to the x–y translational motorized stage. The optical fiber bundle receives the 808 nm light provided by a laser diode (L808P1000MM, Thorlabs) at the input end, and delivers the light to the mouse’s body from the output end. The light beam expands over a distance that encompasses a 3-cm diameter region on the mouse’s body (Fig. 1b), leading to a skin surface light intensity of approximately 14 mW/cm, which is far below the safety limit defined by the American National Standards Institute (ANSI) (3.29 W/cm2). The tracking camera was programmed to detect two markers (one yellow and one green) drawn on the mouse’s back. Because the FOV of the tracking camera is small, a wide-angle lens (Insignia) was added in front of the camera (Fig. 1a and Supplementary Fig. 1). We also added a low pass filter (700 nm) in front of the wide-angle lens to prevent any reflected laser from entering the tracking camera. The middle region of the two markers is the ideal spot for light illumination (Fig. 1b, d). During the experiment, the coordinates of the markers were transmitted in real-time from the tracking camera to the Raspberry Pi through a USB cable. The tracking camera and the Raspberry Pi work in a closed-loop mode (Fig. 1d): as the animal moves, the coordinates of the two markers change, then the Raspberry Pi calculates the moving distance and sends pulsed signals to the motor driver, which moves the laser spot back to the central region of the two markers. For imaging, we used a NIR camera (PL-D734MU-NIR-T, Pixel link) placed under the mouse to record the transilluminated NIR light (Fig. 1c and Supplementary Fig. 1). To avoid effects from ambient light, we added a 700 nm long-pass filter (Supplementary Fig. 1) in front of the NIR camera. We also used two perpendicular polarizers, one in front of the fiber output (polarizer 1 in Fig. 1a) and the other in front of the NIR camera (polarizer 2 in Fig. 1a), to block the laser beams that did not interact with the mouse’s body.

### Imaging resolution and depth validation

We quantified the resolution of TIP by imaging a USAF target (USAF 1951 1×, Edmund) under room light without any optical filter set.

We validated the imaging depth through phantom experiments with silicon tubes of two different diameters. The first tube has a 0.5-mm-inner-diameter while the second one has a 4-mm-inner-diameter, which is comparable to the diameter of mouse intestine. We filled the tubes with BNc, which was of a concentration of 100 optical densities (OD), and then imaged the tubes through different thicknesses of agar pieces, which were made with 1% intralipid, 3% agar, 0.2% ink, and 95.8% water to mimic both scattering and absorption (India ink) of biological tissue41,42.

For the 0.5-mm tube, we imaged it in two modes (Supplementary Fig. 3). One is the fixed t1 mode, where we fixed thickness of the agar phantom placed on top of the tube as 4 mm while increased the thickness of agar phantom below the tube (Supplementary Fig. 3a), and the other is the fixed t2 mode, where we increased the thickness of the agar phantom placed on top of the tube while fixed the thickness of agar below the tube as 4 mm (Supplementary Fig. 3b). To quantitatively analyze the image contrast for tubes, we defined a contrast parameter as shown in Eq. (1).

$${\mathrm{Contrast}} = \left( {A_b - A_t} \right)/A_t$$
(1)

Here $$A_b$$ and $$A_t$$ are the average amplitudes of the background and tube signals, respectively. Based on Eq. (1), a darker tube and a brighter background result in a larger contrast parameter (Supplementary Fig. 3c). We also quantified the FWHM of the tube (Supplementary Fig. 3d). In the fixed $$t_1$$ mode, the FWHM of the tube increased quickly and the contrast of the tube decreased rapidly when the thickness of agar under the tube increased, due to the increased scattering below the tube. However, in the fixed $$t_2$$ mode, the FWHM and the contrast of the tube did not change significantly. For the experiment with the tube of 4-mm-inner-diameter, we imaged it in the fixed $$t_1$$ mode, and also quantified the contrast change over different depths (Supplementary Fig. 4). This experiment showed similar results as the 0.5-mm tube imaging.

### Animal preparation

All animal experiments were performed in accordance with the University at Buffalo’s Institutional Animal Care and Use Committee. Six-month-old female ND4 Swiss Webster mice from Envigo were used for all the experiments. The animal facility had a 12-h light/12-h dark cycle, the humidity and temperature were kept at ~50% and 20 °C, respectively. Twenty-four hours before the experiments, the mice fasted with access to only water. On the day of the experiment, we used an electric clipper to shave the hair on each animal’s belly and back. Then, we drew a yellow and a green marker on the upper and lower trunk of the mouse back, respectively. Both of these markers are ~1.5 cm in diameter. We then gavaged 200 μL of the contrast agents (concentration: 100 ODs) into each animal and placed it on the imaging platform. We imaged them at 15 Hz frame rate for single-color imaging, and 2 Hz for dual-color imaging.

### Automatic frame registration method

Because the mouse is moving while the NIR camera stays stationary, we first performed feature-based image registration to the raw video of free-moving imaging, so that the intestinal region of the mouse can be fixed at the same location across all frames. This enabled us to calculate the spatial-temporal map of the intestinal region of interest.

To facilitate image processing, we registered the acquired frames based on the outline of the mouse’s body, which occupied ~5% of the camera’s FOV (Supplementary Fig. 6). To extract the body outline, we first converted the acquired frame (Supplementary Fig. 6a) into a binary image with an initial threshold of one43. The threshold was then reduced by 0.005 iteratively in an iteration loop. In each iteration, the binary image was complemented. As the threshold gradually decreased, the complemented image showed several silhouettes. We focused on the top two largest silhouettes in the frame. The largest silhouette in the frame is the white region in the red box in Supplementary Fig. 6b, which corresponds to a region that is not well illuminated. The mouse area is the second-largest silhouette. Then, the ratio of the mouse region and the FOV of the camera was calculated. If the ratio is lower than 5%, the threshold further decreases and the iteration continues until the ratio reaches 5%. The mouse region was then extracted from the complemented image (Supplementary Fig. 6c).

Next, we computed the convex hull of the mouse silhouette to extract the orientation and centroid features for registration (Supplementary Fig. 6d). The convex hull is used here because it can easily generalize the animal shape. Once the convex hull was obtained, its image moment was calculated. The second-order central moment, which could be used to extract the direction of an image, was utilized to form the covariance matrix44 (Methods: “Covariance matrix calculation”). Then, the eigenvectors and the corresponding eigenvalues of this matrix were computed, where the largest eigenvalue of the eigenvector denoted the major axis of the convex hull. Following that, the angle ($$\theta$$) between the major axis and the horizontal axis was calculated, which was the angle we applied to rotate the video frame. The rotation was performed through the transformation matrix MR (Eq. (2)).

$$M_{\mathrm{R}} = \left[ {\begin{array}{*{20}{c}} {{\mathrm{cos}}(90 - \theta )} & { - {\mathrm{sin}}(90 - \theta )} \\ {{\mathrm{sin}}(90 - \theta )} & {{\mathrm{cos}}(90 - \theta )} \end{array}} \right]$$
(2)

By applying $$M_{\mathrm{R}}$$ to the original frame, we aligned the intestinal region along a fixed direction (90°) (Supplementary Fig. 6e). After this process, the intestinal region in all the frames was aligned to be upright, and only has displacement. The displacement was then corrected through a translation vector ($$t_{ix}t_{iy}$$), which was calculated using Eq. (3).

$$\left[ {\begin{array}{*{20}{c}} {t_{ix}} \\ {t_{iy}} \end{array}} \right] = \left[ {\begin{array}{*{20}{c}} {c_{ix} - c_{1x}} \\ {c_{iy} - c_{1y}} \end{array}} \right]$$
(3)

Here, ($$c_{ix},c_{iy}$$) represents the centroid coordinate (x, y) of the mouse silhouette in the current frame ($$i_{th}$$), while ($$c_{1x},c_{1y}$$) is the centroid of the mouse silhouette in the first frame. Using the centroid of the mouse convex hull in the first frame as the anchor point, the mouse silhouette in all the other frames was fixed at the anchor point after a shifting transformation matrix $$M_{\mathrm{T}}$$ (Eq. (4)) was applied to them (Supplementary Fig. 6f). Thus, the video was successfully registered (Supplementary Fig. 6g). Next, we cropped the region showing clear intestinal motility [region of interest (ROI)] for the spatial-temporal map calculation (Supplementary Fig. 6h).

$$M_{\mathrm{T}} = \left[ {\begin{array}{*{20}{c}} 1 & 0 & {t_{ix}} \\ 0 & 1 & {t_{iy}} \end{array}} \right]$$
(4)

It should be noted that the aforementioned registration method works well for a straight or slightly bent mouse body. When the mouse body was bent severely, the convex hull of the mouse silhouette would be significantly different from that of the straight mouse. The profile of the intestine would also change. Therefore, even if those frames were well registered, it would be difficult to track the same intestine before and after bending for spatiotemporal map quantification. In this case, we used the similarity based method to compute the intestinal pattern (Fig. 4). We processed data with Matlab (MathWorks).

### Covariance matrix calculation

The covariance matrix is calculated in the following way. First, we obtained the covariance matrix of the convex hull of the mouse from its second-order central moment, which is calculated using the following equations:

$$\mu _{xx}^\prime = \frac{{\mu _{xx}^\prime }}{N},\,\mu _{yy}^\prime = \frac{{\mu _{yy}^\prime }}{N},\,\mu _{xy}^\prime = \frac{{\mu _{xy}^\prime }}{N}$$
(5)

where

$$\mu _{xx}^\prime = \frac{{\mu _{xx}^\prime }}{N},\,\mu _{yy}^\prime = \frac{{\mu _{yy}^\prime }}{N},\,\mu _{xy}^\prime = \frac{{\mu _{xy}^\prime }}{N}$$
(6)
$$\mu _{yy}^\prime = \mathop {\sum }\limits_x \mathop {\sum }\limits_y \left( {y - \bar y} \right)^2f(x,y)$$
(7)
$$\mu _{xy}^\prime = \mathop {\sum }\limits_x \mathop {\sum }\limits_y \left( {x - \bar x} \right)\left( {y - \bar y} \right)f(x,y)$$
(8)

Here, x and y are the coordinates of each pixel in the image, $$\left( {\bar x,\bar y} \right)$$ is the centroid’s coordinate of the convex hull, N is its number of pixels inside the convex hull, and $$f(x,y)$$ is the intensity distribution function of the convex hull. Since the image is binary and the region inside the convex hull is white, $$f(x,y)$$ equals 1. The covariance matrix (cov) of the silhouette is:

$$cov = \left[ {\begin{array}{*{20}{c}} {\mu _{xx}^\prime } & {\mu _{xy}^\prime } \\ {\mu _{xy}^\prime } & {\mu _{yy}^\prime } \end{array}} \right]$$
(9)

### Spatial-temporal map

Using the registered and cropped video (Supplementary Fig. 7a), we calculated the spatial-temporal map of the intestines. First, we enhanced all the frames of the processed video with contrast-limited adaptive histogram equalization (Supplementary Fig. 7b)45. Then, we performed the MAP to all the frames in the video. In the MAP image, we manually drew a curve along the intestine of interest (green line in Supplementary Fig. 7c). Because all the frames are registered, the green curve in the MAP image represents the intestine position of the entire video. In each frame, our program automatically calculated the normal vector at each pixel of the curve (red arrows in Supplementary Fig. 7c). All the normal vectors had the same length and each vector fully covered the cross-section of the intestine. Along each normal vector, we extracted the cross-sectional profile of the intestine (Supplementary Fig. 7d). Stacking the profiles of all frames forms a temporal map (Supplementary Fig. 7e). To highlight the intestine regions, we used a global threshold computed using Otsu’s method46 to remove the low amplitude signals in that map (Supplementary Fig. 7f). Each column in Supplementary Fig. 7f corresponds to the cross-sectional profile of intestine at one-time point. This image was further converted into a one-dimensional plot (Supplementary Fig. 7g) by quantifying the summation (or average) of signals in each column. In Supplementary Fig. 7g, valleys represent contractions (smaller intestine cross-sectional diameter: few contrast signals), while peaks indicate relaxations (larger intestine cross-sectional diameter: more contrast signals). We then repeated the same procedure for all cross-sectional vectors in Supplementary Fig. 7d and stack the averaged signals along the intestine direction to form Supplementary Fig. 7h, where each row represents the temporal signal change at one intestine position, while each column represents the spatial signal changes along the intestine at a certain time spot. In this spatial-temporal map, the contractions are shown as spots. We then smoothed the spatial-temporal map with a 2 × 2 two-dimensional median filtering.

### Dual-color TIP imaging

The main BNc micelle contrast agent used for single-color imaging has a peak absorption at 800 nm (BNc) and very low absorbance at 980 nm3, while the second contrast agent (CyFaP micelle) used with BNc for two-color imaging has high absorption at 980 nm and moderate absorption at 800 nm47. Contrast agents were prepared as described in their respective references. A 808-nm laser and a 980-nm laser (L980P200, Thorlabs) were used as respective imaging light sources. For dual-color imaging, we gavaged the 808-nm contrast agent first, and 30 min later we gavaged 980 nm contrast agent. We synchronized the two lasers to illuminate the mouse alternatively, and triggered the camera accordingly to ensure that each frame contained image from only one wavelength. The setup allows us to spectrally resolve the movement of two contrast agents.

### Volumetric intestine imaging

We imaged intestine volumetrically with a light-field imaging system that was built by replacing the imaging objective of the free-moving system with a lens set containing one macro lens, one MLA (RPCphotonics, MLA-S100-f10) and one 1:1 relay lens. The macro lens images the intestine with a 1/3× magnification ratio. The MLA used for 4D light-field capturing is placed at the focus of the macro lens, and the MLA is then imaged onto the camera sensor with a 1:1 relay lens.

Light-field image reconstruction produced three-dimensional volume from the acquired 2D frame. We first obtained the lenslet parameters from the light-field images using the guidelines within the Light Field Display software provided by the Stanford Computer Graphics Laboratory48. We then applied these parameters to the shift-and-add algorithm to refocus the images at different depths49,50. Because we did not deconvolve our 2D images in the free-moving imaging, for comparison we also did not deconvolve our light-field data in 3D imaging.

### Reporting summary

Further information on research design is available in the Nature Research Reporting Summary linked to this article.

## Data availability

All data generated and analyzed during the current study are contained within the manuscript, and/or are available from the corresponding author on reasonable request.

## References

1. 1.

Peery, A. F. et al. Burden of gastrointestinal disease in the United States: 2012 update. Gastroenterology 143, 1179–1187. e1173 (2012).

2. 2.

Everhart, J. E. & Ruhl, C. E. Burden of digestive diseases in the United States part I: overall and upper gastrointestinal diseases. Gastroenterology 136, 376–386 (2009).

3. 3.

Zhang, Y. et al. Non-invasive multimodal functional imaging of the intestine with frozen micellar naphthalocyanines. Nat. Nanotechnol. 9, 631–638 (2014).

4. 4.

Zhou, Y. et al. A phosphorus phthalocyanine formulation with intense absorbance at 1000 nm for deep optical imaging. Theranostics 6, 688 (2016).

5. 5.

Shultz, L. D., Ishikawa, F. & Greiner, D. L. Humanized mice in translational biomedical research. Nat. Rev. Immunol. 7, 118 (2007).

6. 6.

Huizinga, J. D., Ambrous, K. & Der‐Silaphet, T. Co‐operation between neural and myogenic mechanisms in the control of distension‐induced peristalsis in the mouse small intestine. J. Physiol. 506, 843–856 (1998).

7. 7.

Huizinga, J. D. et al. Two independent networks of interstitial cells of Cajal work cooperatively with the enteric nervous system to create colonic motor patterns. Front. Neurosci. 5, 93 (2011).

8. 8.

Vincent, A. D., Wang, X.-Y., Parsons, S. P., Khan, W. I. & Huizinga, J. D. Abnormal absorptive colonic motor activity in germ-free mice is rectified by butyrate, an effect possibly mediated by mucosal serotonin. Am. J. Physiol.-Gastrointest. Liver Physiol. 315, G896–G907 (2018).

9. 9.

Swaminathan, M. et al. Video imaging and spatiotemporal maps to analyze gastrointestinal motility in mice. JoVE 108, e53828 (2016).

10. 10.

Li, Z. et al. Regional complexity in enteric neuron wiring reflects diversity of motility patterns in the mouse large intestine. Elife 8, e42914 (2019).

11. 11.

Der, T. et al. Interstitial cells of Cajal and inflammation-induced motor dysfunction in the mouse small intestine. Gastroenterology 119, 1590–1599 (2000).

12. 12.

Ailiani, A. C. et al. Quantitative analysis of peristaltic and segmental motion in vivo in the rat small intestine using dynamic MRI. Magn. Reson. Med. 62, 116–126 (2009).

13. 13.

Wang, D. et al. Ingestible roasted barley for contrast-enhanced photoacoustic imaging in animal and human subjects. Biomaterials 175, 72–81 (2018).

14. 14.

Gabella, G. The number of neurons in the small intestine of mice, guinea-pigs and sheep. Neuroscience 22, 737–752 (1987).

15. 15.

Hulzinga, J. D. et al. W/kit gene required for interstitial cells of Cajal and for intestinal pacemaker activity. Nature 373, 347–349 (1995).

16. 16.

Thomson, L. et al. Interstitial cells of Cajal generate a rhythmic pacemaker current. Nat. Med. 4, 848–851 (1998).

17. 17.

Spencer, N. J. et al. Mechanisms underlying distension-evoked peristalsis in guinea pig distal colon: is there a role for enterochromaffin cells? Am. J. Physiol.-Gastrointest. Liver Physiol. 301, G519–G527 (2011).

18. 18.

Der–Silaphet, T., Malysz, J., Hagel, S., Arsenault, A. L. & Huizinga, J. D. Interstitial cells of Cajal direct normal propulsive contractile activity in the mouse small intestine. Gastroenterology 114, 724–736 (1998).

19. 19.

Hamano, N., Inada, T., Iwata, R., Asai, T. & Shingu, K. The α2-adrenergic receptor antagonist yohimbine improves endotoxin-induced inhibition of gastrointestinal motility in mice. Br. J. Anaesth. 98, 484–490 (2007).

20. 20.

Huizinga, J. D. et al. The origin of segmentation motor activity in the intestine. Nat. Commun. 5, 3326 (2014).

21. 21.

Kwon, S. & Sevick‐Muraca, E. M. Non‐invasive, dynamic imaging of murine intestinal motility. Neurogastroenterol. Motil. 23, 881 (2011).

22. 22.

Pickhardt, P. J. et al. Microcomputed tomography colonography for polyp detection in an in vivo mouse tumor model. Proc. Natl Acad. Sci. USA 102, 3419–3422 (2005).

23. 23.

Huizinga, J. D. et al. Motor patterns of the small intestine explained by phase-amplitude coupling of two pacemaker activities: the critical importance of propagation velocity. Am. J. Physiol.-Cell Physiol. 309, C403–C414 (2015).

24. 24.

Spencer, N. J. & Hu, H. Enteric nervous system: sensory transduction, neural circuits and gastrointestinal motility. Nat. Rev. Gastroenterol. Hepatol. 17, 338–351 (2020).

25. 25.

Spencer, N. J., Dinning, P. G., Brookes, S. J. & Costa, M. Insights into the mechanisms underlying colonic motor patterns. J. Physiol. 594, 4099–4116 (2016).

26. 26.

Cannon, W. B. The movements of the intestines studied by means of the Rontgen rays. Am. J. Physiol.-Leg. Content 6, 251–277 (1902).

27. 27.

Alvarez, W. C. Bayliss and Starling’s law of the intestine or the myenteric reflex. Am. J. Physiol.-Leg. Content 69, 229–248 (1924).

28. 28.

Szurszewski, J. H. A migrating electric complex of canine small intestine. Am. J. Physiol.-Leg. Content 217, 1757–1763 (1969).

29. 29.

Spencer, N. J., Sanders, K. M. & Smith, T. K. Migrating motor complexes do not require electrical slow waves in the mouse small intestine. J. Physiol. 553, 881–893 (2003).

30. 30.

Fleckenstein, P., Bueno, L., Fioramonti, J. & Ruckebusch, Y. Minute rhythm of electrical spike bursts of the small intestine in different species. Am. J. Physiol.-Gastrointest. Liver Physiol. 242, G654–G659 (1982).

31. 31.

Parsons, S. P. & Huizinga, J. D. Nitric oxide is essential for generating the minute rhythm contraction pattern in the small intestine, likely via ICC-DMP. Front. Neurosci. 14, 1340 (2020).

32. 32.

Diamant, S. & Scott, R. Migrating action potential complexes—a feature of normal jejunal myoelectric activity in the rat. Can. J. Physiol. Pharmacol. 65, 2269–2273 (1987).

33. 33.

Spencer, N. J. & Hu, H. Enteric nervous system: sensory transduction, neural circuits and gastrointestinal motility. Nat. Rev. Gastroenterol. Hepatol. 17, 338–351 (2020).

34. 34.

Huizinga, J. D. & Lammers, W. J. Gut peristalsis is governed by a multitude of cooperating mechanisms. Am. J. Physiol.-Gastrointest. Liver Physiol. 296, G1–G8 (2009).

35. 35.

Gulbransen, B. D. & Sharkey, K. A. Novel functional roles for enteric glia in the gastrointestinal tract. Nat. Rev. Gastroenterol. Hepatol. 9, 625 (2012).

36. 36.

Zhang, Y. et al. Surfactant‐stripped frozen pheophytin micelles for multimodal gut imaging. Adv. Mater. 28, 8524–8530 (2016).

37. 37.

Payne, S. C., Furness, J. B. & Stebbing, M. J. Bioelectric neuromodulation for gastrointestinal disorders: effectiveness and mechanisms. Nat. Rev. Gastroenterol. Hepatol. 16, 89–105 (2019).

38. 38.

Yuan, Y. et al. Associations between colonic motor patterns and autonomic nervous system activity assessed by high-resolution manometry and concurrent heart rate variability. Front. Neurosci. 13, 1447 (2020).

39. 39.

Milkova, N., Parsons, S. P., Ratcliffe, E., Huizinga, J. D. & Chen, J.-H. On the nature of high-amplitude propagating pressure waves in the human colon. Am. J. Physiol.-Gastrointest. Liver Physiol. 318, G646–G660 (2020).

40. 40.

Dinning, P. et al. High‐resolution colonic motility recordings in vivo compared with ex vivo recordings after colectomy, in patients with slow transit constipation. Neurogastroenterol. Motil. 28, 1824–1835 (2016).

41. 41.

Lai, P., Xu, X. & Wang, L. V. Dependence of optical scattering from Intralipid in gelatin-gel based tissue-mimicking phantoms on mixing temperature and time. J. Biomed. Opt. 19, 035002–035002 (2014).

42. 42.

Salo, D., Zhang, H., Kim, D. M. & Berezin, M. Y. Multispectral measurement of contrast in tissue-mimicking phantoms in near-infrared spectral range of 650 to 1600 nm. J. Biomed. Opt. 19, 086008 (2014).

43. 43.

Bradley, D. & Roth, G. Adaptive thresholding using the integral image. J. Graph. tools 12, 13–21 (2007).

44. 44.

Haralick, R. M. & Shapiro, L. G. Computer and Robot Vision (Addison-Wesley, 1992).

45. 45.

Reza, A. M. Realization of the contrast limited adaptive histogram equalization (CLAHE) for real-time image enhancement. J. VLSI signal Process. Syst. Signal, Image Video Technol. 38, 35–44 (2004).

46. 46.

Otsu, N. A threshold selection method from gray-level histograms. IEEE Trans. Syst., Man, Cybern. 9, 62–66 (1979).

47. 47.

Chitgupi, U. et al. Surfactant‐stripped micelles for NIR‐II photoacoustic imaging through 12 cm of breast tissue and whole human breasts. Adv. Mater. 31, 1902279 (2019).

48. 48.

Ng, R. et al. Light field photography with a hand-held plenoptic camera. Computer Sci. Tech. Rep. CSTR 2, 1–11 (2005).

49. 49.

Wilburn, B. et al. In ACM Transactions on Graphics (TOG). 765–776 (ACM). (2005).

50. 50.

Tian, L., Wang, J. & Waller, L. 3D differential phase-contrast microscopy with computational illumination using an LED array. Opt. Lett. 39, 1326–1329 (2014).

## Acknowledgements

This work is supported in part by the National Institutes of Health (DP5OD017898 and R01 EB029596).

## Author information

Authors

### Contributions

D.W., J.F.L., and J.X. Conceived the idea. D.W., T.V., Y.Z., A.M., A.R., and S.Z. performed the free-moving experiments. D.W., H.Z., and P.W. performed the light-field experiments. U.C. prepared the contrast agent. D.W., L.W., J.D.H., J.F.L., and J.X. wrote the manuscript.

### Corresponding author

Correspondence to Jun Xia.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

Peer review information Nature Communications thanks Nicholas Spencer and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Wang, D., Zhang, H., Vu, T. et al. Trans-illumination intestine projection imaging of intestinal motility in mice. Nat Commun 12, 1682 (2021). https://doi.org/10.1038/s41467-021-21930-w

• Accepted:

• Published:

• DOI: https://doi.org/10.1038/s41467-021-21930-w