Skip to content

make random affine matrix#1621

Merged
wyli merged 2 commits intoProject-MONAI:masterfrom
rijobro:rand_affine_matrix
Feb 23, 2021
Merged

make random affine matrix#1621
wyli merged 2 commits intoProject-MONAI:masterfrom
rijobro:rand_affine_matrix

Conversation

@rijobro
Copy link
Copy Markdown
Contributor

@rijobro rijobro commented Feb 23, 2021

create random affine matrix (will be required for inverse transform)
#1515

@wyli
Copy link
Copy Markdown
Contributor

wyli commented Feb 23, 2021

thanks, need some constraints about the invertibility?

@rijobro
Copy link
Copy Markdown
Contributor Author

rijobro commented Feb 23, 2021

No, I don't use these for inverting anything, I just use it to write nifti images for the purposes of testing. I need them to have affines along the lines of:

 0, 1,  0, 0
-1, 0,  0, 0
 0, 0, -1, 0
 0, 0,  0, 1

At any rate, this is trivially invertible.

@rijobro rijobro force-pushed the rand_affine_matrix branch 2 times, most recently from dab1ae5 to f40b84a Compare February 23, 2021 15:51
@wyli wyli enabled auto-merge (squash) February 23, 2021 15:55
@wyli wyli merged commit a894adc into Project-MONAI:master Feb 23, 2021
@rijobro rijobro deleted the rand_affine_matrix branch February 23, 2021 18:25
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

Successfully merging this pull request may close these issues.

2 participants