nagyistoce / centralslice

Automatically exported from code.google.com/p/centralslice
0 stars 0 forks source link

The reconstructed image is vertically flipped #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download and extract ver11.zip from Downloads
2. Open "start_simulation.m" in Matlab and run it
3. Wait until the program finishes

What is the expected output? What do you see instead?
The image is expected to have the same orientation as the original phantom, but 
it appears to be vertically flipped.

Original issue reported on code.google.com by antony.s...@gmail.com on 6 Mar 2011 at 12:28

Attachments:

GoogleCodeExporter commented 9 years ago
Please refer to revision 67.

I found that the Matlab function RADON assumes that the positive y-axis points 
downwards. When doing radon scanning, Matlab thinks xray source and sensors 
were rotating anticlockwise, but in fact they are rotating clockwise.

Anyway, I workaround the bug by feeding the function RADON with a vertically 
flipped image.

Original comment by antony.s...@gmail.com on 6 Mar 2011 at 1:35

Attachments: