Skip to content

Commit

Permalink
Update routines.py
Browse files Browse the repository at this point in the history
Fixed error in get_bayer_filter
  • Loading branch information
luedu committed Oct 12, 2018
1 parent 344d819 commit c335595
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emva1288/camera/routines.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def get_bayer_filter(t00, t01, t10, t11, width, height, w):
t10 = poisson(w, int(t10))
t11 = poisson(w, int(t11))
pattern_rep = np.array([[t00/np.max(t00), t01/np.max(t01)],
[t10/np.max(t10), t00/np.max(t11)]])
[t10/np.max(t10), t11/np.max(t11)]])
b_filter = array_tile(pattern_rep, height, width)
return b_filter

Expand Down

0 comments on commit c335595

Please sign in to comment.