facebookresearch / facebookresearch/localrf

Masking ray sampling

Open
#12 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
978
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Hi,

Because my dataset has black regions in the images, I would like to ask how I can add my mask for ray sampling to avoid those black regions.

I checked the code and I think I should start from [idx_sample](https://github.com/facebookresearch/localrf/blob/main/localTensoRF/dataLoader/localrf_dataset.py#L333).
Do I have to be aware anywhere else?
Thank you.

Contributor guide

Open the contributing guide

Research direction

Start at localTensoRF/dataLoader/localrf_dataset.py, especially idx_sample, and trace where rays are selected and consumed. Determine how the requested image mask should enter that path and verify that masked black regions are excluded during sampling; the issue does not identify tests or another entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.