You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On raw images taken with a modified Nikon camera, in comp_bayer(), the line a0 = (t0 << 4) + ((t1 & 0xF0) >> 4) gives
(ValueError('operands could not be broadcast together with shapes (13408599,) (13408598,) '),)
i don't really get what bay_img is but if it's the bayer image, you could do self._bay_img = rawpy.imread(self._lfp_path).raw_image.astype('float') innstead of calling self.comp_bayer(). (It uses the rawpy library)
The text was updated successfully, but these errors were encountered:
On raw images taken with a modified Nikon camera, in
comp_bayer()
, the linea0 = (t0 << 4) + ((t1 & 0xF0) >> 4)
gives(ValueError('operands could not be broadcast together with shapes (13408599,) (13408598,) '),)
i don't really get what bay_img is but if it's the bayer image, you could do
self._bay_img = rawpy.imread(self._lfp_path).raw_image.astype('float')
innstead of callingself.comp_bayer()
. (It uses the rawpy library)The text was updated successfully, but these errors were encountered: