You can try registering them together like mri_coreg ---mov betmaskvolume.nii.gz --targ orig.mgz --reg reg.lta Then mri_vol2vol --mov betmaskvol.nii.gz --targ orig.mgz --reg.lta --o betmask-in-fs.mgz --interp nearest The betmaskvol should be the intensity image (like orig.mgz) and not a binary mask or segmentation
On 2/2/2022 4:05 PM, Salar Dini, Elaheh wrote:
External Email - Use Caution
Hi all,
I just wanted to follow-up on this message with one extra piece of information added:
The two brains are exactly identical. Considering that we have two identical reconstructed brains (exactly the same as each other), with the only difference being that one of them is a little bit shifted and rotated in comparison to the other one, if there a way to measure the amount of this rotation and shift? If yes, can this information be used to counteract this rotation and shift? In other words, can we rotate and shift the second brain back in the exact opposite direction, so it completely overlays the first brain using freesurfer?
Thank you and all the best, Ela
*From:* Salar Dini, Elaheh *Sent:* Monday, January 31, 2022 6:46 PM *To:* Freesurfer support list freesurfer@nmr.mgh.harvard.edu *Subject:* Recon-all reconstructed image coordinates Dear Freesurfer developers, In the link below, you see two brains belonging to the same subject:
*MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be* https://www.dropbox.com/s/c2gsp8h8jj7c93d/Screen%20Shot%202022-01-26%20at%20... https://secure-web.cisco.com/1NWflVFwpPzLHCFaPUaWGJm7LXUzRcOtfnS1v2S2jf9YnLt6Rzus9ZuAZ6xJTpf6y9xO9P3iTGNemM60KZruigxVGVmaFQs62kgRbwS1E6Mo1eZwTzNZowsX0acdSHsL56-BRum1pT8OQRTExS-IW86GzaedHOgl4a-FSBcijH6_xAJUq83RNXgPDCKsuQtJh8Un1OIZG6GNCOs8JgwPNSftmFoSk0saftI2OMSsgZaNtkF8LxY25PCtxLQJ5nuQJdAM6vpkq9U4KMuH9de5NMoicfg2OgOh6UnOH8-KwcZSBUxt6CBz4_GMdKk0a2yZUy1N7ATye9d6rPF3k6VsCFw/https%3A%2F%2Fwww.dropbox.com%2Fs%2Fc2gsp8h8jj7c93d%2FScreen%2520Shot%25202022-01-26%2520at%25201.40.23%2520PM.png%3Fdl%3D0 https://secure-web.cisco.com/1NWflVFwpPzLHCFaPUaWGJm7LXUzRcOtfnS1v2S2jf9YnLt6Rzus9ZuAZ6xJTpf6y9xO9P3iTGNemM60KZruigxVGVmaFQs62kgRbwS1E6Mo1eZwTzNZowsX0acdSHsL56-BRum1pT8OQRTExS-IW86GzaedHOgl4a-FSBcijH6_xAJUq83RNXgPDCKsuQtJh8Un1OIZG6GNCOs8JgwPNSftmFoSk0saftI2OMSsgZaNtkF8LxY25PCtxLQJ5nuQJdAM6vpkq9U4KMuH9de5NMoicfg2OgOh6UnOH8-KwcZSBUxt6CBz4_GMdKk0a2yZUy1N7ATye9d6rPF3k6VsCFw/https%3A%2F%2Fwww.dropbox.com%2Fs%2Fc2gsp8h8jj7c93d%2FScreen%2520Shot%25202022-01-26%2520at%25201.40.23%2520PM.png%3Fdl%3D0
Screen Shot 2022-01-26 at 1.40.23 PM.png https://secure-web.cisco.com/1NWflVFwpPzLHCFaPUaWGJm7LXUzRcOtfnS1v2S2jf9YnLt6Rzus9ZuAZ6xJTpf6y9xO9P3iTGNemM60KZruigxVGVmaFQs62kgRbwS1E6Mo1eZwTzNZowsX0acdSHsL56-BRum1pT8OQRTExS-IW86GzaedHOgl4a-FSBcijH6_xAJUq83RNXgPDCKsuQtJh8Un1OIZG6GNCOs8JgwPNSftmFoSk0saftI2OMSsgZaNtkF8LxY25PCtxLQJ5nuQJdAM6vpkq9U4KMuH9de5NMoicfg2OgOh6UnOH8-KwcZSBUxt6CBz4_GMdKk0a2yZUy1N7ATye9d6rPF3k6VsCFw/https%3A%2F%2Fwww.dropbox.com%2Fs%2Fc2gsp8h8jj7c93d%2FScreen%2520Shot%25202022-01-26%2520at%25201.40.23%2520PM.png%3Fdl%3D0 Shared with Dropbox www.dropbox.com
while one of them is reconstructed with FS7.2, the other one is reconstructed with a pipeline that uses another code for extracting brain tissue (BET Mask) and then use FS6 for the remaining stages of the reconstruction.
While the final result of both constructions matches in most aspects, they don't occupy the same coordinates in space. Is there a way that we can match the coordinates of each voxel for two images? Or in other words make them compatible.
The Platform we use is CentOS7 .
Thanks and all the best, Ela
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer