Commit fd16ccfd authored by myron's avatar myron

corretto margine

parent b8d4c32a
......@@ -2297,8 +2297,8 @@ if not Parameters.DO_V3D_UNSHARP and Parameters.NSLICESATONCE is None and (sys.
alpha = (max (abs(P.START_VOXEL_3),abs(P.END_VOXEL_3) ) *VOXEL_SIZE/1.0e6)/(P.SOURCE_DISTANCE)
C_MARGIN = int( RADIUS*
alpha*(Fact)+DFa
C_MARGIN = int( RADIUS*(
alpha*(Fact)+DFa )
+0.01)+1
if Parameters.VERBOSITY>1 : print( " C_MARGIN " , C_MARGIN)
......@@ -2750,8 +2750,8 @@ if (sys.argv[0][-12:]!="sphinx-build") and not P.DO_V3D_UNSHARP :
else:
alpha = (abs(P.first_slices[i])*P.VOXEL_SIZE/1.0e6)/(P.SOURCE_DISTANCE)
P.CONICITY_MARGIN_DOWN[i] = int( RADIUS*
alpha*(Fact) +DFa
P.CONICITY_MARGIN_DOWN[i] = int( RADIUS*(
alpha*(Fact) +DFa)
+0.01)+1
if P.DZPERPROJ!=0:
......@@ -2760,8 +2760,8 @@ if (sys.argv[0][-12:]!="sphinx-build") and not P.DO_V3D_UNSHARP :
alpha = (abs(P.last_slices[i])*P.VOXEL_SIZE/1.0e6)/(P.SOURCE_DISTANCE)
P.CONICITY_MARGIN_UP[i] = int( RADIUS*
alpha*(Fact) +DFa
P.CONICITY_MARGIN_UP[i] = int( RADIUS*(
alpha*(Fact) +DFa)
+0.01)+1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment