Skip to main content
The British Journal of Radiology logoLink to The British Journal of Radiology
. 2021 Jul 8;95(1132):20201210. doi: 10.1259/bjr.20201210

Vector-Field dynamic X-ray (VF-DXR) using Optical Flow Method

Takuya Hino 1,, Akinori Tsunomori 2, Takenori Fukumoto 2, Akinori Hata 1, Masako Ueyama 3, Atsuko Kurosaki 4, Tsutomu Yoneyama 2, Sumiya Nagatsuka 2, Shoji Kudoh 5, Hiroto Hatabu 1
PMCID: PMC9153721  PMID: 34233474

Abstract

Objectives:

To explore the feasibility of Vector-Field DXR (VF-DXR) using optical flow method (OFM).

Methods:

Five healthy volunteers and five COPD patients were studied. DXR was performed in the standing position using a prototype X-ray system (Konica Minolta Inc., Tokyo, Japan). During the examination, participants took several tidal breaths and one forced breath. DXR image file was converted to the videos with different frames per second (fps): 15 fps, 7.5 fps, five fps, three fps, and 1.5 fps. Pixel-value gradient was calculated by the serial change of pixel value, which was subsequently converted mathematically to motion vector using OFM. Color-coding map and vector projection into horizontal and vertical components were also tested.

Results:

Dynamic motion of lung and thorax was clearly visualized using VF-DXR with an optimal frame rate of 5 fps. Color-coding map and vector projection into horizontal and vertical components were also presented. VF-DXR technique was also applied in COPD patients.

Conclusion:

The feasibility of VF-DXR was demonstrated with small number of healthy subjects and COPD patients.

Advances in knowledge:

A new Vector-Field Dynamic X-ray (VF-DXR) technique is feasible for dynamic visualization of lung, diaphragms, thoracic cage, and cardiac contour.

Introduction

Spontaneous respiration is associated with cooperative motion of respiratory muscles and bones consisting of thorax. 1 Diaphragm is one of the major inspiratory muscles separating thorax from abdomen. In the inspiratory phase, the diaphragm descends by contraction accompanying with the decrease in intrathoracic pressure. Rib cage also acts on its expansion: upper and lateral deviation of ribs occurs as muscles contract. These processes help passive air inflow from the outside of body via airway and lead to expansion of alveoli and lungs. In the expiratory phase, the diaphragm and rib cage act together; air outflow is urged by elastic contraction of lung. 1,2 Thus, motion of thorax and lung works cooperatively and harmoniously.

Recently developed dynamic X-ray (DXR) with flat-panel detector provides sequential images of the thorax with high temporal resolution. 3 The procedure for DXR examination is simple, and the radiation exposure of DXR is within tolerant range from 0.4 to 1.0 mGy, only one and half times higher than that with conventional chest radiographs. 3,4 Dynamic motion analysis of diaphragm or rib has been reported in the previous studies. 4,5 Optical flow method (OFM) is defined as a visual pattern of the apparent motion of moving object. The motion was estimated by spatiotemporal differentiation of the image pixel-value gradient. 6

We hypothesize that the combination of high-temporal-resolution DXR and OFM enables the visualization of dynamic motion of lungs. Here, we report the feasibility of assessing dynamic motion of the lung and thorax using motion Vector-Field DXR (VF-DXR) with optical flow method (OFM).

Methods and materials

Patients imaging and its equipment

This study was approved by the institutional review board. Five healthy participants and five COPD patients were included in this exploratory feasibility study. During the examination with approximately 10 to 15 s, every participant took several resting breaths and one following forced breath in standing position.

DXR was performed in the standing position using a prototype X-ray system (Konica Minolta Inc., Tokyo, Japan) composed of a flat-panel detector (Pax Scan 4030CB, Varian Medical Systems Inc., Salt Lake City, UT, USA) and a pulsed X-ray generator (DHF-155HII with Cineradiography option, Hitachi Medical Corporation, Tokyo, Japan). Each DXR image was converted to the video with different frames per second (fps): 15 fps, 7.5 fps, five fps, three fps, and 1.5 fps. The image and video data obtained by DXR were assessed using software OpenCV. 7

Display methods for VF-DXR

Total variation regularization and robust L1 norm (TV-L1) optical flow estimation based on the interval change of background pixel-value was adopted for motion analysis. 8 The interval change of each pixel was calculated using two successive DXR images; it was converted mathematically to the motion vector. The theory was based on several preconditions compared with subsequent frame: unchanged luminance distribution, image differentiability, minute motion, and similar motion with adjacent pixels. Lung field obtained by DXR was divided into two-centimeter-length pixels. The motion vector from the center of each pixel was calculated and multiplied by the constant according to the frame rate. The motion vector field was also projected to horizontal and vertical components.

Color-coding map and visual assessment

In each frame, lung motion field was expressed with color-coding map as well as vector field: vector was replaced with some color presenting the orientation and magnitude was expressed as brightness. Two types of color schemes were adopted: the same as the previous study, 8 and above-mentioned color scheme with 135 degree counter-clockwise rotation. The latter represented the vertical motion in color-coding map with hue spectrum between red and green. Forced visual order ranking of image quality was performed among dynamic images with various frame rates ranging from 1.5 fps to 15 fps by five observers (three radiologists and two engineers).

Results

VF-DXR

Vector-field of dynamic motion of the lung was expressed successfully, which was superimposed upon the dynamic images. Dynamic and cooperative motions of ribs, and diaphragms were also well visualized using VF-DXR during inspiratory and expiratory phases (Figure 1). Simultaneously, pulmonary vasculature pulled together with expiration was observed. Rhythmical motions of heart boarders and thoracic aorta were also observed. Bone Suppression (BS) algorithm was effective for clearer demonstration of lung with vector-field map (Figure 1).

Figure 1.

Figure 1.

Vector-Field Dynamic X-ray (VF-DXR) in inspiratory and expiratory phases with and without Bone Suppression (BS) algorithm. 41-year-old female with no smoking history. VF-DXR image (a), (c) with and (b), (d) without bone suppression (BS) algorithm. Motion vectors in (a), (b) deep inspiratory phase and (c), (d) deep expiratory phase were projected.

Frame rate for VF-DXR

Images with different frame rates per second ranging from 1.5 fps to 15 fps were shown in Figure 2. The lung motion vectors were better seen with relatively lower frame rates compared to those of heart boarder and aorta. The results of forced visual ranking were shown in Supplementary Material 1. The frame rate of 5 fps was the optimal.

Figure 2.

Figure 2.

VF-DXR with different frame rates. 41-year-old female with no smoking history. Vector field images in inspiratory phase with (a) 15 fps, (b) 7.5fps, (c) five fps, (d) three fps, and (e) 1.5 fps and those in expiratory phase with (f) 15 fps, (g) 7.5fps, (h) five fps, (i) three fps, and (j) 1.5 fps.

Supplementary Material 1.

Expression of vector field using color-coding map

Figure 3 demonstrates the color-coding expression of vector fields in healthy subjects. The difference of color represented the motion of the orientation of vector; and the brightness of color represented the magnitude of vector. The motion of diaphragm and adjacent lung was well visualized with 135 degree rotated color-coding map.

Figure 3.

Figure 3.

Expression of vector field using color-coding map. 41-year-old female with no smoking history. Images with (a), (c) inspiratory and (b), (d) expiratory phase. Different color represents orientation of vector, and color strength represented the magnitude of vector. (c) and (d) adopted 135 degree counter-clockwise-rotated color scheme.

Projection of vectors into horizontal and vertical components

Vector-field projections into horizontal and vertical components in healthy subjects were shown in Supplementary Material 1. Horizontal vectors showed the horizontal movements of lung and thoracic cage better, and vertical vectors visualized lung, diaphragm, and ribs better.

VF-DXR application to COPD subjects

VF-DXR was successfully applied in COPD subjects (Figure 4). Both vector projection and color-coding map were feasible in COPD patients. The results of forced visual ranking were shown in Supplementary Material 1. The frame rate of 5 fps was the optimal.

Figure 4.

Figure 4.

VF-DXR in COPD patient. 57-year-old female with COPD. (a) shows two-dimension vector field with five fps. Each vector is projected to (b) horizontal and (c) vertical component. Color-coding maps in deep (d) inspiratory and (e) expiratory phase with 135-degree clockwise-rotated color scheme are also shown.

Discussion

This study focused on the feasibility of VF-DXR with OFM. Dynamic and smooth motion of the thorax was optimally visualized and feasible using VF-DXR with five fps in both healthy and COPD subjects. Color-coding map and vertical and horizontal component vector-field map were feasible as additional approaches for visualizing dynamic motion.

In forced breathing, females have larger motion of upper thorax and smaller motion of abdomen than males. 9 Thoracic motion is also affected by aging and posture. 9,10 Chest wall diseases including deformation of rib cage or spine as well as respiratory muscle disorders may change the dynamics of thorax. 11,12 Lung motion can be influenced by these factors: change of lung compliance, adhesion of lung sometimes due to operation and lung or pleural disease, and regional lung disease. 13–15

OFM has been applied for the recognition of moving objects or the quantification of movement in various situations. 16–18 Lin et al have reported that hemodynamics in left ventricle was well visualized with ECD-gated cardiac CT using OFM. 19 Ijichi et al showed the potential combination of Gaussian filtering and optical flow for tumor tracking by X-ray. 20 OFM were considered efficient to evaluate lung motion because DXR images provide transient pixel-value gradient during respiration. Tanaka et al 3,21 have reported that the serial changes of lung or its pixel-value was observed by DXR, who referred to the possibility to describe lung local vector. 3 However, further studies have not been performed previously.

Previous studies have reported human lung motion imaging obtained by 4DCT or MRI. Lung motion field with vector was provided using point data of lung surface, or target lesion such as pulmonary vasculature or tumor. 22–25 However, several issues remained unsolved. Subjects were examined in spine position; physiological movement of lung in standing position is known to be different with gravitational effect. Yamada et al have reported that bilateral CT-measured lung volumes in standing position in particular respiratory phase was larger than those in supine phase, 26 which means that lung motion may also be affected by position. In addition, obtained images were vulnerable to artefact generated by body motion. As for X-ray, motion of human lung tumor was analyzed in several studies. 20,27 Whole lung motion of mice has been assessed with dynamic phase-contrast X-ray using synchrotron. 28

Compared with CT or MRI, VF-DXR is considered to have several advantages such as simpler method, standing position, lower radiation exposure, and shorter examination time. Physiological tidal or forced breathing during DXR examination in standing position also requires less burden. VF-DXR has the potential to easily visualize the whole lung motion in standing position, which is normal conditions for physiological respiration of human beings. VF-DXR may suggest a possibility to make a quantitative evaluation of not only lung and rib, but also diaphragm and heart motion by analyzing the vector. Video with 5fps was considered optimal due to less effect of body motion as well as not adequate size of vectors.

However, we have to admit that this study relied on the subjective visual assessment in a small number of healthy subjects and patients with COPD, which can be the limitation of this study. Further studies are required to make an objective evaluation to VF-DXR.

In conclusion, VF-DXR is feasible with an optimal frame rate of 5 fps for dynamic visualization of lung, diaphragms, thoracic cage, and cardiac contour with small number of healthy subjects and COPD patients. Color-coding map-expression, and horizontal and vertical component expressions of vector field were also introduced. The clinical studies with a larger cohort are necessary for further understanding of this new technique its clinical applications.

Footnotes

Competing interests: Dr. Hatabu reports grants from Konica-Minolta Inc, grants from Canon Medical Systems Inc, other from Canon Medical Systems Inc, personal fees from Mitsubishi Chemical Inc, outside the submitted work. Engineers (Akinori Tsunomori, Takenori Fukumoto, Tsutomu Yoneyama, and Sumiya Nagatsuka) are belonging to KONICA MINOLTA INC. The other authors (Takuya Hino, Akinori Hata, Masako Ueyama, Atsuko Kurosaki, and Shoji Kudoh) have no conflicts of interest to be disclosed related to this article.

Contributor Information

Takuya Hino, Email: thino@bwh.harvard.edu, hinot@med.kyushu-u.ac.jp.

Akinori Tsunomori, Email: akinori.tsunomori@konicaminolta.com.

Takenori Fukumoto, Email: takenori.fukumoto@konicaminolta.com.

Akinori Hata, Email: a-hata@radiol.med.osaka-u.ac.jp.

Masako Ueyama, Email: ueyamam@fukujuji.org.

Atsuko Kurosaki, Email: kurosakia@fukujuji.org.

Tsutomu Yoneyama, Email: tsutomu.yoneyama@konicaminolta.com.

Sumiya Nagatsuka, Email: sumiya.nagatsuka@konicaminolta.com.

Shoji Kudoh, Email: skudoh@jatahq.org.

Hiroto Hatabu, Email: hhatabu@partners.org.

REFERENCES

  • 1. Ratnovsky A, Elad D, Halpern P. Mechanics of respiratory muscles. Respir Physiol Neurobiol 2008; 163(1-3): 82–9. doi: 10.1016/j.resp.2008.04.019 [DOI] [PubMed] [Google Scholar]
  • 2. De Troyer A, Boriek AM. Mechanics of the respiratory muscles. Compr Physiol 2011; 1: 1273–300. doi: 10.1002/cphy.c100009 [DOI] [PubMed] [Google Scholar]
  • 3. Tanaka R, Sanada S, Suzuki M, Kobayashi T, Matsui T, Inoue H, et al. Breathing chest radiography using a dynamic flat-panel detector combined with computer analysis. Med Phys 2004; 31: 2254‐–62. doi: 10.1118/1.1769351 [DOI] [PubMed] [Google Scholar]
  • 4. Hida T, Yamada Y, Ueyama M, Araki T, Nishino M, Kurosaki A, et al. Time-Resolved quantitative evaluation of diaphragmatic motion during forced breathing in a health screening cohort in a standing position: dynamic chest phrenicography. Eur J Radiol 2019; 113: 59–65. Epub 2019 Jan 31. doi: 10.1016/j.ejrad.2019.01.034 [DOI] [PubMed] [Google Scholar]
  • 5. Hiasa Y, Otake Y, Tanaka R, Sanada S, Sato Y. Recovery of 3D rib motion from dynamic chest radiography and CT data using local contrast normalization and articular motion model. Med Image Anal 2019; 51: 144–56. Epub 2018 Oct 19. doi: 10.1016/j.media.2018.10.002 [DOI] [PubMed] [Google Scholar]
  • 6. Horn BKP, Schunck BG. Determining optical flow. determining optical flow. Artificial Intelligence 1981; 17(1–3): 185–203. [Google Scholar]
  • 7. OpenCV - 3.4.9. Open source computer vision library. 2019. Available from: https://opencv.org/releases/page/2/.
  • 8. Sánchez Pérez J, Meinhardt-Llopis E, Facciolo G. TV-L1 optical flow estimation. Image Processing On Line 2013; 3: 137–50. doi: 10.5201/ipol.2013.26 [DOI] [Google Scholar]
  • 9. Ragnarsdóttir M, Kristinsdóttir EK. Breathing movements and breathing patterns among healthy men and women 20-69 years of age. reference values. Respiration 2006; 73: 48–54. doi: 10.1159/000087456 [DOI] [PubMed] [Google Scholar]
  • 10. Lee L-J, Chang AT, Coppieters MW, Hodges PW. Changes in sitting posture induce multiplanar changes in chest wall shape and motion with breathing. Respir Physiol Neurobiol 2010; 170: 236–45. doi: 10.1016/j.resp.2010.01.001 [DOI] [PubMed] [Google Scholar]
  • 11. Casas A, Pavía J, Maldonado D. Respiratory muscle disorders in chest wall diseases. Arch Bronconeumol 2003; 39: 361–6. doi: 10.1016/s0300-2896(03)75404-0 [DOI] [PubMed] [Google Scholar]
  • 12. Tzelepis GE. Chest wall diseases: respiratory pathophysiology. Clin Chest Med 2018; 39: 281–96. doi: 10.1016/j.ccm.2018.01.002 [DOI] [PubMed] [Google Scholar]
  • 13. Gilmartin JJ, Gibson GJ. Abnormalities of chest wall motion in patients with chronic airflow obstruction. Thorax 1984; 39: 264–71. doi: 10.1136/thx.39.4.264 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Tokuno J, Shoji T, Sumitomo R, Ueda Y, Yamanashi K, Huang C-L. Preoperative detection of pleural adhesions by respiratory dynamic computed tomography. World J Surg Oncol 2017; 15: 212. doi: 10.1186/s12957-017-1280-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. Fouras A, Allison BJ, Kitchen MJ, Dubsky S, Nguyen J, Hourigan K, LewisR WMJ, et al. Altered lung motion is a sensitive indicator of regional lung disease. Ann Biomed Eng 2012; 40: 1160–9. doi: 10.1007/s10439-011-0493-0 [DOI] [PubMed] [Google Scholar]
  • 16. WH L, Fu B, Xiao LC, Wang Y, Liu PX. A video smoke detection algorithm based on wavelet energy and optical flow eigen-values. Journal of Software 2013; 8: 63–9. [Google Scholar]
  • 17. Shukla D, Patel E. Speed determination of moving vehicles using Lucas-Kanade algorithm. International Journal of Computer Applications Technology and Research 2013; 2: 32–6. doi: 10.7753/IJCATR0201.1007 [DOI] [Google Scholar]
  • 18. Denman S, Fookes C, Sridharan S. Improved Simultaneous Computation of Motion Detection and Optical Flow for Object Tracking. Techniques and Applications (DICTA) Melbourne Australia: The International Conference on Digital Image Computing; 2009. [Google Scholar]
  • 19. Lin Y-H, Huang Y-H, Lin K-P, Liu J-C, Huang T-C. Ventricular hemodynamics using cardiac computed tomography and optical flow method. J Xray Sci Technol 2014; 22: 129‐–36. doi: 10.3233/XST-130414 [DOI] [PubMed] [Google Scholar]
  • 20. Ichiji K, Yoshida Y, Homma N, Zhang X, Bukovsky I, Takai Y, et al. A key-point based real-time tracking of lung tumor in X-ray image sequence by using difference of Gaussians filtering and optical flow. Phys Med Biol 2018; 63: 185007. doi: 10.1088/1361-6560/aada71 [DOI] [PubMed] [Google Scholar]
  • 21. Tanaka R, Tani T, Nitta N, Tabata T, Matsutani N, Muraoka S, et al. Pulmonary function diagnosis based on respiratory changes in lung density with dynamic Flat-Panel detector imaging: an animal-based study. Invest Radiol 2018; 53: 417‐–23. doi: 10.1097/RLI.0000000000000457 [DOI] [PubMed] [Google Scholar]
  • 22. Rao F, Li W-L, Yin Z-P. Non-Rigid point cloud registration based lung motion estimation using tangent-plane distance. PLoS One 2018; 13: e0204492. doi: 10.1371/journal.pone.0204492 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23. Vandemeulebroucke J, Rit S, Kybic J, Clarysse P, Sarrut D. Spatiotemporal motion estimation for respiratory-correlated imaging of the lungs. Med Phys 2011; 38: 166–78. doi: 10.1118/1.3523619 [DOI] [PubMed] [Google Scholar]
  • 24. Gee J, Sundaram T, Hasegawa I, Uematsu H, Hatabu H. Characterization of regional pulmonary mechanics from serial magnetic resonance imaging data. Acad Radiol 2003; 10: 1147–52. doi: 10.1016/S1076-6332(03)00329-5 [DOI] [PubMed] [Google Scholar]
  • 25. Marx M, Ehrhardt J, Werner R, Schlemmer H-P, Handels H. Simulation of spatiotemporal CT data sets using a 4D MRI-based lung motion model. Int J Comput Assist Radiol Surg 2014; 9: 401–9. doi: 10.1007/s11548-013-0963-y [DOI] [PubMed] [Google Scholar]
  • 26. Yamada Y, Yamada M, Chubachi S, Yokoyama Y, Matsuoka S, Tanabe A, et al. Comparison of inspiratory and expiratory lung and lobe volumes among supine, standing, and sitting positions using conventional and upright CT. Sci Rep 2020; 10: 16203. doi: 10.1038/s41598-020-73240-8 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 27. McNair HA, Kavanagh A, Powell C, Symonds-Tayler JRN, Brada M, Evans PM. Fluoroscopy as a surrogate for lung tumour motion. Br J Radiol 2012; 85: 168–75. doi: 10.1259/bjr/14026195 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28. Gradl R, Dierolf M, Günther B, Hehn L, Möller W, Kutschke D, et al. In vivo dynamic phase-contrast X-ray imaging using a compact light source. Sci Rep 2018; 8: 6788. doi: 10.1038/s41598-018-24763-8 [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

Supplementary Material 1.

Articles from The British Journal of Radiology are provided here courtesy of Oxford University Press

RESOURCES