-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Exporting a batch of .tif images from a video file and they mostly work well. There are some image pairs that when used with the code will give a zero value for "det_a" which generates a div/0 error and produces a black image result. This issue also arises when exporting the same batch of images after modulating brightness/gain/sensitivity to increase image contrast prior to running through code.
Are there known reasons as to why det_a would be zero?
"RuntimeWarning: divide by zero encountered in divide:
v = (carriers[0].k_loc[1] * phis[1] - carriers[1].k_loc[1] * phis[0]) / det_a"
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels