Skip to content

New mask mode combining Ignore and Segment [Volinga]#1314

Merged
MrNeRF merged 1 commit into
MrNeRF:masterfrom
Volinga:feat_4348_multimask
Jun 18, 2026
Merged

New mask mode combining Ignore and Segment [Volinga]#1314
MrNeRF merged 1 commit into
MrNeRF:masterfrom
Volinga:feat_4348_multimask

Conversation

@Ediolot

@Ediolot Ediolot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

We have found ourselves in the need of an extra masking mode that combines both the segment (e.g. for the sky) and ignore (for specific components of the scene) in a single training.

An attempt to add this mode is proposed in this PR, called SegmentAndIgnore. One caveat is that this mode does not permit a user configurable threshold since the masks are expected to be single files and are split in 3 bands. Each band is made big enough so JPEG compression won't scramble them together. We went through the single file approach since it seemed to be a much faster implementation.

0 -> 128 elements to ignore
128 -> 250 elements to segment
250 -> 255 elements to keep

Interface

UI

Below there is an example of the same 10K training.

Original image (no alpha channel) + mask

original

Different masking modes (10K iter MCMC)

changes

@shadygm shadygm requested review from MrNeRF and shadygm and removed request for MrNeRF June 17, 2026 18:46

@MrNeRF MrNeRF left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We verified and tested. Code looks also solid. Thank you!

@MrNeRF MrNeRF merged commit beb02b7 into MrNeRF:master Jun 18, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants