Hi,
I'm looking for an easy way to get the functional value of a voxel using xyz coordinates and the command line. I've looked at several of the AFNI programs, and I couldn't find a direct way to do this. Basically, I wanted to be able to reference an XYZ coordinate, as well as a dataset (and sub-brik) and get back a value. I'm thinking of this in terms of Perl scripting to work with 3dclust output.
Here is an example I was thinking of, referencing the same XYZ coordinate (same voxel) across two datasets (with subbrick selectors)
36 44 -7 datasetA+tlrc[1] datasetB+tlrc[2]
the output at the shell would simply be the value of the voxel in each dataset
%shell> 5 3.678
Is there any utility that currently does this? Would it be difficult to implement?
Thanks,
Tim Souza