Giter VIP home page Giter VIP logo

Comments (6)

Wanggcong avatar Wanggcong commented on May 29, 2024

Thank you for you attention.

  1. Given a LDR FOV image, we generate a HDR panorama. The HDR panorama is a HDR spherical image that provides lighting direction and HDR provides lighting intensity.

  2. Since our model uses GAN inversion, the size of FOV is not limited to a fixed size, see the framework. Given a FOV, we project it into a panorama, where black areas are invisible regions and visible pixels are from FOV. We then use GAN inversion to generate HDR panoramas.

  3. We use this paper, code to generate faces. When you have both HDR panorams and 3D faces, you can render the faces with blender app or blender script. I suggest this blender script.

from stylelight.

yang-ruixin avatar yang-ruixin commented on May 29, 2024

Thank you for you attention.

  1. Given a LDR FOV image, we generate a HDR panorama. The HDR panorama is a HDR spherical image that provides lighting direction and HDR provides lighting intensity.
  2. Since our model uses GAN inversion, the size of FOV is not limited to a fixed size, see the framework. Given a FOV, we project it into a panorama, where black areas are invisible regions and visible pixels are from FOV. We then use GAN inversion to generate HDR panoramas.
  3. We use this paper, code to generate faces. When you have both HDR panorams and 3D faces, you can render the faces with blender app or blender script. I suggest this blender script.

Thank you very much for your quick reply.
I am a green hand on light analysis.
Is there any python or c++ code (a link if possible) that I can use to calculate the light direction and intensity from an HDR panorama?

from stylelight.

Wanggcong avatar Wanggcong commented on May 29, 2024

Thank you for you attention.

  1. Given a LDR FOV image, we generate a HDR panorama. The HDR panorama is a HDR spherical image that provides lighting direction and HDR provides lighting intensity.
  2. Since our model uses GAN inversion, the size of FOV is not limited to a fixed size, see the framework. Given a FOV, we project it into a panorama, where black areas are invisible regions and visible pixels are from FOV. We then use GAN inversion to generate HDR panoramas.
  3. We use this paper, code to generate faces. When you have both HDR panorams and 3D faces, you can render the faces with blender app or blender script. I suggest this blender script.

Thank you very much for your quick reply. I am a green hand on light analysis. Is there any python or c++ code (a link if possible) that I can use to calculate the light direction and intensity from an HDR panorama?

Sorry, I am not quite sure if I understand your question. As far as I can see, HDR panorama can be directly regarded lighting direction and intensity. Consider an object which is place at the center of a panorama (sphere), each pixel of the panorama can be regarded as a lighting ray to the center. The pixel value is the intensity. Please let me know if I misunderstand your question.

from stylelight.

yang-ruixin avatar yang-ruixin commented on May 29, 2024

Thank you for you attention.

  1. Given a LDR FOV image, we generate a HDR panorama. The HDR panorama is a HDR spherical image that provides lighting direction and HDR provides lighting intensity.
  2. Since our model uses GAN inversion, the size of FOV is not limited to a fixed size, see the framework. Given a FOV, we project it into a panorama, where black areas are invisible regions and visible pixels are from FOV. We then use GAN inversion to generate HDR panoramas.
  3. We use this paper, code to generate faces. When you have both HDR panorams and 3D faces, you can render the faces with blender app or blender script. I suggest this blender script.

Thank you very much for your quick reply. I am a green hand on light analysis. Is there any python or c++ code (a link if possible) that I can use to calculate the light direction and intensity from an HDR panorama?

Sorry, I am not quite sure if I understand your question. As far as I can see, HDR panorama can be directly regarded lighting direction and intensity. Consider an object which is place at the center of a panorama (sphere), each pixel of the panorama can be regarded as a lighting ray to the center. The pixel value is the intensity. Please let me know if I misunderstand your question.

20150101_8624_test_tmp

20150111_8953_test

Thank you again for your kind reply. Here is the generated panoramas. I am just trying to understand these figures. For the panorama above, the three red circles are the predicted light sources, correct? For the second panorama, I can make a conclusion that the light from right is stronger than the light from left (I mean in terms of the input FOV image, the light source from right of the image is stronger). Am I right?

from stylelight.

Wanggcong avatar Wanggcong commented on May 29, 2024

Thank you. 1) Sure, there are lighting sources. 2) That is right. In fact, since it is a panorama (sphere), the left and the right are stitched.

from stylelight.

yang-ruixin avatar yang-ruixin commented on May 29, 2024

Thank you. 1) Sure, there are lighting sources. 2) That is right. In fact, since it is a panorama (sphere), the left and the right are stitched.

Thank you very much for your kind reply.

from stylelight.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.