Quantcast
Channel: NITRC CONN : functional connectivity toolbox Forum: help
Viewing all articles
Browse latest Browse all 6859

RE: Surface display questions

$
0
0
[color=#000000]Hi Sami,[/color]

[color=#000000]To generate the 'surface display' view from the mask just generated you may use:[/color]

[color=#000000]conn_mesh_display('masfilenamePos.nii','');[/color]

[color=#000000]Programmatically printing without any gui interaction is a little bit more involved but it can be done using something like (for example, to print a 4-view mosaic):[/color]

conn_print('print01.jpg',...
                '-nogui',...
                '-mosaic',...
                   get(findobj(gcf,'label','Left view'),'callback'),...
                   get(findobj(gcf,'label','Left medial view'),'callback'),...
                   get(findobj(gcf,'label','Right view'),'callback'),...
                   get(findobj(gcf,'label','Right medial view'),'callback'));

Let me know if you would like me to clarify the associate commands for other actions available in the surface-display GUI.

Hope this helps
Alfonso


[i]Originally posted by Sami Abboud:[/i][quote]Hello Alfonso,

This works now, thank you. I get the exported .nii file with the results.

Back to my initial question then: Could I open the surface view and execute a Print -> Current view from the command line?
In other words, is there an easy way to call conn_mesh_display() on the exported image above that would lead to a saved .tiff file from a certain view point?

Thanks again for your help and for saving me hours of looking into the code.

Cheers,
Sami[/quote]

Viewing all articles
Browse latest Browse all 6859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>