Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 Pre-threshold masking in fsl
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Carpenter
New Member

16 Posts

Posted - Mar 12 2009 :  12:57:47 PM  Show Profile  Reply with Quote
Hello,
I was curious if anyone had used the pre-threshold masking option in fsl's feat to mask by a specific ROI? When I load the output from an analysis of this type it looks no different from an unmasked analysis, regardless of which file I load (zstat, thresh_zstat, etc). Any help would be greatly appreciated!
Kim

petty
BIAC Staff

USA
453 Posts

Posted - Mar 12 2009 :  1:21:05 PM  Show Profile  Reply with Quote
did you try the "rendered_thresh_zstat" image? that should be the one thats totally masked.
Go to Top of Page

Carpenter
New Member

16 Posts

Posted - Mar 12 2009 :  1:46:50 PM  Show Profile  Reply with Quote
That one still looks unmasked as well. I know the mask has to be in the same space (MNI or functional depending on what level you're doing the masking at) so since I'm doing it at the 3rd level, I tried a functional ROI that I had drawn from a previous 3rd level analysis and it is still not working. Am I maybe missing something else about the type of mask you can use?
Go to Top of Page

petty
BIAC Staff

USA
453 Posts

Posted - Mar 12 2009 :  1:57:06 PM  Show Profile  Reply with Quote
in your functional ROI, was is a nifti file, and also were all the voxels outside of what you were trying to mask equal to zero?
Go to Top of Page

Carpenter
New Member

16 Posts

Posted - Mar 12 2009 :  2:03:19 PM  Show Profile  Reply with Quote
Yep...it is a nii.gz file and when I load it in showsrs2 on matlab the mask is all 1 and everything else is 0. I've also tried it with an .hdr file and that didn't work either.
Go to Top of Page

petty
BIAC Staff

USA
453 Posts

Posted - Mar 12 2009 :  4:51:49 PM  Show Profile  Reply with Quote
so i just tried it with a mask i made via fsl .. and everything labeled "thresh_zstat" (or rendered_thresh_zstat) is masked by my input roi (but only the thresh_zstat ... no tstat,etc)


check in your cope1.feat/logs folder for "feat4_post" ... that is the log file that shows if the masking was done.

any line that looks like this shows the masking step:
/usr/local/packages/fsl/bin/fslmaths thresh_zstat2 -mas /mnt/users/petty/selye/data2/MemSupp.01/Analysis/fsl/3rdLevel/look.gfeat/10mm_pMask.nii.gz thresh_zstat2
Go to Top of Page

Carpenter
New Member

16 Posts

Posted - Mar 12 2009 :  5:04:22 PM  Show Profile  Reply with Quote
Sweet! It didn't look like it had run in earlier attempts...perhaps the ROIs weren't in the right space after all or something. So, I redrew the ROI of choice and now I think it might finally be working! Thanks so much for your help!!!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.62 seconds. Snitz Forums 2000