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

[iCAM06] White adaptation with Bilateral filter is as good and faster #12

Open
mdouchement opened this issue Mar 23, 2018 · 0 comments
Open
Labels

Comments

@mdouchement
Copy link
Owner

        // Chromatic adaptation (White adaptation) - Section 2.3
-       t.white = filter.FastGaussian(t.normalized, (t.minDim() / 2))
+       // t.white = filter.FastGaussian(t.normalized, (t.minDim() / 2))
+       wh := filter.NewYFastBilateralAuto(t.normalized)
+       wh.SigmaSpace = float64(t.minDim() / 2)
+       wh.Perform()
+       t.white = wh.HDRResultImage()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant