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

add FOV_mask to Dataset #116

Merged
merged 1 commit into from
Sep 29, 2024
Merged

add FOV_mask to Dataset #116

merged 1 commit into from
Sep 29, 2024

Conversation

KrisThielemans
Copy link
Member

get_data() now provides an extra member FOV_mask that gives the FOV of the projector. This can be used to find which voxels can be non-zero. However, ignoring this mask is safe as VOIs are all well "within" it.

fixes #47, see there for more discussion.

@gschramm, if you need it, you could use this now.

@KrisThielemans KrisThielemans added the enhancement New feature or request label Sep 29, 2024
@KrisThielemans KrisThielemans self-assigned this Sep 29, 2024
@KrisThielemans
Copy link
Member Author

My attempts to do a CI check are still failing due to various things such as #117. Now that I have the data, it seems to load it from somewhere else...

@KrisThielemans
Copy link
Member Author

Had to fix #118 due to changes in run.xml.

@KrisThielemans KrisThielemans linked an issue Sep 29, 2024 that may be closed by this pull request
@KrisThielemans
Copy link
Member Author

@casperdcl this is done now. The only complication was CI. This now downloads the Siemens_mMR_NEMA_IQ dataset and does some minimal checks on the images returned by get_data(). This does put a strain on your webserver, but I guess we don't have too many PRs anymore...

However, I'm not sure if this change breaks your strategy for evaluation of contributions as CI no longer overwrites petric.py.

If you like, we can keep the CI changes for later, but can we merge the change to petric.py ASAP?

@KrisThielemans
Copy link
Member Author

I need to merge this so will remove the CI commits

@KrisThielemans KrisThielemans merged commit 8e8a7c4 into main Sep 29, 2024
2 checks passed
@KrisThielemans KrisThielemans deleted the FOV_mask branch September 29, 2024 19:25
@KrisThielemans KrisThielemans mentioned this pull request Sep 29, 2024
casperdcl added a commit that referenced this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need to provide FOV mask as part of the input data
1 participant