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

Add InterpolatedRealTransform ? #40

Open
bogovicj opened this issue Jul 5, 2022 · 0 comments
Open

Add InterpolatedRealTransform ? #40

bogovicj opened this issue Jul 5, 2022 · 0 comments

Comments

@bogovicj
Copy link
Contributor

bogovicj commented Jul 5, 2022

I wrote an InterpolatedRealTransform that is a convex combination two RealTransforms in a spatially varying way.

Given two transforms a and b, it's output (at position x) is:
$$\lambda (x) a(x) + (1 - \lambda(x))b(x)$$
where $\lambda$ controls the "mixture" of a and b in a spatially varying way. It let's you do things like this.

Do we think it's worth moving to this repo? Or is it too niche?

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

No branches or pull requests

1 participant