Ask Your Question

mohit_dessai's profile - activity

2020-10-25 06:42:00 -0600 received badge  Notable Question (source)
2020-10-25 06:42:00 -0600 received badge  Popular Question (source)
2018-10-31 06:35:34 -0600 received badge  Self-Learner (source)
2018-06-21 23:56:22 -0600 answered a question does cv2.imwrite support float16 (half)?

cv.imwrite('cropped_tree_half.exr', img, [cv.IMWRITE_EXR_TYPE, cv.IMWRITE_EXR_TYPE_HALF]) solved the problem of writing

2018-06-21 23:55:36 -0600 received badge  Organizer (source)
2018-06-18 03:55:11 -0600 commented question does cv2.imwrite support float16 (half)?

whoa @berak, that did it i guess. file size is almost half size. not able to check if it worked, but atleast no errors.

2018-06-18 03:38:26 -0600 commented question does cv2.imwrite support float16 (half)?

Hi @berak, Thanks for pointing that out. i didn't know that. Even after that change FLOAT works but HALF is still not wo

2018-06-18 03:01:38 -0600 asked a question does cv2.imwrite support float16 (half)?

does cv2.imwrite support float16 (half)? import cv2 as cv import random import numpy as np # Reading an existing exr fi