Skip to content

visualizing multi_class after doing one-hot in preprocessing #1165

Closed Answered by romainVala
Nastii22 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello
For visualisation I use the torchio Image save funtion to save it as a 4D nifti file
subject.label.save('oneHot4D.nii') (if the subject tag of the image is "label" )
and then you can go to any nifti viewer (Slicer / itksnap / fsleyes (from FSL) / mrview (from mrtrix) / freeview (from Freesurfer)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Nastii22
Comment options

@romainVala
Comment options

@Nastii22
Comment options

Answer selected by Nastii22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants