I may have misread that, it looked like you said you had found lower resolution templates (I think some have been generated, but maybe they weren't distributed). Generating a new grayordinate space takes a fair number of steps, so it would probably be best to use an already generated one, if available.
Otherwise, to create a new grayordinate space, use -surface-create-sphere and -surface-flip-lr to make new standard spheres, -volume-create or flirt -applyisoxfm to make the new volume space, use the "-metric -roi" and "-volume-all -label" suboptions of -cifti-separate to get the ROI and volume structure labelfiles that can be used to recreate the grayordinate space, then downsample them with the new spheres (-metric-resample) and the new volume space (-volume-affine-resample with the identity affine), then use -cifti-create-dense-scalar (or timeseries) to make the template cifti file. Tim On Mon, May 23, 2016 at 8:07 PM, Timothy Coalson <[email protected]> wrote: > You need to use the standard spheres of the current and lower resolution > grayordinate space, using the -left-spheres and -right-spheres options. > The volume part of the resampling assumes the identity transform if you > don't specify a volume option. > > As the command help says, to use it on a dconn, you need to run it on the > original dconn (using ROW for <direction> first for less memory usage when > downsampling), then again on the output of that (using COLUMN), to obtain a > second output that is the lower resolution on both directions. > > Tim > > > On Fri, May 20, 2016 at 5:25 AM, Soroosh Afyouni <[email protected]> > wrote: > >> Hi All, >> >> I am trying to decimate the MSMAll grouo-average dense-connectome to a >> lower resolution as it seems to be impossible (due to memory shortage) to >> work with the original one. After a bit of browsing I found that I have >> to use the generic form of: >> >> wb_command -cifti-resample "${filename}.dconn.nii" >> <direction> <cifti-template> <template-direction> <surface-method> >> <volume-method> <cifti-out> >> >> But I am struggling to find out a way to create a <cifti-template> of a >> lower resolution. From here >> <https://www.mail-archive.com/hcp-users%40humanconnectome.org/msg01937.html> >> and here >> <https://www.mail-archive.com/hcp-users%40humanconnectome.org/msg01479.html>, >> I found that I have to use the templates already exist in the HCP pipeline, >> but then I can't work out how this can be applied to .dconn.nii files. >> >> Thank you very much. >> >> -Soroosh >> >> _______________________________________________ >> HCP-Users mailing list >> [email protected] >> http://lists.humanconnectome.org/mailman/listinfo/hcp-users >> > > _______________________________________________ HCP-Users mailing list [email protected] http://lists.humanconnectome.org/mailman/listinfo/hcp-users
