Add transforms for extracting crops based on centroid locations. Includes options for calculating centroids on the fly based on a segmentation image and passing centroids in the data dictionary.
Before submitting
[x] Did you make sure title is self-explanatory and the description concisely explains the PR?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Did you test your PR locally with pytest command?
[x] Did you run pre-commit hooks with pre-commit run -a command?
What does this PR do?
Add transforms for extracting crops based on centroid locations. Includes options for calculating centroids on the fly based on a segmentation image and passing centroids in the data dictionary.
Before submitting
pytest
command?pre-commit run -a
command?Did you have fun?
Make sure you had fun coding 🙃