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

Kernel Weights #37

Open
ctensmeyer opened this issue Jun 1, 2017 · 1 comment
Open

Kernel Weights #37

ctensmeyer opened this issue Jun 1, 2017 · 1 comment

Comments

@ctensmeyer
Copy link

I have an idea on how kernel weights might be set in the code. You have a note on the README asking for explanations.

In the 2011 paper (Eq. 2), the label compatibility matrix appears outside the sum over kernel responses. However, both the addPairwiseGaussian() and addPairwiseBilateral() functions in the code accept an arbitrary label compatibility matrix. By controlling the relative magnitude of the matrices, you can effectively set the kernel weights.

Based on your understanding of Philipp's code, is this correct?

@lucasb-eyer
Copy link
Owner

Thanks @waldol1!

I don't have the time to actually try it out currently, but your idea sounds very reasonable. I have added a link to this issue from the README so that people who want to investigate this further will see your reasoning.

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

No branches or pull requests

2 participants