Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will deal with tiling large datasets.
Addresses #105.
When deskewing data in GPU, the deskewed image is converted to a 32-bit image. This results in increased GPU memory usage. This could potentially crash the software if:
To get around this, dividing the image into tiles and processing each image would be the best strategy. We already have a function for deskewing cropped images, so this can be reused here.
Strategy
crop_vol_deskewfunction to deskew each block where we pass the original image and roi coordinates in deskewed image space. Added bonus is that it accounts for deconvolution as well