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

How to convert sfsNet SH to shtools? #20

Open
cccml opened this issue Dec 27, 2021 · 3 comments
Open

How to convert sfsNet SH to shtools? #20

cccml opened this issue Dec 27, 2021 · 3 comments

Comments

@cccml
Copy link

cccml commented Dec 27, 2021

Hello, I extracted 27 dimension SH coefficients from sfsNet ( 9 dimension for each channel of RGB), I see you provide the "convert code", but the output dimension is still 27, your network input is 9 dimension. Can you show me a code example of how to convert?Thank you so much!!!!!!

@XuefengLi1
Copy link

Hello, I extracted 27 dimension SH coefficients from sfsNet ( 9 dimension for each channel of RGB), I see you provide the "convert code", but the output dimension is still 27, your network input is 9 dimension. Can you show me a code example of how to convert?Thank you so much!!!!!!

Did you solve this?

@zhhoper
Copy link
Owner

zhhoper commented May 18, 2022 via email

@XuefengLi1
Copy link

Actually, you can convert the RGB image to gray scale and use SfSNet to predict the SH of gray scale lighting.

On Wed, May 18, 2022 at 12:43 AM Xuefeng Li @.> wrote: Hello, I extracted 27 dimension SH coefficients from sfsNet ( 9 dimension for each channel of RGB), I see you provide the "convert code", but the output dimension is still 27, your network input is 9 dimension. Can you show me a code example of how to convert?Thank you so much!!!!!! Did you solve this? — Reply to this email directly, view it on GitHub <#20 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA4HJSI3COEPFAHVLOAX42DVKR7PNANCNFSM5KZQ4WBQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
-- Zhou Hao @.*** @.***> ****************************************

Thanks for you quick reply!

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

3 participants