CT x-ray scanner

From Noah.org
Revision as of 09:13, 13 December 2007 by Root (talk | contribs) (→‎CAT Scanning)
Jump to navigationJump to search

CAT Scanning

Here are some sample images that illustrate the process. The algorithm is quite simple.

In a real CAT Scan system the 1 dimensional slices would be taken from the horizontal row of a series of x-rays. In this demo I don't yet have the x-rays to work with so I synthesize the 1D bands from the target image that I want to regenerate. So given a target image I generate a series of 1D radial slices by rotating the target image and then averaging all values in the rows of the image. Then I rotate the slice back to the original angle.

Slices are synthesized from a 180 degree rotation of the target image.

Relative position of each scan slice
The target and four
1-dimensional sections.
The position of the
sections corresponds to
the angle of projection.
target.png section 4 0.png
section 4 3.png section 4 2.png section 4 1.png

Add (overlay) the four 1D radial sections together to get the CAT scan image at the right.

section 4 0.png+section 4 3.png+section 4 2.png+section 4 1.png=target 4 out.png

The resulting CAT scan is reminiscent of the target, but it is ambiguous. I found that you need at least 8 sections to get a recognizable image. The more sections you use the better. Here is a composite of 8 and 32 radial sections:

target 8 out.png target 32 out.png

This technique will work with very complex images. Given a photograph I synthesized 32 1-dimensional scans and then regenerated the photograph using the CAT algorithm.

target n.png target n out.png target n out enhanced.png