views:

107

answers:

3

What is the algorithm to create a x-ray image using ray-tracing from a 3-d volume?

A: 

Take a look at this link and see if you think it is what your professor might be talking about. I have a feeling that it is at least somewhat close. You should probably look around at other sites about volume rendering too. Ultimately, you should ask your professor what he or she truly wants you to do.

Justin Peel
+1  A: 

Calculate integral(density*dl), where l is ray length, as the ray passes through the volume. The algorithm comes down to, what integration method, how do you interpolate the densities, do you interpolate between rays and if so how, and what is the optimal set of rays to use if you're using interpolation. And of course, how do you represent the geometry.

Andrew McGregor
A: 

This assumes that what is desired is a radiograph as opposed to some kind of hidden surface visualization.

Unnecessarily heavy, but extremely flexible and realistic approach: simulate the machine and subject volume in geant. Or, if you prefer coding in F ortran, geant 3 is also more than equal to the task.

dmckee