-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gigapixel image support & some error checking (#17)
**Bug fixes:** * The `resize_data.py`, `find_bad.py`, & `vis.py` scripts now support gigapixel images. Hopefully the Pillow/PIL `DecompressionBombWarning` warning no longer shows up. python-pillow/Pillow#515, https://pillow.readthedocs.io/en/stable/reference/Image.html#PIL.Image.open You can manually change `Image.MAX_IMAGE_PIXELS = 1000000000` to `Image.MAX_IMAGE_PIXELS = None` if you're still running into issues. * The `vis.py` script now checks that you specified the required number of image dimensions. **Improvements:** * General README improvements for color correlation matrices & color decorrelation.
- Loading branch information
1 parent
490f682
commit 84ad998
Showing
6 changed files
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters