Hello Everyone,<br>I am interested in using the command/script based files to run a lot of datasets. I read Xin's posting about doing this in DiffeoMap with the following commands. Is there anywhere I can look to see all of the available commands? And are the instructions the same for DTI Studio as they are for DiffeoMap?<br>
<br>Thank you!<br>Jeff Sadino<br><br><br>Govind,<br><br>You need to create a command txt file named as "<a href="http://xx.cf">xx.cf</a>" first. The attached is an example. It decribes the syntax of the commands. The Load Command File option process all the loaded subject images based on these commands.<br>
<br>Hope this will help you.<br><br>Xin<br><br><br>//.cf file Format<br><br>// Lines that begin with "//" are comment lines.<br>// Commands are enclosed by "Begin/End" clauses.<br><br>// The commands use reserved keywords, such as "crop", "format", "orientation".<br>
<br>// Crop Slices in Axial Projection Command Syntax<br>// crop startslicenumber endslicenumber<br><br>// Change Format Command Syntax<br>// format byte(word, float)<br><br>// Change Slice Orientation Command Syntax<br>
// orientation axial(sagittal, coronal)<br>
<br>// Rotate Image Command Syntax<br>// rotate x degree y degree z degree trilinear(neighbor)<br><br>// Shift Image Command Syntax<br>// shift point(mm) x shift y shift z shift<br><br>// Resample Image Command Syntax<br>
// resample imagewidth imageheight numberofslices fovwidth fovheight slicethickness trilinear(neighbor)<br><br>// example<br><br>// Begin<br>// crop 20 180<br>// format byte<br>// orientation axial<br>
// rotate x 45 y 0 z 10 neighbor<br>// shift point x 10 y 0 z 5<br>// resample 181 217 181 181 217 1 trilinear<br>// End <br>