Dear all
I am painting some higher-res anatomical data from a volume to a surface, and
want to use a mask that excludes the vessels. (The same data but 1x1x1
conformed were used to create the surface).
I've created a binary label in the same space
>> mri_cor2label --i ./R2Mask.nii.gz --l ./R
Hi Fred, that mask is an inclusive mask, not an exclusive mask. Try
inverting you mask.
doug
On 4/14/13 4:31 PM, Fred Dick wrote:
Dear all
I am painting some higher-res anatomical data from a volume to a
surface, and want to use a mask that excludes the vessels. (The same
data but 1x1x1 c
Hi Doug
I've actually tried both inclusive and exclusive and have failed - just checked
again in tkmedit that the label was coming up correctly and it was.
Just to double-check - the label should be in the space of the --mov, right?
Thanks!
Fred
Hi Fred, that mask is an inclusive mask, no
Oh, the label should be a surface label. mri_cor2label creates a volume
label (basically it just means that each label point corresponds to a
1mm3 cube instead of a verex -- the vertex numbers should all be -1).
Try running vol2surf on the mask (using nearest interp) to create a
surface mask.
Ah, OK, makes sense - should have guessed, sorry, vol2surf behaved so agreeably
with the vertex-free mask!
Shall make that surf mask now, thanks much,
Fred
On 14 Apr 2013, at 22:56, Douglas Greve wrote:
>
> Oh, the label should be a surface label. mri_cor2label creates a volume label
> (b
Hey again
sorry, I seem not to be able to accomplish this very simple thing!
First wrote out mask as .w file using vol2surf, but mri_cor2label couldn't read
('mri_read(): couldn't determine type of file ./rh.R2MaskBrain.w').
Then tried writing out as curv using the following command:
mri_vol2
Hi Fred, why do you want to save it as a wfile? We're trying to phase
wfiles out. Can you use mgh format?
doug
On 4/15/13 12:56 PM, Fred Dick wrote:
Hey again
sorry, I seem not to be able to accomplish this very simple thing!
First wrote out mask as .w file using vol2surf, but mri_cor2label
Hey
I wrote out to .w since I couldn't write to curv. (And I'm old fashioned!)
But actually it's because I am really behind the times and forgot that .mgh was
also used for surface data. And yup, this worked fine.
So in answer to my question 'Bug or stupidity' - the latter!
Thanks Doug,
Fred