Hi - that worked!  Thank you so much John.

Cheers
Saad



On 12 Apr 2018, at 17:00, Harwell, John 
<jharw...@wustl.edu<mailto:jharw...@wustl.edu>> wrote:


So it is a shape file.  Follow the same instructions as before except for the 
second step that has been updated to set the File Type to GIFTI Shape File.

In Caret5:
* Select File Menu -> Save Data File
* In the Save Data File Dialog, set the File Type to GIFTI Shape File 
(*.shape.gii)
* Change the File Name so that it ends in “.shape.gii” (may want to click the 
File Name button to choose the name with a file selection dialog)
* Verify that the Encoding is XML.
* Click the Save button.


Note that GIFTI func and shape are the same format and you can rename from 
.shape.gii to .func.gii.



Alternatively, if you can find the Caret Shape File in a terminal window, 
“wb_import”, included with the Workbench distribution, can be used to convert 
data files from Caret format to a Workbench compatible format.

wb_import -data-file
   CONVERT DATA FILE TO WORKBENCH FORMAT
      wb_import -data-file
         [-allow-overwrite]
         [-structure  structure-name]
         [-area-color-file    area-color-file-name]
         [-border-color-file  border-color-file-name]
         [-foci-color-file    foci-color-file-name]
         <names-of-files-for-conversion>]

On Apr 12, 2018, at 10:24 AM, Saad Jbabdi 
<saad.jba...@ndcn.ox.ac.uk<mailto:saad.jba...@ndcn.ox.ac.uk>> wrote:

This one

<Screen Shot 2018-04-12 at 16.23.15.png>
On 12 Apr 2018, at 15:21, Harwell, John 
<jharw...@wustl.edu<mailto:jharw...@wustl.edu>> wrote:

Do you know the name and type of the file displayed as the primary overlay on 
the surface?  It should be selected in Primary Overlay on the Display Control’s 
Overlay/Underlay - Surface page.


On Apr 12, 2018, at 7:41 AM, Saad Jbabdi 
<saad.jba...@ndcn.ox.ac.uk<mailto:saad.jba...@ndcn.ox.ac.uk>> wrote:

Hi John

When I follow your steps it produces an empty func file:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE GIFTI SYSTEM "http://www.nitrc.org/frs/download.php/1594/gifti.dtd";>
<GIFTI
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
      
xsi:noNamespaceSchemaLocation="http://brainvis.wustl.edu/caret6/xml_schemas/GIFTI_Caret.xsd";
      Version="1.0"
      NumberOfDataArrays="0">
   <MetaData>
      <MD>
         <Name><![CDATA[Caret-Version]]></Name>
         <Value><![CDATA[5.65]]></Value>
      </MD>
      <MD>
         <Name><![CDATA[Date]]></Name>
         <Value><![CDATA[2018-04-12T13:37:37]]></Value>
      </MD>
      <MD>
         <Name><![CDATA[comment]]></Name>
         <Value><![CDATA[]]></Value>
      </MD>
      <MD>
         <Name><![CDATA[encoding]]></Name>
         <Value><![CDATA[XML]]></Value>
      </MD>
      <MD>
         <Name><![CDATA[pubmed_id]]></Name>
         <Value><![CDATA[]]></Value>
      </MD>
   </MetaData>
   <LabelTable/>
</GIFTI>



On 11 Apr 2018, at 19:24, Harwell, John 
<jharw...@wustl.edu<mailto:jharw...@wustl.edu>> wrote:

In Caret5:
* Select File Menu -> Save Data File
* In the Save Data File Dialog, set the File Type to GIFTI Functional File 
(*.func.gii)
* Change the File Name so that it ends in “.func.gii” (may want to click the 
File Name button to choose the name with a file selection dialog)
* Verify that the Encoding is XML.
* Click the Save button.

This should create a GIFTI functional file that can be loaded into wb_view.

John H

On Apr 11, 2018, at 12:47 PM, Saad Jbabdi 
<saad.jba...@ndcn.ox.ac.uk<mailto:saad.jba...@ndcn.ox.ac.uk>> wrote:

Hi Matt

Thanks. But I am not sure I was clear enough so let me rephrase: is there a way 
to somehow export the attached map from Caret into a func.gi file that I can 
open in wb_view?

Thanks!
Saad

<caret.jpg>

On 11 Apr 2018, at 16:36, Glasser, Matthew 
<glass...@wustl.edu<mailto:glass...@wustl.edu>> wrote:

Hi Saad,

Not that I am aware of.  Probably better to generate distortion maps (e.g.
isotropic and anisotropic strains).

Matt.

On 4/11/18, 10:28 AM, 
"hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>
 on behalf of
Saad Jbabdi" 
<hcp-users-boun...@humanconnectome.org<mailto:hcp-users-boun...@humanconnectome.org>
 on behalf of
saad.jba...@ndcn.ox.ac.uk<mailto:saad.jba...@ndcn.ox.ac.uk>> wrote:

Hi all,

Is there a way to load Caret¹s PALS-F99 deformation map onto wb_view?

Thanks
Saad



_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users



_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org<mailto:HCP-Users@humanconnectome.org>
http://lists.humanconnectome.org/mailman/listinfo/hcp-users







_______________________________________________
HCP-Users mailing list
HCP-Users@humanconnectome.org
http://lists.humanconnectome.org/mailman/listinfo/hcp-users

Reply via email to