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
Utility function for cropping images from a bounding box #5428
Comments
Hello guys, I would like to work on this, is this issue still open? |
Hi, I am intrested in solving this issue. Is this still open? |
@Alfa-Shashank , @tarun-bisht. Thank you for the interest, but there is a PR for this in progress at #5499. In general, if you go to the "Pull requests" tab there is a search box where you can try to determine if a particular feature already has a pull request open. Since #5499 references this issue, you can also see it listed here (just before @Alfa-Shashank's comment). |
@grlee77 thanks for clarifying |
sofroniewn commentedJun 16, 2021
Feature Request
This is a feature request for a utility function for cropping images from a bounding box.
Note this need comes up a lot, particularly for 2D images - see this discussion on image.sc for an example, including prototype code. It would be nice to have a full nD solution though. Possibly something that did broadcasting appropriately too (i.e. cropping a 3D image with a 2D rectangle broadcasts across the "missing" dimension). @jni suggested I open an issue here to track.
I'm thinking something sort of like the following but for the full nD case.
Note this is different from the existing https://scikit-image.org/docs/dev/api/skimage.util.html#skimage.util.crop which has a slightly different API.
A quick google reveals this is an often requested utility function so many people might benefit from it
The text was updated successfully, but these errors were encountered: