nagyistoce / centralslice

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

abnormal sinc function!!!! #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download ver 6.zip 
2. open file start_simulation.m, 
3. change the value of shape to dot
4. run press F5 to run

What is the expected output? What do you see instead?

SHould be a perfect sinc function 
but in the Fourier transform radon function at 0', abnormal at the centre

attached in this e-mail

Please use labels and text to provide additional information.

Original issue reported on code.google.com by beckchan...@gmail.com on 3 Mar 2011 at 1:48

Attachments:

GoogleCodeExporter commented 9 years ago
You are right.

I found someone asked this question in the Matlab forum:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/168642

I also found that the imaginary part in the matrix variable "Fourier_Radon" is 
not zero. (It should be zero because the "circle" phantom is symmetric.)

It seems that the position of x=0 (or y=0) is not at the centre of the matrix 
when we do FFT/DFT.
Do we need to do ifftshift() before doing fft() in file "apply_fft1.m"?.

Original comment by antony.s...@gmail.com on 3 Mar 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Please check revision 69:
http://code.google.com/p/centralslice/source/detail?r=69

Original comment by antony.s...@gmail.com on 3 Mar 2011 at 4:14

Attachments:

GoogleCodeExporter commented 9 years ago
Status of this issue is changed from "Accepted" to "Started".

Original comment by antony.s...@gmail.com on 3 Mar 2011 at 4:18

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

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