How Xrays see through your skin  Ge Wang

260,227
Views 
3,743
Questions Answered
Let’s Begin…
Originally discovered by accident, Xrays are now used about 100 million times a year in clinics around the world. How do these magic eyes work? Ge Wang details the history and mechanics of the Xray machine and CT scanners.
About TEDEd Originals
TEDEd Original lessons feature the words and ideas of educators brought to life by professional animators. Are you an educator or animator interested in creating a TEDEd original? Nominate yourself here »
Meet The Creators
 Educator Ge Wang
 Director Aoife Doyle
 Producer Niamh Herrity
 Animator Niall Byrne
 Artist Emma Khublall
 Sound Designer Paul Lynch
 Script Editor Eleanor Nelsen
Share
Additional Resources for you to Explore
Dr. Ge Wang is grateful for valuable suggestions from Drs. Michael Vannier, Tiange Zhuang, and others, as well as the Rensselaer Polytechnic Institute.
To quantify the interaction between Xrays and matter, first we take a piece of material with a small thickness, T. Then, let an Xray source send N photons to the material sample. Due to the attenuation effect, there will be a small loss, Δ, in the number of Xray photons through the sample. Hence, the number of Xray photons recorded by an Xray detector behind the sample is NΔ. The thicker the element thickness T, the greater the loss Δ; and the larger the number of incoming photons N, the greater the loss Δ. A good approximation is that Δ=μTN, where μ is the attenuation coefficient. In other words, given N, T and Δ, we can easily find μ, which reflects how strongly the material blocks Xrays.
If there are a series of material elements along an Xray path, the Xray beam will be sequentially attenuated by these elements. The total loss in the number of Xray photons will be the sum of contributions made by all the involved elements. With a data processing step, we can find the sum of attenuation coefficients associated with these elements from the number of incoming Xray photons and the number of recorded Xray photons. In other words, with a pencil Xray beam we can probe into an object to obtain the sum of attenuation coefficients of material elements along an Xray path.
A crosssectional image is an array of attenuation coefficients, with each material element defining an image pixel (picture element). What we measure with Xrays are sums of attenuation coefficients along various paths. What we desire to have for visualization are individual attenuation coefficients in a matrix format to form an image. Then, the question is how to find individual coefficients from their sums along different paths?
If we have a 2 by 2 matrix containing four unknowns, we can form two horizontal paths to cover this matrix. Additionally, we can have two vertical paths to do the same. The sums along these four paths give four equations. From four equations of four unknowns, we can often solve for a solution, as illustrated in Figure 1. Indeed, we can do so using an iterative method, via trial and error. For example, starting from a zerovalued matrix as an initial guess, we can construct two vertical sums through the guessed matrix, and compare the resultant sums with the real counterparts. Then, the differences are uniformly put back along the vertical paths to update the guess so that there will be no errors between the sums based on the updated guess and those measured from the real image. With the updated guess, we can form two horizontal sums, and compare them with the real counterparts. Similarly, the differences are uniformly put back along the involved paths to update the guess so that there will be no errors between the predicted and measured sums. This second iteration reconstructs the 2 by 2 image correctly! In practice, an image matrix is much larger, and many updating steps are needed.
Figure 1. Image reconstruction through equation solving. A system of four equations (Left) can be solved using an iterative method (Right).
Actually, the combination of two horizontal and two vertical paths we just used is not the best design because one of the equations can be derived from the other three.. To make sure we have a unique solution, we can replace a vertical ray with a diagonal ray for four independent equations. In principle, we can always have a design to get as many independent measures as needed.
Figure 2 gives a complementary perspective. Let us decompose an image into triangular elements (instead of square pixels as before) formed by recursively inscribed regular hexagons. Each triangular element is assumed to be homogeneous. First, we can directly measure the most peripheral triangular elements (in red) with Xrays and compute their attenuation coefficients (as explained earlier). Then, we can handle the elements in the next layer (in green). An Xray beam through a green element also intersects two red elements that are already known at this stage. Thus, the known attenuation coefficient of the green element can be directly computed after the coefficients for the involved red elements are taken into account. So on and so forth (when a hexagon becomes small enough, it can be decomposed into four small triangles) until all the attenuation coefficients of the triangular elements are found.
Figure 2. Image reconstruction via “onionpeeling”. Attenuation coefficients of the triangular elements can be determined layerbylayer towards the center.
To quantify the interaction between Xrays and matter, first we take a piece of material with a small thickness, T. Then, let an Xray source send N photons to the material sample. Due to the attenuation effect, there will be a small loss, Δ, in the number of Xray photons through the sample. Hence, the number of Xray photons recorded by an Xray detector behind the sample is NΔ. The thicker the element thickness T, the greater the loss Δ; and the larger the number of incoming photons N, the greater the loss Δ. A good approximation is that Δ=μTN, where μ is the attenuation coefficient. In other words, given N, T and Δ, we can easily find μ, which reflects how strongly the material blocks Xrays.
If there are a series of material elements along an Xray path, the Xray beam will be sequentially attenuated by these elements. The total loss in the number of Xray photons will be the sum of contributions made by all the involved elements. With a data processing step, we can find the sum of attenuation coefficients associated with these elements from the number of incoming Xray photons and the number of recorded Xray photons. In other words, with a pencil Xray beam we can probe into an object to obtain the sum of attenuation coefficients of material elements along an Xray path.
A crosssectional image is an array of attenuation coefficients, with each material element defining an image pixel (picture element). What we measure with Xrays are sums of attenuation coefficients along various paths. What we desire to have for visualization are individual attenuation coefficients in a matrix format to form an image. Then, the question is how to find individual coefficients from their sums along different paths?
If we have a 2 by 2 matrix containing four unknowns, we can form two horizontal paths to cover this matrix. Additionally, we can have two vertical paths to do the same. The sums along these four paths give four equations. From four equations of four unknowns, we can often solve for a solution, as illustrated in Figure 1. Indeed, we can do so using an iterative method, via trial and error. For example, starting from a zerovalued matrix as an initial guess, we can construct two vertical sums through the guessed matrix, and compare the resultant sums with the real counterparts. Then, the differences are uniformly put back along the vertical paths to update the guess so that there will be no errors between the sums based on the updated guess and those measured from the real image. With the updated guess, we can form two horizontal sums, and compare them with the real counterparts. Similarly, the differences are uniformly put back along the involved paths to update the guess so that there will be no errors between the predicted and measured sums. This second iteration reconstructs the 2 by 2 image correctly! In practice, an image matrix is much larger, and many updating steps are needed.
Figure 1. Image reconstruction through equation solving. A system of four equations (Left) can be solved using an iterative method (Right).
Actually, the combination of two horizontal and two vertical paths we just used is not the best design because one of the equations can be derived from the other three.. To make sure we have a unique solution, we can replace a vertical ray with a diagonal ray for four independent equations. In principle, we can always have a design to get as many independent measures as needed.
Figure 2 gives a complementary perspective. Let us decompose an image into triangular elements (instead of square pixels as before) formed by recursively inscribed regular hexagons. Each triangular element is assumed to be homogeneous. First, we can directly measure the most peripheral triangular elements (in red) with Xrays and compute their attenuation coefficients (as explained earlier). Then, we can handle the elements in the next layer (in green). An Xray beam through a green element also intersects two red elements that are already known at this stage. Thus, the known attenuation coefficient of the green element can be directly computed after the coefficients for the involved red elements are taken into account. So on and so forth (when a hexagon becomes small enough, it can be decomposed into four small triangles) until all the attenuation coefficients of the triangular elements are found.
Figure 2. Image reconstruction via “onionpeeling”. Attenuation coefficients of the triangular elements can be determined layerbylayer towards the center.
TEDEd
Lesson Creator
New York, NY
Create and share a new lesson based on this one.
About TEDEd Originals
TEDEd Original lessons feature the words and ideas of educators brought to life by professional animators. Are you an educator or animator interested in creating a TEDEd original? Nominate yourself here »
Meet The Creators
 Educator Ge Wang
 Director Aoife Doyle
 Producer Niamh Herrity
 Animator Niall Byrne
 Artist Emma Khublall
 Sound Designer Paul Lynch
 Script Editor Eleanor Nelsen