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

Warp both image and mask to label map space #49

Open
tashrifbillah opened this issue Aug 11, 2021 · 2 comments
Open

Warp both image and mask to label map space #49

tashrifbillah opened this issue Aug 11, 2021 · 2 comments

Comments

@tashrifbillah
Copy link
Contributor

tashrifbillah commented Aug 11, 2021

This line loads the original mask:

meanFAmaskData= load(args.templateMask).get_data()

It should be the warped mask when --space is different from --template.

Not only that, if --skeleton, --skeletonMask, --skeletonMaskDst, and --SEARCH_RULE_MASK are provided, they all should be warped!

@tashrifbillah
Copy link
Contributor Author

But warping a --skeletonMaskDst is probably incorrect.

A more sane approach can be to raise an error if anything more than --template is provided for arbitrary label map based ROI analysis. Or the additional ones can be ignored silently with a warning message.

@tashrifbillah
Copy link
Contributor Author

Linking issue #50

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

1 participant