Replies: 1 comment 4 replies
-
so are you doing some sort of laminography? if you axis of rotation is tilted you want to use the arbitrary axis of rotation demo. The way to define this is via 3vector rotational angles. rotDetector rotates teh detector in place, i,e, the plannar detector is moved w.r.t its center. I don't think this is what you are describing, as you say the detector is static. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Ander,
I am impressed with TIGRE, really nice job, thanks for gift and congratulations
The question I have is the following one:
The problem I have is: I have only shifts I can correct them. If I have only rotations, I can correct them. But if I have shifts and rotations... The reconstruction is a disaster. I paste a draft of my code just in case you can cast light on me
xdim, ydim, thickness = 1000, 1000, 300
for image in setofimages:
offSets.append([sy, sx]) # each image has a shift in the perpendicular plane to the beam
rotAngles.append([-rot, 0.0, 0.0]) # each image has a rotation in XZ
tiltAngles.append([0.0, 0.0, tilt]) # tilt angle of the sample
tiltAngles = np.vstack(tiltAngles) * np.pi/180.0
rotAngles = np.vstack(rotAngles) * np.pi/180.0
offSets = np.vstack(offSets)
geo = tigre.geometry(mode="parallel", nVoxel=np.array([xdim, ydim, thickness]))
geo.rotDetector = rotAngles
geo.offDetector = offSets
reconstruction = algs.fbp(ts, geo, tiltAngles, filter=self.filterToApply, noneg=False, gpuids=gpuids)
Thanks in advance
NOTE: This is similar, but different to the topic #565
Beta Was this translation helpful? Give feedback.
All reactions