-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
colormaps: add "gray" #2058
colormaps: add "gray" #2058
Conversation
f-dy
commented
Jun 9, 2023
•
edited
edited
- Add the trivial "gray" colormap, useful to eg extract accumulation.
- Don't show "pca" in the viewer menu (it crashes the server)
- The "pca" choice didn't work when applied to a single-channel image (it crashed the viewer), and it's applied by default to any image of more than 3 channels, where the colormap choice is ignore anyway. - Add the trivial "gray" colormap, useful to eg extract accumulation.
…d crop box Previously, ns-render interpolate: - ignored distortion parameters - used an interpolated focal length, but principal point was from the first camera - rendered all images with the same size, even if input views were of different sizes - forgot to render the last frame - There was no default support for crop box and background color, except when rendering from a camera path, where these would exclusively be fetched from the camera_path.json Now: - There is an command-line option `--fixed-intrinsics` to keep fixed intrinsics through the whole sequence, but they are all interpolated by default - Everything is interpolated, even size, so that `ns-render interpolate -step 1` should render exactly the input images - All render modes have the options `--use-bounding-box` `--background-color` `--bounding-box-min` `--bouding-box-max` (same syntax as ns-export), which can override the json settings when rendering a camera path. Works great with the gray colormap from nerfstudio-project#2058 to render object masks.
The |
@tancik I updated to re-add "pca" to the list, and fixed the viewer code to not show the "pca" option for single-channel images |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM