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

Checking Extrinsics Generated by COLMAP for NeRF Rendering #73

Open
PotatoPalooza opened this issue Mar 1, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@PotatoPalooza
Copy link
Member

Currently, COLMAP generates extrinsics for each output frame without testing if they are suitable for NeRF rendering. The NeRF worker can only support 360-degree captures with the camera facing inward toward the subject in each input frame. Moreover, there is a limited bounding box where camera rays are cast to render the NeRFs, and it is necessary to verify that the extrinsic reentering and scaling appropriately capture the object.

To tackle this issue, the first step is to create a standalone function in the COLMAP folder that detects the percentage of extrinsic camera rays intersecting the NeRF bounding box. This function will take in the transforms_data.json output from COLMAP, read the intrinsic and extrinsic matrices, project the rays for each frame into the scene, and count and report the number of rays that intersect the bounding box. A corresponding visualization of this process using MATPLOTLIB will be part of this feature and will closely resemble the extrinsic visualization in to_cam.py.

@PotatoPalooza PotatoPalooza added the enhancement New feature or request label Mar 1, 2023
@PotatoPalooza
Copy link
Member Author

PotatoPalooza commented Mar 1, 2023

Some helpful steps breaking this down further:
Step 1: Create a standalone function
Step 2: Read Intrinsic and Extrinsic Matrices (similar to to_cam.py code)
Step 3: Project Rays and Count Intersections
Step 4: Report the Results
Step 5: Create a Corresponding Visualization

@chenm-2 chenm-2 self-assigned this Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants