Subject: Re: [caret-users] ribbon generation
> I think we may have intended workbench-related things to go on hcp-users,
> but I'm not sure.
>
> I know, but this is actually more caret related. caret is the software
I'll use for the myelin mapping. workbench might play an ancillary role but
doesn't need to exist for this present task.


> At any rate, -create-signed-distance-volume and -volume-math will allow
> you to do something like what you want.  The first creates the signed
> distance function in whatever voxel grid you tell it to, as it takes a
> template volume to get the voxel grid.  Make this for both white and pial
> surfaces, and then use -volume-math to threshold and "and" the results (via
> multiplication, like "(x > 0) * (y < 0)").
>
> If you want voxels to be included/excluded by their centers, use a
> threshold of 0, or you can use something like half the voxel diagonal to
> exclude any voxel that could possibly have even a corner outside the ribbon
> (though that could exclude some voxels that are entirely inside the ribbon,
> as it doesn't actually do voxel/surface intersection, it just calculates
> signed distance at voxel centers).  I think Matt has done this, but I don't
> recall what threshold he used.
>
> that's very helpful I'll experiment with that. That could be very handy
indeed for lots of things.


> Tim
>
>

> Subject: Re: [caret-users] ribbon generation
>
> You dont need to  create a conform volume.  You can select the x y z size
> for volume in mris_fill. Also you can apply or use mris_vol2vol to
> regenerate the volume according the header that you want.
> Hope it helps
> Rouhi
>

Yes that helps a very great deal that's the answer I need in this case.
Many thanks indeed.

Colin
_______________________________________________
caret-users mailing list
[email protected]
http://brainvis.wustl.edu/mailman/listinfo/caret-users

Reply via email to