last commit before SIG ASIA

This commit is contained in:
MrKarimiD committed 2024-05-18 19:57:48 -04:00
1 parent 0ab3139b19
commit d9d7d0baa2
22 files changed
+447 -33

No files matched your search

+4 -3
View File
@@ -7,7 +7,7 @@ import argparse
import json
FAST_EXPOSURE_CUTOFF = 0.2 # good for real data (0.1 for synthetic)
FAST_EXPOSURE_CUTOFF = 0.1 # good for real data (0.1 for synthetic)
WELL_EXPOSURE_CUTOFF = 0.98 # good for real data (0.9 for synthetic)
@@ -94,8 +94,9 @@ if __name__ == "__main__":
# fast_mask = cv2.imread(well_mask_addr.replace('/well_mask/', '/fast_mask/'))
# fast_mask = fast_mask.astype(np.float32) / 255.0
final_output = weights_well * (hdr_well_image / WELL_EXPOSURE) + weights_fast * (hdr_fast_image / FAST_EXPOSURE)
# final_output = weights_well * (hdr_well_image / WELL_EXPOSURE) + (hdr_fast_image / FAST_EXPOSURE)
# final_output = weights_well * (hdr_well_image / WELL_EXPOSURE) + weights_fast * (hdr_fast_image / FAST_EXPOSURE)
# final_output = final_output / (weights_well+weights_well)
final_output = weights_well * (hdr_well_image / WELL_EXPOSURE) + (hdr_fast_image / FAST_EXPOSURE)
# final_output = weights_well * (hdr_well_image / WELL_EXPOSURE)
output_addr = well_addr.replace(args.well_dir, args.out_dir)