1. Example 1
http://antianti.org/?p=440
2. Print np array with precision
np.set_printoptions(precision=4)
3. Convert float array to integer array
where calcImg is the input image
output = calcImg.astype(np.uint8)
http://antianti.org/?p=440
2. Print np array with precision
np.set_printoptions(precision=4)
3. Convert float array to integer array
where calcImg is the input image
output = calcImg.astype(np.uint8)
No comments:
Post a Comment