EtienneCmb / visbrain

A multi-purpose GPU-accelerated open-source suite for brain data visualization
http://visbrain.org
Other
241 stars 64 forks source link

VolumeObj not working but no explicit error #105

Open Vince-LD opened 2 years ago

Vince-LD commented 2 years ago

Hello,

I am interested in a library that I could integrate to my small python toolbox and that would be capable of taking 3D screenshot from several nifti files. Visbrain looks absolutely perfect for this job but sadly I cannot get the VolumeObject to work. I have tried to make the plot_volume_obj.py script working for a few hours now but i did not manage to get an image yet. The problem is that the output windows opens and all subplots are present. But only the subplots titles are visible. The rest is completely black.

I tried many things to solve the issue, none of them work. It is similar to a problem problem pointed out by Benoit Tachet in the chatroom on dec 9th 2020.

I am joining the terminal outputs as well as the final image displayed. All dependencies are updated and i'm using a 2014 imac with macOS High Sierra.

I can provide more information if necessary, I hope we can solve this very handicaping issue.

vincent.ledu$ python plot_volume_obj.
python: can't open file 'plot_volume_obj.': [Errno 2] No such file or directory
(base) ICM-LEVY-MF001:pyMAN_0.2 vincent.ledu$ python plot_volume_obj.py
Creation of a scene
VolumeObj(name='brodmann') created
    VolumeObj(name='brodmann') added to the scene
VolumeObj(name='aal') created
    VolumeObj(name='aal') added to the scene
VolumeObj(name='talairach') created
    VolumeObj(name='talairach') added to the scene
VolumeObj(name='brodmann') created
    VolumeObj(name='brodmann') added to the scene
File already dowloaded (/Users/vincent.ledu/visbrain_data/example_data/GG-853-WM-0.7mm.nii.gz).
VolumeObj(name='/Users/vincent.ledu/visbrain_data/example_data/GG-853-WM-0.7mm.nii.gz') created
    GG-853-WM-0.7mm volume loaded
    VolumeObj(name='GG-853-WM-0.7mm') added to the scene
VolumeObj(name='brodmann') created
Extract structures [4, 6] from the volume
    VolumeObj(name='brodmann') added to the scene
File already dowloaded (/Users/vincent.ledu/visbrain_data/example_data/GG-853-GM-0.7mm.nii.gz).
VolumeObj(name='/Users/vincent.ledu/visbrain_data/example_data/GG-853-GM-0.7mm.nii.gz') created
    GG-853-GM-0.7mm volume loaded
    VolumeObj(name='GG-853-GM-0.7mm') added to the scene
File already dowloaded (/Users/vincent.ledu/visbrain_data/example_data/GG-853-WM-0.7mm.nii.gz).
VolumeObj(name='/Users/vincent.ledu/visbrain_data/example_data/GG-853-WM-0.7mm.nii.gz') created
    GG-853-WM-0.7mm volume loaded
    VolumeObj(name='GG-853-WM-0.7mm') added to the scene

test_preview

gygzhang commented 1 year ago

same question

Vince-LD commented 1 year ago

Hi @gygzhang. I believe I solved this issue and others aswell as adding and improving functionalities in my fork of visbrain.

You may be interested in checking it here https://github.com/BCI-NET/visbrain.

gygzhang commented 1 year ago

i am appreciate it, it's great work

------------------ Original ------------------ From: "Vincent"; Date: Saturday, Oct 1, 2022 7:20 PM To: "EtienneCmb/visbrain"; Cc: @.***>; "Mention"; Subject: Re: [EtienneCmb/visbrain] VolumeObj not working but no explicit error (Issue #105)

Hi @gygzhang. I believe I solved this issue and others aswell as adding and improving functionalities in my fork of visbrain.

You may be interested in checking it here https://github.com/BCI-NET/visbrain.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>