I'm working on a project where I should use the conjugate gradient method to reconstruct an SPECT image given the sinogram of the image with the help of matlab. I have realized that the linear equation Ax=b needs to be solved, where b is an N-dimensional vector containing the known sinogram values wrapped into a vector and x is a M-dimensional vector containing the unknown image to be reconstructed and that A is a system vector. I can easily construct b with the sinogram I have, but I don't really know how I should get A. The image I want is 128X128 and the sinogram is 128X32 (i.e. 32 projections).
Does anybody have any Ideas of how i can use the help of matlabs PCG function to reconstruct my image?