Open xiaosanxiao13 opened 2 weeks ago
Hello, thank you for your interest in my work The converted TIFF images are 16bit uncompressed and contain raw data. The maximum value of RAW data depends on the camera, but Galaxy is 1024 (10bit) and Sony or Nikon is 14bit. Therefore, the thumbnails of TIFF images may look black. You can rescale them with MAX value or gamma correction to visualise them well.
If you open the black tiff image with the cv2.imread function using the cv2.IMREAD_UNCHANGED tag, you will see that the value is not zero.
When I used 0_cvt2tiff.py, I found that all the generated tiff images were almost pure black. After experiments, I found that cmd = [DCRAW_PATH, "-h", "-D", "-4", "-T ", full_path], what I want to know is, is there any problem with the pure black tiff image generated in this way? Is this the case for everyone?