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

Error when running code #1

Open
torsadesdu opened this issue Apr 19, 2024 · 3 comments
Open

Error when running code #1

torsadesdu opened this issue Apr 19, 2024 · 3 comments

Comments

@torsadesdu
Copy link

Hi, I am trying to run the matlab demo but it is giving these errors, are you able to advise? thank you.

  1. In demo.m:
    Unrecognized function or variable 'out_of_gamut_clipping'.

Error in demo (line 32)
I_gw = out_of_gamut_clipping(reshape(reshape(im2double(I),[],3) * ...

Unrecognized function or variable 'phi'.

Error in demo (line 39)
reshape(phi(reshape(I,[],3)) * M,[sz(1),sz(2),sz(3)]));

  1. in gui\main.m :
    Unrecognized function or variable 'PHI'.

Error in main>autoWB_Callback (line 95)
reshape(PHI(reshape(I,[],3)) * M,[sz(1),sz(2),sz(3)]));

Error in gui_mainfcn (line 95)
feval(varargin{:});

Error in main (line 28)
gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)main('autoWB_Callback',hObject,eventdata,guidata(hObject))

Error while evaluating UIControl Callback.

@mahmoudnafifi
Copy link
Owner

Hi, please run install_.m first.

@torsadesdu
Copy link
Author

Thanks for the prompt reply, that was not in the readme file.

@mahmoudnafifi
Copy link
Owner

Apologize. Will update the readme.

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