Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

png图像生成 #3

Open
andre20000131 opened this issue Feb 28, 2024 · 4 comments
Open

png图像生成 #3

andre20000131 opened this issue Feb 28, 2024 · 4 comments

Comments

@andre20000131
Copy link

代码里也没有说最后咋生成的jpg/png啊?只有一个点云pccc的训练,有很多细节都没有说清。。。

@xyxingx
Copy link
Owner

xyxingx commented Feb 28, 2024

Hi,
The goal of PCCC is to estimate the illumination from the input point cloud. Therefore, we only output the predicted illumination in the training script. You can visualize the white-balanced image by simply dividing the raw input image with the estimated illumination. One example code shows as follows:
img_awb,pred_pic = get_awb_pic(img_raw,pred) pred_pic = np.clip(pred_pic, 0, 1) img_awb_single,pred_weights,weights = get_awb_pic_single(img_raw,pred,pred_pic)
where image_raw is the raw image (might need to resize), pred is estimated by PCCC. get_awb_pic outputs the per-pixel illumination map (pred_pic) and the recovered image (img_awb). get_awb_pic_single outputs the image recovered by the single illumination (img_awb_single).
note: all images are gamma-corrected.

@xyxingx xyxingx mentioned this issue Feb 28, 2024
@andre20000131
Copy link
Author

thank you soooo much, i finished all process.

@andre20000131
Copy link
Author

i am very interesting about your work, i want to make more communication with you,can i get your email...thankyou

@xyxingx
Copy link
Owner

xyxingx commented Feb 29, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants