Open Sakshi-Sagar673 opened 2 years ago
I experienced the same issue
The problem is that, in the apply_wb_raw()
funtion, it states:
illumination_map : half size illumination map in RGB channel order
which is what the function actually expects as input, but this halving is never performed in the code
To solve the issue, I added the following line at the beginning of the function:
h,w,_ = illumination_map.shape
illumination_map = np.resize(illumination_map, (int(h/2), int(w/2), 3))
For visualising coefficient map(.npy file) , I have changed VISUALIZE to True. After making this changes in make_mixture_map file ,I run this file then it is showing ValueError: could not broadcast input array from shape(6000,8000) into shape (1500,2000),line 214, in apply_wb_raw.