Skip to content
Discussion options

You must be logged in to vote

The docs for Image say:

If a sequence of paths is given, data will be concatenated on the channel dimension so spatial dimensions must match.

Therefore, it should work if you do something like:

subject_a = tio.Subject(image=tio.ScalarImage(["A.jpg", "B.img"]))

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by fepegar
Comment options

You must be logged in to vote
1 reply
@fepegar
Comment options

Comment options

You must be logged in to vote
1 reply
@fepegar
Comment options

Comment options

You must be logged in to vote
0 replies
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