Sorry, I had problems with the comment submission. I accidentally deleted an earlier message that contained my explanations.
I shall try to explain it again here.
The first thing I should point out is that the field-of-view (FOV) in the image domain is fixed. Each FOV in each dimension is two units (arbitrary unit) from -1 to 1. Therefore, the resolution along the x-axis, denoted as del_x, in the image domain is determined by the number of samples, N, and it is given by del_x = FOV/N.
The resolution along the k-axis, denoted as del_kx, in the Fourier domain is determined by the FOV, and it is given by del_kx = 1/FOV.
The main thing is to know how wide one should sample the k-space or Fourier domain. The magnitude of k_max, i.e., |k_max| is given by del_kx * N/2 . Note that it is assumed that the negative and the positive regions are sampled equally.
So, "K<0.002" should not be the problem. Hope this helps. If not, feel free to email.
In the revised SampleTest.m, I used imtool and please make sure that you click on a menu that allows you to change contrast. min=0.0 and max=3.0 should be fine and these values should be applied to both imtool panels.
Due the inconvenience of updating and commenting on the site, I have decided to only update the site with major releases.
The MATLAB codes that illustrate the steps needed to perform FFT on the k-space signals of the 3D Shepp-Logan phantom can be found in a revised version of SampleTest.m, which is located on my google site: http://sites.google.com/site/hispeedpackets/Home/shepplogan
Sorry, I had problems with the comment submission. I accidentally deleted an earlier message that contained my explanations.
I shall try to explain it again here.
The first thing I should point out is that the field-of-view (FOV) in the image domain is fixed. Each FOV in each dimension is two units (arbitrary unit) from -1 to 1. Therefore, the resolution along the x-axis, denoted as del_x, in the image domain is determined by the number of samples, N, and it is given by del_x = FOV/N.
The resolution along the k-axis, denoted as del_kx, in the Fourier domain is determined by the FOV, and it is given by del_kx = 1/FOV.
The main thing is to know how wide one should sample the k-space or Fourier domain. The magnitude of k_max, i.e., |k_max| is given by del_kx * N/2 . Note that it is assumed that the negative and the positive regions are sampled equally.
So, "K<0.002" should not be the problem. Hope this helps. If not, feel free to email.
First of all really nice work!!! I have just a question the package work well for an image resolution equal or higher 128x128X128, for lower resolution the signal in kspace is not numerically unstable.......to avoid this problem is it sufficient to change the condition on K<0.002, or i have to do something else???
In the revised SampleTest.m, I used imtool and please make sure that you click on a menu that allows you to change contrast. min=0.0 and max=3.0 should be fine and these values should be applied to both imtool panels.
Due the inconvenience of updating and commenting on the site, I have decided to only update the site with major releases.
The MATLAB codes that illustrate the steps needed to perform FFT on the k-space signals of the 3D Shepp-Logan phantom can be found in a revised version of SampleTest.m, which is located on my google site: http://sites.google.com/site/hispeedpackets/Home/shepplogan