Skip to content
Snippets Groups Projects
Commit 32dafbab authored by Roland Griesmaier's avatar Roland Griesmaier
Browse files

Replace ex3_noisy.m

parent f75b2e33
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ axis_length = 16; % size of region of interest
b = 3*epsilon; % band-width of the ramp filter in filtered backprojection USE!!!
RadonDeltaS = pi/b;
RadonDeltaOmega = sqrt(2)/axis_length * pi/b;
RadonDeltaOmega = 360 / (ceil(360 / (sqrt(2)/axis_length*pi/b)));
plot_flag = 0;
......@@ -105,7 +105,7 @@ set(gca,'LooseInset',get(gca,'TightInset'));
RadonRotAngles = (0:RadonDeltaOmega:360);
RadonRotAngles = RadonRotAngles(1:end-1);
SensorPos_max = 1.1*sqrt(2)*axis_length;
SensorPos_max = ceil(1.1*sqrt(2)*axis_length/RadonDeltaS)*RadonDeltaS;
RadonSensorPos = (-SensorPos_max:RadonDeltaS:SensorPos_max);
RadonData = zeros(length(RadonSensorPos),length(RadonRotAngles));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment