Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VolumeObj not working but no explicit error #105

Open
Vince-LD opened this issue Feb 10, 2022 · 3 comments
Open

VolumeObj not working but no explicit error #105

Vince-LD opened this issue Feb 10, 2022 · 3 comments

Comments

@Vince-LD
Copy link

Vince-LD commented Feb 10, 2022

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
Copy link

gygzhang commented Oct 1, 2022

same question

@Vince-LD
Copy link
Author

Vince-LD commented Oct 1, 2022

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
Copy link

gygzhang commented Oct 1, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants