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

Updated SegmentationDataset to support 4D images #12

Closed
wants to merge 1 commit into from

Conversation

JoOkuma
Copy link

@JoOkuma JoOkuma commented Jun 24, 2021

This PR is related to constantinpape/elf#36

I think using greater or equal could be a compromise. It allows using higher-dimensional datasets, when performing the slicing it will still have the desirable property of crashing when indexing a lower-dimensional dataset with a slice of greater dimensions, and the assertion catches when using a patch_shape smaller than the raw.ndim, which could lead to silent undesirable behavior.

Let me know if you have any suggestions, cheers.

@constantinpape
Copy link
Owner

Hey @JoOkuma,
sorry for taking so long to come back to you about this. I have implemented support for 4d data now in #42, so I will go ahead and close it.
I will send you example code for how to use this soon.

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