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

Add masking #2

Open
stuarta0 opened this issue May 3, 2018 · 1 comment
Open

Add masking #2

stuarta0 opened this issue May 3, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@stuarta0
Copy link
Owner

stuarta0 commented May 3, 2018

PMVS2 supports masks and so does Blender. We should add masking to the PMVS output.

From the PMVS documentation:

Segmentation masks can be optionally given to the program. A segmentation mask must be given in pgm file and stored under root/masks/ directory. Their names must be again 00000000.pgm, 00000001.pgm, ... A pgm file must be in P5 (binary grey-scale) format and there should be no comments. If the intensity of a pixel is less than 127, the pixel is treated as background, and if the intensity is more than 127, the pixel is treaded as foreground. Intuitively, background should appear black and foreground should appear white. If files do not exist in the directory, the program just ignores them. You do not have to place pgm files for all the input images. You can, for example, put only 0000001.pgm and 00000002.pgm to specify mask images for these 2 images.

@stuarta0 stuarta0 added the enhancement New feature or request label May 3, 2018
@stuarta0
Copy link
Owner Author

stuarta0 commented May 4, 2018

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

1 participant