Skip to content

Apply non-random affine #870

Answered by fepegar
Constantin-Jehn asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @Constantin-Jehn. You can use Affine for that:

import torchio as tio
colin = tio.datasets.Colin27().t1
colin.plot()

look_up = tio.Affine(1, (45, 0, 0), 0)
colin_looking_up = look_up(colin)
colin_looking_up.plot()

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Constantin-Jehn
Comment options

@fepegar
Comment options

Answer selected by Constantin-Jehn
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