One of my hobbies is to find tomography problems that can be solved analytically. I know this is artificial—all tomography for medical imaging uses numerical computation—but as a learning tool analytical analysis helps build insight. I have some nice analytical examples using the Fourier method to solve the tomography problem (see homework problems 26 and 27 in chapter 12 of Intermediate Physics for Medicine and Biology), but I don't have a complete analytical example to illustrate the filtered back projection method (see a previous post for a partial example). Russ Hobbie and I do include a numerical example in section 12.6 of IPMB. I have always wondered if I can do that example analytically. Guess what. I can! Well, almost.
Start with a top-hat function for your object
If we set x = 0, we can plot it as function of y.
The projection of this function is given in IPMB; Homework Problem 36 asks the reader to derive it.
Because the object looks the same from all directions, the projection is independent of the angle. Below is a plot of the projection as a function of x'. It is identical to the top panel of IPMB's Figure 12.22.
The next step is to filter the projection, which means we have to take its Fourier transform, multiply the transform by a high-pass filter, and then do the inverse Fourier transform. The Fourier transform of the projection is
This integral is not trivial, but Abramowitz and Stegun’s Handbook of Mathematical Functions With Formulas, Graphs and Mathematical Tables contains (Page 360, Equation 9.1.20)
where J1 is a first-order Bessel function (see Homework Problem 10). Because the projection is an even function, the sine part of the Fourier transform vanishes.
Filtering is easy; multiply by |k|/2π. The result is
To find the inverse Fourier transform, we need
This integral appears in Abramowitz and Stegun (Page 487, Equation 11.4.37)
After some simplification (which I leave to you), the filtered projection becomes
Below is a plot of the filtered projection, which you should compare with the middle panel of Fig. 12.22. It looks the same as the plot in IPMB, except in the numerical calculation there is some ringing near the discontinuity that is not present in the analytical solution
The final step is back projection. Because the projection is independent of the angle, we can calculate the back projection along any radial line, such as along the y axis
If |y| is less than a, the back projection is easy: you just get 1. Thus, the filtered back projection is the same as the object, as it should be. If |y| is greater than a, the result should be zero. This is where I get stuck; I cannot do the integral. If any reader can solve this integral (and presumably show that it gives zero), I would greatly appreciate hearing about it. Below is a plot of the result; the part in red is what I have not proven yet. Compare this plot with the bottom panel of Fig. 12.22.
What happens if you do the back projection without filtering? You end up with a blurry image of the object. I can solve this case analytically too. For |y| less than a, the back projection without filtering is
which is 4a times the complete elliptic integral of the second kind
For |y| greater than a, you get the more complicated expression
which is the incomplete elliptic integral of the second kind
The trickiest part of the calculation is determining the upper limit on the integral, which arises because for some angles the projection is zero (you run into the same situation in homework problem 35, which I highly recommend). Readers who are on the ball may worry that the elliptic integral is tabulated only for kappa less than one, but there are ways around this (see Abramowitz and Stegun, Page 593, Equation 17.4.16). When I plot the result, I get
which looks like Fig. 12.23 in IPMB.
So, now you have an analytical example that illustrates the entire process of filtered back projection. It even shows what happens if you forget to filter before back projecting. For people like me, the Bessel functions and elliptic integrals in this calculation are a source of joy and beauty. I know that for others they may be less appealing. To each his own.
I’ll rely on you readers to fill in the one missing step: show that the filtered back projection is zero outside the top hat.
Friday, May 27, 2016
Friday, May 20, 2016
Five Generations
A five generation picture. |
All five editions of Intermediate Physics for Medicine and Biology. |
Suki with all five editions of Intermediate Physics for Medicine and Biology. |
All five editions of Intermediate Physics for Medicine and Biology. |
All five editions of Intermediate Physics for Medicine and Biology. |
Me holding all five editions of Intermediate Physics for Medicine and Biology. |
Friday, May 13, 2016
Trivial Pursuit IPMB
Trivial Pursuit. |
When my daughter Kathy was in high school, she would sometimes test out of a subject by studying over the summer and then taking an exam. Occasionally I would help her study by skimming through her textbook and creating Trivial Pursuit-like questions. We would then play Trivial Pursuit using my questions instead of those from the game. I don’t know if it helped her learn, but she always passed those exams.
Readers of Intermediate Physics for Medicine and Biology may want a similar study aid to help them learn about biological and medical physics. Now they have it! At the book website you can download 100 game cards for Trivial Pursuit: IPMB. To play, you will need the game board, game pieces, and instructions of the original Trivial Pursuit, but you replace the game cards by the ones I wrote.
The game pieces for Trivial Pursuit. |
The original version of Trivial Pursuit had topics such as sports or literature. The Trivial Pursuit: IPMB topics are
- Numbers and Units (blue)
- People (pink)
- Anatomy and Physiology (yellow)
- Biological Physics (brown)
- Medical Physics (green)
- Mathematics (orange).
A game card for Trivial Pursuit. |
I know the game is not perfect. Some questions are truly trivial and others ask for some esoteric fact that no one would be expected to remember. Some questions may have multiple answers of which only one is on the card. You can either print out the game cards (requiring 100 pieces of paper) or use a laptop or mobile device to view the pdf. I try to avoid repetitions, but with 100 game cards some may have slipped in inadvertently.
Trivial Pursuit. |
Enjoy!
Friday, May 6, 2016
Science Blogging
Science Blogging: The Essential Guide, by Wilcox, Brookshire, and Goldman. |
By bringing together some of the most experienced voices from around the science blogosphere, we hope this book will have something to teach everyone. Whether you’re just getting started, have some blog posts under your belt, or are looking for fresh inspiration, you are not alone. The science communication community may seem overwhelming, but it’s friendly. Dive in and show us what you can do. Seriously. Tweet us and show us your stuff. And use our hashtag, #SciBlogGuide, and find us online at http://www.theopennotebook.com/science-blogging-essential-guide.I enjoyed Science Blogging, but oddly I didn’t feel connected to what many of the authors discussed. What you are reading now is less a science blog and more an auxiliary resource for the textbook that Russ Hobbie and I wrote: Intermediate Physics for Medicine and Biology. My goal is to provide materials that help instructors use the book in their classes, and extend and update topics that readers of the book are interested in. I view this blog as being similar to the solutions manual and the errata: it augments the book. The closest Science Blogging came to my blog is in the last chapter, “From Science Blog to Book,” by Brian Switek. But his chapter was primarily about using a blog as a springboard to writing a book, and only at the end of his chapter did he add that “there’s no reason to stop blogging when your book comes out.” I did the opposite. My blog began after Russ and I published the 4th edition of IPMB, and my goal was to improve sales. Has it worked? It’s hard to say, because our sales have never been spectacular. I hope it has had some impact.
Matt Shipman’s chapter on “Metrics” inspired me to look into the statistics for my blog. The post with by far the most page views is Frank Netter, Medical Illustrator. While I liked that post, I don’t know why it has more than three times as many page views as the next most viewed entry. In fact, I see no correlation between the number of page views and what I consider quality or relevance.
Bethany Brookshire wrote a chapter on “Science Blogging and Money.” I like money as much as the next guy, but I don’t subject my dear readers to ads. Hobbieroth.blogspot.com is add-free. There is one exception: each blog post contains a reference to IPMB. I guess that is a sort of advertisement.
Several authors talked about building a following using Twitter. I don’t tweet, but should I? Do you want to hear about IPMB several times a day? I don’t think so. I’ll continue posting once a week; every Friday morning, like clockwork. By the way, what’s a hashtag? I always thought I was a hep cat, but I guess not.
My favorite chapter was Ed Yong’s essay about “Building an Audience for Your Blog.” Accumulating a large following is not my goal; I am more a citation man than a page view man. Yong’s advice is that “you have to have something worth writing about, and you have to write it well.” That sums it up nicely. I think that physics applied to medicine and biology is something worth writing about; I hope I write it well. Yong also writes “picture your ideal readers in your head: who are they?” While I hope anyone interested in biological physics or medical physics will find my blog useful, I don’t write it for such a broad audience. I write it for the students and teachers using Intermediate Physics for Medicine and Biology. And, I write it for myself. I hope you enjoy it. I do.
Subscribe to:
Posts (Atom)