Skip to content

add gamma to image and volume#957

Merged
Korijn merged 1 commit intopygfx:mainfrom
tlambert03:gamma
Jan 27, 2025
Merged

add gamma to image and volume#957
Korijn merged 1 commit intopygfx:mainfrom
tlambert03:gamma

Conversation

@tlambert03
Copy link
Copy Markdown
Contributor

@tlambert03 tlambert03 commented Jan 27, 2025

This PR adds gamma scaling for both image and volume. (applied as pow(value_clim, gamma); after clims have been applied

I haven't added any tests yet, but adding it to a few examples seems to be working. Let me know where you'd like tests added

@tlambert03 tlambert03 requested a review from Korijn as a code owner January 27, 2025 00:46
@almarklein
Copy link
Copy Markdown
Member

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants