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

Preserve dtypes in XRImage "enhancements" #151

Merged
merged 26 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
ffd1501
Verify gamma correction preserves data dtype for float32
pnuu Nov 17, 2023
aea9391
Preserve dtype in colorization
pnuu Nov 17, 2023
a3e7f1f
Refactor colorization tests
pnuu Nov 17, 2023
2f48bed
Add a check that palettize result is integers
pnuu Nov 17, 2023
5475e71
Make sure XRImage.blend() preserves dtype
pnuu Nov 17, 2023
c4988d4
Make sure XRImage.stack() preserves dtype
pnuu Nov 17, 2023
0ed0873
Make sure XRImage.locarithmic_stretch() preserves dtype
pnuu Nov 17, 2023
d499aee
Make sure XRImage.weber_fechner_stretch() preserves dtype
pnuu Nov 17, 2023
7fd2614
Make sure XRImage.histogram_stretch() preserves dtype
pnuu Nov 17, 2023
7f60989
Make sure XRImage.invert() preserves dtype
pnuu Nov 17, 2023
bfc892b
Adjust colormap dtype only if it doesn't match the data and data are …
pnuu Nov 20, 2023
d32cb36
Use the input dtype for the gamma value if data are floats
pnuu Nov 20, 2023
b5e1052
Test that variety of no-op unity gamma corrections are handled correctly
pnuu Nov 20, 2023
8af7bff
Merge branch 'main' into preserve-enhancement-dtypes
pnuu Nov 20, 2023
e6100ce
Update trollimage/xrimage.py
pnuu Nov 20, 2023
f71e7d7
Update trollimage/tests/test_image.py
pnuu Nov 22, 2023
9886187
Parametrize blend test with different float types
pnuu Nov 22, 2023
bb55275
Merge branch 'preserve-enhancement-dtypes' of https://github.com/pnuu…
pnuu Nov 22, 2023
bb364b4
Parametrize gamma tests with different float types
pnuu Nov 22, 2023
e6ec653
Parametrize stretching tests with different float types
pnuu Nov 22, 2023
b58c207
Parametrize invert tests with different float types
pnuu Nov 22, 2023
7df5d61
Parametrize linear stretch tests with different float types
pnuu Nov 22, 2023
efbea87
Parametrize histogram stretch tests with different float types
pnuu Nov 22, 2023
3dc2e35
Parametrize logarithmic stretch tests with different float types
pnuu Nov 22, 2023
9b85ad4
Parametrize weber fechner stretch tests with different float types
pnuu Nov 22, 2023
76b52aa
Fix missing float32 -> dtype parameter in blend test
pnuu Nov 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading