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

How to run the calc_log_hist.m and visualize_hist.m? #3

Open
iamsiddhantsahu opened this issue Jun 17, 2019 · 5 comments
Open

How to run the calc_log_hist.m and visualize_hist.m? #3

iamsiddhantsahu opened this issue Jun 17, 2019 · 5 comments

Comments

@iamsiddhantsahu
Copy link

I am trying to understand the "Convolutional Color Constancy" paper. Can you please comment and explain how is the log chroma histogram built and how to actually visualize it?
In the visualize_hist.m function, what is the input X and rho?
I only want to visualize the 2D log chroma histogram.

@iamsiddhantsahu
Copy link
Author

Why is
uv_0 = -1.421875;
in calc_log_hist.m ?

@iamsiddhantsahu
Copy link
Author

In calc_log_hist.m what does function N = Psplat2(u, v, c, bin_lo, bin_step, n_bins) function does?
Also in visualize_hist.m what does if ~exist('rho', 'var') rho = 0.5; end signify?

@yuanxy92
Copy link
Owner

Hi this project is based on ffcc
Fast Fourier Color Constancy, uv_0 is the initial value

the matlab code is almost based on https://github.com/google/ffcc
and what i do is implementing it using c++/cuda

@iamsiddhantsahu
Copy link
Author

Yes I know that. But please tell me why is the initial value of uv_0 = -1.421875?

@yuanxy92
Copy link
Owner

This value is copied from the ffcc code.
How to choose the initial value is in the ffcc paper.

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

2 participants