nagyistoce / centralslice

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

Ghost image in the reconstructed phantom #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download ver10.zip from downloads
2. extract all files
3. open "start_simulation.m" in Matlab
4. run the script (type F5)
5. Look at the saved "Reconstructed_Image.png" in the same folder

What is the expected output? What do you see instead?
The reconstructed image is expected to be identical to the original phantom.

But instead it is like two mirror images overlap each other.

I suspect this is something to do with the interpolation script 
"polar_to_rect.m"

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

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, = =" I made an error in the file "polar_to_rect.m".

I found that I made a wrong assumption in the coordinate conversion in the 
third and forth quandrants; i thought (r,theta)=(5,-45deg) should map to 
(-5,45deg), but in fact it should map to (-5,135deg).

Please check revision 95, especically the following file:
http://code.google.com/p/centralslice/source/diff?spec=svn95&r=95&format=side&pa
th=/trunk/polar_to_rect.m

Original comment by antony.s...@gmail.com on 6 Mar 2011 at 11:33

Attachments: