frankyeh / DSI-Studio

A Tractography Tool for Diffusion MRI
http://dsi-studio.labsolver.org
Other
118 stars 54 forks source link

Command Line Interface for dsi_studio (version Jan 19, 2018) #60

Closed k-bingcai closed 2 years ago

k-bingcai commented 3 years ago

Hi Frank,

Can I check if there is documentation for the command line interface for the Jan 19, 2018 version of dsi_studio?

I am running into a problem with using the CLI to save images of the fibre visualisation. When I try to run the command

Applications/dsi_studio.app/Contents/MacOS/dsi_studio --action=vis --source=data.src.gz.odf.gqi.1.25.fib.gz --cmd="add_surface+set_view,2+move_slice,2,30+slice_off,0+slice_off,1+save_image,odf_axial_30.jpg"

as per the recent documentation, it tells me that

unknown command:add_surface+set_view

There is also this (warning?) messages printed out in terminal:

QMetaObject::connectSlotsByName: No matching signal for on_change_contrast()

I further tried running only the visualisation part

Applications/dsi_studio.app/Contents/MacOS/dsi_studio --action=vis --source=data.src.gz.odf.gqi.1.25.fib.gz

but a prompt will appear saying "Failed to load template file at"

The baffling bit is that I have no problems visualising the fibres when I open the GUI and click on "Step 3" and choose the corresponding fib.gz file.

Do you have any ideas what is going on?

For the record, I am using macOS High Sierra (10.13.6) and I cannot upgrade the OS because we want to maintain backward compatibility with some old software. I tried the later versions of dsi_studio but they all seem to crash when trying to visualise the fibres.

Any insights would be greatly appreciated!

Best Regards, Bing Cai

frankyeh commented 3 years ago

The documentation I have is for the current version: http://dsi-studio.labsolver.org/Manual/command-line-for-dsi-studio I would suggest updating DSI Studio to the most recent version. Best regards, Frank

On Wed, Jun 16, 2021 at 3:56 AM k-bingcai @.***> wrote:

Hi Frank,

Can I check if there is documentation for the command line interface for the Jan 19, 2018 version of dsi_studio?

I am running into a problem with using the CLI to save images of the fibre visualisation. When I try to run the command

I am using macOS High Sierra (10.13.6)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.