Radon function [message #64577] |
Thu, 08 January 2009 10:16 |
sarah[2]
Messages: 2 Registered: January 2009
|
Junior Member |
|
|
I'm still quite new to idl and am getting stuck trying to backproject
using the radon function. i've created a simple 10 x 10 matrix with
my 'image' in and then try to forward project and backproject using
the 2 lines below
proj = radon(array, rho=rho, theta=theta)
img = radon(array, /backproject, rho=rho, theta=theta)
the forward projection works fine but at the backprojection stage i
get the following error message:
"RADON: ARRAY, RHO, or THETA dimensions are incompatible."
can anyone tell me what dimensions rho and theta should have? looking
at the help file i thought that if i used the values it gave me from
the forward projection part it would be right but clearly not!
Any help would be much appreciated.
Thanks!
|
|
|