[ITK] (beginner question) How to get transform matrix then apply it to another volume
Xiaodong Zhao
xzhao21 at lsu.edu
Sat Aug 20 00:37:35 EDT 2016
Hi Dzenan,
Thanks for your reply!
I tried to edit the example ImageRegistration20.cxx a bit. Basically I just input the the fixed MR, the moving MR, and the CT that’s pre-registered with the moving MR, and after the affine transformation is done b/w the 2 MR volumes, I just applied the same transformation matrix to the CT, or at least that’s what i was trying to do(i just copied the resampling part and changed some variables)... The MR looks good, but I got all these streaking artifacts from the CT, and the CT numbers seems to be rescaled to from 0 to around 250, which happens to be about the same range of the difference image(the min and max of the IntensityRescaler in line 451). I attached a screenshot of one CT slice, and the code(excuse my POOOOOR programming skills!). Did I use a wrong resampling filter or…?
Thanks again,
Neo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160820/99287a77/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2016-08-19 at 11.10.25 PM.png
Type: image/png
Size: 471682 bytes
Desc: Screen Shot 2016-08-19 at 11.10.25 PM.png
URL: <http://public.kitware.com/pipermail/community/attachments/20160820/99287a77/attachment-0001.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160820/99287a77/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageRegistration20edit1sttry.cxx
Type: application/octet-stream
Size: 19350 bytes
Desc: ImageRegistration20edit1sttry.cxx
URL: <http://public.kitware.com/pipermail/community/attachments/20160820/99287a77/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160820/99287a77/attachment-0003.htm>
More information about the Community
mailing list